Class ExtensionEditPart

java.lang.Object
org.eclipse.gef.editparts.AbstractEditPart
org.eclipse.gef.editparts.AbstractGraphicalEditPart
org.eclipse.gef.editparts.AbstractConnectionEditPart
org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart
org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionNodeEditPart
org.modelversioning.emfprofile.diagram.edit.parts.ExtensionEditPart
All Implemented Interfaces:
PropertyChangeListener, EventListener, IAdaptable, org.eclipse.gef.ConnectionEditPart, org.eclipse.gef.EditPart, org.eclipse.gef.GraphicalEditPart, org.eclipse.gef.LayerConstants, org.eclipse.gef.NodeEditPart, org.eclipse.gef.RequestConstants, org.eclipse.gmf.runtime.diagram.core.listener.NotificationListener, org.eclipse.gmf.runtime.diagram.ui.editparts.IEditableEditPart, org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart, org.eclipse.gmf.runtime.diagram.ui.editparts.INodeEditPart, org.eclipse.gmf.runtime.diagram.ui.editparts.INotableEditPart, org.eclipse.gmf.runtime.diagram.ui.editparts.IPrimaryEditPart, org.eclipse.gmf.runtime.diagram.ui.editparts.ITreeBranchEditPart, org.eclipse.gmf.runtime.diagram.ui.internal.editparts.IContainedEditPart

