Package org.eclipse.emf.ecp.explorereditorbridge.internal

Examples of org.eclipse.emf.ecp.explorereditorbridge.internal.EditorContext


   * @param modelElement the model to be opened
   */
  public static void openEditor(EObject modelElement, String editorID)
  {
    ECPProject    project = ECPUtil.getECPProjectManager().getProject(modelElement);
    EditorContext context = new EditorContext(modelElement, project);
    MEEditorInput input   = new MEEditorInput(context);
       
    try
    {
      PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor(input, editorID, true);
View Full Code Here

TOP

Related Classes of org.eclipse.emf.ecp.explorereditorbridge.internal.EditorContext

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.