Package org.eclipse.ui.actions

Examples of org.eclipse.ui.actions.CompoundContributionItem


    // executable extension then skip this addition.
    if (failedLoads.contains(dynamicAddition))
      return null;

    // Attempt to load the addition's EE (creates a new instance)
    final CompoundContributionItem loadedDynamicContribution = (CompoundContributionItem) Util
        .safeLoadExecutableExtension(dynamicAddition,
            IWorkbenchRegistryConstants.ATT_CLASS,
            CompoundContributionItem.class);

    // Cache failures
View Full Code Here


    final ISelectionService selService = (ISelectionService) serviceLocator
        .getService(ISelectionService.class);

    // Define a dynamic set of submenu entries
    String dynamicMenuId = "jd.ide.eclipse.realignment.items";
    IContributionItem dynamicItems = new CompoundContributionItem(dynamicMenuId)
    {
      @Override
      protected IContributionItem[] getContributionItems()
      {
        // Get the list of editors that can open a class file
View Full Code Here

TOP

Related Classes of org.eclipse.ui.actions.CompoundContributionItem

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.