Package org.eclipse.core.runtime

Examples of org.eclipse.core.runtime.IExtension


  private void loadDeprecatedJSFLibraryExtensions() {
    try {
      IExtensionPoint point = Platform.getExtensionRegistry().getExtensionPoint(TapestryCorePlugin.PLUGIN_ID, OLD_LIB_EXT_PT);
      IExtension[] extensions = point.getExtensions();
      for (int i=0;i < extensions.length;i++){
        IExtension ext = extensions[i];
        for (int j=0;j < ext.getConfigurationElements().length;j++){
          PluginProvidedTapestryLibraryCreationHelper newLibCreator = new PluginProvidedTapestryLibraryCreationHelper(ext.getConfigurationElements()[j]);           
          TapestryLibrary newLib = newLibCreator.create();
         
          if (newLib != null ) //&& isJSFLibinExpandedFolder(newLib))
            tapestryLibraryRegistry.addTapestryLibrary(newLib);
        }
View Full Code Here


                          IJMTConstants.EXTENSION_POINT_PAGEDESIGNER);
          IExtension[] extensions = extensionPoint.getExtensions();
 
          for (int i = 0; i < extensions.length; i++)
          {
              IExtension ext = extensions[i];
              IConfigurationElement[] elementEditElement = ext
                      .getConfigurationElements();
 
              for (int j = 0; j < elementEditElement.length; j++)
              {
                  final IConfigurationElement element = elementEditElement[j];
View Full Code Here

                        IJMTConstants.EXTENSION_POINT_PAGEDESIGNER);
        IExtension[] extensions = extensionPoint.getExtensions();

        for (int i = 0; i < extensions.length; i++)
        {
            IExtension ext = extensions[i];
            IConfigurationElement[] elementEditElement = ext
                    .getConfigurationElements();

            for (int j = 0; j < elementEditElement.length; j++)
            {
                final IConfigurationElement element = elementEditElement[j];
View Full Code Here

    IExtensionRegistry registry = Platform.getExtensionRegistry();
    IExtensionPoint exampleWizardXP = registry.getExtensionPoint(EXAMPLE_WIZARD_XP_ID);
    if (exampleWizardXP == null) {
      return new IConfigurationElement[0];
    }
    IExtension extension = exampleWizardXP.getExtension(getWizardExtensionId());
    if (extension != null) {
      return extension.getConfigurationElements();
    }
    IConfigurationElement[] exampleWizardCEs = exampleWizardXP.getConfigurationElements();
    return exampleWizardCEs;
  }
View Full Code Here

        {
            ValueEditorExtension proxy = new ValueEditorExtension();
            valueEditorProxies.add( proxy );

            IConfigurationElement member = members[m];
            IExtension extension = member.getDeclaringExtension();
            String extendingPluginId = extension.getNamespaceIdentifier();

            proxy.member = member;
            proxy.name = member.getAttribute( "name" );
            String iconPath = member.getAttribute( "icon" );
            proxy.icon = AbstractUIPlugin.imageDescriptorFromPlugin( extendingPluginId, iconPath );
View Full Code Here

            IExtension[] extensions = extensionPoint.getExtensions();
            if ( extensions != null )
            {
                for ( int i = 0; i < extensions.length; i++ )
                {
                    IExtension extension = extensions[i];
                    IConfigurationElement[] elements = extension.getConfigurationElements();
                    for ( int j = 0; j < elements.length; j++ )
                    {
                        IConfigurationElement element = elements[j];
                        if ( element.getName().equals( "perspective" ) )
                        {
View Full Code Here

            IExtension[] extensions = extensionPoint.getExtensions();
            if ( extensions != null )
            {
                for ( int i = 0; i < extensions.length; i++ )
                {
                    IExtension extension = extensions[i];
                    IConfigurationElement[] elements = extension.getConfigurationElements();
                    for ( int j = 0; j < elements.length; j++ )
                    {
                        IConfigurationElement element = elements[j];
                        if ( element.getName().equals( "perspective" ) )
                        {
View Full Code Here

        {
            ValueEditorExtension proxy = new ValueEditorExtension();
            valueEditorExtensions.add( proxy );

            IConfigurationElement member = members[m];
            IExtension extension = member.getDeclaringExtension();
            String extendingPluginId = extension.getNamespaceIdentifier();

            proxy.member = member;
            proxy.name = member.getAttribute( "name" );
            String iconPath = member.getAttribute( "icon" );
            proxy.icon = AbstractUIPlugin.imageDescriptorFromPlugin( extendingPluginId, iconPath );
View Full Code Here

            IExtension[] extensions = extensionPoint.getExtensions();
            if ( extensions != null )
            {
                for ( int i = 0; i < extensions.length; i++ )
                {
                    IExtension extension = extensions[i];
                    IConfigurationElement[] elements = extension.getConfigurationElements();
                    for ( int j = 0; j < elements.length; j++ )
                    {
                        IConfigurationElement element = elements[j];
                        if ( element.getName().equals( "perspective" ) )
                        {
View Full Code Here

        .getExtensionPoint("net.sf.springofeclipse.beans");

    IExtension[] extensions = extensionPoint.getExtensions();

    for (int i = 0; i < extensions.length; i++) {
      IExtension extension = extensions[i];

      IConfigurationElement[] beansElements = extension
          .getConfigurationElements();

      for (int j = 0; j < beansElements.length; j++) {
        IConfigurationElement beansElement = beansElements[j];
View Full Code Here

TOP

Related Classes of org.eclipse.core.runtime.IExtension

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.