|
GEF (MVC) 3.8.1.201211122107 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Request | |
---|---|
org.eclipse.gef | All interfaces, base types, and the plugin class are here. |
org.eclipse.gef.dnd | |
org.eclipse.gef.editparts | This package contains abstract implementation of the EditPart interface. |
org.eclipse.gef.editpolicies | This package contains EditPolicy implementations for many common editing Roles. |
org.eclipse.gef.requests | This package contains the common Request types used by the provided tools and edit policies. |
org.eclipse.gef.tools | This package provides several tool implementations. |
org.eclipse.gef.ui.actions | This package support for using JFace Actions in your EditorPart. |
Uses of Request in org.eclipse.gef |
---|
Methods in org.eclipse.gef with parameters of type Request | |
---|---|
void |
EditPolicy.eraseSourceFeedback(Request request)
Erases source feedback based on the given Request . |
void |
EditPart.eraseSourceFeedback(Request request)
Erases source feedback for the specified Request . |
void |
EditPolicy.eraseTargetFeedback(Request request)
Erases target feedback based on the given Request . |
void |
EditPart.eraseTargetFeedback(Request request)
Erases target feedback for the specified Request . |
Command |
EditPolicy.getCommand(Request request)
Returns the Command contribution for the given
Request , or null . |
Command |
EditPart.getCommand(Request request)
Returns the Command to perform the specified Request or
null . |
DragTracker |
EditPart.getDragTracker(Request request)
Returns a DragTracker for dragging this EditPart. |
ConnectionAnchor |
NodeEditPart.getSourceConnectionAnchor(Request request)
Returns the source ConnectionAnchor for the specified
Request. |
ConnectionAnchor |
NodeEditPart.getTargetConnectionAnchor(Request request)
Returns the target ConnectionAnchor for the specified
Request. |
EditPart |
EditPolicy.getTargetEditPart(Request request)
Returns null or the appropriate EditPart for
the specified Request . |
EditPart |
EditPart.getTargetEditPart(Request request)
Return the EditPart that should be used as the target
for the specified Request . |
void |
EditPart.performRequest(Request request)
Performs the specified Request. |
void |
EditPolicy.showSourceFeedback(Request request)
Shows or updates source feedback for the specified Request . |
void |
EditPart.showSourceFeedback(Request request)
Shows or updates source feedback for the given request. |
void |
EditPolicy.showTargetFeedback(Request request)
Shows or updates target feedback for the specified Request . |
void |
EditPart.showTargetFeedback(Request request)
Shows or updates target feedback for the given request. |
int |
SnapToHelper.snapPoint(Request request,
int snapDirections,
PrecisionPoint where,
PrecisionPoint result)
Applies a snapping correction to the given result. |
int |
SnapToHelper.snapPoint(Request request,
int snapLocations,
PrecisionRectangle[] rects,
PrecisionPoint result)
A convenience method for snapping a Point based on an array of rectangles. |
int |
SnapToHelper.snapRectangle(Request request,
int snapOrientation,
PrecisionRectangle[] baseRects,
PrecisionRectangle result)
A convenience method for snapping a Rectangle based on one or more rectangles. |
int |
SnapToGeometry.snapRectangle(Request request,
int snapOrientation,
PrecisionRectangle baseRect,
PrecisionRectangle result)
|
int |
SnapToGuides.snapRectangle(Request request,
int snapOrientation,
PrecisionRectangle baseRect,
PrecisionRectangle result)
|
int |
SnapToGrid.snapRectangle(Request request,
int snapLocations,
PrecisionRectangle rect,
PrecisionRectangle result)
|
abstract int |
SnapToHelper.snapRectangle(Request request,
int snapOrientation,
PrecisionRectangle baseRect,
PrecisionRectangle result)
Applies a snap correction to a Rectangle based on a given Rectangle. |
int |
CompoundSnapToHelper.snapRectangle(Request request,
int snapOrientation,
PrecisionRectangle baseRect,
PrecisionRectangle result)
|
boolean |
EditPolicy.understandsRequest(Request request)
Returns true if this EditPolicy understand the specified
request. |
boolean |
EditPart.understandsRequest(Request request)
Used to filter EditParts out of the current selection. |
Uses of Request in org.eclipse.gef.dnd |
---|
Methods in org.eclipse.gef.dnd that return Request | |
---|---|
protected Request |
AbstractTransferDropTargetListener.createTargetRequest()
Creates and returns the Request that will be sent to the
targeted EditPart. |
protected Request |
TemplateTransferDropTargetListener.createTargetRequest()
|
protected Request |
AbstractTransferDropTargetListener.getTargetRequest()
Returns the target Request . |
Uses of Request in org.eclipse.gef.editparts |
---|
Methods in org.eclipse.gef.editparts with parameters of type Request | |
---|---|
void |
AbstractEditPart.eraseSourceFeedback(Request request)
Erases source feedback for the given Request . |
void |
AbstractEditPart.eraseTargetFeedback(Request request)
Erases target feedback for the given Request . |
Command |
GraphicalRootEditPart.getCommand(Request req)
Deprecated. Returns the unexecutable command. |
Command |
RootTreeEditPart.getCommand(Request request)
|
Command |
AbstractEditPart.getCommand(Request request)
Subclasses should rarely extend this method. |
Command |
SimpleRootEditPart.getCommand(Request req)
The RootEditPart should never be asked for a command. |
DragTracker |
GraphicalRootEditPart.getDragTracker(Request req)
Deprecated. Should never be called. |
DragTracker |
FreeformGraphicalRootEditPart.getDragTracker(Request req)
Should not be called, but returns a MarqeeDragTracker for good measure. |
DragTracker |
ScalableRootEditPart.getDragTracker(Request req)
Should not be called, but returns a MarqeeDragTracker for good measure. |
DragTracker |
AbstractConnectionEditPart.getDragTracker(Request req)
|
DragTracker |
RootTreeEditPart.getDragTracker(Request request)
This method will never be called on a tree root. |
DragTracker |
AbstractTreeEditPart.getDragTracker(Request req)
|
DragTracker |
AbstractGraphicalEditPart.getDragTracker(Request request)
Overridden to return a default DragTracker for
GraphicalEditParts. |
EditPart |
AbstractEditPart.getTargetEditPart(Request request)
Returns the EditPart which is the target of the
Request . |
void |
AbstractEditPart.performRequest(Request req)
Subclasses should extend this method to handle Requests. |
void |
AbstractEditPart.showSourceFeedback(Request request)
Shows or updates source feedback for the given Request . |
void |
AbstractEditPart.showTargetFeedback(Request request)
Shows or updates target feedback for the given Request . |
boolean |
AbstractEditPart.understandsRequest(Request req)
Returns true if this EditPart understand the
given Request . |
Uses of Request in org.eclipse.gef.editpolicies |
---|
Methods in org.eclipse.gef.editpolicies with parameters of type Request | |
---|---|
protected Connection |
GraphicalNodeEditPolicy.createDummyConnection(Request req)
Returns a connection to be used as feeback during creates. |
protected void |
LayoutEditPolicy.eraseLayoutTargetFeedback(Request request)
Erases target layout feedback. |
protected void |
FlowLayoutEditPolicy.eraseLayoutTargetFeedback(Request request)
|
protected void |
LayoutEditPolicy.eraseSizeOnDropFeedback(Request request)
Erases size-on-drop feedback used during creation. |
void |
ConnectionEndpointEditPolicy.eraseSourceFeedback(Request request)
|
void |
DirectEditPolicy.eraseSourceFeedback(Request request)
|
void |
NonResizableEditPolicy.eraseSourceFeedback(Request request)
|
void |
ResizableEditPolicy.eraseSourceFeedback(Request request)
Dispatches erase requests to more specific methods. |
void |
AbstractEditPolicy.eraseSourceFeedback(Request request)
Does nothing by default. |
void |
GraphicalNodeEditPolicy.eraseSourceFeedback(Request request)
Calls GraphicalNodeEditPolicy.eraseCreationFeedback(CreateConnectionRequest) when
appropriate. |
void |
BendpointEditPolicy.eraseSourceFeedback(Request request)
|
void |
TreeContainerEditPolicy.eraseTargetFeedback(Request req)
|
void |
LayoutEditPolicy.eraseTargetFeedback(Request request)
Calls two more specific methods depending on the Request. |
void |
SnapFeedbackPolicy.eraseTargetFeedback(Request request)
|
void |
AbstractEditPolicy.eraseTargetFeedback(Request request)
Does nothing by default. |
void |
GraphicalNodeEditPolicy.eraseTargetFeedback(Request request)
Calls GraphicalNodeEditPolicy.eraseTargetConnectionFeedback(DropRequest) when
appropriate. |
protected Command |
LayoutEditPolicy.getAddCommand(Request request)
Override to return the Command to perform an
ADD . |
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 Command |
ConstrainedLayoutEditPolicy.getAddCommand(Request generic)
Overrides getAddCommand() to generate the proper constraint
for each child being added. |
Command |
ConnectionEndpointEditPolicy.getCommand(Request request)
|
Command |
ComponentEditPolicy.getCommand(Request request)
Factors the incoming Request into ORPHANs and DELETEs. |
Command |
DirectEditPolicy.getCommand(Request request)
|
Command |
ConnectionEditPolicy.getCommand(Request request)
|
Command |
TreeContainerEditPolicy.getCommand(Request req)
|
Command |
LayoutEditPolicy.getCommand(Request request)
Factors incoming requests into various specific methods. |
Command |
NonResizableEditPolicy.getCommand(Request request)
|
Command |
ContainerEditPolicy.getCommand(Request request)
Overridden to check for add, create, and orphan. |
Command |
ResizableEditPolicy.getCommand(Request request)
|
Command |
AbstractEditPolicy.getCommand(Request request)
Returns null by default. |
Command |
GraphicalNodeEditPolicy.getCommand(Request request)
Factors the request into one of four abstract methods. |
Command |
BendpointEditPolicy.getCommand(Request request)
Factors the Request into either a MOVE, a DELETE, or a CREATE of a bendpoint. |
Command |
ConstrainedLayoutEditPolicy.getCommand(Request request)
Factors out RESIZE and ALIGN requests, otherwise calls super
. |
protected java.lang.Object |
XYLayoutEditPolicy.getConstraintFor(Request request,
GraphicalEditPart child,
Rectangle rect)
Overridden to preserve existing width and height (as well as preferred sizes) during MOVE requests. |
protected java.lang.Object |
ConstrainedLayoutEditPolicy.getConstraintFor(Request request,
GraphicalEditPart child,
Rectangle rectangle)
Responsible of generating a draw2d constraint for the given Rectangle, which represents the already transformed (layout-relative) position and size of the given Request. |
protected Command |
LayoutEditPolicy.getDeleteDependantCommand(Request request)
Returns the Command to delete a child. |
protected int |
FlowLayoutEditPolicy.getFeedbackIndexFor(Request request)
|
protected abstract EditPart |
OrderedLayoutEditPolicy.getInsertionReference(Request request)
Calculates a reference EditPart using the specified
Request . |
protected EditPart |
FlowLayoutEditPolicy.getInsertionReference(Request request)
|
protected abstract Command |
LayoutEditPolicy.getMoveChildrenCommand(Request request)
Returns the Command to move a group of children. |
protected Command |
OrderedLayoutEditPolicy.getMoveChildrenCommand(Request request)
A move is interpreted here as a change in order of the children. |
protected Command |
ConstrainedLayoutEditPolicy.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. |
protected Command |
NonResizableEditPolicy.getOrphanCommand(Request req)
Subclasses may override to contribute to the orphan request. |
EditPart |
TreeContainerEditPolicy.getTargetEditPart(Request req)
Returns the host EditPart when appropriate. |
EditPart |
LayoutEditPolicy.getTargetEditPart(Request request)
Returns the host if the Request is an ADD, MOVE, or CREATE. |
EditPart |
AbstractEditPolicy.getTargetEditPart(Request request)
Returns null by default. |
EditPart |
GraphicalNodeEditPolicy.getTargetEditPart(Request request)
Returns the host for the appropriate Requests . |
EditPart |
SelectionEditPolicy.getTargetEditPart(Request request)
|
protected void |
LayoutEditPolicy.showLayoutTargetFeedback(Request request)
Shows target layout feedback. |
protected void |
FlowLayoutEditPolicy.showLayoutTargetFeedback(Request request)
Shows an insertion line if there is one or more current children. |
void |
ConnectionEndpointEditPolicy.showSourceFeedback(Request request)
|
void |
DirectEditPolicy.showSourceFeedback(Request request)
|
void |
NonResizableEditPolicy.showSourceFeedback(Request request)
Calls other methods as appropriate. |
void |
ResizableEditPolicy.showSourceFeedback(Request request)
|
void |
AbstractEditPolicy.showSourceFeedback(Request request)
Does nothing by default. |
void |
GraphicalNodeEditPolicy.showSourceFeedback(Request request)
calls GraphicalNodeEditPolicy.showCreationFeedback(CreateConnectionRequest) when
appropriate. |
void |
BendpointEditPolicy.showSourceFeedback(Request request)
Shows feedback when appropriate. |
void |
TreeContainerEditPolicy.showTargetFeedback(Request req)
|
void |
LayoutEditPolicy.showTargetFeedback(Request request)
Factors feedback requests into two more specific methods. |
void |
SnapFeedbackPolicy.showTargetFeedback(Request req)
|
void |
AbstractEditPolicy.showTargetFeedback(Request request)
Does nothing by default. |
void |
GraphicalNodeEditPolicy.showTargetFeedback(Request request)
Calls GraphicalNodeEditPolicy.showTargetConnectionFeedback(DropRequest) when
appropriate. |
boolean |
DirectEditPolicy.understandsRequest(Request request)
Returns true for RequestConstants.REQ_DIRECT_EDIT . |
boolean |
NonResizableEditPolicy.understandsRequest(Request request)
Returns true for move, align, add, and orphan request types. |
boolean |
ResizableEditPolicy.understandsRequest(Request request)
|
boolean |
AbstractEditPolicy.understandsRequest(Request req)
Returns false by default. |
Uses of Request in org.eclipse.gef.requests |
---|
Subclasses of Request in org.eclipse.gef.requests | |
---|---|
class |
AlignmentRequest
A request to align multiple objects. |
class |
BendpointRequest
A request to alter a bendpoint. |
class |
ChangeBoundsRequest
A Request to change the bounds of the EditPart(s). |
class |
CreateConnectionRequest
A Request to create a new Connection. |
class |
CreateRequest
A Request to create a new object. |
class |
DirectEditRequest
A request to perform direct editing on the receiver of the Request. |
class |
ForwardedRequest
A Request to be forwarded to another EditPart. |
class |
GroupRequest
A Request from multiple EditParts. |
class |
LocationRequest
A Request that needs to keep track of a location. |
class |
ReconnectRequest
A Request to reconnect a connection. |
class |
SelectionRequest
A request to select an edit part. |
Uses of Request in org.eclipse.gef.tools |
---|
Methods in org.eclipse.gef.tools that return Request | |
---|---|
protected Request |
ConnectionBendpointTracker.createSourceRequest()
Creates a BendpointRequest. |
protected Request |
ResizeTracker.createSourceRequest()
|
protected Request |
SimpleDragTracker.createSourceRequest()
Creates and returns a new Request that is used during the drag. |
protected Request |
CreationTool.createTargetRequest()
Creates a CreateRequest and sets this tool's factory on the
request. |
protected Request |
TargetingTool.createTargetRequest()
Creates the target request that will be used with the target editpart. |
protected Request |
DragEditPartsTracker.createTargetRequest()
Creates a ChangeBoundsRequest . |
protected Request |
ConnectionEndpointTracker.createTargetRequest()
Creates the target request, a ReconnectRequest . |
protected Request |
AbstractConnectionCreationTool.createTargetRequest()
|
protected Request |
SelectionTool.createTargetRequest()
Creates a SelectionRequest for the target request. |
protected Request |
AbstractConnectionCreationTool.getSourceRequest()
Returns the request sent to the source node. |
protected Request |
SimpleDragTracker.getSourceRequest()
Returns the request for the source of the drag, creating it if necessary. |
protected Request |
SelectionTool.getTargetHoverRequest()
Returns the target hover request. |
protected Request |
TargetingTool.getTargetRequest()
Lazily creates and returns the request used when communicating with the target editpart. |
Methods in org.eclipse.gef.tools with parameters of type Request | |
---|---|
static void |
ToolUtilities.filterEditPartsUnderstanding(java.util.List list,
Request request)
Filters the given list of EditParts so that the list only contains the EditParts that understand the given request (i.e. return true from EditPart.understandsRequest(Request) when
passed the given request). |
protected void |
TargetingTool.setTargetRequest(Request req)
Sets the target request. |
Uses of Request in org.eclipse.gef.ui.actions |
---|
Methods in org.eclipse.gef.ui.actions that return Request | |
---|---|
protected Request |
DirectEditAction.getDirectEditRequest()
Returns the Request being used. |
Methods in org.eclipse.gef.ui.actions with parameters of type Request | |
---|---|
protected Rectangle |
AlignmentAction.calculateAlignmentRectangle(Request request)
Returns the alignment rectangle to which all selected parts should be aligned. |
protected java.util.List |
AlignmentAction.getOperationSet(Request request)
Returns the list of editparts which will participate in alignment. |
void |
DirectEditAction.setDirectEditRequest(Request req)
Clients may override the request that is used to perform the direct edit. |
|
GEF (MVC) 3.8.1.201211122107 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |