|
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.Object DiagramInputDocumentProvider com.ibm.etools.systems.application.visual.editor.providers.ApplicationModelDiagramDocumentProvider
public class ApplicationModelDiagramDocumentProvider
Document provider for Application Diagram.
Field Summary | |
---|---|
protected ApplicationModel |
appModel
|
static String |
copyright
|
protected IEditorInput |
input
|
Constructor Summary | |
---|---|
ApplicationModelDiagramDocumentProvider(IEditorInput input)
Constructor. |
Method Summary | |
---|---|
protected ElementInfo |
createElementInfo(Object element)
Creates a new element info object for the given element. |
protected void |
disposeElementInfo(Object element,
ElementInfo info)
Disposes of the given element info object. |
protected void |
doSaveDocument(IProgressMonitor monitor,
Object element,
IDocument document,
boolean overwrite)
|
protected boolean |
getIgnoreResourceChange()
Getter of ignoreResourceChange. |
boolean |
isModifiable(Object element)
|
boolean |
isReadOnly(Object element)
|
void |
saveAsDocument(IProgressMonitor monitor,
Object element,
IDocument document,
IFile diagramFile,
boolean overwrite)
Save diagram to different file. |
void |
setDiagramResourceChangeMask(boolean ignoreResourceChange)
Turn on or off the listening of diagram resource. |
protected void |
setIgnoreResourceChange(boolean ignoreResourceChange)
Setter for ignoreResourceChange. |
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
protected ApplicationModel appModel
protected IEditorInput input
Constructor Detail |
---|
public ApplicationModelDiagramDocumentProvider(IEditorInput input)
input
- Method Detail |
---|
public boolean isReadOnly(Object element)
public boolean isModifiable(Object element)
protected void doSaveDocument(IProgressMonitor monitor, Object element, IDocument document, boolean overwrite) throws CoreException
CoreException
public void saveAsDocument(IProgressMonitor monitor, Object element, IDocument document, IFile diagramFile, boolean overwrite) throws CoreException
CoreException
protected void disposeElementInfo(Object element, ElementInfo info)
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.AbstractDocumentProvider#disposeElementInfo(Object, ElementInfo)
protected ElementInfo createElementInfo(Object element) throws CoreException
CoreException
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.DiagramInputDocumentProvider.createElementInfo(Object)
public void setDiagramResourceChangeMask(boolean ignoreResourceChange)
ignoreResourceChange:
- true to ingore diagram modification event, false otherwise.protected boolean getIgnoreResourceChange()
protected void setIgnoreResourceChange(boolean ignoreResourceChange)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |