br.edu.fei.dcc.raciocinioespacial.editor.shapes
Class ShapesEditor
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.gef.ui.parts.GraphicalEditor
org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
br.edu.fei.dcc.raciocinioespacial.editor.shapes.ShapesEditor
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.gef.commands.CommandStackListener, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation
public class ShapesEditor
- extends org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
Graphic Editor to edit '.stv' files.
Field Summary |
static java.lang.String |
ID
Identificador do editor |
Fields inherited from interface org.eclipse.ui.IEditorPart |
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Constructor Summary |
ShapesEditor()
Create an instance of ShapesEditor. |
Methods inherited from class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette |
createPartControl |
Methods inherited from class org.eclipse.gef.ui.parts.GraphicalEditor |
dispose, init, isDirty, selectionChanged, setFocus |
Methods inherited from class org.eclipse.ui.part.EditorPart |
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPartPropertyListener, addPropertyListener, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener |
ID
public static final java.lang.String ID
- Identificador do editor
- See Also:
- Constant Field Values
ShapesEditor
public ShapesEditor()
- Create an instance of ShapesEditor. Method called by Workspace.
commandStackChanged
public void commandStackChanged(java.util.EventObject event)
- Specified by:
commandStackChanged
in interface org.eclipse.gef.commands.CommandStackListener
- Overrides:
commandStackChanged
in class org.eclipse.gef.ui.parts.GraphicalEditor
doSave
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
doSave
in interface org.eclipse.ui.ISaveablePart
- Specified by:
doSave
in class org.eclipse.ui.part.EditorPart
- See Also:
ISaveablePart.doSave(org.eclipse.core.runtime.IProgressMonitor)
doSaveAs
public void doSaveAs()
- Specified by:
doSaveAs
in interface org.eclipse.ui.ISaveablePart
- Overrides:
doSaveAs
in class org.eclipse.gef.ui.parts.GraphicalEditor
- See Also:
ISaveablePart.doSaveAs()
getAdapter
public java.lang.Object getAdapter(java.lang.Class type)
- Specified by:
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
getModel
public ShapesDiagram getModel()
isSaveAsAllowed
public boolean isSaveAsAllowed()
- Specified by:
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
- Overrides:
isSaveAsAllowed
in class org.eclipse.gef.ui.parts.GraphicalEditor