Package org.eclipse.ui

Examples of org.eclipse.ui.IPluginContribution


        final String name = element.getAttribute(NAME_ATTRIBUTE);
        final String id = element.getAttribute(ID_ATTRIBUTE);
        boolean isPDT = element.getNamespaceIdentifier().startsWith(
            "org.eclipse.php"); //$NON-NLS-1$
        boolean filter = WorkbenchActivityHelper
            .filterItem(new IPluginContribution() {
              public String getLocalId() {
                return id;
              }

              public String getPluginId() {
View Full Code Here


          }
        }
      }
      if (item.getExecutable() != null) {
        boolean filterItem = WorkbenchActivityHelper
            .filterItem(new IPluginContribution() {
              public String getLocalId() {
                return item.getDebuggerID();
              }

              public String getPluginId() {
View Full Code Here

        final String pluginId = element.getDeclaringExtension()
            .getNamespaceIdentifier();
        final String finalDebuggerID = debuggerID;
        // Filter the executable if needed.
        boolean filterItem = WorkbenchActivityHelper
            .filterItem(new IPluginContribution() {
              public String getLocalId() {
                return finalDebuggerID;
              }

              public String getPluginId() {
View Full Code Here

        final CommunicationDaemonFactory initializerFactory = e
            .nextElement();
        final ICommunicationDaemon initializerDaemon = initializerFactory
            .createDaemon();
        boolean filter = WorkbenchActivityHelper
            .filterItem(new IPluginContribution() {
              public String getLocalId() {
                return initializerDaemon.getDebuggerID();
              }

              public String getPluginId() {
View Full Code Here

   * (non-Javadoc)
   *
   * @see org.eclipse.ui.IPluginContribution#getLocalId()
   */
  public String getLocalId() {
    IPluginContribution contribution = (IPluginContribution) wizardElement.getAdapter(IPluginContribution.class);
    if (contribution != null)
      return contribution.getLocalId();
    return wizardElement.getId();
  }
View Full Code Here

   * (non-Javadoc)
   *
   * @see org.eclipse.ui.IPluginContribution#getPluginId()
   */
  public String getPluginId() {
    IPluginContribution contribution = (IPluginContribution) wizardElement.getAdapter(IPluginContribution.class);
    if (contribution != null)
      return contribution.getLocalId();
    return null;
  }
View Full Code Here

          /**
           * Add the exception details to status is one
           * happens.
           */
          public void handleException(Throwable e) {
            IPluginContribution contribution = (IPluginContribution) wizardElement.getAdapter(IPluginContribution.class);
            statuses[0] = new Status(IStatus.ERROR, contribution != null ? contribution.getPluginId() : Activator.PLUGIN_ID, IStatus.OK, e.getMessage() == null ? "" : e.getMessage(), //$NON-NLS-1$,
                e);
          }

          public void run() {
            try {
View Full Code Here

TOP

Related Classes of org.eclipse.ui.IPluginContribution

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.