Examples of addSource()


Examples of org.chromium.debug.ui.DialogUtils.Updater.addSource()

      }
      public String getValue() {
        return textElement.getText();
      }
    };
    updater.addSource(rootScope, propertyExpressionEditorValue);

    // A preview context value. It is constant but optional (so it's passed via updater).
    final ValueSource<Optional<DialogLogic.PreviewContext>> evaluatorValue =
        createConstant(PreviewContext.build(uiValue), updater);
View Full Code Here

Examples of org.codehaus.backport175.compiler.javadoc.JavaDocParser.addSource()

            // add src files
            logDirs = new StringBuffer();
            for (int i = 0; i < srcFiles.length; i++) {
                logDirs.append("\n\t" + srcFiles[i]);
                javaDocParser.addSource(srcFiles[i]);
            }
            if (srcFiles.length > 0) {
                messageHandler.info(logDirs.toString());
            }
View Full Code Here

Examples of org.codehaus.groovy.control.CompilationUnit.addSource()

    for (int i = 0; i < units.length; i++)
    {
      try
      {
        byte[] sourceBytes = units[i].getSourceCode().getBytes(SOURCE_ENCODING);
        unit.addSource("calculator_" + units[i].getName(), new ByteArrayInputStream(sourceBytes));
      }
      catch (UnsupportedEncodingException e)
      {
        throw new JRRuntimeException(e);
      }
View Full Code Here

Examples of org.codehaus.groovy.tools.javac.JavaStubCompilationUnit.addSource()

            for (int j=0; j < includes.length; j++) {
                log.debug("    "  + includes[j]);
               
                File file = new File(basedir, includes[j]);
                cu.addSource(file);

                // Increment the count for each non/java src we found
                if (!includes[j].endsWith(".java")) {
                    count++;
                }
View Full Code Here

Examples of org.eclipse.jdt.internal.core.search.indexing.IndexManager.addSource()

            int flags = delta.getFlags();
            if ((flags & IResourceDelta.CONTENT) == 0 && (flags & IResourceDelta.ENCODING) == 0)
              break;
            // $FALL-THROUGH$
          case IResourceDelta.ADDED :
            indexManager.addSource(file, file.getProject().getFullPath(), getSourceElementParser(element));
            // Clean file from secondary types cache but do not update indexing secondary type cache as it will be updated through indexing itself
            this.manager.secondaryTypesRemoving(file, false);
            break;
          case IResourceDelta.REMOVED :
            indexManager.remove(Util.relativePath(file.getFullPath(), 1/*remove project segment*/), file.getProject().getFullPath());
View Full Code Here

Examples of org.eclipse.wb.internal.core.nls.edit.IEditableSupport.addSource()

    parameters.m_fieldName = "CONSTANTS";
    // add source
    {
      SourceDescription sourceDescription =
          new SourceDescription(GwtSource.class, GwtSourceNewComposite.class);
      editableSupport.addSource(editableSource, sourceDescription, parameters);
    }
    // do externalize
    StringPropertyInfo propertyInfo = editableSupport.getProperties(frame).get(0);
    editableSupport.externalizeProperty(propertyInfo, editableSource, true);
    // apply commands
View Full Code Here

Examples of org.mule.api.source.CompositeMessageSource.addSource()

    public Object getObject() throws Exception
    {
        CompositeMessageSource composite = new StartableCompositeMessageSource();
        for (MessageSource source : sources)
        {
            composite.addSource(source);
        }
        return composite;
    }

    public boolean isSingleton()
View Full Code Here

Examples of org.mule.service.ServiceCompositeMessageSource.addSource()

                EndpointFactory endpointFactory = muleContext.getEndpointFactory();
                EndpointBuilder endpointBuilder = endpointFactory.getEndpointBuilder(subscription);
                endpointBuilder.setExchangePattern(MessageExchangePattern.fromSyncFlag(!asynchronous));
                InboundEndpoint endpoint = endpointFactory.getInboundEndpoint(endpointBuilder);

                messageRouter.addSource(endpoint);
            }
        }
        DefaultJavaComponent component = new DefaultJavaComponent(new SingletonObjectFactory(this));
        component.setMuleContext(muleContext);
        service.setComponent(component);
View Full Code Here

Examples of org.mule.source.StartableCompositeMessageSource.addSource()

    public Object getObject() throws Exception
    {
        CompositeMessageSource composite = new StartableCompositeMessageSource();
        for (MessageSource source : sources)
        {
            composite.addSource(source);
        }
        return composite;
    }

    public boolean isSingleton()
View Full Code Here

Examples of org.pdfbox.util.PDFMergerUtility.addSource()

        PDFMergerUtility merger = new PDFMergerUtility();
        for( int i=0; i<args.length-1; i++ )
        {
            sourceFileName = args[i];
            merger.addSource(sourceFileName);
        }
       
        destinationFileName = args[args.length-1];
       
        merger.setDestinationFileName(destinationFileName);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.