Examples of CloseConsoleAction


Examples of org.eclipse.ui.console.actions.CloseConsoleAction

  public Object getAdapter(@SuppressWarnings("rawtypes") Class adapter) {
    return null;
  }

  public void init(IPageBookViewPage page, IConsole console) {
    closeAction = new CloseConsoleAction(console);

    IToolBarManager manager = page.getSite().getActionBars().getToolBarManager();
    manager.appendToGroup(IConsoleConstants.LAUNCH_GROUP, closeAction);
  }
View Full Code Here

Examples of org.eclipse.ui.console.actions.CloseConsoleAction

public class IvyConsolePageParticipant implements IConsolePageParticipant {

    private CloseConsoleAction closeAction;

    public void init(IPageBookViewPage page, IConsole console) {
        closeAction = new CloseConsoleAction(console);
        IToolBarManager manager = page.getSite().getActionBars().getToolBarManager();
        manager.appendToGroup(IConsoleConstants.LAUNCH_GROUP, closeAction);
    }
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.