Examples of MEEditorInput


Examples of org.eclipse.emf.ecp.editor.MEEditorInput

   * @param modelElement
   *            a ModelElement
   */
  public static void openEditor(EObject modelElement, String editorID)
  {
    MEEditorInput input = new MEEditorInput(modelElement, null);
    try
    {
      PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().openEditor(input, editorID, true);
    }
    catch(PartInitException e)
View Full Code Here

Examples of org.eclipse.emf.ecp.editor.e3.MEEditorInput

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