Package org.eclipse.jface.action

Examples of org.eclipse.jface.action.IContributionManager


    viewer.setSorter(sorter);
    viewer.setInput(getViewSite());

    SubStatusLineManager slm = (SubStatusLineManager) getViewSite().getActionBars().getStatusLineManager();
    IContributionManager slmParent = slm.getParent();
    if (slmParent.find(BuildStatusAction.ID) == null) {
      slmParent.add(buildStatusAction);
    }

    for (int i = 0; i < 2; i++) {
      t.getColumn(i).pack();
    }
View Full Code Here


  // This will remove the hudson statuslinecontribution when the view closes.
  @Override
  public void dispose() {
    SubStatusLineManager slm = (SubStatusLineManager) getViewSite().getActionBars().getStatusLineManager();
    IContributionManager parent = slm.getParent();
    parent.remove(BuildStatusAction.ID);
    parent.update(false);
    super.dispose();
  }
View Full Code Here

    viewer.setSorter(sorter);
    viewer.setInput(getViewSite());

    SubStatusLineManager slm = (SubStatusLineManager) getViewSite().getActionBars().getStatusLineManager();
    IContributionManager slmParent = slm.getParent();
    if (slmParent.find(BuildStatusAction.ID) == null) {
      slmParent.add(buildStatusAction);
    }

    for (int i = 0; i < 3; i++) {
      t.getColumn(i).pack();
    }
View Full Code Here

  // This will remove the hudson statuslinecontribution when the view closes.
  @Override
  public void dispose() {
    SubStatusLineManager slm = (SubStatusLineManager) getViewSite().getActionBars().getStatusLineManager();
    IContributionManager parent = slm.getParent();
    parent.remove(BuildStatusAction.ID);
    parent.update(false);
    super.dispose();
  }
View Full Code Here

        // That is, it's possible to have a dirty sub-menu under a non-dirty parent menu
        // even after the parent menu has been updated.
        // If items are added/removed in the sub-menu, we still need to propagate the dirty flag up,
        // even if the sub-menu is already dirty, since the result of isVisible() may change
        // due to the added/removed items.
        IContributionManager parent = getParent();
        if (parent != null) {
            parent.markDirty();
        }
    }
View Full Code Here

    viewer.setSorter(sorter);
    viewer.setInput(getViewSite());

    SubStatusLineManager slm = (SubStatusLineManager) getViewSite().getActionBars().getStatusLineManager();
    IContributionManager slmParent = slm.getParent();
    if (slmParent.find(BuildStatusAction.ID) == null) {
      slmParent.add(buildStatusAction);
    }

    for (int i = 0; i < 2; i++) {
      t.getColumn(i).pack();
    }
View Full Code Here

  // This will remove the hudson statuslinecontribution when the view closes.
  @Override
  public void dispose() {
    SubStatusLineManager slm = (SubStatusLineManager) getViewSite().getActionBars().getStatusLineManager();
    IContributionManager parent = slm.getParent();
    parent.remove(BuildStatusAction.ID);
    parent.update(false);
    super.dispose();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.jface.action.IContributionManager

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.