public class ExtensionEditPart extends org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionNodeEditPart implements org.eclipse.gmf.runtime.diagram.ui.editparts.ITreeBranchEditPart
Generated class or method.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     

    Nested classes/interfaces inherited from class org.eclipse.gef.editparts.AbstractConnectionEditPart

    org.eclipse.gef.editparts.AbstractConnectionEditPart.DefaultAccessibleAnchorProvider

    Nested classes/interfaces inherited from class org.eclipse.gef.editparts.AbstractGraphicalEditPart

    org.eclipse.gef.editparts.AbstractGraphicalEditPart.AccessibleGraphicalEditPart

    Nested classes/interfaces inherited from class org.eclipse.gef.editparts.AbstractEditPart

    org.eclipse.gef.editparts.AbstractEditPart.EditPolicyIterator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     

    Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart

    accessibleEP, appearanceProperties

    Fields inherited from class org.eclipse.gef.editparts.AbstractGraphicalEditPart

    figure, sourceConnections, targetConnections

    Fields inherited from class org.eclipse.gef.editparts.AbstractEditPart

    children, FLAG_ACTIVE, FLAG_FOCUS, MAX_FLAG

    Fields inherited from interface org.eclipse.gef.EditPart

    SELECTED, SELECTED_NONE, SELECTED_PRIMARY

    Fields inherited from interface org.eclipse.gef.LayerConstants

    CONNECTION_LAYER, FEEDBACK_LAYER, GRID_LAYER, GUIDE_LAYER, HANDLE_LAYER, PRIMARY_LAYER, PRINTABLE_LAYERS, SCALABLE_LAYERS, SCALED_FEEDBACK_LAYER

    Fields inherited from interface org.eclipse.gef.RequestConstants

    REQ_ADD, REQ_ALIGN, REQ_ALIGN_CHILDREN, REQ_CLONE, REQ_CONNECTION_END, REQ_CONNECTION_START, REQ_CREATE, REQ_CREATE_BENDPOINT, REQ_DELETE, REQ_DELETE_DEPENDANT, REQ_DIRECT_EDIT, REQ_MOVE, REQ_MOVE_BENDPOINT, REQ_MOVE_CHILDREN, REQ_OPEN, REQ_ORPHAN, REQ_ORPHAN_CHILDREN, REQ_RECONNECT_SOURCE, REQ_RECONNECT_TARGET, REQ_RESIZE, REQ_RESIZE_CHILDREN, REQ_SELECTION, REQ_SELECTION_HOVER
  • Constructor Summary

    Constructors
    Constructor
    Description
    ExtensionEditPart(org.eclipse.gmf.runtime.notation.View view)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.eclipse.draw2d.Connection
    Creates figure for this edit part.
    protected void
     
     

    Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionNodeEditPart

    anchorChange, canAttachNote, getModelSourceConnections, getModelTargetConnections, getSourceConnectionAnchor, getSourceConnectionAnchor, getSourceConnectionAnchor, getTargetConnectionAnchor, getTargetConnectionAnchor, getTargetConnectionAnchor, getTargetEditPart, handleNotificationEvent, mapConnectionAnchorToTerminal, mapTerminalToConnectionAnchor

    Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart

    activate, addChild, addListenerFilter, addListenerFilter, addNotationalListeners, addNotify, addSemanticListeners, createChild, createConnection, createEditPolicies, createFigure, deactivate, disableCanonicalFor, disableEditMode, enableEditMode, eraseSourceFeedback, eraseTargetFeedback, executeCommand, findEditPart, getAccessibleEditPart, getAdapter, getAppearancePropertyIDs, getArrowDecoration, getChildBySemanticHint, getCommand, getDiagramEditDomain, getDiagramPreferencesHint, getDiagramView, getDragTracker, getEdge, getEditDomain, getEditingDomain, getLineType, getLineWidth, getMapMode, getModelChildren, getModelSource, getModelTarget, getNotationView, getPreferredValue, getPrimaryChildEditPart, getPrimaryView, getPropertyChangeCommand, getResourceManager, getStructuralFeatureValue, getTopGraphicEditPart, handleMajorSemanticChange, handlePropertyChangeEvent, installRouter, isCanonical, isEditModeEnabled, isSelectable, isSemanticConnection, notifyChanged, performDirectEditRequest, performRequest, propertyChange, reactivateSemanticModel, refresh, refreshArrowSource, refreshArrowTarget, refreshBendpoints, refreshFont, refreshForegroundColor, refreshJumplinks, refreshLineType, refreshLineWidth, refreshRoundedBendpoints, refreshRouterChange, refreshRoutingStyles, refreshSmoothness, refreshVisibility, refreshVisuals, registerModel, removeListenerFilter, removeNotationalListeners, removeNotify, removeSemanticListeners, resolveSemanticElement, setArrowSource, setArrowTarget, setFont, setForegroundColor, setLineType, setLineWidth, setModel, setStructuralFeatureValue, setVisibility, showSourceFeedback, showTargetFeedback, understandsRequest, unregisterModel

    Methods inherited from class org.eclipse.gef.editparts.AbstractConnectionEditPart

    activateFigure, deactivateFigure, getConnectionFigure, getSource, getTarget, refreshSourceAnchor, refreshTargetAnchor, setParent, setSource, setTarget

    Methods inherited from class org.eclipse.gef.editparts.AbstractGraphicalEditPart

    addChildVisual, addNodeListener, addSourceConnection, addTargetConnection, createOrFindConnection, fireRemovingSourceConnection, fireRemovingTargetConnection, fireSourceConnectionAdded, fireTargetConnectionAdded, getContentPane, getFigure, getLayer, getSourceConnections, getTargetConnections, primAddSourceConnection, primAddTargetConnection, primRemoveSourceConnection, primRemoveTargetConnection, refreshSourceConnections, refreshTargetConnections, registerVisuals, removeChildVisual, removeNodeListener, removeSourceConnection, removeTargetConnection, reorderChild, reorderSourceConnection, reorderTargetConnection, setFigure, setLayoutConstraint, unregisterVisuals

    Methods inherited from class org.eclipse.gef.editparts.AbstractEditPart

    activateEditPolicies, addEditPartListener, deactivateEditPolicies, debug, debugFeedback, fireActivated, fireChildAdded, fireDeactivated, fireRemovingChild, fireSelectionChanged, getChildren, getEditPolicy, getEditPolicyIterator, getEventListeners, getFlag, getModel, getParent, getRoot, getSelected, getViewer, hasFocus, installEditPolicy, isActive, refreshChildren, register, registerAccessibility, removeChild, removeEditPartListener, removeEditPolicy, setFlag, setFocus, setSelected, toString, unregister, unregisterAccessibility

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.gef.ConnectionEditPart

    getSource, getTarget, setSource, setTarget

    Methods inherited from interface org.eclipse.gef.EditPart

    activate, addEditPartListener, addNotify, deactivate, eraseSourceFeedback, eraseTargetFeedback, getChildren, getCommand, getDragTracker, getEditPolicy, getModel, getParent, getRoot, getSelected, getTargetEditPart, getViewer, hasFocus, installEditPolicy, isActive, isSelectable, performRequest, refresh, removeEditPartListener, removeEditPolicy, removeNotify, setFocus, setModel, setParent, setSelected, showSourceFeedback, showTargetFeedback, understandsRequest

    Methods inherited from interface org.eclipse.gef.GraphicalEditPart

    addNodeListener, getContentPane, getFigure, getSourceConnections, getTargetConnections, removeNodeListener, setLayoutConstraint

    Methods inherited from interface org.eclipse.core.runtime.IAdaptable

    getAdapter
  • Field Details

    • VISUAL_ID

      public static final int VISUAL_ID
      See Also:
      Generated class or method.
  • Constructor Details

    • ExtensionEditPart

      public ExtensionEditPart(org.eclipse.gmf.runtime.notation.View view)
      Generated class or method.
  • Method Details

    • createDefaultEditPolicies

      protected void createDefaultEditPolicies()
      Overrides:
      createDefaultEditPolicies in class org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionNodeEditPart
      Generated class or method.
    • createConnectionFigure

      protected org.eclipse.draw2d.Connection createConnectionFigure()
      Creates figure for this edit part. Body of this method does not depend on settings in generation model so you may safely remove generated tag and modify it.
      Specified by:
      createConnectionFigure in class org.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart
      Generated class or method.
    • getPrimaryShape

      Generated class or method.