Eclipse GEF 3.2

## Uses of Interface
org.eclipse.gef.EditPart

Packages that use EditPart
org.eclipse.gef: All interfaces, base types, and the plugin class are here.
org.eclipse.gef.dnd
org.eclipse.gef.editparts: This package contains abstract implementation of the EditPart interface.
org.eclipse.gef.editpolicies: This package contains EditPolicy implementations for many common editing Roles.
org.eclipse.gef.requests: This package contains the common Request types used by the provided tools and edit policies.
org.eclipse.gef.tools: This package provides several tool implementations.
org.eclipse.gef.ui.palette
org.eclipse.gef.ui.parts

Uses of EditPart in org.eclipse.gef

Subinterfaces of EditPart in org.eclipse.gef
`interface` `ConnectionEditPart` A specialization of `GraphicalEditPart` for representing connections.
`interface` `GraphicalEditPart` A Specialization of `EditPart` for use with `GraphicalViewers`.
`interface` `NodeEditPart` A specialized `GraphicalEditPart` that supports both target and source `ConnectionEditParts`.
`interface` `RootEditPart` A RootEditPart is the root of an EditPartViewer.
`interface` `TreeEditPart` A Specialization of `EditPart` for use with `TreeViewer`.

Methods in org.eclipse.gef that return EditPart
`EditPart` `EditPartFactory.createEditPart(EditPart context, Object model)` Creates a new EditPart given the specified context and model.
`EditPart` `EditPartViewer.findObjectAt(Point location)` Returns `null` or the `EditPart` associated with the specified location.
`EditPart` `EditPartViewer.findObjectAtExcluding(Point location, Collection exclusionSet)` Returns `null` or the `EditPart` at the specified location, excluding the specified set.
`EditPart` `EditPartViewer.findObjectAtExcluding(Point location, Collection exclusionSet, EditPartViewer.Conditional conditional)` Returns `null` or the `EditPart` at the specified location, using the given exclusion set and conditional.
`EditPart` `EditPartViewer.getContents()` Returns the contents of this Viewer.
`EditPart` `EditPartViewer.getFocusEditPart()` Returns the focus `EditPart`.
`EditPart` `RootEditPart.getContents()` Returns the contents EditPart.
`EditPart` `ConnectionEditPart.getSource()`
`EditPart` `ConnectionEditPart.getTarget()`
`EditPart` `EditPart.getParent()` Returns the parent `EditPart`.
`EditPart` `EditPart.getTargetEditPart(Request request)` Return the `EditPart` that should be used as the target for the specified `Request`.
`EditPart` `EditPolicy.getHost()`
`EditPart` `EditPolicy.getTargetEditPart(Request request)` Returns `null` or the appropriate `EditPart` for the specified `Request`.
`protected EditPart` `SelectionManager.getFocus()` Returns the focus editpart.

Methods in org.eclipse.gef with parameters of type EditPart
`EditPart` `EditPartFactory.createEditPart(EditPart context, Object model)` Creates a new EditPart given the specified context and model.
`void` `GraphicalEditPart.setLayoutConstraint(EditPart child, IFigure figure, Object constraint)` Sets the specified constraint for a child's Figure on the `content pane` figure for this GraphicalEditPart.
`void` `EditPartListener.childAdded(EditPart child, int index)` Called after a child EditPart has been added to its parent.
`void` `EditPartListener.partActivated(EditPart editpart)` Called when the editpart has been activated.
`void` `EditPartListener.partDeactivated(EditPart editpart)` Called when the editpart has been deactivated.
`void` `EditPartListener.removingChild(EditPart child, int index)` Called before a child EditPart is removed from its parent.
`void` `EditPartListener.selectedStateChanged(EditPart editpart)` Called when the selected state of an EditPart has changed.
`void` `EditPartListener.Stub.childAdded(EditPart child, int index)`
`void` `EditPartListener.Stub.partActivated(EditPart editpart)`
`void` `EditPartListener.Stub.partDeactivated(EditPart editpart)`
`void` `EditPartListener.Stub.removingChild(EditPart child, int index)`
`void` `EditPartListener.Stub.selectedStateChanged(EditPart part)`
`void` `EditPartViewer.appendSelection(EditPart editpart)` Appends the specified `EditPart` to the viewer's selection.
`void` `EditPartViewer.deselect(EditPart editpart)` Removes the specified `EditPart` from the current selection.
`void` `EditPartViewer.reveal(EditPart editpart)` Reveals the given EditPart if it is not visible.
`void` `EditPartViewer.select(EditPart editpart)` Replaces the current selection with the specified `EditPart`.
`void` `EditPartViewer.setContents(EditPart editpart)` Sets the contents for this Viewer.
`void` `EditPartViewer.setFocus(EditPart focus)` Sets the focus EditPart.
`boolean` `EditPartViewer.Conditional.evaluate(EditPart editpart)` Returns `true` if the editpart meets this condition.
`void` `ExposeHelper.exposeDescendant(EditPart editpart)` Exposes the specified descendant on the EditPart which returned this helper.
`void` `RootEditPart.setContents(EditPart editpart)` Sets the contents EditPart.
`void` `ConnectionEditPart.setSource(EditPart source)` Sets the source of this connection.
`void` `ConnectionEditPart.setTarget(EditPart target)` Sets thetarget of this connection.
`void` `EditPart.setParent(EditPart parent)` Sets the parent.
`void` `EditPolicy.setHost(EditPart editpart)` Sets the host in which this EditPolicy is installed.
`boolean` `AutoexposeHelper.Search.evaluate(EditPart editpart)`
`void` `SelectionManager.appendSelection(EditPart editpart)` Appends the `EditPart` to the current selection.
`void` `SelectionManager.deselect(EditPart editpart)` Removes the `EditPart` from the current selection.
`void` `SelectionManager.setFocus(EditPart part)` Sets the focus part.

