Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- GEF - Class in org.eclipse.gef
-
Deprecated.in 3.1 This class will be removed in future releases.
- GEF() - Constructor for class org.eclipse.gef.GEF
-
Deprecated.
- GEFActionConstants - Class in org.eclipse.gef.ui.actions
-
Defines the names of those actions which are preregistered with the
GraphicalEditor
. - GEFActionConstants() - Constructor for class org.eclipse.gef.ui.actions.GEFActionConstants
- GEFColorProvider - Class in org.eclipse.gef
-
A collection of color-related constants.
- GEFColorProvider() - Constructor for class org.eclipse.gef.GEFColorProvider
- GEFPlugin - Class in org.eclipse.gef
-
Deprecated.The GEF plugin class must not be referenced by clients.
- generateSnapPartsList(List) - Method in class org.eclipse.gef.SnapToGeometry
-
Generates a list of parts which should be snapped to.
- getAccessibilityDispatcher() - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher
-
Lazily creates and returns the accessibility dispatcher.
- getAccessibleEditPart() - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
Returns the
AccessibleEditPart
adapter for this EditPart. - getAccessibleHandleLocations() - Method in interface org.eclipse.gef.AccessibleHandleProvider
-
Returns a list of Points in absolute coordinates where
Handles
are located. - getAccessibleLocation() - Method in interface org.eclipse.gef.Handle
-
Returns an optional accessibility Point.
- getAccessibleLocation() - Method in class org.eclipse.gef.handles.AbstractHandle
-
By default, the center of the handle is returned.
- getAccessibleLocation() - Method in class org.eclipse.gef.handles.MoveHandle
-
Returns a point along the right edge of the handle.
- getAccGuideDescription(AccessibleEvent, Object) - Method in class org.eclipse.gef.rulers.RulerProvider
-
Return the description of the control or specified child in the
result
field of the event object. - getAccGuideName(AccessibleEvent, Object) - Method in class org.eclipse.gef.rulers.RulerProvider
-
Return the given guide's name/label in the
result
field of the given event. - getAccGuideValue(AccessibleControlEvent, Object) - Method in class org.eclipse.gef.rulers.RulerProvider
-
Return the guide's position in the
result
field of the given event. - getAction(Object) - Method in class org.eclipse.gef.ui.actions.ActionRegistry
-
Returns
null
or theIAction
with the given key. - getAction(String) - Method in class org.eclipse.gef.ui.actions.ActionBarContributor
-
Retrieves an action from the action registry using the given ID.
- getActionRegistry() - Method in class org.eclipse.gef.ui.actions.ActionBarContributor
-
returns this contributor's ActionRegsitry.
- getActionRegistry() - Method in class org.eclipse.gef.ui.parts.GraphicalEditor
-
Lazily creates and returns the action registry.
- getActions() - Method in class org.eclipse.gef.ui.actions.ActionRegistry
-
Returns an
Iterator
over all the actions. - getActiveEntry() - Method in class org.eclipse.gef.palette.PaletteStack
-
Returns the PaletteEntry referring to the active entry that should be shown in the palette.
- getActiveTool() - Method in class org.eclipse.gef.EditDomain
-
Returns the active Tool
- getActiveTool() - Method in class org.eclipse.gef.ui.palette.PaletteViewer
- getAdapter(Class<T>) - Method in class org.eclipse.gef.editparts.AbstractConnectionEditPart
-
AbstractConnectionEditPart
extends getAdapter() to overrides theAccessibleAnchorProvider
adapter returned by the superclass. - getAdapter(Class<T>) - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
Returns the specified adapter if recognized.
- getAdapter(Class<T>) - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
-
Extends
AbstractEditPart.getAdapter(Class)
to handle additional adapter types. - getAdapter(Class<T>) - Method in class org.eclipse.gef.editparts.FreeformGraphicalRootEditPart
- getAdapter(Class<T>) - Method in class org.eclipse.gef.editparts.ScalableRootEditPart
- getAdapter(Class<T>) - Method in class org.eclipse.gef.editpolicies.SelectionHandlesEditPolicy
- getAdapter(Class<T>) - Method in class org.eclipse.gef.ui.parts.GraphicalEditor
-
Returns the adapter for the specified key.
- getAdapter(Class<T>) - Method in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
- getAdapter(Class<T>) - Method in class org.eclipse.gef.ui.views.palette.PaletteViewerPage
- getAddCommand(Request) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Overrides
getAddCommand()
to generate the proper constraint for each child being added. - getAddCommand(Request) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Override to return the
Command
to perform anADD
. - getAddCommand(Request) - Method in class org.eclipse.gef.editpolicies.OrderedLayoutEditPolicy
-
This method is overridden from the superclass to calculate the index at which the children should be added.
- getAddCommand(ChangeBoundsRequest) - Method in class org.eclipse.gef.editpolicies.TreeContainerEditPolicy
-
Returns a Command for adding the children to the container.
- getAddCommand(GroupRequest) - Method in class org.eclipse.gef.editpolicies.ContainerEditPolicy
-
Override to contribute to add requests.
- getAlignChildrenCommand(AlignmentRequest) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Returns the command to align a group of children.
- getAlignCommand(AlignmentRequest) - Method in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
-
Returns the command contribution to an alignment request
- getAlignment() - Method in class org.eclipse.gef.requests.AlignmentRequest
-
Returns the alignment.
- getAlignmentRectangle() - Method in class org.eclipse.gef.requests.AlignmentRequest
-
Returns the rectangle used to align the edit part with.
- getAllChildren(GraphicalEditPart) - Static method in class org.eclipse.gef.util.EditPartUtilities
-
Returns the transitive child edit part set of the given parent
GraphicalEditPart
. - getAllNestedConnectionEditParts(GraphicalEditPart) - Static method in class org.eclipse.gef.util.EditPartUtilities
-
Returns the transitive nested connection edit parts.
- getAlpha() - Method in class org.eclipse.gef.editpolicies.ScrollableSelectionFeedbackEditPolicy
-
Used to obtain the alpha value used for all feedback figures.
- getAttachedEditParts(Object, GraphicalViewer) - Method in class org.eclipse.gef.rulers.RulerProvider
-
Returns a List of EditParts that are attached to the given guide.
- getAttachedModelObjects(Object) - Method in class org.eclipse.gef.rulers.RulerProvider
-
Returns a List of model objects that are attached to the given guide.
- getAutoCollapseSetting() - Method in class org.eclipse.gef.ui.palette.DefaultPaletteViewerPreferences
- getAutoCollapseSetting() - Method in interface org.eclipse.gef.ui.palette.PaletteViewerPreferences
-
Returns the current auto-collapse setting.
- getAutoexposeHelper() - Method in class org.eclipse.gef.tools.TargetingTool
-
Returns
null
or the current autoexpose helper. - getBootstrapPart() - Method in class org.eclipse.gef.ui.views.palette.PaletteView
-
The view shows the palette associated with the active editor.
- getBorderColor() - Method in class org.eclipse.gef.handles.CornerTriangleBorder
-
Deprecated.Returns the outline color based on what is returned by
CornerTriangleBorder.isPrimary()
. - getBorderColor() - Method in class org.eclipse.gef.handles.SquareHandle
-
Returns the color for the outside of the handle.
- getButton() - Method in class org.eclipse.gef.GEFColorProvider
- getButton(int) - Method in class org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog
-
Returns the Button with the given id; or
null
if none was found. - getButton(int) - Method in class org.eclipse.gef.ui.palette.customize.PaletteSettingsDialog
-
Returns the Button with the given id; or
null
if none was found. - getButtonDarker() - Method in class org.eclipse.gef.GEFColorProvider
- getButtonDarkest() - Method in class org.eclipse.gef.GEFColorProvider
- getButtonLightest() - Method in class org.eclipse.gef.GEFColorProvider
- getCellEditor() - Method in class org.eclipse.gef.requests.DirectEditRequest
-
Returns the cell editor used to perform the direct edit.
- getCellEditor() - Method in class org.eclipse.gef.tools.DirectEditManager
-
Returns the cell editor.
- getCellEditorFrame() - Method in class org.eclipse.gef.tools.DirectEditManager
-
Returns the IFigure, which is used to 'embed' the cell editor control.
- getChangeConstraintCommand(ChangeBoundsRequest) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Returns the
Command
for changing bounds for a group of children. - getChildAtPoint(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getChildCount(AccessibleControlEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getChildCount(AccessibleControlEvent) - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart.AccessibleGraphicalEditPart
- getChildCount(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getChildren() - Method in class org.eclipse.gef.commands.CompoundCommand
-
This is useful when implementing
ITreeContentProvider.getChildren(Object)
to display the Command's nested structure. - getChildren() - Method in interface org.eclipse.gef.EditPart
-
Returns the List of children
EditParts
. - getChildren() - Method in class org.eclipse.gef.editparts.AbstractEditPart
- getChildren() - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
- getChildren() - Method in class org.eclipse.gef.editparts.AbstractTreeEditPart
- getChildren() - Method in interface org.eclipse.gef.GraphicalEditPart
-
The children of GraphicalEditparts have to be GraphicalEditParts.
- getChildren() - Method in class org.eclipse.gef.palette.PaletteContainer
- getChildren(AccessibleControlEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getChildren(AccessibleControlEvent) - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart.AccessibleGraphicalEditPart
- getChildren(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getClipboardContents() - Method in class org.eclipse.gef.ui.actions.PasteTemplateAction
-
Returns the template on the clipboard, if there is one.
- getCloneCommand(ChangeBoundsRequest) - Method in class org.eclipse.gef.editpolicies.ContainerEditPolicy
-
Override to contribute to clone requests.
- getCloneCommand(ChangeBoundsRequest) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Override to contribute to clone requests.
- getCommand() - Method in class org.eclipse.gef.commands.CommandStackEvent
-
Returns
null
or a Command if a command is relevant to the current event. - getCommand() - Method in class org.eclipse.gef.dnd.AbstractTransferDropTargetListener
-
Returns the current command from the target EditPart.
- getCommand() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns a new, updated command based on the tool's current properties.
- getCommand() - Method in class org.eclipse.gef.tools.ConnectionBendpointTracker
-
Obtains a new command from the connection.
- getCommand() - Method in class org.eclipse.gef.tools.DragEditPartsTracker
-
Asks each edit part in the
operation set
to contribute to aCompoundCommand
after first setting the request type to eitherRequestConstants.REQ_MOVE
orRequestConstants.REQ_ORPHAN
, depending on the result ofDragEditPartsTracker.isMove()
. - getCommand() - Method in class org.eclipse.gef.tools.ResizeTracker
- getCommand() - Method in class org.eclipse.gef.tools.TargetingTool
-
Queries the target editpart for a command.
- getCommand(Request) - Method in interface org.eclipse.gef.EditPart
-
Returns the
Command
to perform the specified Request ornull
. - getCommand(Request) - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
Subclasses should rarely extend this method.
- getCommand(Request) - Method in class org.eclipse.gef.editparts.GraphicalRootEditPart
-
Deprecated.Returns the unexecutable command.
- getCommand(Request) - Method in class org.eclipse.gef.editparts.RootTreeEditPart
- getCommand(Request) - Method in class org.eclipse.gef.editparts.SimpleRootEditPart
-
The RootEditPart should never be asked for a command.
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.AbstractEditPolicy
-
Returns
null
by default. - getCommand(Request) - Method in class org.eclipse.gef.editpolicies.BendpointEditPolicy
-
Factors the Request into either a MOVE, a DELETE, or a CREATE of a bendpoint.
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.ComponentEditPolicy
-
Factors the incoming Request into ORPHANs and DELETEs.
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.ConnectionEditPolicy
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Factors out RESIZE and ALIGN requests, otherwise calls
super
. - getCommand(Request) - Method in class org.eclipse.gef.editpolicies.ContainerEditPolicy
-
Overridden to check for add, create, and orphan.
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.DirectEditPolicy
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Factors the request into one of four abstract methods.
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Factors incoming requests into various specific methods.
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.ResizableEditPolicy
- getCommand(Request) - Method in class org.eclipse.gef.editpolicies.TreeContainerEditPolicy
- getCommand(Request) - Method in interface org.eclipse.gef.EditPolicy
-
Returns the
Command
contribution for the givenRequest
, ornull
. - getCommandName() - Method in class org.eclipse.gef.tools.AbstractConnectionCreationTool
- getCommandName() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the identifier of the command that is being sought.
- getCommandName() - Method in class org.eclipse.gef.tools.ConnectionBendpointTracker
- getCommandName() - Method in class org.eclipse.gef.tools.ConnectionEndpointTracker
- getCommandName() - Method in class org.eclipse.gef.tools.CreationTool
- getCommandName() - Method in class org.eclipse.gef.tools.DragEditPartsTracker
- getCommandName() - Method in class org.eclipse.gef.tools.MarqueeSelectionTool
- getCommandName() - Method in class org.eclipse.gef.tools.ResizeTracker
- getCommandName() - Method in class org.eclipse.gef.tools.SelectEditPartTracker
- getCommandName() - Method in class org.eclipse.gef.tools.SelectionTool
- getCommands() - Method in class org.eclipse.gef.commands.CommandStack
- getCommands() - Method in class org.eclipse.gef.commands.CompoundCommand
- getCommandStack() - Method in class org.eclipse.gef.EditDomain
-
Returns the CommandStack.
- getCommandStack() - Method in class org.eclipse.gef.ui.actions.WorkbenchPartAction
-
Returns the editor's command stack.
- getCommandStack() - Method in class org.eclipse.gef.ui.parts.GraphicalEditor
-
Returns the command stack.
- getCommandStack() - Method in class org.eclipse.gef.ui.properties.UndoablePropertySheetEntry
-
Returns the
CommandStack
that is used by this entry. - getConnection() - Method in class org.eclipse.gef.editpolicies.BendpointEditPolicy
-
Convenience method for obtaining the host's
Connection
figure. - getConnection() - Method in class org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy
-
Convenience method for obtaining the host's
Connection
figure. - getConnection() - Method in class org.eclipse.gef.editpolicies.FeedbackHelper
-
Returns the connection being used to show feedback.
- getConnection() - Method in class org.eclipse.gef.handles.ConnectionHandle
-
Convenience method to return the owner's figure typed as
Connection
. - getConnection() - Method in class org.eclipse.gef.tools.ConnectionBendpointTracker
-
Convenience method to obtain the connection editpart's connection figure.
- getConnection() - Method in class org.eclipse.gef.tools.ConnectionEndpointTracker
-
Returns the ConnectionEditPart's figure.
- getConnectionCompleteCommand(CreateConnectionRequest) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Returns the Command that will create the connection.
- getConnectionCreateCommand(CreateConnectionRequest) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Returns the command that represents the first half of creating a connection.
- getConnectionEditPart() - Method in class org.eclipse.gef.requests.ReconnectRequest
-
Returns the ConnectionEditPart to be reconnected.
- getConnectionEditPart() - Method in class org.eclipse.gef.tools.ConnectionBendpointTracker
-
Returns the connection editpart on which the tracker operates.
- getConnectionEditPart() - Method in class org.eclipse.gef.tools.ConnectionEndpointTracker
-
Returns the ConnectionEditPart.
- getConnectionFigure() - Method in class org.eclipse.gef.editparts.AbstractConnectionEditPart
-
Convenience method for casting this GraphicalEditPart's Figure to a
Connection
- getConstraint(IFigure) - Method in class org.eclipse.gef.editparts.GuideLayer
- getConstraintFor(Point) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Generates a draw2d constraint given a
Point
. - getConstraintFor(Point) - Method in class org.eclipse.gef.editpolicies.XYLayoutEditPolicy
-
Returns a Rectangle at the given Point with width and height of -1.
- getConstraintFor(Rectangle) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Generates a draw2d constraint given a
Rectangle
. - getConstraintFor(Rectangle) - Method in class org.eclipse.gef.editpolicies.XYLayoutEditPolicy
-
Returns a new Rectangle equivalent to the passed Rectangle.
- getConstraintFor(Request, GraphicalEditPart, Rectangle) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Responsible of generating a draw2d constraint for the given Rectangle, which represents the already transformed (layout-relative) position and size of the given Request.
- getConstraintFor(Request, GraphicalEditPart, Rectangle) - Method in class org.eclipse.gef.editpolicies.XYLayoutEditPolicy
-
Overridden to preserve existing width and height (as well as preferred sizes) during MOVE requests.
- getConstraintFor(ChangeBoundsRequest, GraphicalEditPart) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Generates a draw2d constraint object for the given
ChangeBoundsRequest
and child EditPart by delegating toConstrainedLayoutEditPolicy.getConstraintFor(Request, GraphicalEditPart, Rectangle)
. - getConstraintFor(CreateRequest) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Generates a draw2d constraint for the given
CreateRequest
by delegating toConstrainedLayoutEditPolicy.getConstraintFor(Request, GraphicalEditPart, Rectangle)
. - getConstraintForClone(GraphicalEditPart, ChangeBoundsRequest) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Deprecated.
- getConstraints() - Method in class org.eclipse.gef.editparts.GuideLayer
- getContentPane() - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
-
Implemented to delegate to
AbstractGraphicalEditPart.getFigure()
by default. - getContentPane() - Method in class org.eclipse.gef.editparts.FreeformGraphicalRootEditPart
-
The contents' Figure will be added to the PRIMARY_LAYER.
- getContentPane() - Method in class org.eclipse.gef.editparts.GraphicalRootEditPart
-
Deprecated.Returns the primary layer, which will parent the contents editpart.
- getContentPane() - Method in class org.eclipse.gef.editparts.ScalableRootEditPart
-
The contents' Figure will be added to the PRIMARY_LAYER.
- getContentPane() - Method in interface org.eclipse.gef.GraphicalEditPart
-
The Figure into which childrens' Figures will be added.
- getContents() - Method in class org.eclipse.gef.editparts.GraphicalRootEditPart
-
Deprecated.
- getContents() - Method in class org.eclipse.gef.editparts.RootTreeEditPart
- getContents() - Method in class org.eclipse.gef.editparts.SimpleRootEditPart
- getContents() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the contents of this Viewer.
- getContents() - Method in interface org.eclipse.gef.RootEditPart
-
Returns the contents EditPart.
- getContents() - Method in class org.eclipse.gef.ui.actions.Clipboard
-
Returns the current contents of the clipboard.
- getContents() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getContextMenu() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns
null
or the MenuManager for this viewer. - getContextMenu() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getControl() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns
null
or the SWTControl
for this viewer. - getControl() - Method in class org.eclipse.gef.ui.palette.customize.DefaultEntryPage
- getControl() - Method in interface org.eclipse.gef.ui.palette.customize.EntryPage
-
Returns the Panel (Control) that displays the properties of the entry.
- getControl() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getControl() - Method in class org.eclipse.gef.ui.parts.ContentOutlinePage
- getControl() - Method in class org.eclipse.gef.ui.views.palette.PaletteViewerPage
- getCorrectionFor(int[], double, double, Map, boolean) - Method in class org.eclipse.gef.SnapToGuides
-
Returns the correction for the given near and far sides of a rectangle or
SnapToGuides.getThreshold()
if no correction was found. - getCorrectionFor(int[], double, Map, boolean, int) - Method in class org.eclipse.gef.SnapToGuides
-
Returns the correction for the given location or
SnapToGuides.getThreshold()
if no correction was found. - getCorrectionFor(SnapToGeometry.Entry[], Map, boolean, double, double) - Method in class org.eclipse.gef.SnapToGeometry
-
Returns the correction value for the given entries and sides.
- getCorrectionFor(SnapToGeometry.Entry[], Map, boolean, double, int) - Method in class org.eclipse.gef.SnapToGeometry
-
Returns the correction value between +/-
SnapToGeometry.getThreshold()
, or the #getThreshold () if no corrections were found. - getCreateBendpointCommand(BendpointRequest) - Method in class org.eclipse.gef.editpolicies.BendpointEditPolicy
-
Implement this method to return a Command that will create a bendpoint.
- getCreateCommand(CreateRequest) - Method in class org.eclipse.gef.editpolicies.ContainerEditPolicy
-
Clients must implement to contribute to create requests.
- getCreateCommand(CreateRequest) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Returns the
Command
to perform a create. - getCreateCommand(CreateRequest) - Method in class org.eclipse.gef.editpolicies.TreeContainerEditPolicy
-
Returns a Command for creating the object inside the container.
- getCreateGuideCommand(int) - Method in class org.eclipse.gef.rulers.RulerProvider
-
Clients should override this method to return a Command to create a new guide at the given position.
- getCreateRequest() - Method in class org.eclipse.gef.dnd.TemplateTransferDropTargetListener
-
A helper method that casts the target Request to a CreateRequest.
- getCreateRequest() - Method in class org.eclipse.gef.tools.CreationTool
-
Cast the target request to a CreateRequest and returns it.
- getCreationFeedbackOffset(CreateRequest) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Returns any insets that need to be applied to the creation feedback's bounds.
- getCurrentCommand() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the currently cached command.
- getCurrentConstraintFor(GraphicalEditPart) - Method in class org.eclipse.gef.editpolicies.XYLayoutEditPolicy
-
Retrieves the child's current constraint from the
LayoutManager
. - getCurrentEvent() - Method in class org.eclipse.gef.dnd.AbstractTransferDropTargetListener
-
Returns the current
DropTargetEvent
. - getCurrentInput() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the input object encapsulating the current mouse and keyboard state.
- getCurrentMarqueeSelectionRectangle() - Method in class org.eclipse.gef.tools.MarqueeSelectionTool
-
Returns the current marquee selection rectangle.
- getCurrentSelectionMode() - Method in class org.eclipse.gef.tools.MarqueeSelectionTool
-
Returns the current selection mode, i.e. default, append, or toggle
- getCurrentViewer() - Method in class org.eclipse.gef.tools.AbstractTool
-
Return the viewer that the tool is currently receiving input from, or
null
. - getCustomizer() - Method in class org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog
- getCustomizer() - Method in class org.eclipse.gef.ui.palette.PaletteViewer
- getCustomizerDialog() - Method in class org.eclipse.gef.ui.palette.PaletteViewer
-
NOTE: A PaletteCustomizer must be set for this viewer using the
PaletteViewer.setCustomizer(PaletteCustomizer)
method before this method is invoked. - getDebugLabel() - Method in class org.eclipse.gef.commands.Command
- getDebugLabel() - Method in class org.eclipse.gef.commands.ForwardUndoCompoundCommand
- getDebugName() - Method in class org.eclipse.gef.tools.AbstractConnectionCreationTool
- getDebugName() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the debug name for this tool.
- getDebugName() - Method in class org.eclipse.gef.tools.ConnectionBendpointTracker
- getDebugName() - Method in class org.eclipse.gef.tools.ConnectionEndpointTracker
- getDebugName() - Method in class org.eclipse.gef.tools.CreationTool
- getDebugName() - Method in class org.eclipse.gef.tools.DragEditPartsTracker
- getDebugName() - Method in class org.eclipse.gef.tools.DragTreeItemsTracker
- getDebugName() - Method in class org.eclipse.gef.tools.MarqueeSelectionTool
- getDebugName() - Method in class org.eclipse.gef.tools.PanningSelectionTool
- getDebugName() - Method in class org.eclipse.gef.tools.ResizeTracker
- getDebugName() - Method in class org.eclipse.gef.tools.SelectEditPartTracker
- getDebugName() - Method in class org.eclipse.gef.tools.SelectionTool
- getDebugNameForState(int) - Method in class org.eclipse.gef.tools.AbstractConnectionCreationTool
- getDebugNameForState(int) - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns a String representation of the given state for debug purposes.
- getDebugNameForState(int) - Method in class org.eclipse.gef.tools.PanningSelectionTool
- getDebugNameForState(int) - Method in class org.eclipse.gef.tools.SelectionTool
- getDefault() - Static method in class org.eclipse.gef.GEFPlugin
-
Deprecated.Gets the plugin singleton.
- getDefault() - Static method in class org.eclipse.gef.ui.actions.Clipboard
-
Returns the default clipboard.
- getDefaultAction(AccessibleControlEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getDefaultAction(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getDefaultCursor() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the cursor used under normal conditions.
- getDefaultCursor() - Method in class org.eclipse.gef.tools.DragEditPartsTracker
-
Returns the cursor used under normal conditions.
- getDefaultCursor() - Method in class org.eclipse.gef.tools.PanningSelectionTool
-
Returns the cursor used under normal conditions.
- getDefaultCursor() - Method in class org.eclipse.gef.tools.ResizeTracker
- getDefaultEntry() - Method in class org.eclipse.gef.palette.PaletteRoot
- getDefaultTool() - Method in class org.eclipse.gef.EditDomain
-
Returns the default tool for this edit domain.
- getDelegates() - Method in class org.eclipse.gef.CompoundSnapToHelper
-
Gets the array of helpers.
- getDelegatingDragAdapter() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
-
Returns
null
or the DelegatingDragAdapater. - getDelegatingDropAdapter() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
-
Returns
null
or the DelegatingDropAdapater. - getDeleteBendpointCommand(BendpointRequest) - Method in class org.eclipse.gef.editpolicies.BendpointEditPolicy
-
Implement this method to return a Command that will delete a bendpoint.
- getDeleteCommand(GroupRequest) - Method in class org.eclipse.gef.editpolicies.ComponentEditPolicy
-
Calls and returns
ComponentEditPolicy.createDeleteCommand(GroupRequest)
. - getDeleteCommand(GroupRequest) - Method in class org.eclipse.gef.editpolicies.ConnectionEditPolicy
-
Subclasses should implement to return the Command to delete the connection.
- getDeleteDependantCommand(Request) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Returns the
Command
to delete a child. - getDeleteGuideCommand(Object) - Method in class org.eclipse.gef.rulers.RulerProvider
-
Clients should override this method to return a Command to delete the given guide.
- getDescription() - Method in class org.eclipse.gef.palette.MarqueeToolEntry
- getDescription() - Method in class org.eclipse.gef.palette.PaletteEntry
- getDescription(AccessibleEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getDescription(AccessibleEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getDetail() - Method in class org.eclipse.gef.commands.CommandStackEvent
-
Returns an integer identifying the type of event which has occurred.
- getDirectEditCommand(DirectEditRequest) - Method in class org.eclipse.gef.editpolicies.DirectEditPolicy
-
Returns the
Command
to perform the direct edit. - getDirectEditFeature() - Method in class org.eclipse.gef.requests.DirectEditRequest
-
If the EditPart supports direct editing of multiple features, this parameter can be used to discriminate among them.
- getDirectEditFeature() - Method in class org.eclipse.gef.tools.DirectEditManager
- getDirectEditRequest() - Method in class org.eclipse.gef.tools.DirectEditManager
-
Returns the direct edit request, creating it if needed.
- getDirectEditRequest() - Method in class org.eclipse.gef.ui.actions.DirectEditAction
-
Returns the
Request
being used. - getDisabledCursor() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the cursor used under abnormal conditions.
- getDockLocation() - Method in interface org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences
-
Should return
PositionConstants.EAST
orPositionConstants.WEST
. - getDomain() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the EditDomain.
- getDragCursor() - Method in class org.eclipse.gef.handles.AbstractHandle
-
Deprecated.use getCursor()
- getDragMoveDelta() - Method in class org.eclipse.gef.tools.AbstractTool
-
Return the number of pixels that the mouse has been moved since that drag was started.
- getDragSource() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
-
Returns
null
or the DragSource. - getDragSourceFeedbackFigure() - Method in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
-
Lazily creates and returns the feedback figure used during drags.
- getDragTracker() - Method in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
-
Returns a drag tracker to use by a resize handle.
- getDragTracker() - Method in interface org.eclipse.gef.Handle
-
Returns the DragTracker for dragging this Handle.
- getDragTracker() - Method in class org.eclipse.gef.handles.AbstractHandle
-
Returns the drag tracker to use when the user clicks on this handle.
- getDragTracker() - Method in class org.eclipse.gef.tools.SelectionTool
-
Returns the current drag tracker.
- getDragTracker(Request) - Method in interface org.eclipse.gef.EditPart
-
Returns a
DragTracker
for dragging this EditPart. - getDragTracker(Request) - Method in class org.eclipse.gef.editparts.AbstractConnectionEditPart
- getDragTracker(Request) - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
-
Overridden to return a default
DragTracker
for GraphicalEditParts. - getDragTracker(Request) - Method in class org.eclipse.gef.editparts.AbstractTreeEditPart
- getDragTracker(Request) - Method in class org.eclipse.gef.editparts.FreeformGraphicalRootEditPart
-
Should not be called, but returns a MarqeeDragTracker for good measure.
- getDragTracker(Request) - Method in class org.eclipse.gef.editparts.GraphicalRootEditPart
-
Deprecated.Should never be called.
- getDragTracker(Request) - Method in class org.eclipse.gef.editparts.RootTreeEditPart
-
This method will never be called on a tree root.
- getDragTracker(Request) - Method in class org.eclipse.gef.editparts.ScalableRootEditPart
-
Should not be called, but returns a MarqeeDragTracker for good measure.
- getDrawer() - Method in class org.eclipse.gef.ui.palette.customize.DrawerEntryPage
-
Convenience method that provides access to the PaletteDrawer.
- getDrawerType() - Method in class org.eclipse.gef.palette.PaletteDrawer
- getDropLocation() - Method in class org.eclipse.gef.dnd.AbstractTransferDropTargetListener
-
Returns the current mouse location, as a
Point
. - getDropTarget() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
-
Returns
null
or the DropTarget. - getDummyConnectionRouter(CreateConnectionRequest) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Returns the ConnectionRouter for the creation feedback's connection.
- getEditDomain() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the
EditDomain
to which this viewer belongs. - getEditDomain() - Method in class org.eclipse.gef.ui.palette.PaletteViewerProvider
- getEditDomain() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getEditDomain() - Method in class org.eclipse.gef.ui.parts.GraphicalEditor
-
Returns the edit domain.
- getEditor() - Method in class org.eclipse.gef.ui.rulers.RulerComposite
-
Retrieve the editor figure canvas.
- getEditorPart() - Method in class org.eclipse.gef.DefaultEditDomain
- getEditorPart() - Method in class org.eclipse.gef.ui.actions.EditorPartAction
-
Returns the editor associated with this action.
- getEditPart() - Method in class org.eclipse.gef.tools.DirectEditManager
-
Returns the source edit part.
- getEditPartFactory() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the
EditPartFactory
for this viewer. - getEditPartFactory() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getEditPartRegistry() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the
Map
for registeringEditParts
by Keys. - getEditPartRegistry() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getEditParts() - Method in class org.eclipse.gef.requests.GroupRequest
-
Returns a List containing the EditParts making this Request.
- getEditPolicy(Object) - Method in interface org.eclipse.gef.EditPart
- getEditPolicy(Object) - Method in class org.eclipse.gef.editparts.AbstractEditPart
- getEditPolicyIterable() - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
Used internally to iterate over the installed EditPolicies.
- getEditPolicyIterator() - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
Deprecated, for removal: This API element is subject to removal in a future version.use Use
AbstractEditPart.getEditPolicyIterable()
instead. - getEndPoint() - Method in class org.eclipse.gef.handles.ConnectionEndpointHandle
-
Return the endpoint handle.
- getEntry() - Method in class org.eclipse.gef.ui.palette.customize.DefaultEntryPage
-
Provides sub-classes with access to the entry this class is monitoring.
- getEntryPage(PaletteEntry) - Method in class org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog
-
Returns the
EntryPage
for the givenPaletteEntry
. - getEventDispatcher() - Method in class org.eclipse.gef.ui.parts.GraphicalViewerImpl
-
Deprecated.This method should not be called by subclasses
- getEventListeners(Class<T>) - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
Returns an iterator for the specified type of listener
- getEventListenersIterable(Class<T>) - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
* Returns an Iterator for the specified type of listener
- getExclusionSet() - Method in class org.eclipse.gef.dnd.AbstractTransferDropTargetListener
-
Returns a Collection of
EditParts
that are to be excluded when searching for the target EditPart. - getExclusionSet() - Method in class org.eclipse.gef.tools.ConnectionEndpointTracker
- getExclusionSet() - Method in class org.eclipse.gef.tools.DragEditPartsTracker
-
Returns a list of all the edit parts in the
operation set
, plus theConnectionLayer
. - getExclusionSet() - Method in class org.eclipse.gef.tools.TargetingTool
-
Returns a List of figures that should be excluded as potential targets for the operation.
- getExtendedData() - Method in class org.eclipse.gef.Request
-
Returns a Map that can be used to save useful information in this request.
- getFactory() - Method in class org.eclipse.gef.requests.CreateRequest
-
Returns the CreationFactory for this request.
- getFactory() - Method in class org.eclipse.gef.tools.AbstractConnectionCreationTool
-
Returns the creation factory that will be used with the create connection request.
- getFactory() - Method in class org.eclipse.gef.tools.CreationTool
-
Returns the creation factory used to create the new EditParts.
- getFactory(Object) - Method in class org.eclipse.gef.dnd.TemplateTransferDropTargetListener
-
Returns the appropriate Factory object to be used for the specified template.
- getFactory(Object) - Method in class org.eclipse.gef.ui.actions.PasteTemplateAction
-
Returns the appropriate Factory object to be used for the specified template.
- getFeedbackHelper(CreateConnectionRequest) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Returns the FeedbackHelper that is ready to use.
- getFeedbackHelper(ReconnectRequest) - Method in class org.eclipse.gef.editpolicies.ConnectionEndpointEditPolicy
-
Lazily creates and returns the feedback helper for the given request.
- getFeedbackIndexFor(Request) - Method in class org.eclipse.gef.editpolicies.FlowLayoutEditPolicy
- getFeedbackLayer() - Method in class org.eclipse.gef.editpolicies.GraphicalEditPolicy
-
Returns the layer used for displaying feedback.
- getFeedbackLayer() - Method in class org.eclipse.gef.editpolicies.ScrollableSelectionFeedbackEditPolicy
- getFigure() - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
-
The default implementation calls
AbstractGraphicalEditPart.createFigure()
if the figure is currentlynull
. - getFigure() - Method in interface org.eclipse.gef.GraphicalEditPart
-
Returns the primary Figure representing this GraphicalEditPart.
- getFigureBounds(GraphicalEditPart) - Method in class org.eclipse.gef.SnapToGeometry
-
Returns the rectangular contribution for the given editpart.
- getFigureCanvas() - Method in class org.eclipse.gef.ui.parts.ScrollingGraphicalViewer
-
Convenience method which types the control as a
FigureCanvas
. - getFillColor() - Method in class org.eclipse.gef.handles.CornerTriangleBorder
-
Deprecated.Returns the fill color based on what is returned by
CornerTriangleBorder.isPrimary()
. - getFillColor() - Method in class org.eclipse.gef.handles.SquareHandle
-
Returns the color for the inside of the handle.
- getFlag(int) - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
Returns the boolean value of the given flag.
- getFlag(int) - Method in class org.eclipse.gef.util.FlagSupport
-
Returns
true
the flag (or one of the flags) indicated by the given bitmask is set to true. - getFocus() - Method in class org.eclipse.gef.SelectionManager
-
Returns the focus editpart.
- getFocus(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getFocusEditPart() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the focus
EditPart
. - getFocusEditPart() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getFocusEditPart() - Method in class org.eclipse.gef.ui.parts.GraphicalViewerKeyHandler
- getFontData() - Method in class org.eclipse.gef.ui.palette.DefaultPaletteViewerPreferences
- getFontData() - Method in interface org.eclipse.gef.ui.palette.PaletteViewerPreferences
- getFreeformExtent() - Method in class org.eclipse.gef.editparts.GuideLayer
- getGraphicalControl() - Method in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
- getGraphicalViewer() - Method in class org.eclipse.gef.ui.parts.GraphicalEditor
-
Returns the graphical viewer.
- getGuideAt(int) - Method in class org.eclipse.gef.rulers.RulerProvider
-
In most cases, there should be no need for clients to override this method.
- getGuidePosition(Object) - Method in class org.eclipse.gef.rulers.RulerProvider
-
Clients should override this method to return the position (in pixels) of the given guide.
- getGuidePositions() - Method in class org.eclipse.gef.rulers.RulerProvider
-
Clients should override this method to return an array of all the positions of all the guides on this ruler.
- getGuides() - Method in class org.eclipse.gef.rulers.RulerProvider
-
Clients should override this method to return a list of all the guides set on this ruler.
- getHandleBounds() - Method in interface org.eclipse.gef.handles.HandleBounds
-
Returns the Rectangle around which handles are to be placed.
- getHelp(AccessibleEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getHelp(AccessibleEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getHorizontalGuides() - Method in class org.eclipse.gef.SnapToGuides
-
Returns the horizontal guides in the coordinates of the container's contents pane.
- getHost() - Method in class org.eclipse.gef.editpolicies.AbstractEditPolicy
- getHost() - Method in interface org.eclipse.gef.EditPolicy
- getHostFigure() - Method in class org.eclipse.gef.editpolicies.GraphicalEditPolicy
-
Convenience method to return the host's Figure.
- getHostFigureViewport() - Method in class org.eclipse.gef.editpolicies.ScrollableSelectionFeedbackEditPolicy
-
Provides access to the host figure's
Viewport
. - getId() - Method in class org.eclipse.gef.palette.PaletteEntry
-
Returns the id.
- getImage() - Method in class org.eclipse.gef.editparts.AbstractTreeEditPart
-
Override this method to return the
Image
for this EditPart'sAbstractTreeEditPart.widget
. - getImageDescriptor() - Method in class org.eclipse.gef.ui.palette.customize.PaletteEntryFactory
- getIndex() - Method in class org.eclipse.gef.handles.BendpointHandle
-
Returns the index.
- getIndex() - Method in class org.eclipse.gef.requests.BendpointRequest
-
Returns the index of the bendpoint to be changed.
- getIndex() - Method in class org.eclipse.gef.tools.ConnectionBendpointTracker
-
Returns the index of the bendpoint being dragged or created.
- getInitialFeedbackBounds() - Method in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
-
Returns the bounds of the host's figure by reference to be used to calculate the initial location of the feedback.
- getInitialPaletteSize() - Method in class org.eclipse.gef.ui.parts.GraphicalEditorWithPalette
-
Returns the initial palette size in pixels.
- getInitialState() - Method in class org.eclipse.gef.palette.PaletteDrawer
- getInsertionReference(Request) - Method in class org.eclipse.gef.editpolicies.FlowLayoutEditPolicy
- getInsertionReference(Request) - Method in class org.eclipse.gef.editpolicies.OrderedLayoutEditPolicy
-
Calculates a reference
EditPart
using the specifiedRequest
. - getInsets(IFigure) - Method in class org.eclipse.gef.handles.CornerTriangleBorder
-
Deprecated.
- getInsets(IFigure) - Method in class org.eclipse.gef.tools.DirectEditManager.DirectEditBorder
- getInstance() - Static method in class org.eclipse.gef.dnd.TemplateTransfer
-
Returns the singleton instance
- getKey(int) - Static method in class org.eclipse.gef.MouseWheelHandler.KeyGenerator
-
The returned String is guaranteed to be equal for two different invocations with the same stateMask.
- getKeyboardShortcut(AccessibleEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getKeyboardShortcut(AccessibleEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getKeyHandler() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the
KeyHandler
for this viewer. - getKeyHandler() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getLabel() - Method in class org.eclipse.gef.commands.Command
- getLabel() - Method in class org.eclipse.gef.commands.CompoundCommand
- getLabel() - Method in class org.eclipse.gef.palette.PaletteEntry
- getLabel() - Method in class org.eclipse.gef.ui.palette.customize.PaletteEntryFactory
- getLabelForCommand(Command) - Method in class org.eclipse.gef.ui.actions.StackAction
-
Returns the label for the given command.
- getLargeIcon() - Method in class org.eclipse.gef.palette.MarqueeToolEntry
- getLargeIcon() - Method in class org.eclipse.gef.palette.PaletteEntry
- getLastButtonPressed() - Method in class org.eclipse.gef.requests.SelectionRequest
-
Returns the last button that was pressed.
- getLayer(Object) - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
-
A convenience method for obtaining the specified layer from the
LayerManager
. - getLayer(Object) - Method in class org.eclipse.gef.editparts.FreeformGraphicalRootEditPart
-
Returns the layer indicated by the key.
- getLayer(Object) - Method in class org.eclipse.gef.editparts.GraphicalRootEditPart
-
Deprecated.
- getLayer(Object) - Method in interface org.eclipse.gef.editparts.LayerManager
-
Returns a specified layer.
- getLayer(Object) - Method in class org.eclipse.gef.editparts.ScalableFreeformRootEditPart
- getLayer(Object) - Method in class org.eclipse.gef.editparts.ScalableRootEditPart
-
Returns the layer indicated by the key.
- getLayer(Object) - Method in class org.eclipse.gef.editpolicies.GraphicalEditPolicy
-
Obtains the specified layer.
- getLayerManager() - Method in class org.eclipse.gef.ui.parts.GraphicalViewerImpl
-
Convenience method for finding the layer manager.
- getLayoutContainer() - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Returns the host's
contentPane
. - getLayoutOrigin() - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Returns the layout's origin relative to the
LayoutEditPolicy.getLayoutContainer()
. - getLayoutOrigin() - Method in class org.eclipse.gef.editpolicies.XYLayoutEditPolicy
-
Returns
XYLayout.getOrigin(IFigure)
. - getLayoutSetting() - Method in class org.eclipse.gef.ui.palette.DefaultPaletteViewerPreferences
- getLayoutSetting() - Method in interface org.eclipse.gef.ui.palette.PaletteViewerPreferences
-
Returns the current layout setting.
- getLeft() - Method in class org.eclipse.gef.ui.rulers.RulerComposite
-
Retrieve the left ruler graphical viewer.
- getLightweightSystem() - Method in class org.eclipse.gef.ui.parts.GraphicalViewerImpl
-
Returns the lightweight system.
- getLineFeedback() - Method in class org.eclipse.gef.editpolicies.FlowLayoutEditPolicy
-
Lazily creates and returns a
Polyline
Figure for use as feedback. - getLineForeground() - Method in class org.eclipse.gef.GEFColorProvider
- getListBackground() - Method in class org.eclipse.gef.GEFColorProvider
- getListForeground() - Method in class org.eclipse.gef.GEFColorProvider
- getListHoverBackgroundColor() - Method in class org.eclipse.gef.GEFColorProvider
- getListSelectedBackgroundColor() - Method in class org.eclipse.gef.GEFColorProvider
- getLocation() - Method in class org.eclipse.gef.requests.ChangeBoundsRequest
-
Returns the location of the mouse pointer.
- getLocation() - Method in class org.eclipse.gef.requests.CreateRequest
-
Returns the location of the object to be created.
- getLocation() - Method in interface org.eclipse.gef.requests.DropRequest
-
Returns the current mouse location.
- getLocation() - Method in class org.eclipse.gef.requests.LocationRequest
-
Returns the current location.
- getLocation() - Method in class org.eclipse.gef.SnapToGeometry.Entry
-
Returns the location of the snap entry.
- getLocation() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the current x, y position of the mouse cursor.
- getLocation(AccessibleControlEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getLocation(AccessibleControlEvent) - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart.AccessibleGraphicalEditPart
- getLocation(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getLocator() - Method in class org.eclipse.gef.handles.AbstractHandle
-
Returns the
Locator
used to position this handle. - getLocator() - Method in class org.eclipse.gef.tools.DirectEditManager
- getMaximumFrameCount() - Method in class org.eclipse.gef.editparts.ViewportExposeHelper
-
Returns the maximumFrameCount.
- getMaximumSizeFor(ChangeBoundsRequest) - Method in class org.eclipse.gef.tools.ResizeTracker
-
Determines the maximum size that the host can be resized to for a given request.
- getMaximumSizeFor(CreateRequest) - Method in class org.eclipse.gef.tools.CreationTool
-
Determines the maximum size for CreateRequest's size on drop.
- getMenu(Control) - Method in class org.eclipse.gef.ui.palette.LayoutAction
- getMenu(Menu) - Method in class org.eclipse.gef.ui.palette.LayoutAction
- getMenuBackground() - Method in class org.eclipse.gef.GEFColorProvider
- getMenuBackgroundSelected() - Method in class org.eclipse.gef.GEFColorProvider
- getMenuForeground() - Method in class org.eclipse.gef.GEFColorProvider
- getMenuForegroundSelected() - Method in class org.eclipse.gef.GEFColorProvider
- getMessage() - Method in class org.eclipse.gef.ui.palette.customize.DefaultEntryPage
-
Sub-classes should override this method to provide appropriate error notification messages.
- getMinimumFrameCount() - Method in class org.eclipse.gef.editparts.ViewportExposeHelper
-
Returns the minimumFrameCount.
- getMinimumSizeFor(GraphicalEditPart) - Method in class org.eclipse.gef.editpolicies.XYLayoutEditPolicy
-
Deprecated.Clients should no longer extend this method. Instead, the resize tracker, constructed by the 'satellite' primary drag edit policy should be parameterized with max and min size constraints.
- getMinimumSizeFor(ChangeBoundsRequest) - Method in class org.eclipse.gef.tools.ResizeTracker
-
Determines the minimum size that the specified child can be resized to.By default, a default value is returned.
- getMinimumSizeFor(CreateRequest) - Method in class org.eclipse.gef.tools.CreationTool
-
Determines the minimum size for CreateRequest's size on drop.
- getModel() - Method in interface org.eclipse.gef.EditPart
-
Returns the primary model object that this EditPart represents.
- getModel() - Method in class org.eclipse.gef.editparts.AbstractEditPart
- getModel() - Method in class org.eclipse.gef.editparts.FreeformGraphicalRootEditPart
-
The root editpart does not have a real model.
- getModel() - Method in class org.eclipse.gef.editparts.GraphicalRootEditPart
-
Deprecated.
- getModel() - Method in class org.eclipse.gef.editparts.ScalableRootEditPart
-
The root editpart does not have a real model.
- getModelChildren() - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
Returns a
List
containing the children model objects. - getModelSourceConnections() - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
-
Returns the
List
of the connection model objects for which this EditPart's model is the source. - getModelTargetConnections() - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
-
Returns the
List
of the connection model objects for which this EditPart's model is the target. - getModifiers() - Method in class org.eclipse.gef.requests.SelectionRequest
-
Returns the statemask for this request.
- getModifiers() - Method in class org.eclipse.gef.tools.AbstractTool.Input
-
Returns the event modifiers.
- getMouseLocation() - Method in class org.eclipse.gef.requests.ChangeBoundsRequest
-
Deprecated.
- getMouseLocation() - Method in class org.eclipse.gef.tools.AbstractTool.Input
-
Returns the current location of the mouse.
- getMoveBendpointCommand(BendpointRequest) - Method in class org.eclipse.gef.editpolicies.BendpointEditPolicy
-
Implement this method to return a Command that will move a bendpoint.
- getMoveChildrenCommand(Request) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Returns the
Command
to move a group of children. - getMoveChildrenCommand(Request) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Returns the
Command
to move a group of children. - getMoveChildrenCommand(Request) - Method in class org.eclipse.gef.editpolicies.OrderedLayoutEditPolicy
-
A move is interpreted here as a change in order of the children.
- getMoveChildrenCommand(ChangeBoundsRequest) - Method in class org.eclipse.gef.editpolicies.TreeContainerEditPolicy
-
Returns a Command for moving the children within the container.
- getMoveCommand(ChangeBoundsRequest) - Method in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
-
Returns the command contribution to a change bounds request.
- getMoveDelta() - Method in class org.eclipse.gef.requests.ChangeBoundsRequest
-
Returns a Point representing the distance the EditPart has moved.
- getMoveGuideCommand(Object, int) - Method in class org.eclipse.gef.rulers.RulerProvider
-
Clients should override this method to return a Command to move the given guide by the given amount.
- getName(AccessibleEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getName(AccessibleEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getNavigationPoint(IFigure) - Method in class org.eclipse.gef.ui.parts.PaletteViewerKeyHandler
-
Figures' navigation points are used to determine their direction compared to one another, and the distance between them.
- getNavigationSiblings() - Method in class org.eclipse.gef.ui.parts.GraphicalViewerKeyHandler
-
Returns the list of editparts which are conceptually at the same level of navigation as the currently focused editpart.
- getNavigationSiblings() - Method in class org.eclipse.gef.ui.parts.PaletteViewerKeyHandler
- getNestedConnectionEditParts(GraphicalEditPart) - Static method in class org.eclipse.gef.util.EditPartUtilities
-
Returns the set of
ConnectionEditPart
s that are linked to the child edit parts of the givenGraphicalEditPart
. - getNewEntryFactories() - Method in class org.eclipse.gef.ui.palette.PaletteCustomizer
-
Returns the list of PaletteEntryFactories that can be used to create new palette entries.
- getNewObject() - Method in class org.eclipse.gef.requests.CreateRequest
-
Gets the new object from the factory and returns that object.
- getNewObject() - Method in interface org.eclipse.gef.requests.CreationFactory
-
Returns the new object.
- getNewObject() - Method in class org.eclipse.gef.requests.SimpleFactory
-
Create the new object.
- getNewObjectType() - Method in class org.eclipse.gef.requests.CreateRequest
-
Returns the type of the new object.
- getNewValue() - Method in class org.eclipse.gef.ui.properties.SetPropertyValueCommand
-
Returns the new value to be set for the property when executing or redoing.
- getObject() - Method in class org.eclipse.gef.dnd.SimpleObjectTransfer
-
Returns the Object.
- getObjectType() - Method in interface org.eclipse.gef.requests.CreationFactory
-
Returns the new object's type.
- getObjectType() - Method in class org.eclipse.gef.requests.SimpleFactory
-
Returns the type of object this factory creates.
- getOldValue() - Method in class org.eclipse.gef.ui.properties.SetPropertyValueCommand
-
After the command has been executed or redone, returns the old value of the property or
SetPropertyValueCommand.DEFAULT_VALUE
if the property did not have a value before. - getOpenDrawerInitiallyButton() - Method in class org.eclipse.gef.ui.palette.customize.DrawerEntryPage
-
Returns the checkbox button which controls whether the drawer is initially open.
- getOperationSet() - Method in class org.eclipse.gef.tools.AbstractTool
-
Lazily creates and returns the list of editparts on which the tool operates.
- getOperationSet(Request) - Method in class org.eclipse.gef.ui.actions.AlignmentAction
-
Returns the list of editparts which will participate in alignment.
- getOperationSetBounds() - Method in class org.eclipse.gef.tools.DragEditPartsTracker
-
Returns the unioned bounds of the
operation set edit parts'
figures in absolute coordinates. - getOrphanChildrenCommand(Request) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Returns the
Command
to orphan a group of children. - getOrphanChildrenCommand(GroupRequest) - Method in class org.eclipse.gef.editpolicies.ContainerEditPolicy
-
Override to contribute to orphan requests.
- getOrphanCommand() - Method in class org.eclipse.gef.editpolicies.ComponentEditPolicy
-
Returns the command contribution for orphaning this component from its container.
- getOrphanCommand(Request) - Method in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
-
Subclasses may override to contribute to the orphan request.
- getOutlineActions() - Method in class org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog
-
Provides access to the actions that are used to manipulate the model.
- getOwner() - Method in class org.eclipse.gef.handles.AbstractHandle
-
Returns the
GraphicalEditPart
associated with this handle. - getOwner() - Method in class org.eclipse.gef.tools.ResizeTracker
-
Returns the owner of this resize tracker.
- getOwnerFigure() - Method in class org.eclipse.gef.handles.AbstractHandle
-
Convenience method to return the owner's figure.
- getPageContainer() - Method in class org.eclipse.gef.ui.palette.customize.DefaultEntryPage
- getPalettePreferences() - Method in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
-
By default, this method returns a FlyoutPreferences object that stores the flyout settings in the GEF plugin.
- getPaletteRoot() - Method in class org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog
-
Provides sub-classes with access to the PaletteRoot
- getPaletteRoot() - Method in class org.eclipse.gef.ui.palette.PaletteViewer
-
Returns the palette's root model.
- getPaletteRoot() - Method in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
-
Returns the PaletteRoot for the palette viewer.
- getPaletteRoot() - Method in class org.eclipse.gef.ui.parts.GraphicalEditorWithPalette
-
Returns the PaletteRoot for the palette viewer.
- getPaletteState() - Method in interface org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences
-
When there is no saved state, this method can return any non-positive int (which will result in the palette using the default state -- collapsed), or
FlyoutPaletteComposite.STATE_COLLAPSED
, orFlyoutPaletteComposite.STATE_PINNED_OPEN
- getPaletteViewer() - Method in class org.eclipse.gef.EditDomain
-
Returns the palette viewer currently associated with this domain.
- getPaletteViewer() - Method in class org.eclipse.gef.ui.palette.PaletteContextMenuProvider
- getPaletteViewer() - Method in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.CustomPalettePage
- getPaletteViewer() - Method in class org.eclipse.gef.ui.parts.GraphicalEditorWithPalette
-
Returns the PaletteViewer.
- getPaletteViewerPreferences() - Method in class org.eclipse.gef.ui.palette.PaletteViewer
- getPaletteViewerProvider() - Method in class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
-
Returns the palette viewer provider that is used to create palettes for the view and the flyout.
- getPaletteWidth() - Method in interface org.eclipse.gef.ui.palette.FlyoutPaletteComposite.FlyoutPreferences
-
When there is no saved width, this method can return any int (preferrably a non-positive int).
- getPane() - Method in class org.eclipse.gef.editparts.ZoomManager
-
Deprecated.Use
AbstractZoomManager.getScalableFigure()
instead. Returns the pane. - getParent() - Method in interface org.eclipse.gef.EditPart
-
Returns the parent
EditPart
. - getParent() - Method in class org.eclipse.gef.editparts.AbstractEditPart
- getParent() - Method in class org.eclipse.gef.palette.PaletteEntry
- getPasteLocation(GraphicalEditPart) - Method in class org.eclipse.gef.ui.actions.PasteTemplateAction
- getPermission() - Method in class org.eclipse.gef.ui.palette.customize.DefaultEntryPage
- getPinDrawerInitiallyButton() - Method in class org.eclipse.gef.ui.palette.customize.DrawerEntryPage
-
Returns the checkbox button which controls whether the drawer is initially pinned.
- getPreciseHeightDelta(PrecisionRectangle, PrecisionRectangle) - Method in class org.eclipse.gef.ui.actions.MatchSizeAction
-
Returns the height delta between the two bounds.
- getPreciseHeightDelta(PrecisionRectangle, PrecisionRectangle) - Method in class org.eclipse.gef.ui.actions.MatchWidthAction
-
Returns 0 to make this action affect only the width delta.
- getPreciseWidthDelta(PrecisionRectangle, PrecisionRectangle) - Method in class org.eclipse.gef.ui.actions.MatchHeightAction
-
Returns 0 to make this action affect only the height delta.
- getPreciseWidthDelta(PrecisionRectangle, PrecisionRectangle) - Method in class org.eclipse.gef.ui.actions.MatchSizeAction
-
Returns the width delta between the two bounds.
- getPreferenceStore() - Method in class org.eclipse.gef.ui.palette.DefaultPaletteViewerPreferences
- getPreferredSize(int, int) - Method in class org.eclipse.gef.editparts.GridLayer
-
Overridden to indicate no preferred size.
- getPreferredSize(int, int) - Method in class org.eclipse.gef.editparts.GuideLayer
- getPressed(char, int) - Static method in class org.eclipse.gef.KeyStroke
-
Constructs a KeyStroke that will match the given
KeyEvent.character
andKeyEvent.stateMask
during a press event. - getPressed(char, int, int) - Static method in class org.eclipse.gef.KeyStroke
-
Constructs a KeyStroke that will match the given
KeyEvent.character
,KeyEvent.keyCode
, andKeyEvent.stateMask
during a press event. - getPressed(int, int) - Static method in class org.eclipse.gef.KeyStroke
-
Constructs a KeyStroke that will match the given
KeyEvent.keyCode
andKeyEvent.stateMask
during a press event. - getPrintableLayers() - Method in class org.eclipse.gef.editparts.FreeformGraphicalRootEditPart
-
Returns the LayeredPane that should be used during printing.
- getPrintableLayers() - Method in class org.eclipse.gef.editparts.ScalableRootEditPart
-
Returns the LayeredPane that should be used during printing.
- getPropertiesPage(PaletteEntry) - Method in class org.eclipse.gef.ui.palette.PaletteCustomizer
-
Returns an EntryPage that will display the custom properties of the given entry.
- getProperty(String) - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the value of the given property.
- getProperty(String) - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getPropertyActions() - Method in class org.eclipse.gef.ui.parts.GraphicalEditor
-
Returns the list of
IActions
dependant on property changes in the Editor. - getPropertyId() - Method in class org.eclipse.gef.ui.properties.SetPropertyValueCommand
-
Returns the id by which to identify the property whose value is to be set.
- getPropertySource() - Method in class org.eclipse.gef.ui.properties.SetPropertyValueCommand
-
Returns the
IPropertySource
which provides the property, whose value is to be set. - getReconnectSourceCommand(ReconnectRequest) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Returns the
Command
to reconnect a connection's source end to the host. - getReconnectTargetCommand(ReconnectRequest) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Returns the
Command
to reconnect a connection's target end to the host. - getRedoCommand() - Method in class org.eclipse.gef.commands.CommandStack
-
Peeks at the top of the redo stack.
- getReference() - Method in class org.eclipse.gef.handles.MoveHandleLocator
-
Returns the reference figure for this locator.
- getReferenceBox() - Method in class org.eclipse.gef.handles.RelativeHandleLocator
-
Overridden to check for reference figures implementing the
HandleBounds
interface. - getReleased(char, int) - Static method in class org.eclipse.gef.KeyStroke
-
Constructs a KeyStroke that will match the given
KeyEvent.character
andKeyEvent.stateMask
during a release event. - getReleased(char, int, int) - Static method in class org.eclipse.gef.KeyStroke
-
Constructs a KeyStroke that will match the given
KeyEvent.character
,KeyEvent.keyCode
, andKeyEvent.stateMask
during a release event. - getReleased(int, int) - Static method in class org.eclipse.gef.KeyStroke
-
Constructs a KeyStroke that will match the given
KeyEvent.keyCode
andKeyEvent.stateMask
during a release event. - getResizeChildrenCommand(ChangeBoundsRequest) - Method in class org.eclipse.gef.editpolicies.ConstrainedLayoutEditPolicy
-
Returns the
Command
to resize a group of children. - getResizeCommand(ChangeBoundsRequest) - Method in class org.eclipse.gef.editpolicies.ResizableEditPolicy
-
Returns the command contribution for the given resize request.
- getResizeDirection() - Method in class org.eclipse.gef.requests.ChangeBoundsRequest
-
Returns the direction the figure is being resized.
- getResizeDirection() - Method in class org.eclipse.gef.tools.ResizeTracker
-
Returns the direction of the resize (NORTH, EAST, NORTH_EAST, etc.).
- getResizeDirections() - Method in class org.eclipse.gef.editpolicies.ResizableEditPolicy
-
Returns the directions in which resizing should be allowed Valid values are bit-wise combinations of:
PositionConstants.NORTH
PositionConstants.SOUTH
PositionConstants.EAST
PositionConstants.WEST
orPositionConstants.NONE
. - getResizeTracker(int) - Method in class org.eclipse.gef.editpolicies.ResizableEditPolicy
-
Returns a resize tracker for the given direction to be used by a resize handle.
- getResourceManager() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns
null
, or the ResourceManager for this Viewer. - getResourceManager() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getRole(AccessibleControlEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getRole(AccessibleControlEvent) - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart.AccessibleGraphicalEditPart
- getRole(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getRoot() - Method in interface org.eclipse.gef.EditPart
-
Returns the
RootEditPart
. - getRoot() - Method in class org.eclipse.gef.editparts.AbstractEditPart
- getRoot() - Method in class org.eclipse.gef.editparts.GraphicalRootEditPart
-
Deprecated.Returns
this
. - getRoot() - Method in class org.eclipse.gef.editparts.RootTreeEditPart
-
Returns
this
. - getRoot() - Method in class org.eclipse.gef.editparts.SimpleRootEditPart
- getRootEditPart() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the
RootEditPart
. - getRootEditPart() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getRootFigure() - Method in class org.eclipse.gef.ui.parts.GraphicalViewerImpl
-
Deprecated.There is no reason to call this method $TODO delete this method
- getRuler() - Method in class org.eclipse.gef.rulers.RulerProvider
-
Clients should override this method to return a model representation of the ruler.
- getScaledLayers() - Method in class org.eclipse.gef.editparts.ScalableFreeformRootEditPart
-
Returns the scalable layers of this EditPart
- getScaledLayers() - Method in class org.eclipse.gef.editparts.ScalableRootEditPart
-
Returns the scalable layers of this EditPart
- getScrollableFigure() - Method in interface org.eclipse.gef.editparts.IScrollableEditPart
-
Offers type-safe access to the GraphicalEditPart's figure.
- getSelected() - Method in interface org.eclipse.gef.EditPart
-
Returns the selected state of this EditPart.
- getSelected() - Method in class org.eclipse.gef.editparts.AbstractEditPart
- getSelectedEditParts() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns an unmodifiable
List
containing zero or more selected editparts. - getSelectedEditParts() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getSelectedObjects() - Method in class org.eclipse.gef.ui.actions.SelectionAction
-
Returns a
List
containing the currently selected objects. - getSelectedPaletteEntry() - Method in class org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog
- getSelectedTreeItem() - Method in class org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog
- getSelection() - Method in interface org.eclipse.gef.EditPartViewer
-
This method is inherited from
ISelectionProvider
. - getSelection() - Method in class org.eclipse.gef.SelectionManager
-
Returns the current selection.
- getSelection() - Method in class org.eclipse.gef.ui.actions.SelectionAction
-
Gets the current selection.
- getSelection() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
-
Returns an ISelection containing a list of one or more EditPart.
- getSelection() - Method in class org.eclipse.gef.ui.parts.ContentOutlinePage
-
Forwards selection request to the viewer.
- getSelection(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getSelectionActions() - Method in class org.eclipse.gef.ui.parts.GraphicalEditor
-
Returns the list of IDs of Actions that are dependant on changes in the workbench's
ISelectionService
. - getSelectionManager() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the viewer's selection manager.
- getSelectionManager() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getSelectionSynchronizer() - Method in class org.eclipse.gef.ui.parts.GraphicalEditor
-
Returns the selection syncronizer object.
- getSelectionWithoutDependants(List) - Static method in class org.eclipse.gef.tools.ToolUtilities
-
Returns a list containing the top level selected edit parts based on the passed in list of selection.
- getSelectionWithoutDependants(EditPartViewer) - Static method in class org.eclipse.gef.tools.ToolUtilities
-
Returns a list containing the top level selected edit parts based on the viewer's selection.
- getSelectTracker() - Method in class org.eclipse.gef.editpolicies.NonResizableEditPolicy
-
Returns a selection tracker to use by a selection handle.
- getSender() - Method in class org.eclipse.gef.requests.ForwardedRequest
-
Returns the EditPart that forwarded this Request.
- getSize() - Method in class org.eclipse.gef.requests.CreateRequest
-
Returns the size of the object to be created.
- getSizeDelta() - Method in class org.eclipse.gef.requests.ChangeBoundsRequest
-
Returns a Dimension representing how much the EditPart has been resized.
- getSizeOnDropFeedback() - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Lazily creates and returns the Figure to use for size-on-drop feedback.
- getSizeOnDropFeedback(CreateRequest) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Lazily creates and returns the Figure to use for size-on-drop feedback.
- getSmallIcon() - Method in class org.eclipse.gef.palette.MarqueeToolEntry
- getSmallIcon() - Method in class org.eclipse.gef.palette.PaletteEntry
- getSnapToHelper() - Method in class org.eclipse.gef.tools.DragEditPartsTracker
-
Returns the
SnapToHelper
used by thisDragEditPartsTracker
. - getSource() - Method in interface org.eclipse.gef.ConnectionEditPart
- getSource() - Method in class org.eclipse.gef.editparts.AbstractConnectionEditPart
- getSource() - Method in class org.eclipse.gef.requests.BendpointRequest
-
Returns the ConnectionEditPart that the bendpoint belongs to.
- getSourceAnchorLocations() - Method in interface org.eclipse.gef.AccessibleAnchorProvider
-
Returns a list of Points in absolute coordinates where source anchors are located.
- getSourceAnchorLocations() - Method in class org.eclipse.gef.editparts.AbstractConnectionEditPart.DefaultAccessibleAnchorProvider
- getSourceAnchorLocations() - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart.DefaultAccessibleAnchorProvider
- getSourceBounds() - Method in class org.eclipse.gef.tools.DragEditPartsTracker
-
Returns the bounds of the
source edit part's
figure in absolute coordinates. - getSourceConnectionAnchor() - Method in class org.eclipse.gef.editparts.AbstractConnectionEditPart
-
Returns the
ConnectionAnchor
for the source end of the connection. - getSourceConnectionAnchor(ConnectionEditPart) - Method in interface org.eclipse.gef.NodeEditPart
-
Returns the
ConnectionAnchor
for the specified source connection. - getSourceConnectionAnchor(Request) - Method in interface org.eclipse.gef.NodeEditPart
-
Returns the source
ConnectionAnchor
for the specified Request. - getSourceConnectionAnchor(CreateConnectionRequest) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Called during the display of creation feedback to snap the feedback to the nearest source ConnectionAnchor.
- getSourceConnections() - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
- getSourceConnections() - Method in interface org.eclipse.gef.GraphicalEditPart
-
Returns the source connections for this GraphicalEditPart.
- getSourceEditPart() - Method in class org.eclipse.gef.requests.CreateConnectionRequest
-
Returns the EditPart that the source end of the connection should be connected to.
- getSourceEditPart() - Method in class org.eclipse.gef.tools.SelectEditPartTracker
-
Returns the source edit part.
- getSourceRequest() - Method in class org.eclipse.gef.tools.AbstractConnectionCreationTool
-
Returns the request sent to the source node.
- getSourceRequest() - Method in class org.eclipse.gef.tools.SimpleDragTracker
-
Returns the request for the source of the drag, creating it if necessary.
- getStackActions() - Method in class org.eclipse.gef.ui.parts.GraphicalEditor
-
Returns the list of IDs of Actions that are dependant on the CommmandStack's state.
- getStartCommand() - Method in class org.eclipse.gef.requests.CreateConnectionRequest
-
Returns the start command.
- getStartLocation() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the starting mouse location for the current tool operation.
- getState() - Method in class org.eclipse.gef.tools.AbstractTool
-
Returns the tool's current state.
- getState(AccessibleControlEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getState(AccessibleControlEvent) - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart.AccessibleGraphicalEditPart
- getState(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getSupportedLayoutModes() - Method in class org.eclipse.gef.ui.palette.DefaultPaletteViewerPreferences
- getSupportedLayoutModes() - Method in interface org.eclipse.gef.ui.palette.PaletteViewerPreferences
-
Returns the layout modes that are supported.
- getTarget() - Method in interface org.eclipse.gef.ConnectionEditPart
- getTarget() - Method in class org.eclipse.gef.editparts.AbstractConnectionEditPart
- getTarget() - Method in class org.eclipse.gef.requests.ReconnectRequest
-
Returns the target edit part that the connection should be connected to.
- getTargetAnchorLocations() - Method in interface org.eclipse.gef.AccessibleAnchorProvider
-
Returns a list of Points in absolute coordinates where target anchors are located.
- getTargetAnchorLocations() - Method in class org.eclipse.gef.editparts.AbstractConnectionEditPart.DefaultAccessibleAnchorProvider
- getTargetAnchorLocations() - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart.DefaultAccessibleAnchorProvider
- getTargetConnectionAnchor() - Method in class org.eclipse.gef.editparts.AbstractConnectionEditPart
-
Returns the
ConnectionAnchor
for the target end of the connection. - getTargetConnectionAnchor(ConnectionEditPart) - Method in interface org.eclipse.gef.NodeEditPart
-
Returns the
ConnectionAnchor
for the specified target connection. - getTargetConnectionAnchor(Request) - Method in interface org.eclipse.gef.NodeEditPart
-
Returns the target
ConnectionAnchor
for the specified Request. - getTargetConnectionAnchor(CreateConnectionRequest) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Called during the display of creation feedback to snap the feedback to the nearest target ConnectionAnchor.
- getTargetConnections() - Method in class org.eclipse.gef.editparts.AbstractGraphicalEditPart
- getTargetConnections() - Method in interface org.eclipse.gef.GraphicalEditPart
-
Returns the target connections for this GraphicalEditPart.
- getTargetEditPart() - Method in class org.eclipse.gef.dnd.AbstractTransferDropTargetListener
-
Returns the current target
EditPart
. - getTargetEditPart() - Method in class org.eclipse.gef.requests.CreateConnectionRequest
-
Returns the EditPart that the target end of the connection should be connected to.
- getTargetEditPart() - Method in class org.eclipse.gef.tools.ResizeTracker
-
The TargetEditPart is the parent of the EditPart being resized.
- getTargetEditPart() - Method in class org.eclipse.gef.tools.TargetingTool
-
Returns
null
or the current target editpart. - getTargetEditPart(Request) - Method in interface org.eclipse.gef.EditPart
-
Return the
EditPart
that should be used as the target for the specifiedRequest
. - getTargetEditPart(Request) - Method in class org.eclipse.gef.editparts.AbstractEditPart
-
Returns the
EditPart
which is the target of theRequest
. - getTargetEditPart(Request) - Method in class org.eclipse.gef.editpolicies.AbstractEditPolicy
-
Returns
null
by default. - getTargetEditPart(Request) - Method in class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
-
Returns the host for the appropriate
Requests
. - getTargetEditPart(Request) - Method in class org.eclipse.gef.editpolicies.LayoutEditPolicy
-
Returns the host if the Request is an ADD, MOVE, or CREATE.
- getTargetEditPart(Request) - Method in class org.eclipse.gef.editpolicies.SelectionEditPolicy
- getTargetEditPart(Request) - Method in class org.eclipse.gef.editpolicies.TreeContainerEditPolicy
-
Returns the host EditPart when appropriate.
- getTargetEditPart(Request) - Method in interface org.eclipse.gef.EditPolicy
-
Returns
null
or the appropriateEditPart
for the specifiedRequest
. - getTargetHoverRequest() - Method in class org.eclipse.gef.tools.SelectionTool
-
Returns the target hover request.
- getTargetingConditional() - Method in class org.eclipse.gef.tools.SelectionTool
-
Returns a new Conditional that evaluates to
true
if the queried edit part'sEditPart.isSelectable()
method returnstrue
. - getTargetingConditional() - Method in class org.eclipse.gef.tools.TargetingTool
-
Returns the conditional object used for obtaining the target editpart from the current viewer.
- getTargetRequest() - Method in class org.eclipse.gef.dnd.AbstractTransferDropTargetListener
-
Returns the target
Request
. - getTargetRequest() - Method in class org.eclipse.gef.tools.TargetingTool
-
Lazily creates and returns the request used when communicating with the target editpart.
- getTemplate() - Method in class org.eclipse.gef.dnd.TemplateTransfer
-
Returns the template object.
- getTemplate() - Method in class org.eclipse.gef.dnd.TemplateTransferDragSourceListener
-
A helper method that returns
null
or the template Object from the currently selected EditPart. - getTemplate() - Method in class org.eclipse.gef.palette.CombinedTemplateCreationEntry
-
Returns the template object.
- getTemplate() - Method in class org.eclipse.gef.palette.PaletteTemplateEntry
- getText() - Method in class org.eclipse.gef.editparts.AbstractTreeEditPart
-
Override this method to return the String to be used in this EditPart's
AbstractTreeEditPart.widget
. - getThreshold() - Method in class org.eclipse.gef.SnapToGeometry
-
Get the sensitivity of the snapping.
- getThreshold() - Method in class org.eclipse.gef.SnapToGuides
-
Get the sensitivity of the snapping.
- getTitleBackground() - Method in class org.eclipse.gef.GEFColorProvider
- getTitleForeground() - Method in class org.eclipse.gef.GEFColorProvider
- getTitleGradient() - Method in class org.eclipse.gef.GEFColorProvider
- getTitleInactiveBackground() - Method in class org.eclipse.gef.GEFColorProvider
- getTitleInactiveForeground() - Method in class org.eclipse.gef.GEFColorProvider
- getTitleInactiveGradient() - Method in class org.eclipse.gef.GEFColorProvider
- getToolProperties() - Method in class org.eclipse.gef.palette.ToolEntry
- getToolProperty(Object) - Method in class org.eclipse.gef.palette.ToolEntry
-
Returns the property value for the specified property key.
- getTooltipBackground() - Method in class org.eclipse.gef.GEFColorProvider
- getTooltipForeground() - Method in class org.eclipse.gef.GEFColorProvider
- getTop() - Method in class org.eclipse.gef.ui.rulers.RulerComposite
-
Retrieve the top ruler graphical viewer.
- getTransfer() - Method in class org.eclipse.gef.dnd.AbstractTransferDragSourceListener
- getTransfer() - Method in class org.eclipse.gef.dnd.AbstractTransferDropTargetListener
- getTransferTypes() - Method in class org.eclipse.gef.dnd.DelegatingDragAdapter
-
Deprecated.call getTransfers() instead.
- getTransferTypes() - Method in class org.eclipse.gef.dnd.DelegatingDropAdapter
-
Deprecated.use getTransfers() instead
- getTransformedRectangle(Rectangle) - Method in class org.eclipse.gef.requests.AlignmentRequest
- getTransformedRectangle(Rectangle) - Method in class org.eclipse.gef.requests.ChangeBoundsRequest
-
Transforms a copy of the passed in rectangle to account for the move and/or resize deltas and returns this copy.
- getType() - Method in class org.eclipse.gef.palette.PaletteEntry
- getType() - Method in class org.eclipse.gef.Request
-
Returns the type of the request.
- getType() - Method in class org.eclipse.gef.SnapToGeometry.Entry
-
Returns the snap type.
- getType() - Method in class org.eclipse.gef.tools.ConnectionBendpointTracker
-
The type of tracker, either
RequestConstants.REQ_CREATE_BENDPOINT
orRequestConstants.REQ_MOVE_BENDPOINT
. - getTypeIds() - Method in class org.eclipse.gef.dnd.TemplateTransfer
- getTypeNames() - Method in class org.eclipse.gef.dnd.TemplateTransfer
- getUndoCommand() - Method in class org.eclipse.gef.commands.CommandStack
-
Peeks at the top of the undo stack.
- getUndoLimit() - Method in class org.eclipse.gef.commands.CommandStack
-
Returns the undo limit.
- getUnit() - Method in class org.eclipse.gef.rulers.RulerProvider
-
Clients should override this method to return the units that the ruler should display: one of UNIT_INCHES, UNIT_CENTIMETERS, UNIT_PIXELS.
- getUserModificationPermission() - Method in class org.eclipse.gef.palette.PaletteEntry
-
Returned values are from amongst the following: PERMISSION_NO_MODIFICATION PERMISSION_HIDE_ONLY PERMISSION_LIMITED_MODIFICATION PERMISSION_FULL_MODIFICATION
- getValue(AccessibleControlEvent) - Method in class org.eclipse.gef.AccessibleEditPart
- getValue(AccessibleControlEvent) - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher.EditPartAccessibilityDispatcher
- getVerticalGuides() - Method in class org.eclipse.gef.SnapToGuides
-
Returns the vertical guides in the coordinates of the container's contents pane.
- getViewer() - Method in class org.eclipse.gef.ContextMenuProvider
-
Returns the EditPartViewer
- getViewer() - Method in class org.eclipse.gef.dnd.AbstractTransferDragSourceListener
-
Returns the
EditPartViewer
. - getViewer() - Method in class org.eclipse.gef.dnd.AbstractTransferDropTargetListener
-
Returns the
EditPartViewer
that is the target of the drop. - getViewer() - Method in interface org.eclipse.gef.EditPart
-
Convenience method for returning the
EditPartViewer
for this part. - getViewer() - Method in class org.eclipse.gef.editparts.AbstractEditPart
- getViewer() - Method in class org.eclipse.gef.editparts.GraphicalRootEditPart
-
Deprecated.
- getViewer() - Method in class org.eclipse.gef.editparts.RootTreeEditPart
- getViewer() - Method in class org.eclipse.gef.editparts.SimpleRootEditPart
- getViewer() - Method in class org.eclipse.gef.print.PrintGraphicalViewerOperation
-
Returns the viewer.
- getViewer() - Method in interface org.eclipse.gef.RootEditPart
-
Returns the root's EditPartViewer.
- getViewer() - Method in class org.eclipse.gef.SelectionManager
-
Returns
null
or the viewer whose selection is managed. - getViewer() - Method in class org.eclipse.gef.ui.parts.ContentOutlinePage
-
Returns the EditPartViewer
- getViewer() - Method in class org.eclipse.gef.ui.parts.DomainEventDispatcher
-
Returns the viewer on which this dispatcher was created
- getViewer() - Method in class org.eclipse.gef.ui.parts.GraphicalViewerKeyHandler
-
Returns the viewer on which this key handler was created.
- getVisualPartMap() - Method in interface org.eclipse.gef.EditPartViewer
-
Returns the
Map
for associating visual parts with theirEditParts
. - getVisualPartMap() - Method in class org.eclipse.gef.ui.parts.AbstractEditPartViewer
- getWidget() - Method in class org.eclipse.gef.editparts.AbstractTreeEditPart
- getWidget() - Method in class org.eclipse.gef.editparts.RootTreeEditPart
-
The editpart holds onto the SWT Tree, which is also the contents' widget.
- getWidget() - Method in interface org.eclipse.gef.TreeEditPart
- getWidget(int) - Method in class org.eclipse.gef.ui.palette.customize.PaletteCustomizerDialog
-
The
Widget
s that were created with a unique ID and added to this class' internal map can be retrieved through this method. - getWidget(int) - Method in class org.eclipse.gef.ui.palette.customize.PaletteSettingsDialog
-
The
Widget
s that were created with a unique ID and added to this class' internal map can be retrieved through this method. - getWorkbenchPart() - Method in class org.eclipse.gef.ui.actions.WorkbenchPartAction
-
Returns the workbench part given in the constructor
- getXYLayout() - Method in class org.eclipse.gef.editpolicies.XYLayoutEditPolicy
- getZoomManager() - Method in class org.eclipse.gef.editparts.ScalableFreeformRootEditPart
-
Returns the zoomManager.
- getZoomManager() - Method in class org.eclipse.gef.editparts.ScalableRootEditPart
-
Returns the zoomManager.
- getZoomManager() - Method in class org.eclipse.gef.ui.actions.ZoomComboContributionItem
-
Returns the zoomManager.
- GlobalDebug - Static variable in class org.eclipse.gef.GEF
-
Deprecated.
- GRAPHICAL_NODE_ROLE - Static variable in interface org.eclipse.gef.EditPolicy
-
The key used to install a graphical node EditPolicy.
- GraphicalEditor - Class in org.eclipse.gef.ui.parts
-
This class serves as a quick starting point for clients who are new to GEF.
- GraphicalEditor() - Constructor for class org.eclipse.gef.ui.parts.GraphicalEditor
-
Constructs the editor part
- GraphicalEditorWithFlyoutPalette - Class in org.eclipse.gef.ui.parts
-
This class serves as a quick starting point for clients who are new to GEF.
- GraphicalEditorWithFlyoutPalette() - Constructor for class org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette
- GraphicalEditorWithFlyoutPalette.CustomPalettePage - Class in org.eclipse.gef.ui.parts
-
A custom PalettePage that helps GraphicalEditorWithFlyoutPalette keep the two PaletteViewers (one displayed in the editor and the other displayed in the PaletteView) in sync when switching from one to the other (i.e., it helps maintain state across the two viewers).
- GraphicalEditorWithPalette - Class in org.eclipse.gef.ui.parts
-
This class serves as a quick starting point for clients who are new to GEF.
- GraphicalEditorWithPalette() - Constructor for class org.eclipse.gef.ui.parts.GraphicalEditorWithPalette
- GraphicalEditPart - Interface in org.eclipse.gef
-
A Specialization of
EditPart
for use withGraphicalViewers
. - GraphicalEditPolicy - Class in org.eclipse.gef.editpolicies
-
A
GraphicalEditPolicy
is used with aGraphicalEditPart
. - GraphicalEditPolicy() - Constructor for class org.eclipse.gef.editpolicies.GraphicalEditPolicy
- GraphicalNodeEditPolicy - Class in org.eclipse.gef.editpolicies
-
A GraphicalNodeEditPolicy is responsible for creating and reconnecting connections graphically.
- GraphicalNodeEditPolicy() - Constructor for class org.eclipse.gef.editpolicies.GraphicalNodeEditPolicy
- GraphicalRootEditPart - Class in org.eclipse.gef.editparts
-
Deprecated.this class will be deleted, use ScrollingGraphicalViewer with ScalableRootEditPart instead
- GraphicalRootEditPart() - Constructor for class org.eclipse.gef.editparts.GraphicalRootEditPart
-
Deprecated.
- GraphicalViewer - Interface in org.eclipse.gef
-
Specializes
EditPartViewer
adding the ability to hit-testHandles
. - GraphicalViewerImpl - Class in org.eclipse.gef.ui.parts
-
An EditPartViewer implementation based on
Figures
. - GraphicalViewerImpl() - Constructor for class org.eclipse.gef.ui.parts.GraphicalViewerImpl
-
Constructs a GraphicalViewerImpl with the default root editpart.
- GraphicalViewerKeyHandler - Class in org.eclipse.gef.ui.parts
-
An extended KeyHandler which processes default keystrokes for common navigation in a GraphicalViewer.
- GraphicalViewerKeyHandler(GraphicalViewer) - Constructor for class org.eclipse.gef.ui.parts.GraphicalViewerKeyHandler
-
Constructs a key handler for the given viewer.
- GRID_LAYER - Static variable in interface org.eclipse.gef.LayerConstants
-
Identifies the layer where the grid is painted.
- GridLayer - Class in org.eclipse.gef.editparts
-
This is a layer that displays the grid.
- GridLayer() - Constructor for class org.eclipse.gef.editparts.GridLayer
-
Constructor Sets the default grid color: ColorConstants.lightGray
- gridX - Variable in class org.eclipse.gef.editparts.GridLayer
-
Field indicating the horizontal grid spacing
- gridX - Variable in class org.eclipse.gef.SnapToGrid
-
The horizontal interval for the grid
- gridY - Variable in class org.eclipse.gef.editparts.GridLayer
-
Field for the vertical grid spacing
- gridY - Variable in class org.eclipse.gef.SnapToGrid
-
The vertical interval for the grid
- GROUP_COPY - Static variable in class org.eclipse.gef.ui.actions.GEFActionConstants
-
Context menu group for copy/paste related actions.
- GROUP_EDIT - Static variable in class org.eclipse.gef.ui.actions.GEFActionConstants
-
Context menu group for EditPart manipulation actions.
- GROUP_FIND - Static variable in class org.eclipse.gef.ui.actions.GEFActionConstants
-
Context menu group for find/replace related actions.
- GROUP_PRINT - Static variable in class org.eclipse.gef.ui.actions.GEFActionConstants
-
Context menu group for print related actions.
- GROUP_REST - Static variable in class org.eclipse.gef.ui.actions.GEFActionConstants
-
Context menu group for actions which do not fit in one of the other categories.
- GROUP_SAVE - Static variable in class org.eclipse.gef.ui.actions.GEFActionConstants
-
Context menu group for save related actions.
- GROUP_UNDO - Static variable in class org.eclipse.gef.ui.actions.GEFActionConstants
-
Context menu group for undo/redo related actions.
- GROUP_VIEW - Static variable in class org.eclipse.gef.ui.actions.GEFActionConstants
-
Context menu group for view related actions.
- GroupRequest - Class in org.eclipse.gef.requests
-
A Request from multiple EditParts.
- GroupRequest() - Constructor for class org.eclipse.gef.requests.GroupRequest
-
Default constructor.
- GroupRequest(Object) - Constructor for class org.eclipse.gef.requests.GroupRequest
-
Creates a GroupRequest with the given type.
- GUIDE_LAYER - Static variable in interface org.eclipse.gef.LayerConstants
-
Identifies the layer where Guides add feedback to the primary viewer.
- GuideLayer - Class in org.eclipse.gef.editparts
-
This is a layer where the guide lines are displayed.
- GuideLayer() - Constructor for class org.eclipse.gef.editparts.GuideLayer
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form