Eclipse GEF
3.1

Uses of Class
org.eclipse.gef.Request

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
 int SnapToGeometry.snapRectangle(Request request, int snapOrientation, PrecisionRectangle baseRect, PrecisionRectangle result)
           
 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.
 void EditPolicy.eraseSourceFeedback(Request request)
          Erases source feedback based on the given Request.
 void EditPolicy.eraseTargetFeedback(Request request)
          Erases target feedback based on the given Request.
 Command EditPolicy.getCommand(Request request)
          Returns the Command contribution for the given Request, or null.
 EditPart EditPolicy.getTargetEditPart(Request request)
          Returns null or the appropriate EditPart for the specified Request.
 void EditPolicy.showSourceFeedback(Request request)
          Shows or updates source feedback for the specified Request.
 void EditPolicy.showTargetFeedback(Request request)
          Shows or updates target feedback for the specified Request.
 boolean EditPolicy.understandsRequest(Request request)
          Returns true if this EditPolicy understand the specified request.
 void EditPart.eraseSourceFeedback(Request request)
          Erases source feedback for the specified Request.
 void EditPart.eraseTargetFeedback(Request request)
          Erases target feedback for the specified Request.
 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.
 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 EditPart.showSourceFeedback(Request request)
          Shows or updates source feedback for the given request.
 void EditPart.showTargetFeedback(Request request)
          Shows or updates target feedback for the given request.
 boolean EditPart.understandsRequest(Request request)
          Used to filter EditParts out of the current selection.
 int SnapToGuides.snapRectangle(Request request, int snapOrientation, PrecisionRectangle baseRect, PrecisionRectangle result)
           
 int SnapToGrid.snapRectangle(Request request, int snapLocations, PrecisionRectangle rect, PrecisionRectangle result)
           
 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.
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)
           
 

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 AbstractTransferDropTargetListener.getTargetRequest()
          Returns the target Request.
protected  Request TemplateTransferDropTargetListener.createTargetRequest()
           
 

Uses of Request in org.eclipse.gef.editparts
 

Methods in org.eclipse.gef.editparts with parameters of type Request
 Command GraphicalRootEditPart.getCommand(Request req)
          Deprecated. Returns the unexecutable command.
 DragTracker GraphicalRootEditPart.getDragTracker(Request req)
          Deprecated. Should never be called.
 Command FreeformGraphicalRootEditPart.getCommand(Request req)
          The RootEditPart should never be asked for a command.
 DragTracker FreeformGraphicalRootEditPart.getDragTracker(Request req)
          Should not be called, but returns a MarqeeDragTracker for good measure.
 Command ScalableRootEditPart.getCommand(Request req)
          The RootEditPart should never be asked for a command.
 DragTracker ScalableRootEditPart.getDragTracker(Request req)
          Should not be called, but returns a MarqeeDragTracker for good measure.
 DragTracker AbstractConnectionEditPart.getDragTracker(Request req)
           
 Command RootTreeEditPart.getCommand(Request request)
           
 DragTracker RootTreeEditPart.getDragTracker(Request request)
          This method will never be called on a tree root.
 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 AbstractEditPart.getCommand(Request request)
          Subclasses should rarely extend this method.
 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.
 DragTracker AbstractTreeEditPart.getDragTracker(Request req)
           
 DragTracker AbstractGraphicalEditPart.getDragTracker(Request request)
          Overridden to return a default DragTracker for GraphicalEditParts.
 

Uses of Request in org.eclipse.gef.editpolicies
 

Methods in org.eclipse.gef.editpolicies with parameters of type Request
 void ConnectionEndpointEditPolicy.eraseSourceFeedback(Request request)
           
 Command ConnectionEndpointEditPolicy.getCommand(Request request)
           
 void ConnectionEndpointEditPolicy.showSourceFeedback(Request request)
           
 Command ComponentEditPolicy.getCommand(Request request)
          Factors the incoming Request into ORPHANs and DELETEs.
 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 ConnectionEditPolicy.getCommand(Request 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)
           
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 abstract  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  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.
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 SnapFeedbackPolicy.eraseTargetFeedback(Request request)
           
 void SnapFeedbackPolicy.showTargetFeedback(Request req)
           
 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.
 Command ContainerEditPolicy.getCommand(Request request)
          Overridden to check for add, create, and orphan.
 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)
           
 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.
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.
 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.
 EditPart SelectionEditPolicy.getTargetEditPart(Request request)
           
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.
 

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 CreationTool.createTargetRequest()
          Creates a CreateRequest and sets this tool's factory on the request.
protected  Request ConnectionBendpointTracker.createSourceRequest()
          Creates a BendpointRequest.
protected  Request TargetingTool.createTargetRequest()
          Creates the target request that will be used with the target editpart.
protected  Request TargetingTool.getTargetRequest()
          Lazily creates and returns the request used when communicating 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 AbstractConnectionCreationTool.getSourceRequest()
          Returns the request sent to the source node.
protected  Request SelectionTool.createTargetRequest()
          Creates a SelectionRequest for the target request.
protected  Request SelectionTool.getTargetHoverRequest()
          Returns the target hover request.
protected  Request ResizeTracker.createSourceRequest()
           
protected  Request SimpleDragTracker.createSourceRequest()
          Creates and returns a new Request that is used during the drag.
protected  Request SimpleDragTracker.getSourceRequest()
          Returns the request for the source of the drag, creating it if necessary.
 

Methods in org.eclipse.gef.tools with parameters of type Request
protected  void TargetingTool.setTargetRequest(Request req)
          Sets the target request.
static void ToolUtilities.filterEditPartsUnderstanding(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).
 

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  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.
 


Eclipse GEF
3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.