Uses of EditPart in org.eclipse.gef.dnd

Methods in org.eclipse.gef.dnd that return EditPart
`protected EditPart` `AbstractTransferDropTargetListener.getTargetEditPart()` Returns the current target `EditPart`.

Methods in org.eclipse.gef.dnd with parameters of type EditPart
`protected void` `AbstractTransferDropTargetListener.setTargetEditPart(EditPart ep)` Sets the target `EditPart`.

Uses of EditPart in org.eclipse.gef.editparts

Classes in org.eclipse.gef.editparts that implement EditPart
`class` `AbstractConnectionEditPart` The base implementation for `ConnectionEditPart`.
`class` `AbstractEditPart` The baseline implementation for the `EditPart` interface.
`class` `AbstractGraphicalEditPart` Default implementation for `GraphicalEditPart`.
`class` `AbstractTreeEditPart` Default implementation for `TreeEditPart`s used in GEF `TreeViewer`s.
`class` `FreeformGraphicalRootEditPart` A graphical root that uses `FreeformFigures` as the layers in the diagram.
`class` `GraphicalRootEditPart` Deprecated. this class will be deleted, use ScrollingGraphicalViewer with ScalableRootEditPart instead
`class` `RootTreeEditPart` The root editpart for a `TreeViewer`.
`class` `ScalableFreeformRootEditPart` Adds Zoom support to the standard FreeformGraphicalRootEditPart.
`class` `ScalableRootEditPart` A graphical root composed of regular `Layers`.
`class` `SimpleRootEditPart` Default implementation of RootEditPart for GraphicalViewers.

Fields in org.eclipse.gef.editparts declared as EditPart
`protected EditPart` `GraphicalRootEditPart.contents` Deprecated. The contents

Methods in org.eclipse.gef.editparts that return EditPart
`EditPart` `SimpleRootEditPart.getContents()`
`EditPart` `RootTreeEditPart.getContents()`
`EditPart` `GraphicalRootEditPart.getContents()` Deprecated.
`EditPart` `AbstractConnectionEditPart.getSource()`
`EditPart` `AbstractConnectionEditPart.getTarget()`
`protected EditPart` `AbstractEditPart.createChild(Object model)` Create the child `EditPart` for the given model object.
`EditPart` `AbstractEditPart.getParent()`
`EditPart` `AbstractEditPart.getTargetEditPart(Request request)` Returns the `EditPart` which is the target of the `Request`.

