Examples of IPresentationEngine


Examples of org.eclipse.e4.ui.workbench.IPresentationEngine

  private ContextMenu registerMenu(Control widget, MPopupMenu menu, MPart part) {
    if( menu.getWidget() != null ) {
      return (ContextMenu) menu.getWidget();
    }
   
    IPresentationEngine engine = part.getContext().get(IPresentationEngine.class);
    return (ContextMenu) ( (WPopupMenu<ContextMenu>) engine.createGui(menu)).getWidget();
  }
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.