Package org.eclipse.gef
Interface RequestConstants
- All Known Implementing Classes:
AbstractConnectionCreationTool,AbstractConnectionEditPart,AbstractEditPart,AbstractEditPolicy,AbstractGraphicalEditPart,AbstractTool,AbstractTreeContainerEditPolicy,AbstractTreeEditPart,BendpointEditPolicy,ComponentEditPolicy,ConnectionBendpointTracker,ConnectionCreationTool,ConnectionDragCreationTool,ConnectionEditPolicy,ConnectionEndpointEditPolicy,ConnectionEndpointTracker,ConstrainedLayoutEditPolicy,ContainerEditPolicy,CreationTool,DeselectAllTracker,DirectEditPolicy,DragEditPartsTracker,DragTreeItemsTracker,FlowLayoutEditPolicy,FreeformGraphicalRootEditPart,GraphicalEditPolicy,GraphicalNodeEditPolicy,GraphicalRootEditPart,LayoutEditPolicy,MarqueeDragTracker,MarqueeSelectionTool,NonResizableEditPolicy,OrderedLayoutEditPolicy,PanningSelectionTool,ResizableEditPolicy,ResizeTracker,RootComponentEditPolicy,RootTreeEditPart,ScalableFreeformRootEditPart,ScalableRootEditPart,ScrollableSelectionFeedbackEditPolicy,SelectEditPartTracker,SelectionEditPolicy,SelectionHandlesEditPolicy,SelectionTool,SimpleDragTracker,SimpleRootEditPart,SnapFeedbackPolicy,TargetingTool,TreeContainerEditPolicy,XYLayoutEditPolicy
public interface RequestConstants
The set of constants used to identify
Requests by their
type. Applications can extend this set of constants
with their own.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant used to indicate that a group of existing children are being added to the receiver of the Request.static final StringConstant used to indicate that alignment is being performed.static final StringConstant used to indicate that a group of children are being aligned.static final StringIndicates that the reciever of the request should be cloned.static final StringIndicates the end of creation of a new connection.static final StringIndicates the creation of a new connection.static final StringIndicates that an object is to be created by the receiver of the Request.static final StringIndicates that a bendpoint is being inserted by the User.static final StringConstant used to indicate that the receiver of the Request is being deleted.static final StringConstant used to indicate that a child of the receiver the Request is to be deleted.static final StringIndicates that a direct edit should be performed.static final StringIndicates that a part (or a group of parts) is being moved within its current parent.static final StringIndicates that an existing bendpoint is being moved or dragged by the User.static final StringIndicates that a group of children are being moved.static final StringIndicates that the user has double-clicked on the receiver.static final StringIndicates that the receiver is being removed from its current parent, to be inserted into a new parent.static final StringIndicates that a group of children are being removed from the receiver of the Request.static final StringConstant used to indicate that the source end of an existing connection is being reconnected to a new source node EditPart.static final StringConstant used to indicate that the target end of an existing connection is being reconnected to a new target node EditPart.static final StringIndicates that a part (or a group of parts) is being resized.static final StringIndicates that a group of children are to be resized.static final StringIndicates selection Requests.static final StringIndicates selection hover Requests.
-
Field Details
-
REQ_CONNECTION_START
Indicates the creation of a new connection. Creating a connection involves both the source node and target node EditParts. This is the constant that is used with the first node on which the user clicks.- See Also:
-
REQ_CONNECTION_END
Indicates the end of creation of a new connection. Creating a connection involves both the source node and target node EditParts. This is the constant that is used with the second node on which the user clicks.- See Also:
-
REQ_RECONNECT_SOURCE
Constant used to indicate that the source end of an existing connection is being reconnected to a new source node EditPart. The new source node is the receiver of such Requests.- See Also:
-
REQ_RECONNECT_TARGET
Constant used to indicate that the target end of an existing connection is being reconnected to a new target node EditPart. The new target node is the receiver of such Requests.- See Also:
-
REQ_MOVE_BENDPOINT
Indicates that an existing bendpoint is being moved or dragged by the User.- See Also:
-
REQ_CREATE_BENDPOINT
Indicates that a bendpoint is being inserted by the User.- See Also:
-
REQ_RESIZE
Indicates that a part (or a group of parts) is being resized.- See Also:
-
REQ_RESIZE_CHILDREN
Indicates that a group of children are to be resized.- See Also:
-
REQ_MOVE
Indicates that a part (or a group of parts) is being moved within its current parent.- See Also:
-
REQ_MOVE_CHILDREN
Indicates that a group of children are being moved.- See Also:
-
REQ_OPEN
Indicates that the user has double-clicked on the receiver. "Open" means different things for different applications. Sometimes it means open a popup dialog of properties, or the Workbench's properties view. Sometimes it means open a sub-diagram.- See Also:
-
REQ_ORPHAN
Indicates that the receiver is being removed from its current parent, to be inserted into a new parent.- See Also:
-
REQ_ORPHAN_CHILDREN
Indicates that a group of children are being removed from the receiver of the Request.- See Also:
-
REQ_CREATE
Indicates that an object is to be created by the receiver of the Request.- See Also:
-
REQ_ADD
Constant used to indicate that a group of existing children are being added to the receiver of the Request.- See Also:
-
REQ_CLONE
Indicates that the reciever of the request should be cloned.- See Also:
-
REQ_DELETE
Constant used to indicate that the receiver of the Request is being deleted.- See Also:
-
REQ_DELETE_DEPENDANT
Constant used to indicate that a child of the receiver the Request is to be deleted.- See Also:
-
REQ_ALIGN
Constant used to indicate that alignment is being performed.- See Also:
-
REQ_ALIGN_CHILDREN
Constant used to indicate that a group of children are being aligned.- See Also:
-
REQ_DIRECT_EDIT
Indicates that a direct edit should be performed.- See Also:
-
REQ_SELECTION
Indicates selection Requests.- See Also:
-
REQ_SELECTION_HOVER
Indicates selection hover Requests.- See Also:
-