Methods in org.eclipse.gef.editparts with parameters of type EditPart
`static LayerManager` `LayerManager.Helper.find(EditPart part)` Finds the LayerManager given any EditPart in the Viewer.
`void` `SimpleRootEditPart.setContents(EditPart editpart)`
`protected void` `RootTreeEditPart.addChildVisual(EditPart childEditPart, int index)` This is where the child gets added.
`protected void` `RootTreeEditPart.removeChildVisual(EditPart childEditPart)` This is where the child gets removed.
`void` `RootTreeEditPart.setContents(EditPart editpart)`
`void` `GraphicalRootEditPart.setContents(EditPart editpart)` Deprecated.
`void` `ViewportExposeHelper.exposeDescendant(EditPart part)` Exposes the descendant EditPart by smoothly scrolling the `Viewport`.
`void` `AbstractConnectionEditPart.setParent(EditPart parent)` Extended to implement automatic addNotify and removeNotify handling.
`void` `AbstractConnectionEditPart.setSource(EditPart editPart)` Sets the source EditPart of this connection.
`void` `AbstractConnectionEditPart.setTarget(EditPart editPart)` Sets the target EditPart of this connection.
`protected void` `AbstractTreeEditPart.addChildVisual(EditPart childEditPart, int index)` Implemented to assign the child its `widget`.
`protected void` `AbstractTreeEditPart.removeChildVisual(EditPart childEditPart)` Disposes the child's `widget` and sets it to `null`.
`protected void` `AbstractTreeEditPart.reorderChild(EditPart editpart, int index)`
`protected void` `AbstractEditPart.addChild(EditPart child, int index)` Adds a child `EditPart` to this EditPart.
`protected abstract void` `AbstractEditPart.addChildVisual(EditPart child, int index)` Performs the addition of the child's visual to this EditPart's Visual.
`protected void` `AbstractEditPart.fireChildAdded(EditPart child, int index)` Notifies `EditPartListeners` that a child has been added.
`protected void` `AbstractEditPart.fireRemovingChild(EditPart child, int index)` Notifies `EditPartListeners` that a child is being removed.
`protected void` `AbstractEditPart.removeChild(EditPart child)` Removes a child `EditPart`.
`protected abstract void` `AbstractEditPart.removeChildVisual(EditPart child)` Removes the childs visual from this EditPart's visual.
`protected void` `AbstractEditPart.reorderChild(EditPart editpart, int index)` Moves a child `EditPart` into a lower index than it currently occupies.
`void` `AbstractEditPart.setParent(EditPart parent)` Sets the parent EditPart.
`protected void` `AbstractGraphicalEditPart.addChildVisual(EditPart childEditPart, int index)` Adds the child's Figure to the `contentPane`.
`protected void` `AbstractGraphicalEditPart.removeChildVisual(EditPart childEditPart)` Adds the child's Figure to the `contentPane`.
`protected void` `AbstractGraphicalEditPart.reorderChild(EditPart child, int index)` This method is extended to preserve a LayoutManager constraint if one exists.
`void` `AbstractGraphicalEditPart.setLayoutConstraint(EditPart child, IFigure childFigure, Object constraint)`

Uses of EditPart in org.eclipse.gef.editpolicies

Methods in org.eclipse.gef.editpolicies that return EditPart
`EditPart` `TreeContainerEditPolicy.getTargetEditPart(Request req)` Returns the host EditPart when appropriate.
`EditPart` `LayoutEditPolicy.getTargetEditPart(Request request)` Returns the host if the Request is an ADD, MOVE, or CREATE.
`protected EditPart` `FlowLayoutEditPolicy.getInsertionReference(Request request)`
`protected abstract EditPart` `OrderedLayoutEditPolicy.getInsertionReference(Request request)` Calculates a reference `EditPart` using the specified `Request`.
`EditPart` `AbstractEditPolicy.getHost()`
`EditPart` `AbstractEditPolicy.getTargetEditPart(Request request)` Returns `null` by default.
`EditPart` `SelectionEditPolicy.getTargetEditPart(Request request)`
`EditPart` `GraphicalNodeEditPolicy.getTargetEditPart(Request request)` Returns the host for the appropriate `Requests`.

Methods in org.eclipse.gef.editpolicies with parameters of type EditPart
`protected abstract EditPolicy` `LayoutEditPolicy.createChildEditPolicy(EditPart child)` Returns the "satellite" EditPolicy used to decorate the child.
`protected void` `LayoutEditPolicy.decorateChild(EditPart child)` Decorates the child with a `EditPolicy.PRIMARY_DRAG_ROLE` such as `ResizableEditPolicy`.
`protected void` `LayoutEditPolicy.undecorateChild(EditPart child)` Removes the decoration added in `LayoutEditPolicy.decorateChild(EditPart)`.
`protected abstract Command` `OrderedLayoutEditPolicy.createAddCommand(EditPart child, EditPart after)` Returns the `Command` to add the specified child after a reference `EditPart`.
`protected EditPolicy` `OrderedLayoutEditPolicy.createChildEditPolicy(EditPart child)` Since Ordered layouts generally don't use constraints, a `NonResizableEditPolicy` is used by default for children.
`protected abstract Command` `OrderedLayoutEditPolicy.createMoveChildCommand(EditPart child, EditPart after)` Returns the `Command` to move the specified child before the given reference `EditPart`.
`protected Command` `ConstrainedLayoutEditPolicy.createAddCommand(EditPart child, Object constraint)` Returns the `Command` to perform an Add with the specified child and constraint.
`protected Command` `ConstrainedLayoutEditPolicy.createChangeConstraintCommand(ChangeBoundsRequest request, EditPart child, Object constraint)` The request is now made available when creating the change constraint command.
`protected abstract Command` `ConstrainedLayoutEditPolicy.createChangeConstraintCommand(EditPart child, Object constraint)` Returns the `Command` to change the specified child's constraint.
`protected EditPolicy` `ConstrainedLayoutEditPolicy.createChildEditPolicy(EditPart child)` A `ResizableEditPolicy` is used by default for children.
`void` `AbstractEditPolicy.setHost(EditPart host)`

