Class CustomPalladioComponentModelEditPartFactory
java.lang.Object
de.uka.ipd.sdq.pcm.gmf.allocation.custom.edit.parts.CustomPalladioComponentModelEditPartFactory
- All Implemented Interfaces:
org.eclipse.gef.EditPartFactory
public class CustomPalladioComponentModelEditPartFactory
extends Object
implements org.eclipse.gef.EditPartFactory
A custom Palladio Component model EditPart Factory.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.gef.EditPart
createEditPart
(org.eclipse.gef.EditPart context, Object model) creates an EditPart.static org.eclipse.gef.tools.CellEditorLocator
getTextCellEditorLocator
(org.eclipse.gmf.runtime.diagram.ui.editparts.ITextAwareEditPart source) Gets the text CellEditorLocator.
-
Constructor Details
-
CustomPalladioComponentModelEditPartFactory
public CustomPalladioComponentModelEditPartFactory()
-
-
Method Details
-
createEditPart
creates an EditPart.- Specified by:
createEditPart
in interfaceorg.eclipse.gef.EditPartFactory
- Parameters:
context
- an EditPartmodel
- an Object- Returns:
- an EditPart
-
getTextCellEditorLocator
public static org.eclipse.gef.tools.CellEditorLocator getTextCellEditorLocator(org.eclipse.gmf.runtime.diagram.ui.editparts.ITextAwareEditPart source) Gets the text CellEditorLocator.- Parameters:
source
- an ITextAwareEditPart- Returns:
- a CellEdotprLocator
-