Package org.eclipse.jface.internal.provisional.action

Examples of org.eclipse.jface.internal.provisional.action.ICoolBarManager2.find()


          }
          String id = contributionMem
              .getString(IWorkbenchConstants.TAG_ID);

          // Prevent duplicate items from being read back in.
          IContributionItem existingItem = coolBarMgr.find(id);
          if ((id != null) && (existingItem != null)) {
            if (Policy.DEBUG_TOOLBAR_DISPOSAL) {
              System.out
                  .println("Not loading duplicate cool bar item: " + id); //$NON-NLS-1$
            }
View Full Code Here


                  .getInteger(IWorkbenchConstants.TAG_ITEM_X);
              Integer height = contributionMem
                  .getInteger(IWorkbenchConstants.TAG_ITEM_Y);
              // Look for the object in the current cool bar
              // manager
              IContributionItem oldItem = coolBarMgr.find(id);
              // If a tool bar contribution item already exists
              // for this id then use the old object
              if (oldItem != null) {
                newItem = oldItem;
              } else {
View Full Code Here

        String id = (String) i.next();
        // Look for the object in the current cool bar manager
        IContributionItem oldItem = null;
        IContributionItem newItem = null;
        if (id != null) {
          oldItem = coolBarMgr.find(id);
        }
        // If a tool bar contribution item already exists for this id
        // then use the old object
        if (oldItem instanceof IToolBarContributionItem) {
          newItem = oldItem;
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.