Examples of GraphEditorInput


Examples of org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInput

  @Override
  public void run() {
    IEditorInput input;
    if (element instanceof IBeansConfig || element instanceof IBeansConfigSet) {
      input = new GraphEditorInput(element.getElementID());
    }
    else {
      input = new GraphEditorInput(element.getElementID(), context.getElementID());
    }
    SpringUIUtils.openInEditor(input, GraphEditor.EDITOR_ID);
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInput

    super();
    addPropertyListener(this);
  }

  private void addBeanGraphPage(IBeansConfig config) {
    GraphEditorInput graphInput = null;
    try {
      graphInput = new GraphEditorInput(config.getElementID());
    }
    catch (Exception e) {
      StatusHandler.log(new Status(IStatus.ERROR, ConfigUiPlugin.PLUGIN_ID, Messages
          .getString("SpringConfigEditor.ERROR_CREATING_BEANS_GRAPH"), e)); //$NON-NLS-1$
    }
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInput

      }
    }
    else {
      IEditorInput input;
      if (element instanceof IBeansConfig || element instanceof IBeansConfigSet) {
        input = new GraphEditorInput(element.getElementID());
      }
      else {
        input = new GraphEditorInput(element.getElementID(), context.getElementID());
      }
      SpringUIUtils.openInEditor(input, GraphEditor.EDITOR_ID);
    }
  }
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.ui.graph.editor.GraphEditorInput

   * @see org.eclipse.jface.action.Action#run()
   */
  public void run() {
    IBean bean = getBean();
    if (bean != null) {
      GraphEditorInput graphEditorInput = new GraphEditorInput(bean
          .getElementID());
      SpringUIUtils.openInEditor(graphEditorInput, GraphEditor.EDITOR_ID);
    }
  }
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.