Uses of EditPart in org.eclipse.gef.requests

Methods in org.eclipse.gef.requests that return EditPart
`EditPart` `ForwardedRequest.getSender()` Returns the EditPart that forwarded this Request.
`EditPart` `ReconnectRequest.getTarget()` Returns the target edit part that the connection should be connected to.
`EditPart` `CreateConnectionRequest.getSourceEditPart()` Returns the EditPart that the source end of the connection should be connected to.
`EditPart` `CreateConnectionRequest.getTargetEditPart()` Returns the EditPart that the target end of the connection should be connected to.

Methods in org.eclipse.gef.requests with parameters of type EditPart
`void` `GroupRequest.setEditParts(EditPart part)` A helper method to set the given EditPart as the requester.
`void` `ReconnectRequest.setTargetEditPart(EditPart ep)` Sets the target edit part that the connection should be connected to.
`void` `CreateConnectionRequest.setSourceEditPart(EditPart part)` Sets the source of the Connection to the given EditPart.
`void` `CreateConnectionRequest.setTargetEditPart(EditPart part)` Sets the target of the Connection to the given EditPart.
`void` `TargetRequest.setTargetEditPart(EditPart part)` Sets the target EditPart.

Constructors in org.eclipse.gef.requests with parameters of type EditPart
`ForwardedRequest(Object type, EditPart sender)` Creates a ForwardRequest with the given type and sets the sender.

Uses of EditPart in org.eclipse.gef.tools

Methods in org.eclipse.gef.tools that return EditPart
`protected EditPart` `TargetingTool.getTargetEditPart()` Returns `null` or the current target editpart.
`protected EditPart` `SelectEditPartTracker.getSourceEditPart()` Returns the source edit part.
`static EditPart` `ToolUtilities.findCommonAncestor(EditPart ll, EditPart rr)` Returns the common parent editpart for given pair of EditParts.

Methods in org.eclipse.gef.tools with parameters of type EditPart
`protected void` `AbstractConnectionCreationTool.setConnectionSource(EditPart source)` Sets the source editpart for the creation
`protected void` `TargetingTool.lockTargetEditPart(EditPart editpart)` Locks-in the given editpart as the target.
`protected void` `TargetingTool.setTargetEditPart(EditPart editpart)` Sets the target editpart.
`protected void` `SelectEditPartTracker.setSourceEditPart(EditPart part)` Sets the source edit part.
`protected void` `DragEditPartsTracker.setTargetEditPart(EditPart editpart)` Extended to update the current snap-to strategy.
`static EditPart` `ToolUtilities.findCommonAncestor(EditPart ll, EditPart rr)` Returns the common parent editpart for given pair of EditParts.

Constructors in org.eclipse.gef.tools with parameters of type EditPart
`SelectEditPartTracker(EditPart owner)` Constructs a new SelectEditPartTracker with the given edit part as the source.
`DragEditPartsTracker(EditPart sourceEditPart)` Constructs a new DragEditPartsTracker with the given source edit part.
`DragTreeItemsTracker(EditPart sourceEditPart)` Constructs a new DragTreeItemsTracker.
`DeselectAllTracker(EditPart ep)` Constructs a new DeselectAllTracker.

Uses of EditPart in org.eclipse.gef.ui.palette

