Uses of Interface
org.eclipse.gef.mvc.fx.parts.IVisualPart
Packages that use IVisualPart
Package
Description
This package contains JavaFX/MVC.FX-specific
IBehavior
implementations.This package contains all
IUndoableOperation
implementations contributed by MVC.FX.This package contains all JavaFX-specific
IContentPart
,
IVisualPart
,
IFeedbackPart
, and
IHandlePart
implementations and related
classes.This package contains all
IPolicy
implementations contributed by MVC.FX.This package contains a JavaFX-specific
IViewer
implementation:
InfiniteCanvasViewer
.-
Uses of IVisualPart in org.eclipse.gef.mvc.fx.behaviors
Methods in org.eclipse.gef.mvc.fx.behaviors that return IVisualPartModifier and TypeMethodDescriptionIVisualPart<? extends javafx.scene.Node>
AbstractBehavior.getAdaptable()
Gets the value of the property adaptable.IVisualPart<? extends javafx.scene.Node>
AbstractBehavior.getHost()
ConnectionClickableAreaBehavior.getHost()
IVisualPart<? extends javafx.scene.Node>
IBehavior.getHost()
Returns the hostIVisualPart
of thisIBehavior
, i.e. the part where this behavior is registered as an adapter.Methods in org.eclipse.gef.mvc.fx.behaviors that return types with arguments of type IVisualPartModifier and TypeMethodDescriptionjavafx.beans.property.ReadOnlyObjectProperty<IVisualPart<? extends javafx.scene.Node>>
AbstractBehavior.adaptableProperty()
protected Map<Set<IVisualPart<? extends javafx.scene.Node>>,
List<IFeedbackPart<? extends javafx.scene.Node>>> AbstractBehavior.getFeedbackPerTargetSet()
Returns the map that stores the feedback parts per target part set.protected Map<Set<IVisualPart<? extends javafx.scene.Node>>,
List<IHandlePart<? extends javafx.scene.Node>>> AbstractBehavior.getHandlesPerTargetSet()
Returns the map that stores the handle parts per target part set.Methods in org.eclipse.gef.mvc.fx.behaviors with parameters of type IVisualPartModifier and TypeMethodDescriptionprotected void
AbstractBehavior.addFeedback
(IVisualPart<? extends javafx.scene.Node> target) Adds feedback for the given target part.protected void
AbstractBehavior.addHandles
(IVisualPart<? extends javafx.scene.Node> target) Adds handles for the given target part.protected List<IFeedbackPart<? extends javafx.scene.Node>>
AbstractBehavior.getFeedback
(IVisualPart<? extends javafx.scene.Node> target) Returns a list that contains allIHandlePart
s that were generated for the given target part by thisIBehavior
.protected List<IHandlePart<? extends javafx.scene.Node>>
AbstractBehavior.getHandles
(IVisualPart<? extends javafx.scene.Node> target) Returns a list that contains allIHandlePart
s that were generated for the given target part by thisIBehavior
.protected boolean
AbstractBehavior.hasFeedback
(IVisualPart<? extends javafx.scene.Node> target) Returnstrue
if feedback was added for the given target part, even if no feedback parts were generated for the given target part.protected boolean
AbstractBehavior.hasHandles
(IVisualPart<? extends javafx.scene.Node> target) Returnstrue
if handles were added for the given target part, even if no handle parts were generated for the given target part.protected void
AbstractBehavior.removeFeedback
(IVisualPart<? extends javafx.scene.Node> target) Removes feedback for the given target.protected void
AbstractBehavior.removeHandles
(IVisualPart<? extends javafx.scene.Node> target) Removes handles for the given target.void
AbstractBehavior.setAdaptable
(IVisualPart<? extends javafx.scene.Node> adaptable) Sets the value of the property adaptable.void
ContentBehavior.synchronizeContentPartAnchorages
(IVisualPart<? extends javafx.scene.Node> anchored, SetMultimap<? extends Object, ? extends String> contentAnchorages) Updates the hostIVisualPart
'sIContentPart
anchorages (seegetAnchoragesUnmodifiable()
) so that it is in sync with the set of content anchorages that is passed in.void
ContentBehavior.synchronizeContentPartChildren
(IVisualPart<? extends javafx.scene.Node> parent, List<? extends Object> contentChildren) Updates the hostIVisualPart
'sIContentPart
children (seegetChildrenUnmodifiable()
) so that it is in sync with the set of content children that is passed in.IHandlePart<? extends javafx.scene.Node>
AbstractBehavior.updateHandles
(IVisualPart<? extends javafx.scene.Node> target, Comparator<IHandlePart<? extends javafx.scene.Node>> interactedWithComparator, IHandlePart<? extends javafx.scene.Node> interactedWith) Updates the handles of the given target part.Method parameters in org.eclipse.gef.mvc.fx.behaviors with type arguments of type IVisualPartModifier and TypeMethodDescriptionprotected void
AbstractBehavior.addAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds) Adds the given anchoreds as children to the root part and anchors them to the given target parts.protected void
AbstractBehavior.addAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds) Adds the given anchoreds as children to the root part and anchors them to the given target parts.protected void
AbstractBehavior.addAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds, int insertionIndex) Adds the given anchoreds as children to the root part and anchors them to the given target parts.protected void
AbstractBehavior.addAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds, int insertionIndex) Adds the given anchoreds as children to the root part and anchors them to the given target parts.protected void
FocusBehavior.addAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds) protected void
FocusBehavior.addAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds) protected void
AbstractBehavior.addFeedback
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets) Adds feedback for the given target parts.protected void
AbstractBehavior.addHandles
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets) Adds handles for the given target parts.protected List<IFeedbackPart<? extends javafx.scene.Node>>
AbstractBehavior.getFeedback
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets) Returns a list that contains allIHandlePart
s that were generated for the given target parts by thisIBehavior
.protected List<IHandlePart<? extends javafx.scene.Node>>
AbstractBehavior.getHandles
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets) Returns a list that contains allIHandlePart
s that were generated for the given target parts by thisIBehavior
.protected boolean
AbstractBehavior.hasFeedback
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets) Returnstrue
if feedback was added for the given set of target parts, even if no feedback parts were generated for the given set of target parts.protected boolean
AbstractBehavior.hasHandles
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets) Returnstrue
if handles were added for the given set of target parts, even if no handle parts were generated for the given set of target parts.protected void
AbstractBehavior.removeAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds) Removes the given anchoreds as children from the root part and as anchoreds from the given target parts.protected void
AbstractBehavior.removeAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds) Removes the given anchoreds as children from the root part and as anchoreds from the given target parts.protected void
AbstractBehavior.removeFeedback
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets) Removes feedback for the given targets.protected void
AbstractBehavior.removeFeedback
(Set<? extends IVisualPart<? extends javafx.scene.Node>> targetSet) Removes feedback for the given target parts.protected void
AbstractBehavior.removeHandles
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets) Removes handles for the given target parts.protected void
AbstractBehavior.removeHandles
(Set<? extends IVisualPart<? extends javafx.scene.Node>> targetSet) Removes handles for the given target parts.IHandlePart<? extends javafx.scene.Node>
AbstractBehavior.updateHandles
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Comparator<IHandlePart<? extends javafx.scene.Node>> interactedWithComparator, IHandlePart<? extends javafx.scene.Node> interactedWith) Updates the handles of the given targets. -
Uses of IVisualPart in org.eclipse.gef.mvc.fx.models
Methods in org.eclipse.gef.mvc.fx.models that return IVisualPartModifier and TypeMethodDescriptionIVisualPart<? extends javafx.scene.Node>
HoverModel.getHover()
Returns the currently hoveredIVisualPart
ornull
if no visual part is hovered.Methods in org.eclipse.gef.mvc.fx.models that return types with arguments of type IVisualPartModifier and TypeMethodDescriptionjavafx.beans.property.ObjectProperty<IVisualPart<? extends javafx.scene.Node>>
HoverModel.hoverProperty()
Returns an object property representing the current hover part.Methods in org.eclipse.gef.mvc.fx.models with parameters of type IVisualPartModifier and TypeMethodDescriptionvoid
HoverModel.setHover
(IVisualPart<? extends javafx.scene.Node> cp) Sets the hoveredIVisualPart
to the given value. -
Uses of IVisualPart in org.eclipse.gef.mvc.fx.operations
Methods in org.eclipse.gef.mvc.fx.operations with parameters of type IVisualPartModifier and TypeMethodDescriptionvoid
RevealOperation.setPart
(IVisualPart<? extends javafx.scene.Node> part) Sets the part that is to be revealed.Constructors in org.eclipse.gef.mvc.fx.operations with parameters of type IVisualPartModifierConstructorDescriptionRevealOperation
(IVisualPart<? extends javafx.scene.Node> part) Constructs a newRevealOperation
that will reveal the givenIVisualPart
upon execution.SetRefreshVisualOperation
(IVisualPart<? extends javafx.scene.Node> part, boolean from, boolean to) Creates a newSetRefreshVisualOperation
for setting theisRefreshVisual()
flag of the givenIVisualPart
to the to value on execution and to the from value on undoing. -
Uses of IVisualPart in org.eclipse.gef.mvc.fx.parts
Subinterfaces of IVisualPart in org.eclipse.gef.mvc.fx.partsModifier and TypeInterfaceDescriptioninterface
IBendableContentPart<V extends javafx.scene.Node>
AnIContentPart
that supports content related bend, i.e. manipulation of control points.interface
IContentPart<V extends javafx.scene.Node>
AnIVisualPart
that visualizes an underlying content element.interface
IFeedbackPart<V extends javafx.scene.Node>
AnIFeedbackPart
is a controller that controls a visual, which is used simply for feedback and does not correspond to anything in the visualized model.interface
IHandlePart<V extends javafx.scene.Node>
AnIHandlePart
is a controller that controls a visual, which is used simply for tool interaction and does not correspond to anything in the visualized model.interface
IResizableContentPart<V extends javafx.scene.Node>
AnIContentPart
that supports content related resize.interface
IRootPart<V extends javafx.scene.Node>
interface
ITransformableContentPart<V extends javafx.scene.Node>
AnIContentPart
that supports content related transformations.Classes in org.eclipse.gef.mvc.fx.parts that implement IVisualPartModifier and TypeClassDescriptionclass
AbstractContentPart<V extends javafx.scene.Node>
TheAbstractContentPart
is anIContentPart
implementation that binds the VR type parameter (visual root type) toNode
.class
AbstractFeedbackPart<V extends javafx.scene.Node>
Abstract base implementation for a JavaFX-specificIFeedbackPart
.class
AbstractHandlePart<V extends javafx.scene.Node>
Abstract base implementation for a JavaFX-specificIHandlePart
.class
AbstractSegmentHandlePart<N extends javafx.scene.Node>
AnAbstractSegmentHandlePart
is bound to a segment of a poly-bezier handle geometry, represented by an array ofBezierCurve
s.class
AbstractVisualPart<V extends javafx.scene.Node>
TheAbstractVisualPart
is an abstract implementation of theIVisualPart
interface.class
class
TheFocusFeedbackPart
visualizes focus feedback.class
class
TheLayeredRootPart
is anIRootPart
that manages a number of layers for the visualization, namely, the content layer, feedback layer, and handle layer.class
AnAbstractSegmentHandlePart
with a rectangularRectangle
visual.class
TheSelectionFeedbackPart
is anAbstractFeedbackPart
that is parameterized byGeometryNode<IGeometry>
.class
TheSelectionLinkFeedbackPart
is anSelectionFeedbackPart
that uses a dotted line as its visualization.class
TheSnappingFeedbackPart
visualizes aSnappingModel.SnappingLocation
by drawing a red line at theSnappingModel.SnappingLocation
through the whole viewport.class
AnAbstractSegmentHandlePart
with a quadraticRectangle
visual.Methods in org.eclipse.gef.mvc.fx.parts with type parameters of type IVisualPartModifier and TypeMethodDescriptionstatic <T extends IVisualPart<? extends javafx.scene.Node>>
List<T>PartUtils.filterParts
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, Class<T> type) Searches the given collection ofIVisualPart
s for elements of the specified type.static <T extends IVisualPart<? extends javafx.scene.Node>>
List<T>PartUtils.filterParts
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, Predicate<? super IVisualPart<? extends javafx.scene.Node>> filter) Searches the given collection ofIVisualPart
s for elements of the specified type.Methods in org.eclipse.gef.mvc.fx.parts that return IVisualPartModifier and TypeMethodDescriptionIVisualPart<? extends javafx.scene.Node>
AbstractVisualPart.getParent()
Gets the value of the property parent.IVisualPart<? extends javafx.scene.Node>
IVisualPart.getParent()
Returns the parent of this part.static IVisualPart<? extends javafx.scene.Node>
PartUtils.retrieveVisualPart
(IViewer viewer, javafx.scene.Node target) Returns the firstIVisualPart
in the visual hierarchy of the givenNode
.Methods in org.eclipse.gef.mvc.fx.parts that return types with arguments of type IVisualPartModifier and TypeMethodDescriptionReadOnlySetMultimapProperty<IVisualPart<? extends javafx.scene.Node>,
String> AbstractVisualPart.anchoragesUnmodifiableProperty()
ReadOnlySetMultimapProperty<IVisualPart<? extends javafx.scene.Node>,
String> IVisualPart.anchoragesUnmodifiableProperty()
Returns a read-only set-multimap property containing this part's anchorages and their corresponding roles.ReadOnlyMultisetProperty<IVisualPart<? extends javafx.scene.Node>>
AbstractVisualPart.anchoredsUnmodifiableProperty()
ReadOnlyMultisetProperty<IVisualPart<? extends javafx.scene.Node>>
IVisualPart.anchoredsUnmodifiableProperty()
Returns an unmodifiable read-only multiset property representing the anchoreds of thisIVisualPart
.javafx.beans.property.ReadOnlyListProperty<IVisualPart<? extends javafx.scene.Node>>
AbstractVisualPart.childrenUnmodifiableProperty()
javafx.beans.property.ReadOnlyListProperty<IVisualPart<? extends javafx.scene.Node>>
IVisualPart.childrenUnmodifiableProperty()
Returns an unmodifiable read-only property containing the children of thisIVisualPart
.ObservableSetMultimap<IVisualPart<? extends javafx.scene.Node>,
String> AbstractVisualPart.getAnchoragesUnmodifiable()
Gets the value of the property anchoragesUnmodifiable.ObservableSetMultimap<IVisualPart<? extends javafx.scene.Node>,
String> IVisualPart.getAnchoragesUnmodifiable()
Returns an unmodifiableObservableSetMultimap
of this part's anchorages and their corresponding roles.static List<IVisualPart<? extends javafx.scene.Node>>
PartUtils.getAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> anchorages) Collects the anchoreds of all givenIVisualPart
s.static Set<IVisualPart<? extends javafx.scene.Node>>
PartUtils.getAnchoreds
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) Collects the anchoreds of the givenIVisualPart
which are registered under the specified role.ObservableMultiset<IVisualPart<? extends javafx.scene.Node>>
AbstractVisualPart.getAnchoredsUnmodifiable()
Gets the value of the property anchoredsUnmodifiable.ObservableMultiset<IVisualPart<? extends javafx.scene.Node>>
IVisualPart.getAnchoredsUnmodifiable()
Returns an unmodifiableObservableMultiset
of this part's anchoreds.javafx.collections.ObservableList<IVisualPart<? extends javafx.scene.Node>>
AbstractVisualPart.getChildrenUnmodifiable()
Gets the value of the property childrenUnmodifiable.javafx.collections.ObservableList<IVisualPart<? extends javafx.scene.Node>>
IVisualPart.getChildrenUnmodifiable()
Returns an unmodifiableObservableList
of this part's children.javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<? extends javafx.scene.Node>>
AbstractVisualPart.parentProperty()
javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<? extends javafx.scene.Node>>
IVisualPart.parentProperty()
Returns a read-only property that refers to the parent of thisIVisualPart
.Methods in org.eclipse.gef.mvc.fx.parts with parameters of type IVisualPartModifier and TypeMethodDescriptionvoid
AbstractVisualPart.addChild
(IVisualPart<? extends javafx.scene.Node> child) void
AbstractVisualPart.addChild
(IVisualPart<? extends javafx.scene.Node> child, int index) void
IVisualPart.addChild
(IVisualPart<? extends javafx.scene.Node> child) Adds the given child to the list of this part's children.void
IVisualPart.addChild
(IVisualPart<? extends javafx.scene.Node> child, int index) Adds the given child to the list of this part's children at the specified index.void
AbstractVisualPart.attachAnchored
(IVisualPart<? extends javafx.scene.Node> anchored) void
IVisualPart.attachAnchored
(IVisualPart<? extends javafx.scene.Node> anchored) Used by an anchoredIVisualPart
to establish an anchorage-anchored relationship with this anchorageIVisualPart
.void
AbstractVisualPart.attachToAnchorage
(IVisualPart<? extends javafx.scene.Node> anchorage) void
AbstractVisualPart.attachToAnchorage
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) void
IVisualPart.attachToAnchorage
(IVisualPart<? extends javafx.scene.Node> anchorage) Attaches the givenIVisualPart
to the given anchorage under the "default" role.void
IVisualPart.attachToAnchorage
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) Attaches the givenIVisualPart
to the given anchorage under the given role.protected List<IHandlePart<? extends javafx.scene.Node>>
DefaultHoverIntentHandlePartFactory.createHoverHandlePartsForCurve
(IVisualPart<? extends javafx.scene.Node> target, Map<Object, Object> contextMap, Provider<BezierCurve[]> segmentsProvider) Creates hover handle parts for a handle geometry that is anICurve
.protected List<IHandlePart<? extends javafx.scene.Node>>
DefaultHoverIntentHandlePartFactory.createHoverHandlePartsForPolygonalOutline
(IVisualPart<? extends javafx.scene.Node> target, Map<Object, Object> contextMap, Provider<BezierCurve[]> segmentsProvider) protected List<IHandlePart<? extends javafx.scene.Node>>
DefaultHoverIntentHandlePartFactory.createHoverHandlePartsForRectangularOutline
(IVisualPart<? extends javafx.scene.Node> target, Map<Object, Object> contextMap, Provider<BezierCurve[]> segmentsProvider) Creates hover handle parts for a handle geometry that is aRectangle
.protected IFeedbackPart<? extends javafx.scene.Node>
DefaultSelectionFeedbackPartFactory.createLinkFeedbackPart
(IVisualPart<? extends javafx.scene.Node> anchorage, Provider<? extends IGeometry> anchorageLinkFeedbackGeometryProvider, IVisualPart<? extends javafx.scene.Node> anchored, Provider<? extends IGeometry> anchoredLinkFeedbackGeometryProvider, String role) Creates a feedback-line between an anchored part and its anchorage.protected List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory.createSingleSelectionHandleParts
(IVisualPart<? extends javafx.scene.Node> target, Map<Object, Object> contextMap) Creates handle parts for a single selection.protected List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForCurve
(IVisualPart<? extends javafx.scene.Node> target, Map<Object, Object> contextMap, Provider<BezierCurve[]> segmentsProvider) Creates handle parts for a single selection of which the handle geometry is anICurve
.protected List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForPolygonalOutline
(IVisualPart<? extends javafx.scene.Node> target, Map<Object, Object> contextMap, Provider<BezierCurve[]> segmentsProvider) protected List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForRectangularOutline
(IVisualPart<? extends javafx.scene.Node> target, Map<Object, Object> contextMap, Provider<BezierCurve[]> segmentsProvider) Creates handle parts for a single selection of which the handle geometry is aRectangle
.void
AbstractVisualPart.detachAnchored
(IVisualPart<? extends javafx.scene.Node> anchored) void
IVisualPart.detachAnchored
(IVisualPart<? extends javafx.scene.Node> anchored) Used by an anchoredIVisualPart
to unestablish an anchorage-anchored relationship with this anchorageIVisualPart
.void
AbstractVisualPart.detachFromAnchorage
(IVisualPart<? extends javafx.scene.Node> anchorage) void
AbstractVisualPart.detachFromAnchorage
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) void
IVisualPart.detachFromAnchorage
(IVisualPart<? extends javafx.scene.Node> anchorage) Detaches thisIVisualPart
from the given anchorageIVisualPart
under the 'default' role.void
IVisualPart.detachFromAnchorage
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) Detaches thisIVisualPart
from the given anchorageIVisualPart
under the given role.protected IViewer
AbstractVisualPart.determineViewer
(IVisualPart<? extends javafx.scene.Node> parent, Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds) Determines the viewer reference via the given parent or any of the given anchoreds.protected IViewer
LayeredRootPart.determineViewer
(IVisualPart<? extends javafx.scene.Node> parent, Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds) protected void
AbstractFeedbackPart.doAddChildVisual
(IVisualPart<? extends javafx.scene.Node> child, int index) protected void
AbstractHandlePart.doAddChildVisual
(IVisualPart<? extends javafx.scene.Node> child, int index) protected void
AbstractVisualPart.doAddChildVisual
(IVisualPart<? extends javafx.scene.Node> child, int index) Performs the addition of the child's visual to thisIVisualPart
's visual.protected void
LayeredRootPart.doAddChildVisual
(IVisualPart<? extends javafx.scene.Node> child, int index) protected void
AbstractFeedbackPart.doAttachToAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) protected void
AbstractHandlePart.doAttachToAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) protected void
AbstractVisualPart.doAttachToAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) Attaches this part's visual to the visual of the given anchorage.protected void
LayeredRootPart.doAttachToAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) protected void
SnappingFeedbackPart.doAttachToAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) protected void
AbstractFeedbackPart.doDetachFromAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) protected void
AbstractHandlePart.doDetachFromAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) protected void
AbstractVisualPart.doDetachFromAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) Detaches this part's visual from the visual of the given anchorage.protected void
LayeredRootPart.doDetachFromAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) protected void
SnappingFeedbackPart.doDetachFromAnchorageVisual
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) protected void
AbstractFeedbackPart.doRemoveChildVisual
(IVisualPart<? extends javafx.scene.Node> child, int index) protected void
AbstractHandlePart.doRemoveChildVisual
(IVisualPart<? extends javafx.scene.Node> child, int index) protected void
AbstractVisualPart.doRemoveChildVisual
(IVisualPart<? extends javafx.scene.Node> child, int index) Removes the child's visual from thisIVisualPart
's visual.protected void
LayeredRootPart.doRemoveChildVisual
(IVisualPart<? extends javafx.scene.Node> child, int index) static Set<IVisualPart<? extends javafx.scene.Node>>
PartUtils.getAnchoreds
(IVisualPart<? extends javafx.scene.Node> anchorage, String role) Collects the anchoreds of the givenIVisualPart
which are registered under the specified role.void
AbstractVisualPart.removeChild
(IVisualPart<? extends javafx.scene.Node> child) void
IVisualPart.removeChild
(IVisualPart<? extends javafx.scene.Node> child) Removes the givenIVisualPart
from the list of this part's children.void
AbstractVisualPart.reorderChild
(IVisualPart<? extends javafx.scene.Node> child, int index) void
IVisualPart.reorderChild
(IVisualPart<? extends javafx.scene.Node> child, int index) Swaps the givenIVisualPart
with the part at the given index position within this part's list of children.void
AbstractVisualPart.setParent
(IVisualPart<? extends javafx.scene.Node> newParent) Sets the parentIVisualPart
.void
IVisualPart.setParent
(IVisualPart<? extends javafx.scene.Node> parent) Used by a parentIVisualPart
to establish/unestablish a parent-child relationship with this childIVisualPart
.Method parameters in org.eclipse.gef.mvc.fx.parts with type arguments of type IVisualPartModifier and TypeMethodDescriptionvoid
AbstractVisualPart.addChildren
(List<? extends IVisualPart<? extends javafx.scene.Node>> children) void
AbstractVisualPart.addChildren
(List<? extends IVisualPart<? extends javafx.scene.Node>> children, int index) void
IVisualPart.addChildren
(List<? extends IVisualPart<? extends javafx.scene.Node>> children) Adds the given children to the list of this part's children.void
IVisualPart.addChildren
(List<? extends IVisualPart<? extends javafx.scene.Node>> children, int index) Adds the given children to the list of this part's children at the specified index.List<IFeedbackPart<? extends javafx.scene.Node>>
DefaultFocusFeedbackPartFactory.createFeedbackParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) List<IFeedbackPart<? extends javafx.scene.Node>>
DefaultHoverFeedbackPartFactory.createFeedbackParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) List<IFeedbackPart<? extends javafx.scene.Node>>
DefaultSelectionFeedbackPartFactory.createFeedbackParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) List<IFeedbackPart<? extends javafx.scene.Node>>
DefaultSnappingFeedbackPartFactory.createFeedbackParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) List<IFeedbackPart<? extends javafx.scene.Node>>
IFeedbackPartFactory.createFeedbackParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) Creates specificIFeedbackPart
s for the given targets.List<IHandlePart<? extends javafx.scene.Node>>
DefaultHoverIntentHandlePartFactory.createHandleParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory.createHandleParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) List<IHandlePart<? extends javafx.scene.Node>>
IHandlePartFactory.createHandleParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) Creates specificIHandlePart
s for the given targets.protected List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory.createMultiSelectionHandleParts
(List<? extends IVisualPart<? extends javafx.scene.Node>> targets, Map<Object, Object> contextMap) Creates handle parts for a multi selection.protected IViewer
AbstractVisualPart.determineViewer
(IVisualPart<? extends javafx.scene.Node> parent, Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds) Determines the viewer reference via the given parent or any of the given anchoreds.protected IViewer
LayeredRootPart.determineViewer
(IVisualPart<? extends javafx.scene.Node> parent, Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds) static <T extends IVisualPart<? extends javafx.scene.Node>>
List<T>PartUtils.filterParts
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, Class<T> type) Searches the given collection ofIVisualPart
s for elements of the specified type.static <T extends IVisualPart<? extends javafx.scene.Node>>
List<T>PartUtils.filterParts
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, Predicate<? super IVisualPart<? extends javafx.scene.Node>> filter) Searches the given collection ofIVisualPart
s for elements of the specified type.static <T extends IVisualPart<? extends javafx.scene.Node>>
List<T>PartUtils.filterParts
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, Predicate<? super IVisualPart<? extends javafx.scene.Node>> filter) Searches the given collection ofIVisualPart
s for elements of the specified type.static List<IVisualPart<? extends javafx.scene.Node>>
PartUtils.getAnchoreds
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> anchorages) Collects the anchoreds of all givenIVisualPart
s.static Rectangle
PartUtils.getUnionedVisualBoundsInScene
(Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts) Returns the unioned visual bounds of the givenIVisualPart
s in the coordinate system of theScene
.void
AbstractVisualPart.removeChildren
(List<? extends IVisualPart<? extends javafx.scene.Node>> children) void
IVisualPart.removeChildren
(List<? extends IVisualPart<? extends javafx.scene.Node>> children) Removes the givenIVisualPart
s from the list of this part's children. -
Uses of IVisualPart in org.eclipse.gef.mvc.fx.policies
Methods in org.eclipse.gef.mvc.fx.policies that return IVisualPartModifier and TypeMethodDescriptiondefault IVisualPart<? extends javafx.scene.Node>
IPolicy.getHost()
Methods in org.eclipse.gef.mvc.fx.policies with parameters of type IVisualPartModifier and TypeMethodDescriptionIContentPart<? extends javafx.scene.Node>
CreationPolicy.create
(Object content, IVisualPart<? extends javafx.scene.Node> parent, int index, SetMultimap<IContentPart<? extends javafx.scene.Node>, String> anchoreds, boolean doFocus, boolean doSelect) Creates anIContentPart
for the given contentObject
and establishes parent and anchored relationships for the newly created part.IContentPart<? extends javafx.scene.Node>
CreationPolicy.create
(Object content, IVisualPart<? extends javafx.scene.Node> parent, SetMultimap<IContentPart<? extends javafx.scene.Node>, String> anchoreds) Creates anIContentPart
for the given contentObject
and establishes parent and anchored relationships for the newly created part.void
ContentPolicy.setAdaptable
(IVisualPart<? extends javafx.scene.Node> adaptable) -
Uses of IVisualPart in org.eclipse.gef.mvc.fx.providers
Methods in org.eclipse.gef.mvc.fx.providers with parameters of type IVisualPartModifier and TypeMethodDescriptionDefaultAnchorProvider.get
(IVisualPart<? extends javafx.scene.Node> anchoredPart, String role) IAnchorProvider.get
(IVisualPart<? extends javafx.scene.Node> anchoredPart, String role) Returns anIAnchor
that should be used to provide a position for the given anchoredIVisualPart
and the given role. -
Uses of IVisualPart in org.eclipse.gef.mvc.fx.viewer
Methods in org.eclipse.gef.mvc.fx.viewer that return types with arguments of type IVisualPartModifier and TypeMethodDescriptionMap<javafx.scene.Node,
IVisualPart<? extends javafx.scene.Node>> InfiniteCanvasViewer.getVisualPartMap()
Map<javafx.scene.Node,
IVisualPart<? extends javafx.scene.Node>> IViewer.getVisualPartMap()
Returns theMap
for registeringIVisualPart
s by their visual.javafx.beans.property.ReadOnlyMapProperty<javafx.scene.Node,
IVisualPart<? extends javafx.scene.Node>> InfiniteCanvasViewer.visualPartMapProperty()
javafx.beans.property.ReadOnlyMapProperty<javafx.scene.Node,
IVisualPart<? extends javafx.scene.Node>> IViewer.visualPartMapProperty()
Returns an unmodifiable read-only map property that contains the registeredIVisualPart
s mapped to their respective visual.Methods in org.eclipse.gef.mvc.fx.viewer with parameters of type IVisualPartModifier and TypeMethodDescriptionvoid
InfiniteCanvasViewer.reveal
(IVisualPart<? extends javafx.scene.Node> visualPart) void
IViewer.reveal
(IVisualPart<? extends javafx.scene.Node> visualPart) Ensure that the visual of the givenIVisualPart
is visible in this viewer.