Package org.fusesource.ide.commons.ui

Examples of org.fusesource.ide.commons.ui.ContextMenuProvider


  @Override
  public void fillContextMenu(IMenuManager menu) {
    super.fillContextMenu(menu);
    Object o = Selections.getFirstSelection(site.getStructuredViewer().getSelection());
    if (o instanceof ContextMenuProvider) {
      ContextMenuProvider cmp = (ContextMenuProvider)o;
      cmp.provideContextMenu(menu);
    }
  }
View Full Code Here


   
    menu.appendToGroup("additions", refreshAction); //$NON-NLS-1$
   
    Object o = Selections.getFirstSelection(site.getStructuredViewer().getSelection());
    if (o instanceof ContextMenuProvider) {
      ContextMenuProvider cmp = (ContextMenuProvider)o;
      cmp.provideContextMenu(menu);
    }
  }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.commons.ui.ContextMenuProvider

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.