Uses of Class
org.eclipse.gef.Request
Packages that use Request
Package
Description
All interfaces, base types, and the plugin class are here.
This package contains abstract implementation of the EditPart interface.
This package contains EditPolicy implementations for many common editing 
Roles.
This package contains the common Request types used by the provided tools and edit policies.
This package provides several tool implementations.
This package support for using JFace Actions in your EditorPart.
- 
Uses of Request in org.eclipse.gefMethods in org.eclipse.gef with parameters of type RequestModifier and TypeMethodDescriptionvoidEditPart.eraseSourceFeedback(Request request) Erases source feedback for the specifiedRequest.voidEditPolicy.eraseSourceFeedback(Request request) Erases source feedback based on the givenRequest.voidEditPart.eraseTargetFeedback(Request request) Erases target feedback for the specifiedRequest.voidEditPolicy.eraseTargetFeedback(Request request) Erases target feedback based on the givenRequest.EditPart.getCommand(Request request) Returns theCommandto perform the specified Request ornull.EditPolicy.getCommand(Request request) Returns theCommandcontribution for the givenRequest, ornull.EditPart.getDragTracker(Request request) Returns aDragTrackerfor dragging this EditPart.NodeEditPart.getSourceConnectionAnchor(Request request) Returns the sourceConnectionAnchorfor the specified Request.NodeEditPart.getTargetConnectionAnchor(Request request) Returns the targetConnectionAnchorfor the specified Request.EditPart.getTargetEditPart(Request request) Return theEditPartthat should be used as the target for the specifiedRequest.EditPolicy.getTargetEditPart(Request request) Returnsnullor the appropriateEditPartfor the specifiedRequest.voidEditPart.performRequest(Request request) Performs the specified Request.voidEditPart.showSourceFeedback(Request request) Shows or updates source feedback for the given request.voidEditPolicy.showSourceFeedback(Request request) Shows or updates source feedback for the specifiedRequest.voidEditPart.showTargetFeedback(Request request) Shows or updates target feedback for the given request.voidEditPolicy.showTargetFeedback(Request request) Shows or updates target feedback for the specifiedRequest.intSnapToHelper.snapPoint(Request request, int snapDirections, PrecisionPoint where, PrecisionPoint result) Applies a snapping correction to the given result.intSnapToHelper.snapPoint(Request request, int snapLocations, PrecisionRectangle[] rects, PrecisionPoint result) A convenience method for snapping a Point based on an array of rectangles.intCompoundSnapToHelper.snapRectangle(Request request, int snapOrientation, PrecisionRectangle baseRect, PrecisionRectangle result) intSnapToGeometry.snapRectangle(Request request, int snapOrientation, PrecisionRectangle baseRect, PrecisionRectangle result) intSnapToGrid.snapRectangle(Request request, int snapLocations, PrecisionRectangle rect, PrecisionRectangle result) intSnapToGuides.snapRectangle(Request request, int snapOrientation, PrecisionRectangle baseRect, PrecisionRectangle result) intSnapToHelper.snapRectangle(Request request, int snapOrientation, PrecisionRectangle[] baseRects, PrecisionRectangle result) A convenience method for snapping a Rectangle based on one or more rectangles.abstract intSnapToHelper.snapRectangle(Request request, int snapOrientation, PrecisionRectangle baseRect, PrecisionRectangle result) Applies a snap correction to a Rectangle based on a given Rectangle.booleanEditPart.understandsRequest(Request request) Used to filter EditParts out of the current selection.booleanEditPolicy.understandsRequest(Request request) Returnstrueif this EditPolicy understand the specified request.
- 
Uses of Request in org.eclipse.gef.dndMethods in org.eclipse.gef.dnd that return RequestModifier and TypeMethodDescriptionprotected RequestAbstractTransferDropTargetListener.createTargetRequest()Creates and returns theRequestthat will be sent to the targeted EditPart.protected RequestTemplateTransferDropTargetListener.createTargetRequest()protected RequestAbstractTransferDropTargetListener.getTargetRequest()Returns the targetRequest.
- 
Uses of Request in org.eclipse.gef.editpartsMethods in org.eclipse.gef.editparts with parameters of type RequestModifier and TypeMethodDescriptionvoidAbstractEditPart.eraseSourceFeedback(Request request) Erases source feedback for the givenRequest.voidAbstractEditPart.eraseTargetFeedback(Request request) Erases target feedback for the givenRequest.AbstractEditPart.getCommand(Request request) Subclasses should rarely extend this method.GraphicalRootEditPart.getCommand(Request req) Deprecated.Returns the unexecutable command.RootTreeEditPart.getCommand(Request request) SimpleRootEditPart.getCommand(Request req) The RootEditPart should never be asked for a command.AbstractConnectionEditPart.getDragTracker(Request req) AbstractGraphicalEditPart.getDragTracker(Request request) Overridden to return a defaultDragTrackerfor GraphicalEditParts.AbstractTreeEditPart.getDragTracker(Request req) FreeformGraphicalRootEditPart.getDragTracker(Request req) Should not be called, but returns a MarqeeDragTracker for good measure.GraphicalRootEditPart.getDragTracker(Request req) Deprecated.Should never be called.RootTreeEditPart.getDragTracker(Request request) This method will never be called on a tree root.ScalableRootEditPart.getDragTracker(Request req) Should not be called, but returns a MarqeeDragTracker for good measure.AbstractEditPart.getTargetEditPart(Request request) Returns theEditPartwhich is the target of theRequest.voidAbstractEditPart.performRequest(Request req) Subclasses should extend this method to handle Requests.voidAbstractEditPart.showSourceFeedback(Request request) Shows or updates source feedback for the givenRequest.voidAbstractEditPart.showTargetFeedback(Request request) Shows or updates target feedback for the givenRequest.booleanAbstractEditPart.understandsRequest(Request req) Returnstrueif thisEditPartunderstand the givenRequest.
- 
Uses of Request in org.eclipse.gef.editpoliciesMethods in org.eclipse.gef.editpolicies with parameters of type RequestModifier and TypeMethodDescriptionprotected ConnectionGraphicalNodeEditPolicy.createDummyConnection(Request req) Returns a connection to be used as feeback during creates.protected voidFlowLayoutEditPolicy.eraseLayoutTargetFeedback(Request request) protected voidLayoutEditPolicy.eraseLayoutTargetFeedback(Request request) Erases target layout feedback.protected voidLayoutEditPolicy.eraseSizeOnDropFeedback(Request request) Erases size-on-drop feedback used during creation.voidAbstractEditPolicy.eraseSourceFeedback(Request request) Does nothing by default.voidBendpointEditPolicy.eraseSourceFeedback(Request request) voidConnectionEndpointEditPolicy.eraseSourceFeedback(Request request) voidDirectEditPolicy.eraseSourceFeedback(Request request) voidGraphicalNodeEditPolicy.eraseSourceFeedback(Request request) CallsGraphicalNodeEditPolicy.eraseCreationFeedback(CreateConnectionRequest)when appropriate.voidNonResizableEditPolicy.eraseSourceFeedback(Request request) voidResizableEditPolicy.eraseSourceFeedback(Request request) Dispatches erase requests to more specific methods.voidAbstractEditPolicy.eraseTargetFeedback(Request request) Does nothing by default.voidGraphicalNodeEditPolicy.eraseTargetFeedback(Request request) CallsGraphicalNodeEditPolicy.eraseTargetConnectionFeedback(DropRequest)when appropriate.voidLayoutEditPolicy.eraseTargetFeedback(Request request) Calls two more specific methods depending on the Request.voidSnapFeedbackPolicy.eraseTargetFeedback(Request request) voidTreeContainerEditPolicy.eraseTargetFeedback(Request req) protected CommandConstrainedLayoutEditPolicy.getAddCommand(Request generic) OverridesgetAddCommand()to generate the proper constraint for each child being added.protected CommandLayoutEditPolicy.getAddCommand(Request request) Override to return theCommandto perform anADD.protected CommandOrderedLayoutEditPolicy.getAddCommand(Request req) This method is overridden from the superclass to calculate the index at which the children should be added.AbstractEditPolicy.getCommand(Request request) Returnsnullby default.BendpointEditPolicy.getCommand(Request request) Factors the Request into either a MOVE, a DELETE, or a CREATE of a bendpoint.ComponentEditPolicy.getCommand(Request request) Factors the incoming Request into ORPHANs and DELETEs.ConnectionEditPolicy.getCommand(Request request) ConnectionEndpointEditPolicy.getCommand(Request request) ConstrainedLayoutEditPolicy.getCommand(Request request) Factors out RESIZE and ALIGN requests, otherwise callssuper.ContainerEditPolicy.getCommand(Request request) Overridden to check for add, create, and orphan.DirectEditPolicy.getCommand(Request request) GraphicalNodeEditPolicy.getCommand(Request request) Factors the request into one of four abstract methods.LayoutEditPolicy.getCommand(Request request) Factors incoming requests into various specific methods.NonResizableEditPolicy.getCommand(Request request) ResizableEditPolicy.getCommand(Request request) TreeContainerEditPolicy.getCommand(Request req) protected ObjectConstrainedLayoutEditPolicy.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 ObjectXYLayoutEditPolicy.getConstraintFor(Request request, GraphicalEditPart child, Rectangle rect) Overridden to preserve existing width and height (as well as preferred sizes) during MOVE requests.protected CommandLayoutEditPolicy.getDeleteDependantCommand(Request request) Returns theCommandto delete a child.protected intFlowLayoutEditPolicy.getFeedbackIndexFor(Request request) protected EditPartFlowLayoutEditPolicy.getInsertionReference(Request request) protected abstract EditPartOrderedLayoutEditPolicy.getInsertionReference(Request request) Calculates a referenceEditPartusing the specifiedRequest.protected CommandConstrainedLayoutEditPolicy.getMoveChildrenCommand(Request request) Returns theCommandto move a group of children.protected abstract CommandLayoutEditPolicy.getMoveChildrenCommand(Request request) Returns theCommandto move a group of children.protected CommandOrderedLayoutEditPolicy.getMoveChildrenCommand(Request request) A move is interpreted here as a change in order of the children.protected CommandLayoutEditPolicy.getOrphanChildrenCommand(Request request) Returns theCommandto orphan a group of children.protected CommandNonResizableEditPolicy.getOrphanCommand(Request req) Subclasses may override to contribute to the orphan request.AbstractEditPolicy.getTargetEditPart(Request request) Returnsnullby default.GraphicalNodeEditPolicy.getTargetEditPart(Request request) Returns the host for the appropriateRequests.LayoutEditPolicy.getTargetEditPart(Request request) Returns the host if the Request is an ADD, MOVE, or CREATE.SelectionEditPolicy.getTargetEditPart(Request request) TreeContainerEditPolicy.getTargetEditPart(Request req) Returns the host EditPart when appropriate.protected voidFlowLayoutEditPolicy.showLayoutTargetFeedback(Request request) Shows an insertion line if there is one or more current children.protected voidLayoutEditPolicy.showLayoutTargetFeedback(Request request) Shows target layout feedback.voidAbstractEditPolicy.showSourceFeedback(Request request) Does nothing by default.voidBendpointEditPolicy.showSourceFeedback(Request request) Shows feedback when appropriate.voidConnectionEndpointEditPolicy.showSourceFeedback(Request request) voidDirectEditPolicy.showSourceFeedback(Request request) voidGraphicalNodeEditPolicy.showSourceFeedback(Request request) callsGraphicalNodeEditPolicy.showCreationFeedback(CreateConnectionRequest)when appropriate.voidNonResizableEditPolicy.showSourceFeedback(Request request) Calls other methods as appropriate.voidResizableEditPolicy.showSourceFeedback(Request request) voidAbstractEditPolicy.showTargetFeedback(Request request) Does nothing by default.voidGraphicalNodeEditPolicy.showTargetFeedback(Request request) CallsGraphicalNodeEditPolicy.showTargetConnectionFeedback(DropRequest)when appropriate.voidLayoutEditPolicy.showTargetFeedback(Request request) Factors feedback requests into two more specific methods.voidSnapFeedbackPolicy.showTargetFeedback(Request req) voidTreeContainerEditPolicy.showTargetFeedback(Request req) booleanAbstractEditPolicy.understandsRequest(Request req) Returnsfalseby default.booleanDirectEditPolicy.understandsRequest(Request request) ReturnstrueforRequestConstants.REQ_DIRECT_EDIT.booleanNonResizableEditPolicy.understandsRequest(Request request) Returnstruefor move, align, add, and orphan request types.booleanResizableEditPolicy.understandsRequest(Request request) 
- 
Uses of Request in org.eclipse.gef.requestsSubclasses of Request in org.eclipse.gef.requestsModifier and TypeClassDescriptionclassA request to align multiple objects.classA request to alter a bendpoint.classA Request to change the bounds of the EditPart(s).classA Request to create a new Connection.classA Request to create a new object.classA request to perform direct editing on the receiver of the Request.classA Request to be forwarded to another EditPart.classA Request from multiple EditParts.classA Request that needs to keep track of a location.classA Request to reconnect a connection.classA request to select an edit part.
- 
Uses of Request in org.eclipse.gef.toolsMethods in org.eclipse.gef.tools that return RequestModifier and TypeMethodDescriptionprotected RequestConnectionBendpointTracker.createSourceRequest()Creates a BendpointRequest.protected RequestResizeTracker.createSourceRequest()protected RequestSimpleDragTracker.createSourceRequest()Creates and returns a new Request that is used during the drag.protected RequestAbstractConnectionCreationTool.createTargetRequest()protected RequestConnectionEndpointTracker.createTargetRequest()Creates the target request, aReconnectRequest.protected RequestCreationTool.createTargetRequest()Creates aCreateRequestand sets this tool's factory on the request.protected RequestDragEditPartsTracker.createTargetRequest()Creates aChangeBoundsRequest.protected RequestSelectionTool.createTargetRequest()Creates aSelectionRequestfor the target request.protected RequestTargetingTool.createTargetRequest()Creates the target request that will be used with the target editpart.protected RequestAbstractConnectionCreationTool.getSourceRequest()Returns the request sent to the source node.protected RequestSimpleDragTracker.getSourceRequest()Returns the request for the source of the drag, creating it if necessary.protected RequestSelectionTool.getTargetHoverRequest()Returns the target hover request.protected RequestTargetingTool.getTargetRequest()Lazily creates and returns the request used when communicating with the target editpart.Methods in org.eclipse.gef.tools with parameters of type RequestModifier and TypeMethodDescriptionstatic voidToolUtilities.filterEditPartsUnderstanding(List<? extends EditPart> list, Request request) Filters the given list of EditParts so that the list only contains the EditParts that understand the given request (i.e. returntruefromEditPart.understandsRequest(Request)when passed the given request).protected voidTargetingTool.setTargetRequest(Request req) Sets the target request.
- 
Uses of Request in org.eclipse.gef.ui.actionsMethods in org.eclipse.gef.ui.actions that return RequestModifier and TypeMethodDescriptionprotected RequestDirectEditAction.getDirectEditRequest()Returns theRequestbeing used.Methods in org.eclipse.gef.ui.actions with parameters of type RequestModifier and TypeMethodDescriptionprotected RectangleAlignmentAction.calculateAlignmentRectangle(Request request) Returns the alignment rectangle to which all selected parts should be aligned.AlignmentAction.getOperationSet(Request request) Returns the list of editparts which will participate in alignment.voidDirectEditAction.setDirectEditRequest(Request req) Clients may override the request that is used to perform the direct edit.