Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor
Class SystemGraphicalEditorLoader

java.lang.Object
  extended by com.ibm.etools.systems.application.visual.editor.SystemGraphicalEditorLoader

public class SystemGraphicalEditorLoader
extends Object

The helper class that opens Application Diagram viewer.


Field Summary
static String copyright
           
 
Constructor Summary
SystemGraphicalEditorLoader(ApplicationModel appModel, IWorkbenchPage workbenchPage)
          Constructor.
SystemGraphicalEditorLoader(ApplicationModel appModel, IWorkbenchPage workbenchPage, String title, String tooltip)
          Constructor.
 
Method Summary
 IEditorPart getEditor()
          Return the editor that was opened
 String getEditorTitle()
          Getter of editorTitle.
 String getEditorTitleTooltip()
          Getter of editorTitle.
 boolean openEditor()
          Open editor.
 void setEditorTitle(String editorTitle)
          Setter of editorTitle.
 void setEditorTitleTooltip(String editorTitleTooltip)
          Setter of editorTitle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

SystemGraphicalEditorLoader

public SystemGraphicalEditorLoader(ApplicationModel appModel,
                                   IWorkbenchPage workbenchPage)
Constructor.

Parameters:
appModel: - the ApplicationModel instance to be visualized.
workbenchPage: - workbench page.

SystemGraphicalEditorLoader

public SystemGraphicalEditorLoader(ApplicationModel appModel,
                                   IWorkbenchPage workbenchPage,
                                   String title,
                                   String tooltip)
Constructor.

Parameters:
appModel: - the ApplicationModel instance to be visualized.
workbenchPage: - workbench page.
editorTitle: - the title of editor
editorTitleTooltip: - the tooltip of editor title
Method Detail

openEditor

public boolean openEditor()
Open editor.

Returns:
true if the editor is opened successfully, false otherwise.

getEditor

public IEditorPart getEditor()
Return the editor that was opened


getEditorTitle

public String getEditorTitle()
Getter of editorTitle.


setEditorTitle

public void setEditorTitle(String editorTitle)
Setter of editorTitle.


getEditorTitleTooltip

public String getEditorTitleTooltip()
Getter of editorTitle.


setEditorTitleTooltip

public void setEditorTitleTooltip(String editorTitleTooltip)
Setter of editorTitle.


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.