Examples of OnMemoryEditorInput


Examples of org.mj.eclipse.reporting.classpath.OnMemoryEditorInput

  static IStatus openEditor(final IDiagram workingModel) {
    try {
      IWorkbench workbench = PlatformUI.getWorkbench();
      IWorkbenchWindow activeWorkbenchWindow = workbench.getActiveWorkbenchWindow();
      final IWorkbenchPage activePage = activeWorkbenchWindow.getActivePage();
      activePage.openEditor(new OnMemoryEditorInput(workingModel), Editor.ID, true);
    } catch (PartInitException e) {
      Status status = new Status(IStatus.ERROR, Activator.PLUGIN_ID, "Oops ! Stupid thing happends when opening editor : "
          + e.getLocalizedMessage(), e);
      LOGGER.log(status);
      return status;
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.