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.
|
Modifier and Type | Method and Description |
---|---|
protected CreateRequest |
TemplateTransferDropTargetListener.getCreateRequest()
A helper method that casts the target Request to a CreateRequest.
|
Modifier and Type | Method and Description |
---|---|
protected IFigure |
LayoutEditPolicy.createSizeOnDropFeedback(CreateRequest createRequest)
Override to provide custom feedback figure for the given create request.
|
protected java.lang.Object |
ConstrainedLayoutEditPolicy.getConstraintFor(CreateRequest request)
Generates a draw2d constraint for the given
CreateRequest by
delegating to
ConstrainedLayoutEditPolicy.getConstraintFor(Request, GraphicalEditPart, Rectangle) . |
protected abstract Command |
TreeContainerEditPolicy.getCreateCommand(CreateRequest request)
Returns a Command for creating the object inside the container.
|
protected abstract Command |
ContainerEditPolicy.getCreateCommand(CreateRequest request)
Clients must implement to contribute to create requests.
|
protected abstract Command |
LayoutEditPolicy.getCreateCommand(CreateRequest request)
Returns the
Command to perform a create. |
protected Insets |
LayoutEditPolicy.getCreationFeedbackOffset(CreateRequest request)
Returns any insets that need to be applied to the creation feedback's
bounds.
|
protected IFigure |
LayoutEditPolicy.getSizeOnDropFeedback(CreateRequest createRequest)
Lazily creates and returns the Figure to use for size-on-drop feedback.
|
protected void |
XYLayoutEditPolicy.showSizeOnDropFeedback(CreateRequest request) |
protected void |
LayoutEditPolicy.showSizeOnDropFeedback(CreateRequest request)
Shows size-on-drop feedback during creation.
|
Modifier and Type | Class and Description |
---|---|
class |
CreateConnectionRequest
A Request to create a new Connection.
|
Modifier and Type | Method and Description |
---|---|
protected CreateRequest |
CreationTool.getCreateRequest()
Cast the target request to a CreateRequest and returns it.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CreationTool.enforceConstraintsForSizeOnDropCreate(CreateRequest request)
Ensures size constraints (by default minimum and maximum) are respected
by the given request.
|
protected Dimension |
CreationTool.getMaximumSizeFor(CreateRequest request)
Determines the maximum size for CreateRequest's size on drop.
|
protected Dimension |
CreationTool.getMinimumSizeFor(CreateRequest request)
Determines the minimum size for CreateRequest's size on drop.
|
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.