Uses of Class
org.eclipse.gef.requests.CreateRequest
-
Packages that use CreateRequest Package Description org.eclipse.gef.dnd 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. -
-
Uses of CreateRequest in org.eclipse.gef.dnd
Methods in org.eclipse.gef.dnd that return CreateRequest Modifier and Type Method Description protected CreateRequestTemplateTransferDropTargetListener. getCreateRequest()A helper method that casts the target Request to a CreateRequest. -
Uses of CreateRequest in org.eclipse.gef.editpolicies
Methods in org.eclipse.gef.editpolicies with parameters of type CreateRequest Modifier and Type Method Description protected org.eclipse.draw2d.IFigureLayoutEditPolicy. createSizeOnDropFeedback(CreateRequest createRequest)Override to provide custom feedback figure for the given create request.protected java.lang.ObjectConstrainedLayoutEditPolicy. getConstraintFor(CreateRequest request)Generates a draw2d constraint for the givenCreateRequestby delegating toConstrainedLayoutEditPolicy.getConstraintFor(Request, GraphicalEditPart, Rectangle).protected abstract CommandContainerEditPolicy. getCreateCommand(CreateRequest request)Clients must implement to contribute to create requests.protected abstract CommandLayoutEditPolicy. getCreateCommand(CreateRequest request)Returns theCommandto perform a create.protected abstract CommandTreeContainerEditPolicy. getCreateCommand(CreateRequest request)Returns a Command for creating the object inside the container.protected org.eclipse.draw2d.geometry.InsetsLayoutEditPolicy. getCreationFeedbackOffset(CreateRequest request)Returns any insets that need to be applied to the creation feedback's bounds.protected org.eclipse.draw2d.IFigureLayoutEditPolicy. getSizeOnDropFeedback(CreateRequest createRequest)Lazily creates and returns the Figure to use for size-on-drop feedback.protected voidLayoutEditPolicy. showSizeOnDropFeedback(CreateRequest request)Shows size-on-drop feedback during creation.protected voidXYLayoutEditPolicy. showSizeOnDropFeedback(CreateRequest request) -
Uses of CreateRequest in org.eclipse.gef.requests
Subclasses of CreateRequest in org.eclipse.gef.requests Modifier and Type Class Description classCreateConnectionRequestA Request to create a new Connection. -
Uses of CreateRequest in org.eclipse.gef.tools
Methods in org.eclipse.gef.tools that return CreateRequest Modifier and Type Method Description protected CreateRequestCreationTool. getCreateRequest()Cast the target request to a CreateRequest and returns it.Methods in org.eclipse.gef.tools with parameters of type CreateRequest Modifier and Type Method Description protected voidCreationTool. enforceConstraintsForSizeOnDropCreate(CreateRequest request)Ensures size constraints (by default minimum and maximum) are respected by the given request.protected org.eclipse.draw2d.geometry.DimensionCreationTool. getMaximumSizeFor(CreateRequest request)Determines the maximum size for CreateRequest's size on drop.protected org.eclipse.draw2d.geometry.DimensionCreationTool. getMinimumSizeFor(CreateRequest request)Determines the minimum size for CreateRequest's size on drop.
-