Class 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 Detail

      • CustomPalladioComponentModelEditPartFactory

        public CustomPalladioComponentModelEditPartFactory()
    • Method Detail

      • 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