org.topcased.modeler.edit
Class ModelerLabelDirectEditManager
java.lang.Object
org.eclipse.gef.tools.DirectEditManager
org.topcased.modeler.edit.ModelerLabelDirectEditManager
public class ModelerLabelDirectEditManager
- extends org.eclipse.gef.tools.DirectEditManager
Constructor Summary |
ModelerLabelDirectEditManager(org.eclipse.gef.GraphicalEditPart source,
java.lang.Class editorType,
org.eclipse.gef.tools.CellEditorLocator locator,
org.eclipse.draw2d.IFigure fig)
Creates a new ModelLabelDirectEditManager with the given attributes. |
Method Summary |
protected org.eclipse.jface.viewers.CellEditor |
createCellEditorOn(org.eclipse.swt.widgets.Composite composite)
Creates the cell editor on the given composite. |
protected void |
initCellEditor()
|
protected void |
unhookListeners()
|
Methods inherited from class org.eclipse.gef.tools.DirectEditManager |
bringDown, commit, createDirectEditRequest, eraseFeedback, getCellEditor, getDirectEditFeature, getDirectEditRequest, getEditPart, isDirty, setCellEditor, setDirty, setEditPart, setLocator, show, showFeedback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModelerLabelDirectEditManager
public ModelerLabelDirectEditManager(org.eclipse.gef.GraphicalEditPart source,
java.lang.Class editorType,
org.eclipse.gef.tools.CellEditorLocator locator,
org.eclipse.draw2d.IFigure fig)
- Creates a new ModelLabelDirectEditManager with the given attributes.
- Parameters:
source
- the source EditParteditorType
- the type of editorlocator
- the CellEditorLocatorfig
-
initCellEditor
protected void initCellEditor()
- Specified by:
initCellEditor
in class org.eclipse.gef.tools.DirectEditManager
- See Also:
DirectEditManager.initCellEditor()
unhookListeners
protected void unhookListeners()
- Overrides:
unhookListeners
in class org.eclipse.gef.tools.DirectEditManager
- See Also:
DirectEditManager.unhookListeners()
createCellEditorOn
protected org.eclipse.jface.viewers.CellEditor createCellEditorOn(org.eclipse.swt.widgets.Composite composite)
- Creates the cell editor on the given composite. The cell editor is
created by instantiating the cell editor type passed into this
DirectEditManager's constuctor.
- Overrides:
createCellEditorOn
in class org.eclipse.gef.tools.DirectEditManager
- Parameters:
composite
- the composite to create the cell editor on
- Returns:
- the newly created cell editor
- See Also:
DirectEditManager.createCellEditorOn(org.eclipse.swt.widgets.Composite)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.