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
Constructors Constructor Description CustomPalladioComponentModelEditPartFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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.
-
-
-
Method Detail
-
createEditPart
public org.eclipse.gef.EditPart createEditPart(org.eclipse.gef.EditPart context, Object model)
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
-
-