Methods in org.eclipse.gef.ui.palette that return EditPart
`protected EditPart` `PaletteEditPartFactory.createDrawerEditPart(EditPart parentEditPart, Object model)` Create DrawerEditPart - edit part for PaletteDrawer
`EditPart` `PaletteEditPartFactory.createEditPart(EditPart parentEditPart, Object model)`
`protected EditPart` `PaletteEditPartFactory.createSeparatorEditPart(EditPart parentEditPart, Object model)` Create SeparatorEditPart - edit part for PaletteSeparator
`protected EditPart` `PaletteEditPartFactory.createStackEditPart(EditPart parentEditPart, Object model)` Create PaletteStackEditPart - edit part for PaletteStack
`protected EditPart` `PaletteEditPartFactory.createEntryEditPart(EditPart parentEditPart, Object model)` Create ToolEntryEditPart - edit part for ToolEntry
`protected EditPart` `PaletteEditPartFactory.createGroupEditPart(EditPart parentEditPart, Object model)` Create GroupEditPart - edit part for PaletteGroup
`protected EditPart` `PaletteEditPartFactory.createMainPaletteEditPart(EditPart parentEditPart, Object model)` Create SliderPaletteEditPart - edit part for PaletteRoot
`protected EditPart` `PaletteEditPartFactory.createTemplateEditPart(EditPart parentEditPart, Object model)` Create TemplateEditPart - edit part for PaletteTemplateEntry

Methods in org.eclipse.gef.ui.palette with parameters of type EditPart
`void` `PaletteViewer.reveal(EditPart part)`
`protected EditPart` `PaletteEditPartFactory.createDrawerEditPart(EditPart parentEditPart, Object model)` Create DrawerEditPart - edit part for PaletteDrawer
`EditPart` `PaletteEditPartFactory.createEditPart(EditPart parentEditPart, Object model)`
`protected EditPart` `PaletteEditPartFactory.createSeparatorEditPart(EditPart parentEditPart, Object model)` Create SeparatorEditPart - edit part for PaletteSeparator
`protected EditPart` `PaletteEditPartFactory.createStackEditPart(EditPart parentEditPart, Object model)` Create PaletteStackEditPart - edit part for PaletteStack
`protected EditPart` `PaletteEditPartFactory.createEntryEditPart(EditPart parentEditPart, Object model)` Create ToolEntryEditPart - edit part for ToolEntry
`protected EditPart` `PaletteEditPartFactory.createGroupEditPart(EditPart parentEditPart, Object model)` Create GroupEditPart - edit part for PaletteGroup
`protected EditPart` `PaletteEditPartFactory.createMainPaletteEditPart(EditPart parentEditPart, Object model)` Create SliderPaletteEditPart - edit part for PaletteRoot
`protected EditPart` `PaletteEditPartFactory.createTemplateEditPart(EditPart parentEditPart, Object model)` Create TemplateEditPart - edit part for PaletteTemplateEntry

Uses of EditPart in org.eclipse.gef.ui.parts

Fields in org.eclipse.gef.ui.parts declared as EditPart
`protected EditPart` `AbstractEditPartViewer.focusPart` Deprecated.

Methods in org.eclipse.gef.ui.parts that return EditPart
`EditPart` `GraphicalViewerImpl.findObjectAtExcluding(Point pt, Collection exclude, EditPartViewer.Conditional condition)`
`EditPart` `AbstractEditPartViewer.findObjectAt(Point pt)`
`EditPart` `AbstractEditPartViewer.findObjectAtExcluding(Point pt, Collection exclude)`
`EditPart` `AbstractEditPartViewer.getContents()`
`EditPart` `AbstractEditPartViewer.getFocusEditPart()`
`EditPart` `TreeViewer.findObjectAtExcluding(Point pt, Collection exclude, EditPartViewer.Conditional condition)`
`protected EditPart` `SelectionSynchronizer.convert(EditPartViewer viewer, EditPart part)` Maps the given editpart from one viewer to an editpart in another viewer.

Methods in org.eclipse.gef.ui.parts with parameters of type EditPart
`void` `GraphicalViewerImpl.reveal(EditPart part)` Reveals the specified editpart by using `ExposeHelper`s.
`void` `ScrollingGraphicalViewer.reveal(EditPart part)` Extends the superclass implementation to scroll the native Canvas control after the super's implementation has completed.
`void` `AbstractEditPartViewer.appendSelection(EditPart editpart)`
`void` `AbstractEditPartViewer.deselect(EditPart editpart)`
`void` `AbstractEditPartViewer.reveal(EditPart part)`
`void` `AbstractEditPartViewer.select(EditPart editpart)`
`void` `AbstractEditPartViewer.setContents(EditPart editpart)`
`void` `AbstractEditPartViewer.setFocus(EditPart part)`
`void` `TreeViewer.reveal(EditPart part)`
`protected void` `PaletteViewerKeyHandler.navigateTo(EditPart part, KeyEvent event)`
`protected void` `GraphicalViewerKeyHandler.navigateTo(EditPart part, KeyEvent event)` Navigates to the given EditPart
`protected EditPart` `SelectionSynchronizer.convert(EditPartViewer viewer, EditPart part)` Maps the given editpart from one viewer to an editpart in another viewer.

Eclipse GEF 3.2

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