Uses of Interface
org.eclipse.gef.EditPart
-
Packages that use EditPart Package Description 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 Modifier and Type Interface Description interfaceConnectionEditPartA specialization ofGraphicalEditPartfor representing connections.interfaceGraphicalEditPartA Specialization ofEditPartfor use withGraphicalViewers.interfaceNodeEditPartA specializedGraphicalEditPartthat supports both target and sourceConnectionEditParts.interfaceRootEditPartA RootEditPart is the root of an EditPartViewer.interfaceTreeEditPartA Specialization ofEditPartfor use withTreeViewer.Methods in org.eclipse.gef that return EditPart Modifier and Type Method Description EditPartEditPartFactory. createEditPart(EditPart context, java.lang.Object model)Creates a new EditPart given the specified context and model.EditPartEditPartViewer. findObjectAt(org.eclipse.draw2d.geometry.Point location)Returnsnullor theEditPartassociated with the specified location.EditPartEditPartViewer. findObjectAtExcluding(org.eclipse.draw2d.geometry.Point location, java.util.Collection exclusionSet)Returnsnullor theEditPartat the specified location, excluding the specified set.EditPartEditPartViewer. findObjectAtExcluding(org.eclipse.draw2d.geometry.Point location, java.util.Collection exclusionSet, EditPartViewer.Conditional conditional)Returnsnullor theEditPartat the specified location, using the given exclusion set and conditional.EditPartEditPartViewer. getContents()Returns the contents of this Viewer.EditPartRootEditPart. getContents()Returns the contents EditPart.protected EditPartSelectionManager. getFocus()Returns the focus editpart.EditPartEditPartViewer. getFocusEditPart()Returns the focusEditPart.EditPartEditPolicy. getHost()EditPartEditPart. getParent()Returns the parentEditPart.EditPartConnectionEditPart. getSource()EditPartConnectionEditPart. getTarget()EditPartEditPart. getTargetEditPart(Request request)Return theEditPartthat should be used as the target for the specifiedRequest.EditPartEditPolicy. getTargetEditPart(Request request)Returnsnullor the appropriateEditPartfor the specifiedRequest.Methods in org.eclipse.gef with parameters of type EditPart Modifier and Type Method Description voidEditPartViewer. appendSelection(EditPart editpart)Appends the specifiedEditPartto the viewer's selection.voidSelectionManager. appendSelection(EditPart editpart)Appends theEditPartto the current selection.voidEditPartListener. childAdded(EditPart child, int index)Called after a child EditPart has been added to its parent.voidEditPartListener.Stub. childAdded(EditPart child, int index)EditPartEditPartFactory. createEditPart(EditPart context, java.lang.Object model)Creates a new EditPart given the specified context and model.voidEditPartViewer. deselect(EditPart editpart)Removes the specifiedEditPartfrom the current selection.voidSelectionManager. deselect(EditPart editpart)Removes theEditPartfrom the current selection.booleanAutoexposeHelper.Search. evaluate(EditPart editpart)booleanEditPartViewer.Conditional. evaluate(EditPart editpart)Returnstrueif the editpart meets this condition.voidExposeHelper. exposeDescendant(EditPart editpart)Exposes the specified descendant on the EditPart which returned this helper.voidEditPartListener. partActivated(EditPart editpart)Called when the editpart has been activated.voidEditPartListener.Stub. partActivated(EditPart editpart)voidEditPartListener. partDeactivated(EditPart editpart)Called when the editpart has been deactivated.voidEditPartListener.Stub. partDeactivated(EditPart editpart)voidEditPartListener. removingChild(EditPart child, int index)Called before a child EditPart is removed from its parent.voidEditPartListener.Stub. removingChild(EditPart child, int index)voidEditPartViewer. reveal(EditPart editpart)Reveals the given EditPart if it is not visible.voidEditPartViewer. select(EditPart editpart)Replaces the current selection with the specifiedEditPart.voidEditPartListener. selectedStateChanged(EditPart editpart)Called when the selected state of an EditPart has changed.voidEditPartListener.Stub. selectedStateChanged(EditPart part)voidEditPartViewer. setContents(EditPart editpart)Sets the contents for this Viewer.voidRootEditPart. setContents(EditPart editpart)Sets the contents EditPart.voidEditPartViewer. setFocus(EditPart focus)Sets the focus EditPart.voidSelectionManager. setFocus(EditPart part)Sets the focus part.voidEditPolicy. setHost(EditPart editpart)Sets the host in which this EditPolicy is installed.voidGraphicalEditPart. setLayoutConstraint(EditPart child, org.eclipse.draw2d.IFigure figure, java.lang.Object constraint)Sets the specified constraint for a child's Figure on thecontent panefigure for this GraphicalEditPart.voidEditPart. setParent(EditPart parent)
Sets the parent.voidConnectionEditPart. setSource(EditPart source)Sets the source of this connection.voidConnectionEditPart. setTarget(EditPart target)Sets thetarget of this connection. -
Uses of EditPart in org.eclipse.gef.dnd
Methods in org.eclipse.gef.dnd that return EditPart Modifier and Type Method Description protected EditPartAbstractTransferDropTargetListener. getTargetEditPart()Returns the current targetEditPart.Methods in org.eclipse.gef.dnd with parameters of type EditPart Modifier and Type Method Description protected voidAbstractTransferDropTargetListener. setTargetEditPart(EditPart ep)Sets the targetEditPart. -
Uses of EditPart in org.eclipse.gef.editparts
Subinterfaces of EditPart in org.eclipse.gef.editparts Modifier and Type Interface Description interfaceIScrollableEditPartShould be implemented by EditParts, to which anScrollableSelectionFeedbackEditPolicyis to be registered, as it grants the edit policy type-safe access to the edit part'sIScrollableFigure.Classes in org.eclipse.gef.editparts that implement EditPart Modifier and Type Class Description classAbstractConnectionEditPartThe base implementation forConnectionEditPart.classAbstractEditPartThe baseline implementation for theEditPartinterface.classAbstractGraphicalEditPartDefault implementation forGraphicalEditPart.classAbstractTreeEditPartDefault implementation forTreeEditParts used in GEFTreeViewers.classFreeformGraphicalRootEditPartA graphical root that usesFreeformFiguresas the layers in the diagram.classGraphicalRootEditPartDeprecated.this class will be deleted, use ScrollingGraphicalViewer with ScalableRootEditPart insteadclassRootTreeEditPartThe root editpart for aTreeViewer.classScalableFreeformRootEditPartAdds Zoom support to the standard FreeformGraphicalRootEditPart.classScalableRootEditPartA graphical root composed of regularLayers.classSimpleRootEditPartDefault implementation of RootEditPart for GraphicalViewers.Fields in org.eclipse.gef.editparts declared as EditPart Modifier and Type Field Description protected EditPartGraphicalRootEditPart. contentsDeprecated.The contentsMethods in org.eclipse.gef.editparts that return EditPart Modifier and Type Method Description protected EditPartAbstractEditPart. createChild(java.lang.Object model)Create the childEditPartfor the given model object.EditPartGraphicalRootEditPart. getContents()Deprecated.EditPartRootTreeEditPart. getContents()EditPartSimpleRootEditPart. getContents()EditPartAbstractEditPart. getParent()EditPartAbstractConnectionEditPart. getSource()EditPartAbstractConnectionEditPart. getTarget()EditPartAbstractEditPart. getTargetEditPart(Request request)Returns theEditPartwhich is the target of theRequest.Methods in org.eclipse.gef.editparts with parameters of type EditPart Modifier and Type Method Description protected voidAbstractEditPart. addChild(EditPart child, int index)Adds a childEditPartto this EditPart.protected abstract voidAbstractEditPart. addChildVisual(EditPart child, int index)Performs the addition of the child's visual to this EditPart's Visual.protected voidAbstractGraphicalEditPart. addChildVisual(EditPart childEditPart, int index)Adds the child's Figure to thecontentPane.protected voidAbstractTreeEditPart. addChildVisual(EditPart childEditPart, int index)Implemented to assign the child itswidget.protected voidRootTreeEditPart. addChildVisual(EditPart childEditPart, int index)This is where the child gets added.voidViewportExposeHelper. exposeDescendant(EditPart part)Exposes the descendant EditPart by smoothly scrolling theViewport.static LayerManagerLayerManager.Helper. find(EditPart part)Finds the LayerManager given any EditPart in the Viewer.protected voidAbstractEditPart. fireChildAdded(EditPart child, int index)NotifiesEditPartListenersthat a child has been added.protected voidAbstractEditPart. fireRemovingChild(EditPart child, int index)NotifiesEditPartListenersthat a child is being removed.protected voidAbstractEditPart. removeChild(EditPart child)Removes a childEditPart.protected abstract voidAbstractEditPart. removeChildVisual(EditPart child)Removes the childs visual from this EditPart's visual.protected voidAbstractGraphicalEditPart. removeChildVisual(EditPart childEditPart)Remove the child's Figure from thecontentPane.protected voidAbstractTreeEditPart. removeChildVisual(EditPart childEditPart)Disposes the child'swidgetand sets it tonull.protected voidRootTreeEditPart. removeChildVisual(EditPart childEditPart)This is where the child gets removed.protected voidAbstractEditPart. reorderChild(EditPart editpart, int index)Moves a childEditPartinto a lower index than it currently occupies.protected voidAbstractGraphicalEditPart. reorderChild(EditPart child, int index)This method is extended to preserve a LayoutManager constraint if one exists.protected voidAbstractTreeEditPart. reorderChild(EditPart editpart, int index)voidGraphicalRootEditPart. setContents(EditPart editpart)Deprecated.voidRootTreeEditPart. setContents(EditPart editpart)voidSimpleRootEditPart. setContents(EditPart editpart)voidAbstractGraphicalEditPart. setLayoutConstraint(EditPart child, org.eclipse.draw2d.IFigure childFigure, java.lang.Object constraint)voidAbstractConnectionEditPart. setParent(EditPart parent)Extended to implement automatic addNotify and removeNotify handling.voidAbstractEditPart. setParent(EditPart parent)Sets the parent EditPart.voidAbstractConnectionEditPart. setSource(EditPart editPart)Sets the source EditPart of this connection.voidAbstractConnectionEditPart. setTarget(EditPart editPart)Sets the target EditPart of this connection. -
Uses of EditPart in org.eclipse.gef.editpolicies
Methods in org.eclipse.gef.editpolicies that return EditPart Modifier and Type Method Description EditPartAbstractEditPolicy. getHost()protected EditPartFlowLayoutEditPolicy. getInsertionReference(Request request)protected abstract EditPartOrderedLayoutEditPolicy. getInsertionReference(Request request)Calculates a referenceEditPartusing the specifiedRequest.EditPartAbstractEditPolicy. getTargetEditPart(Request request)Returnsnullby default.EditPartGraphicalNodeEditPolicy. getTargetEditPart(Request request)Returns the host for the appropriateRequests.EditPartLayoutEditPolicy. getTargetEditPart(Request request)Returns the host if the Request is an ADD, MOVE, or CREATE.EditPartSelectionEditPolicy. getTargetEditPart(Request request)EditPartTreeContainerEditPolicy. getTargetEditPart(Request req)Returns the host EditPart when appropriate.Methods in org.eclipse.gef.editpolicies with parameters of type EditPart Modifier and Type Method Description protected CommandConstrainedLayoutEditPolicy. createAddCommand(EditPart child, java.lang.Object constraint)Deprecated.protected CommandConstrainedLayoutEditPolicy. createAddCommand(ChangeBoundsRequest request, EditPart child, java.lang.Object constraint)Returns theCommandto perform an Add with the specified child and constraint.protected abstract CommandOrderedLayoutEditPolicy. createAddCommand(EditPart child, EditPart after)Returns theCommandto add the specified child after a referenceEditPart.protected CommandConstrainedLayoutEditPolicy. createChangeConstraintCommand(EditPart child, java.lang.Object constraint)Deprecated.protected CommandConstrainedLayoutEditPolicy. createChangeConstraintCommand(ChangeBoundsRequest request, EditPart child, java.lang.Object constraint)The request is now made available when creating the change constraint command.protected EditPolicyConstrainedLayoutEditPolicy. createChildEditPolicy(EditPart child)AResizableEditPolicyis used by default for children.protected abstract EditPolicyLayoutEditPolicy. createChildEditPolicy(EditPart child)Returns the "satellite" EditPolicy used to decorate the child.protected EditPolicyOrderedLayoutEditPolicy. createChildEditPolicy(EditPart child)Since Ordered layouts generally don't use constraints, aNonResizableEditPolicyis used by default for children.protected abstract CommandOrderedLayoutEditPolicy. createMoveChildCommand(EditPart child, EditPart after)Returns theCommandto move the specified child before the given referenceEditPart.protected voidLayoutEditPolicy. decorateChild(EditPart child)Decorates the child with aEditPolicy.PRIMARY_DRAG_ROLEsuch asResizableEditPolicy.voidAbstractEditPolicy. setHost(EditPart host)voidScrollableSelectionFeedbackEditPolicy. setHost(EditPart host)protected voidLayoutEditPolicy. undecorateChild(EditPart child)Removes the decoration added inLayoutEditPolicy.decorateChild(EditPart). -
Uses of EditPart in org.eclipse.gef.requests
Methods in org.eclipse.gef.requests that return EditPart Modifier and Type Method Description EditPartForwardedRequest. getSender()Returns the EditPart that forwarded this Request.EditPartCreateConnectionRequest. getSourceEditPart()Returns the EditPart that the source end of the connection should be connected to.EditPartReconnectRequest. getTarget()Returns the target edit part that the connection should be connected to.EditPartCreateConnectionRequest. 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 Modifier and Type Method Description voidGroupRequest. setEditParts(EditPart part)A helper method to set the given EditPart as the requester.voidCreateConnectionRequest. setSourceEditPart(EditPart part)Sets the source of the Connection to the given EditPart.voidCreateConnectionRequest. setTargetEditPart(EditPart part)Sets the target of the Connection to the given EditPart.voidReconnectRequest. setTargetEditPart(EditPart ep)Sets the target edit part that the connection should be connected to.voidTargetRequest. setTargetEditPart(EditPart part)Sets the target EditPart.Constructors in org.eclipse.gef.requests with parameters of type EditPart Constructor Description ForwardedRequest(java.lang.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 Modifier and Type Method Description static EditPartToolUtilities. findCommonAncestor(EditPart ll, EditPart rr)Returns the common parent editpart for given pair of EditParts.protected EditPartSelectEditPartTracker. getSourceEditPart()Returns the source edit part.protected EditPartTargetingTool. getTargetEditPart()Returnsnullor the current target editpart.Methods in org.eclipse.gef.tools with parameters of type EditPart Modifier and Type Method Description static EditPartToolUtilities. findCommonAncestor(EditPart ll, EditPart rr)Returns the common parent editpart for given pair of EditParts.static booleanToolUtilities. isAncestorContainedIn(java.util.Collection c, EditPart ep)Checks if collection contains any ancestor of editpartepprotected voidTargetingTool. lockTargetEditPart(EditPart editpart)Locks-in the given editpart as the target.protected voidAbstractConnectionCreationTool. setConnectionSource(EditPart source)Sets the source editpart for the creationprotected voidSelectEditPartTracker. setSourceEditPart(EditPart part)Sets the source edit part.protected voidDragEditPartsTracker. setTargetEditPart(EditPart editpart)Extended to update the current snap-to strategy.protected voidTargetingTool. setTargetEditPart(EditPart editpart)Sets the target editpart.Constructors in org.eclipse.gef.tools with parameters of type EditPart Constructor Description DeselectAllTracker(EditPart ep)Constructs a new DeselectAllTracker.DragEditPartsTracker(EditPart sourceEditPart)Constructs a new DragEditPartsTracker with the given source edit part.DragTreeItemsTracker(EditPart sourceEditPart)Constructs a new DragTreeItemsTracker.SelectEditPartTracker(EditPart owner)Constructs a new SelectEditPartTracker with the given edit part as the source. -
Uses of EditPart in org.eclipse.gef.ui.palette
Methods in org.eclipse.gef.ui.palette that return EditPart Modifier and Type Method Description protected EditPartPaletteEditPartFactory. createDrawerEditPart(EditPart parentEditPart, java.lang.Object model)Create DrawerEditPart - edit part for PaletteDrawerEditPartPaletteEditPartFactory. createEditPart(EditPart parentEditPart, java.lang.Object model)protected EditPartPaletteEditPartFactory. createEntryEditPart(EditPart parentEditPart, java.lang.Object model)Create ToolEntryEditPart - edit part for ToolEntryprotected EditPartPaletteEditPartFactory. createGroupEditPart(EditPart parentEditPart, java.lang.Object model)Create GroupEditPart - edit part for PaletteGroupprotected EditPartPaletteEditPartFactory. createMainPaletteEditPart(EditPart parentEditPart, java.lang.Object model)Create SliderPaletteEditPart - edit part for PaletteRootprotected EditPartPaletteEditPartFactory. createSeparatorEditPart(EditPart parentEditPart, java.lang.Object model)Create SeparatorEditPart - edit part for PaletteSeparatorprotected EditPartPaletteEditPartFactory. createStackEditPart(EditPart parentEditPart, java.lang.Object model)Create PaletteStackEditPart - edit part for PaletteStackprotected EditPartPaletteEditPartFactory. createTemplateEditPart(EditPart parentEditPart, java.lang.Object model)Create TemplateEditPart - edit part for PaletteTemplateEntryprotected EditPartPaletteEditPartFactory. createToolbarEditPart(EditPart parentEditPart, java.lang.Object model)Create ToolbarEditPart - edit part for PaletteToolbarMethods in org.eclipse.gef.ui.palette with parameters of type EditPart Modifier and Type Method Description protected EditPartPaletteEditPartFactory. createDrawerEditPart(EditPart parentEditPart, java.lang.Object model)Create DrawerEditPart - edit part for PaletteDrawerEditPartPaletteEditPartFactory. createEditPart(EditPart parentEditPart, java.lang.Object model)protected EditPartPaletteEditPartFactory. createEntryEditPart(EditPart parentEditPart, java.lang.Object model)Create ToolEntryEditPart - edit part for ToolEntryprotected EditPartPaletteEditPartFactory. createGroupEditPart(EditPart parentEditPart, java.lang.Object model)Create GroupEditPart - edit part for PaletteGroupprotected EditPartPaletteEditPartFactory. createMainPaletteEditPart(EditPart parentEditPart, java.lang.Object model)Create SliderPaletteEditPart - edit part for PaletteRootprotected EditPartPaletteEditPartFactory. createSeparatorEditPart(EditPart parentEditPart, java.lang.Object model)Create SeparatorEditPart - edit part for PaletteSeparatorprotected EditPartPaletteEditPartFactory. createStackEditPart(EditPart parentEditPart, java.lang.Object model)Create PaletteStackEditPart - edit part for PaletteStackprotected EditPartPaletteEditPartFactory. createTemplateEditPart(EditPart parentEditPart, java.lang.Object model)Create TemplateEditPart - edit part for PaletteTemplateEntryprotected EditPartPaletteEditPartFactory. createToolbarEditPart(EditPart parentEditPart, java.lang.Object model)Create ToolbarEditPart - edit part for PaletteToolbarvoidPaletteViewer. reveal(EditPart part) -
Uses of EditPart in org.eclipse.gef.ui.parts
Fields in org.eclipse.gef.ui.parts declared as EditPart Modifier and Type Field Description protected EditPartAbstractEditPartViewer. focusPartDeprecated.Methods in org.eclipse.gef.ui.parts that return EditPart Modifier and Type Method Description protected EditPartSelectionSynchronizer. convert(EditPartViewer viewer, EditPart part)Maps the given editpart from one viewer to an editpart in another viewer.EditPartAbstractEditPartViewer. findObjectAt(org.eclipse.draw2d.geometry.Point pt)EditPartAbstractEditPartViewer. findObjectAtExcluding(org.eclipse.draw2d.geometry.Point pt, java.util.Collection exclude)EditPartGraphicalViewerImpl. findObjectAtExcluding(org.eclipse.draw2d.geometry.Point pt, java.util.Collection exclude, EditPartViewer.Conditional condition)EditPartTreeViewer. findObjectAtExcluding(org.eclipse.draw2d.geometry.Point pt, java.util.Collection exclude, EditPartViewer.Conditional condition)EditPartAbstractEditPartViewer. getContents()EditPartAbstractEditPartViewer. getFocusEditPart()Methods in org.eclipse.gef.ui.parts with parameters of type EditPart Modifier and Type Method Description voidAbstractEditPartViewer. appendSelection(EditPart editpart)protected EditPartSelectionSynchronizer. convert(EditPartViewer viewer, EditPart part)Maps the given editpart from one viewer to an editpart in another viewer.voidAbstractEditPartViewer. deselect(EditPart editpart)protected voidGraphicalViewerKeyHandler. navigateTo(EditPart part, KeyEvent event)Navigates to the given EditPartprotected voidPaletteViewerKeyHandler. navigateTo(EditPart part, KeyEvent event)voidAbstractEditPartViewer. reveal(EditPart part)voidGraphicalViewerImpl. reveal(EditPart part)Reveals the specified editpart by usingExposeHelpers.voidScrollingGraphicalViewer. reveal(EditPart part)Extends the superclass implementation to scroll the native Canvas control after the super's implementation has completed.voidTreeViewer. reveal(EditPart part)voidAbstractEditPartViewer. select(EditPart editpart)voidAbstractEditPartViewer. setContents(EditPart editpart)voidAbstractEditPartViewer. setFocus(EditPart part)
-