|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.gef.ui.parts.GraphicalEditor
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette
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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette |
|---|
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.CustomPalettePage |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor |
|---|
fErrorLabel |
| Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette |
|---|
COLLAPSED, UNCOLLAPSED_PINNED |
| Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor |
|---|
DIAGRAM_CONTEXT_ID, ID_OUTLINE, ID_OVERVIEW, workspaceViewerPreferenceStore |
| 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 org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette |
|---|
configurePaletteViewer, createActivityManagerListener, createPaletteRoot, createPaletteViewerProvider, getInitialPaletteSize, getInitialPaletteState, getPaletteViewerProvider, handlePaletteDefaultStateChanged, handlePaletteResized, initializeGraphicalViewer, setEditDomain, setFocus, startListening, stopListening |
| Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor |
|---|
addDefaultPreferences, addDefaultPreferences, clearGraphicalViewerContents, closeEditor, configureGraphicalViewer, createActions, createDiagramEditDomain, createGraphicalViewer, createHistoryListener, createScrollingGraphicalViewer, getActionManager, getContextID, getContributorId, getDefaultOutlineViewMode, getDiagramEditDomain, getDiagramEditPart, getDiagramGraphicalViewer, getElements, getGraphicalControl, getKeyHandler, getOperationHistory, getOutlineViewEditPartFactory, getPreferencesHint, getRulerComposite, getShowInContext, getSite, getUndoContext, getWorkspaceViewerPreferenceStore, getZoomManager, initializeGraphicalViewerContents, isWritable, persistViewerSettings, setRulerComposite, setUndoContext, shouldAddUndoContext |
| Methods inherited from class org.eclipse.gef.ui.parts.GraphicalEditor |
|---|
commandStackChanged, getActionRegistry, getCommandStack, getEditDomain, getGraphicalViewer, getPropertyActions, getSelectionActions, getSelectionSynchronizer, getStackActions, hookGraphicalViewer, initializeActionRegistry, setActionRegistry, setGraphicalViewer, updateActions |
| Methods inherited from class org.eclipse.ui.part.EditorPart |
|---|
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInputWithNotify, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| 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()
DiagramDocumentEditorAbstractDiagramEditor implementation of this
IEditorPart method calls performSaveAs.
Subclasses may reimplement.
doSaveAs in interface ISaveablePartdoSaveAs in class DiagramDocumentEditorpublic boolean isSaveAsAllowed()
DiagramDocumentEditorAbstractDiagramEditor implementation of this
IEditorPart method returns false.
Subclasses may override.
isSaveAsAllowed in interface ISaveablePartisSaveAsAllowed in class DiagramDocumentEditorfalse
|
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.