Examples of provideContextMenu()


Examples of org.fusesource.ide.commons.ui.ContextMenuProvider.provideContextMenu()

  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

Examples of org.fusesource.ide.commons.ui.ContextMenuProvider.provideContextMenu()

    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
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.