Package org.eclipse.php.internal.ui.util

Examples of org.eclipse.php.internal.ui.util.ElementCreationProxy


    IConfigurationElement[] elements = Platform.getExtensionRegistry()
        .getConfigurationElementsFor(formatterExtensionName);
    for (int i = 0; i < elements.length; i++) {
      IConfigurationElement element = elements[i];
      if (element.getName().equals("block")) { //$NON-NLS-1$
        ElementCreationProxy ecProxy = new ElementCreationProxy(
            element, formatterExtensionName);
        prefBlock = (IPHPFormatterConfigurationBlockWrapper) ecProxy
            .getObject();
        // no need to check for more elements here, as only one can be
        // set as prefBlock
        // TODO allow more than one prefBlock
        break;
View Full Code Here


    IConfigurationElement[] elements = Platform.getExtensionRegistry()
        .getConfigurationElementsFor(FORMATTER_PROCESSOR_EXT);
    for (int i = 0; i < elements.length; i++) {
      IConfigurationElement element = elements[i];
      if (element.getName().equals("processor")) { //$NON-NLS-1$
        ElementCreationProxy ecProxy = new ElementCreationProxy(
            element, FORMATTER_PROCESSOR_EXT);
        usedFormatter = (IContentFormatter) ecProxy.getObject();
      }
    }

    if (usedFormatter == null) {
      usedFormatter = new MultiPassContentFormatter(
View Full Code Here

      IConfigurationElement[] elements = Platform.getExtensionRegistry()
          .getConfigurationElementsFor(formatterExtensionName);
      for (int i = 0; i < elements.length; i++) {
        IConfigurationElement element = elements[i];
        if (element.getName().equals("processor")) { //$NON-NLS-1$
          ElementCreationProxy ecProxy = new ElementCreationProxy(
              element, formatterExtensionName);
          fActiveFormatter = (IContentFormatter) ecProxy.getObject();
        }
      }
      if (fActiveFormatter == null) {
        fActiveFormatter = new MultiPassContentFormatter(
            IStructuredPartitioning.DEFAULT_STRUCTURED_PARTITIONING,
View Full Code Here

        IConfigurationElement[] elements = Platform.getExtensionRegistry()
                .getConfigurationElementsFor(processorsExtensionName);
        for (int i = 0; i < elements.length; i++) {
            IConfigurationElement element = elements[i];
            if (element.getName().equals("processor")) { //$NON-NLS-1$
                ElementCreationProxy ecProxy = new ElementCreationProxy(
                        element, processorsExtensionName);
                IContentAssistProcessor processor = (IContentAssistProcessor) ecProxy
                        .getObject();
                if (processor != null) {
                    processors.add(processor);
                }
            }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.ui.util.ElementCreationProxy

Copyright © 2018 www.massapicom. 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.