|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.systems.application.visual.editor.AppModelEditorInput
public class AppModelEditorInput
Implementation of IAppModelEditorInput for the ApplicationModel.
| Field Summary | |
|---|---|
static String |
copyright
|
| Constructor Summary | |
|---|---|
AppModelEditorInput(ApplicationModel model)
Constructor |
|
AppModelEditorInput(ApplicationModel model,
ResourceSet resourceSet)
Constructor. |
|
AppModelEditorInput(ApplicationModel model,
ResourceSet resourceSet,
String editorName,
String editorTooltip)
|
|
| Method Summary | |
|---|---|
ResourceSet |
createResourceSet(ApplicationModel model,
Diagram diagram,
IFile diagramFile)
Create a resource set used by both model and diagram. |
void |
dispose()
Dispose this input. |
boolean |
exists()
|
Object |
getAdapter(Class adapter)
|
ApplicationModel |
getApplicationModel()
Get the ApplicationModel. |
Diagram |
getDiagram()
Get diagram object. |
String |
getDiagramFilePath()
Get temporary diagram file name from resourceset. |
TransactionalEditingDomain |
getEditingDomain()
Get editing domain used for this AppModelEditorInput. |
ImageDescriptor |
getImageDescriptor()
|
String |
getName()
|
IPersistableElement |
getPersistable()
|
ResourceSet |
getResourceSet()
Get the resourceSet. |
String |
getToolTipText()
|
void |
setResourceSet(ResourceSet resourceSet)
Set the ApplicationModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String copyright
| Constructor Detail |
|---|
public AppModelEditorInput(ApplicationModel model)
public AppModelEditorInput(ApplicationModel model,
ResourceSet resourceSet)
model: - ApplicationModelresourceSet: - resource set to hold the ApplicationModel
public AppModelEditorInput(ApplicationModel model,
ResourceSet resourceSet,
String editorName,
String editorTooltip)
| Method Detail |
|---|
public ResourceSet createResourceSet(ApplicationModel model,
Diagram diagram,
IFile diagramFile)
model - diagram - diagramFile -
public ApplicationModel getApplicationModel()
getApplicationModel in interface IAppModelEditorInputpublic ResourceSet getResourceSet()
getResourceSet in interface IAppModelEditorInputpublic void setResourceSet(ResourceSet resourceSet)
setResourceSet in interface IAppModelEditorInputpublic boolean exists()
IEditorInput#exists()public ImageDescriptor getImageDescriptor()
IEditorInput#getImageDescriptor()public String getName()
IEditorInput#getName()public String getToolTipText()
IEditorInput#getToolTipText()public IPersistableElement getPersistable()
IEditorInput#getPersistable()public Object getAdapter(Class adapter)
IAdaptable#getAdapter(Class)public Diagram getDiagram()
public TransactionalEditingDomain getEditingDomain()
public String getDiagramFilePath()
public void dispose()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||