Examples of IBundleGroup


Examples of org.eclipse.core.runtime.IBundleGroup

    IBundleGroupProvider[] providers = Platform.getBundleGroupProviders();
    for (int i = 0; i < providers.length; ++i) {
      IBundleGroup[] groups = providers[i].getBundleGroups();
      for (int j = 0; j < groups.length; ++j) {
        IBundleGroup group = groups[j];
        AboutInfo info = new AboutInfo(group);

        String version = info.getVersionId();
        version = version == null ? "0.0.0" //$NON-NLS-1$
            : new Version(version).toString();
        String versionedFeature = group.getIdentifier() + ":" + version; //$NON-NLS-1$

        ids.put(versionedFeature, info);
      }
    }
View Full Code Here

Examples of org.eclipse.core.runtime.IBundleGroup

        if (items.length <= 0) {
      return;
    }

        AboutBundleGroupData info = (AboutBundleGroupData) items[0].getData();
        IBundleGroup bundleGroup = info.getBundleGroup();
        Bundle[] bundles = bundleGroup == null ? new Bundle[0] : bundleGroup
                .getBundles();

        AboutPluginsDialog d = new AboutPluginsDialog(getShell(), productName,
                bundles, WorkbenchMessages.AboutFeaturesDialog_pluginInfoTitle,
                NLS.bind(WorkbenchMessages.AboutFeaturesDialog_pluginInfoMessage, bundleGroup.getIdentifier()),
                IWorkbenchHelpContextIds.ABOUT_FEATURES_PLUGINS_DIALOG);
        d.open();
    }
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.