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 Details

    • CustomPalladioComponentModelEditPartFactory

      public CustomPalladioComponentModelEditPartFactory()
  • Method Details

    • createEditPart

      public org.eclipse.gef.EditPart createEditPart(org.eclipse.gef.EditPart context, Object model)
      creates an EditPart.
      Specified by:
      createEditPart in interface org.eclipse.gef.EditPartFactory
      Parameters:
      context - an EditPart
      model - 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