Class CustomEventChannelSinkConnectorEditPart
- 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
-
- de.uka.ipd.sdq.pcm.gmf.composite.edit.parts.EventChannelSinkConnectorEditPart
-
- de.uka.ipd.sdq.pcm.gmf.composite.custom.edit.parts.CustomEventChannelSinkConnectorEditPart
-
- 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 CustomEventChannelSinkConnectorEditPart extends EventChannelSinkConnectorEditPart
The Class CustomEventChannelSinkConnectorEditPart.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.uka.ipd.sdq.pcm.gmf.composite.edit.parts.EventChannelSinkConnectorEditPart
EventChannelSinkConnectorEditPart.EventChannelSinkConnectorFigure
-
Nested classes/interfaces inherited from class org.eclipse.gef.editparts.AbstractConnectionEditPart
org.eclipse.gef.editparts.AbstractConnectionEditPart.DefaultAccessibleAnchorProvider
-
-
Field Summary
-
Fields inherited from class de.uka.ipd.sdq.pcm.gmf.composite.edit.parts.EventChannelSinkConnectorEditPart
VISUAL_ID
-
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.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 CustomEventChannelSinkConnectorEditPart(org.eclipse.gmf.runtime.notation.View view)
Instantiates a new custom event channel sink connector edit part.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addSemanticListeners()
SemanticListener to update the color if the filter condition is changed.org.eclipse.draw2d.IFigure
getFigure()
This method changes the color of the connector if a FilterCondition!=true is specified.protected void
removeSemanticListeners()
SemanticListener to update the color if the filter condition is changed.-
Methods inherited from class de.uka.ipd.sdq.pcm.gmf.composite.edit.parts.EventChannelSinkConnectorEditPart
createConnectionFigure, createDefaultEditPolicies, getPrimaryShape
-
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, 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, 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, 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, getSourceConnections, getTargetConnections, removeNodeListener, setLayoutConstraint
-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
-
-
-
Method Detail
-
getFigure
public org.eclipse.draw2d.IFigure getFigure()
This method changes the color of the connector if a FilterCondition!=true is specified.- Specified by:
getFigure
in interfaceorg.eclipse.gef.GraphicalEditPart
- Overrides:
getFigure
in classorg.eclipse.gef.editparts.AbstractGraphicalEditPart
- Returns:
- the figure
- Generated class or method.
- not
-
addSemanticListeners
protected void addSemanticListeners()
SemanticListener to update the color if the filter condition is changed.- Overrides:
addSemanticListeners
in classorg.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart
- Generated class or method.
- not
-
removeSemanticListeners
protected void removeSemanticListeners()
SemanticListener to update the color if the filter condition is changed.- Overrides:
removeSemanticListeners
in classorg.eclipse.gmf.runtime.diagram.ui.editparts.ConnectionEditPart
- Generated class or method.
- not
-
-