Methods in
org.eclipse.gef.editpolicies with parameters of type
Request
|
void
|
TreeContainerEditPolicy.
eraseTargetFeedback
(
Request req)
|
Command
|
TreeContainerEditPolicy.
getCommand
(
Request req)
|
EditPart
|
TreeContainerEditPolicy.
getTargetEditPart
(
Request req)
Returns the host EditPart when appropriate. |
void
|
TreeContainerEditPolicy.
showTargetFeedback
(
Request req)
|
void
|
SnapFeedbackPolicy.
eraseTargetFeedback
(
Request request)
|
void
|
SnapFeedbackPolicy.
showTargetFeedback
(
Request req)
|
EditPart
|
SelectionEditPolicy.
getTargetEditPart
(
Request request)
|
void
|
ResizableEditPolicy.
eraseSourceFeedback
(
Request request)
Dispatches erase requests to more specific methods. |
Command
|
ResizableEditPolicy.
getCommand
(
Request request)
|
void
|
ResizableEditPolicy.
showSourceFeedback
(
Request request)
|
boolean
|
ResizableEditPolicy.
understandsRequest
(
Request request)
|
protected
Command
|
OrderedLayoutEditPolicy.
getAddCommand
(
Request req)
This method is overridden from the superclass to calculate the index at which
the children should be added. |
protected abstract
EditPart
|
OrderedLayoutEditPolicy.
getInsertionReference
(
Request request)
Calculates a reference EditPart using the specified
Request . |
protected
Command
|
OrderedLayoutEditPolicy.
getMoveChildrenCommand
(
Request request)
A move is interpreted here as a change in order of the children. |
void
|
NonResizableEditPolicy.
eraseSourceFeedback
(
Request request)
|
Command
|
NonResizableEditPolicy.
getCommand
(
Request request)
|
protected
Command
|
NonResizableEditPolicy.
getOrphanCommand
(
Request req)
Subclasses may override to contribute to the orphan request. |
void
|
NonResizableEditPolicy.
showSourceFeedback
(
Request request)
Calls other methods as appropriate. |
boolean
|
NonResizableEditPolicy.
understandsRequest
(
Request request)
Returns true for move, align, add, and orphan request types. |
protected void
|
LayoutEditPolicy.
eraseLayoutTargetFeedback
(
Request request)
Erases target layout feedback. |
protected void
|
LayoutEditPolicy.
eraseSizeOnDropFeedback
(
Request request)
Erases size-on-drop feedback used during creation. |
void
|
LayoutEditPolicy.
eraseTargetFeedback
(
Request request)
Calls two more specific methods depending on the Request. |
protected
Command
|
LayoutEditPolicy.
getAddCommand
(
Request request)
Override to return the Command to perform an
ADD . |
Command
|
LayoutEditPolicy.
getCommand
(
Request request)
Factors incoming requests into various specific methods. |
protected
Command
|
LayoutEditPolicy.
getDeleteDependantCommand
(
Request request)
Returns the Command to delete a child. |
protected abstract
Command
|
LayoutEditPolicy.
getMoveChildrenCommand
(
Request request)
Returns the Command to move a group of children. |
protected
Command
|
LayoutEditPolicy.
getOrphanChildrenCommand
(
Request request)
Returns the Command to orphan a group of children. |
EditPart
|
LayoutEditPolicy.
getTargetEditPart
(
Request request)
Returns the host if the Request is an ADD, MOVE, or CREATE. |
protected void
|
LayoutEditPolicy.
showLayoutTargetFeedback
(
Request request)
Shows target layout feedback. |
void
|
LayoutEditPolicy.
showTargetFeedback
(
Request request)
Factors feedback requests into two more specific methods. |
protected
Connection
|
GraphicalNodeEditPolicy.
createDummyConnection
(
Request req)
Returns a connection to be used as feeback during creates. |
void
|
GraphicalNodeEditPolicy.
eraseSourceFeedback
(
Request request)
Calls
GraphicalNodeEditPolicy.eraseCreationFeedback(CreateConnectionRequest) when appropriate. |
void
|
GraphicalNodeEditPolicy.
eraseTargetFeedback
(
Request request)
Calls
GraphicalNodeEditPolicy.eraseTargetConnectionFeedback(DropRequest) when appropriate. |
Command
|
GraphicalNodeEditPolicy.
getCommand
(
Request request)
Factors the request into one of four abstract methods. |
EditPart
|
GraphicalNodeEditPolicy.
getTargetEditPart
(
Request request)
Returns the host for the appropriate Requests . |
void
|
GraphicalNodeEditPolicy.
showSourceFeedback
(
Request request)
calls
GraphicalNodeEditPolicy.showCreationFeedback(CreateConnectionRequest) when appropriate. |
void
|
GraphicalNodeEditPolicy.
showTargetFeedback
(
Request request)
Calls
GraphicalNodeEditPolicy.showTargetConnectionFeedback(DropRequest) when appropriate. |
protected void
|
FlowLayoutEditPolicy.
eraseLayoutTargetFeedback
(
Request request)
|
protected int
|
FlowLayoutEditPolicy.
getFeedbackIndexFor
(
Request request)
|
protected
EditPart
|
FlowLayoutEditPolicy.
getInsertionReference
(
Request request)
|
protected void
|
FlowLayoutEditPolicy.
showLayoutTargetFeedback
(
Request request)
Shows an insertion line if there is one or more current children. |
void
|
DirectEditPolicy.
eraseSourceFeedback
(
Request request)
|
Command
|
DirectEditPolicy.
getCommand
(
Request request)
|
void
|
DirectEditPolicy.
showSourceFeedback
(
Request request)
|
boolean
|
DirectEditPolicy.
understandsRequest
(
Request request)
Returns true for
RequestConstants.REQ_DIRECT_EDIT . |
Command
|
ContainerEditPolicy.
getCommand
(
Request request)
Overridden to check for add, create, and orphan. |
protected
Command
|
ConstrainedLayoutEditPolicy.
getAddCommand
(
Request generic)
Overrides getAddCommand() to generate the proper constraint for each child
being added. |
Command
|
ConstrainedLayoutEditPolicy.
getCommand
(
Request request)
Factors out RESIZE and ALIGN requests, otherwise calls super . |
protected
Command
|
ConstrainedLayoutEditPolicy.
getMoveChildrenCommand
(
Request request)
Returns the Command to move a group of children. |
void
|
ConnectionEndpointEditPolicy.
eraseSourceFeedback
(
Request request)
|
Command
|
ConnectionEndpointEditPolicy.
getCommand
(
Request request)
|
void
|
ConnectionEndpointEditPolicy.
showSourceFeedback
(
Request request)
|
Command
|
ConnectionEditPolicy.
getCommand
(
Request request)
|
Command
|
ComponentEditPolicy.
getCommand
(
Request request)
Factors the incoming Request into ORPHANs and DELETEs. |
void
|
BendpointEditPolicy.
eraseSourceFeedback
(
Request request)
|
Command
|
BendpointEditPolicy.
getCommand
(
Request request)
Factors the Request into either a MOVE, a DELETE, or a CREATE of a bendpoint. |
void
|
BendpointEditPolicy.
showSourceFeedback
(
Request request)
Shows feedback when appropriate. |
void
|
AbstractEditPolicy.
eraseSourceFeedback
(
Request request)
Does nothing by default. |
void
|
AbstractEditPolicy.
eraseTargetFeedback
(
Request request)
Does nothing by default. |
Command
|
AbstractEditPolicy.
getCommand
(
Request request)
Returns null by default. |
EditPart
|
AbstractEditPolicy.
getTargetEditPart
(
Request request)
Returns null by default. |
void
|
AbstractEditPolicy.
showSourceFeedback
(
Request request)
Does nothing by default. |
void
|
AbstractEditPolicy.
showTargetFeedback
(
Request request)
Does nothing by default. |
boolean
|
AbstractEditPolicy.
understandsRequest
(
Request req)
Returns false by default. |