|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDiagramEditorWithFlyOutPalette
org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.editor.IDEDiagramDocumentEditor
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.editor.FileDiagramEditor
public class FileDiagramEditor
FileDiagramEditor with optional flyout palette.
Field Summary |
---|
Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor |
---|
fErrorLabel |
Fields inherited from interface org.eclipse.ui.IEditorPart |
---|
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
FileDiagramEditor()
Constructs a file diagram editor without flyout palette. |
|
FileDiagramEditor(boolean hasFlyoutPalette)
Constructs a file diagram editor, with flyout palette if hasFlyoutPalette is true and without flyout palette
if hasFlyoutPalette is false. |
Method Summary | |
---|---|
void |
doSaveAs()
The AbstractDiagramEditor implementation of this
IEditorPart method calls performSaveAs . |
boolean |
isSaveAsAllowed()
The AbstractDiagramEditor implementation of this
IEditorPart method returns false . |
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.editor.IDEDiagramDocumentEditor |
---|
gotoMarker, performSaveAs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IEditorPart |
---|
getEditorInput, getEditorSite |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus |
Methods inherited from interface org.eclipse.ui.ISaveablePart |
---|
isSaveOnCloseNeeded |
Constructor Detail |
---|
public FileDiagramEditor(boolean hasFlyoutPalette)
hasFlyoutPalette
is true and without flyout palette
if hasFlyoutPalette
is false.
hasFlyoutPalette
- true if flyoutPalette is required.public FileDiagramEditor()
Method Detail |
---|
public void doSaveAs()
DiagramDocumentEditor
AbstractDiagramEditor
implementation of this
IEditorPart
method calls performSaveAs
.
Subclasses may reimplement.
doSaveAs
in interface ISaveablePart
doSaveAs
in class DiagramDocumentEditor
public boolean isSaveAsAllowed()
DiagramDocumentEditor
AbstractDiagramEditor
implementation of this
IEditorPart
method returns false
.
Subclasses may override.
isSaveAsAllowed
in interface ISaveablePart
isSaveAsAllowed
in class DiagramDocumentEditor
false
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.