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

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


      String type = actionBars.getEditorType();
      actionCache.remove(type);
      // refresh the cool bar manager before disposing of a cool item
      ICoolBarManager2 coolBar = (ICoolBarManager2) window.getCoolBarManager2();
            if (coolBar != null) {
              coolBar.refresh();
      }
      actionBars.dispose();
    }
  }
View Full Code Here


    }

    // / Save the order of the cool bar contribution items
        ICoolBarManager2 coolBarMgr = (ICoolBarManager2) getCoolBarManager2();
        if (coolBarMgr != null) {
          coolBarMgr.refresh();
      IMemento coolBarMem = memento
          .createChild(IWorkbenchConstants.TAG_COOLBAR_LAYOUT);
            if (coolBarMgr.getLockLayout() == true) {
        coolBarMem.putInteger(IWorkbenchConstants.TAG_LOCKED, 1);
      } else {
View Full Code Here

    if (currentPage == null) {
      getActionPresentation().clearActionSets();
    } else {
      ICoolBarManager2 coolBarManager = (ICoolBarManager2) getCoolBarManager2();
      if (coolBarManager != null) {
        coolBarManager.refresh();
      }
      getActionPresentation().setActionSets(
          currentPage.getActionSets());
    }
    fireActionSetsChanged();
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.