Uses of Interface
org.eclipse.gef.mvc.fx.parts.IVisualPart
-
Packages that use IVisualPart Package Description org.eclipse.gef.mvc.fx.behaviors This package contains JavaFX/MVC.FX-specificIBehavior
implementations.org.eclipse.gef.mvc.fx.models org.eclipse.gef.mvc.fx.operations This package contains allIUndoableOperation
implementations contributed by MVC.FX.org.eclipse.gef.mvc.fx.parts This package contains all JavaFX-specificIContentPart
,IVisualPart
,IFeedbackPart
, andIHandlePart
implementations and related classes.org.eclipse.gef.mvc.fx.policies This package contains allIPolicy
implementations contributed by MVC.FX.org.eclipse.gef.mvc.fx.providers org.eclipse.gef.mvc.fx.viewer This package contains a JavaFX-specificIViewer
implementation:InfiniteCanvasViewer
. -
-
Uses of IVisualPart in org.eclipse.gef.mvc.fx.behaviors
Methods in org.eclipse.gef.mvc.fx.behaviors that return IVisualPart Modifier and Type Method Description IVisualPart<? extends javafx.scene.Node>
AbstractBehavior. getAdaptable()
IVisualPart<? extends javafx.scene.Node>
AbstractBehavior. getHost()
IVisualPart<Connection>
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 IVisualPart Modifier and Type Method Description javafx.beans.property.ReadOnlyObjectProperty<IVisualPart<? extends javafx.scene.Node>>
AbstractBehavior. adaptableProperty()
protected java.util.Map<java.util.Set<IVisualPart<? extends javafx.scene.Node>>,java.util.List<IFeedbackPart<? extends javafx.scene.Node>>>
AbstractBehavior. getFeedbackPerTargetSet()
Returns the map that stores the feedback parts per target part set.protected java.util.Map<java.util.Set<IVisualPart<? extends javafx.scene.Node>>,java.util.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 IVisualPart Modifier and Type Method Description protected 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 java.util.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 java.util.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)
void
ContentBehavior. synchronizeContentPartAnchorages(IVisualPart<? extends javafx.scene.Node> anchored, SetMultimap<? extends java.lang.Object,? extends java.lang.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, java.util.List<? extends java.lang.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, java.util.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 IVisualPart Modifier and Type Method Description protected void
AbstractBehavior. addAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.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(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.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(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.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(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.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(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds)
protected void
FocusBehavior. addAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> anchoreds)
protected void
AbstractBehavior. addFeedback(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Adds feedback for the given target parts.protected void
AbstractBehavior. addHandles(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Adds handles for the given target parts.protected java.util.List<IFeedbackPart<? extends javafx.scene.Node>>
AbstractBehavior. getFeedback(java.util.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 java.util.List<IHandlePart<? extends javafx.scene.Node>>
AbstractBehavior. getHandles(java.util.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(java.util.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(java.util.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(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.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(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.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(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Removes feedback for the given targets.protected void
AbstractBehavior. removeFeedback(java.util.Set<? extends IVisualPart<? extends javafx.scene.Node>> targetSet)
Removes feedback for the given target parts.protected void
AbstractBehavior. removeHandles(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> targets)
Removes handles for the given target parts.protected void
AbstractBehavior. removeHandles(java.util.Set<? extends IVisualPart<? extends javafx.scene.Node>> targetSet)
Removes handles for the given target parts.IHandlePart<? extends javafx.scene.Node>
AbstractBehavior. updateHandles(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.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 IVisualPart Modifier and Type Method Description IVisualPart<? 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 IVisualPart Modifier and Type Method Description javafx.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 IVisualPart Modifier and Type Method Description void
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 IVisualPart Modifier and Type Method Description void
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 IVisualPart Constructor Description RevealOperation(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.parts Modifier and Type Interface Description interface
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 IVisualPart Modifier and Type Class Description class
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
CircleSegmentHandlePart
class
FocusFeedbackPart
TheFocusFeedbackPart
visualizes focus feedback.class
HoverFeedbackPart
class
LayeredRootPart
TheLayeredRootPart
is anIRootPart
that manages a number of layers for the visualization, namely, the content layer, feedback layer, and handle layer.class
RectangleSegmentHandlePart
AnAbstractSegmentHandlePart
with a rectangularRectangle
visual.class
SelectionFeedbackPart
TheSelectionFeedbackPart
is anAbstractFeedbackPart
that is parameterized byGeometryNode<IGeometry>
.class
SelectionLinkFeedbackPart
TheSelectionLinkFeedbackPart
is anSelectionFeedbackPart
that uses a dotted line as its visualization.class
SnappingFeedbackPart
TheSnappingFeedbackPart
visualizes aSnappingModel.SnappingLocation
by drawing a red line at theSnappingModel.SnappingLocation
through the whole viewport.class
SquareSegmentHandlePart
AnAbstractSegmentHandlePart
with a quadraticRectangle
visual.Methods in org.eclipse.gef.mvc.fx.parts with type parameters of type IVisualPart Modifier and Type Method Description static <T extends IVisualPart<? extends javafx.scene.Node>>
java.util.List<T>PartUtils. filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, java.lang.Class<T> type)
Searches the given collection ofIVisualPart
s for elements of the specified type.static <T extends IVisualPart<? extends javafx.scene.Node>>
java.util.List<T>PartUtils. filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, java.util.function.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 IVisualPart Modifier and Type Method Description IVisualPart<? extends javafx.scene.Node>
AbstractVisualPart. getParent()
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 IVisualPart Modifier and Type Method Description ReadOnlySetMultimapProperty<IVisualPart<? extends javafx.scene.Node>,java.lang.String>
AbstractVisualPart. anchoragesUnmodifiableProperty()
ReadOnlySetMultimapProperty<IVisualPart<? extends javafx.scene.Node>,java.lang.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>,java.lang.String>
AbstractVisualPart. getAnchoragesUnmodifiable()
ObservableSetMultimap<IVisualPart<? extends javafx.scene.Node>,java.lang.String>
IVisualPart. getAnchoragesUnmodifiable()
Returns an unmodifiableObservableSetMultimap
of this part's anchorages and their corresponding roles.static java.util.List<IVisualPart<? extends javafx.scene.Node>>
PartUtils. getAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> anchorages)
Collects the anchoreds of all givenIVisualPart
s.static java.util.Set<IVisualPart<? extends javafx.scene.Node>>
PartUtils. getAnchoreds(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.String role)
Collects the anchoreds of the givenIVisualPart
which are registered under the specified role.ObservableMultiset<IVisualPart<? extends javafx.scene.Node>>
AbstractVisualPart. getAnchoredsUnmodifiable()
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()
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 IVisualPart Modifier and Type Method Description void
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, java.lang.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, java.lang.String role)
Attaches the givenIVisualPart
to the given anchorage under the given role.protected java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultHoverIntentHandlePartFactory. createHoverHandlePartsForCurve(IVisualPart<? extends javafx.scene.Node> target, java.util.Map<java.lang.Object,java.lang.Object> contextMap, Provider<BezierCurve[]> segmentsProvider)
Creates hover handle parts for a handle geometry that is anICurve
.protected java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultHoverIntentHandlePartFactory. createHoverHandlePartsForPolygonalOutline(IVisualPart<? extends javafx.scene.Node> target, java.util.Map<java.lang.Object,java.lang.Object> contextMap, Provider<BezierCurve[]> segmentsProvider)
protected java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultHoverIntentHandlePartFactory. createHoverHandlePartsForRectangularOutline(IVisualPart<? extends javafx.scene.Node> target, java.util.Map<java.lang.Object,java.lang.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, java.lang.String role)
Creates a feedback-line between an anchored part and its anchorage.protected java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory. createSingleSelectionHandleParts(IVisualPart<? extends javafx.scene.Node> target, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates handle parts for a single selection.protected java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory. createSingleSelectionHandlePartsForCurve(IVisualPart<? extends javafx.scene.Node> target, java.util.Map<java.lang.Object,java.lang.Object> contextMap, Provider<BezierCurve[]> segmentsProvider)
Creates handle parts for a single selection of which the handle geometry is anICurve
.protected java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory. createSingleSelectionHandlePartsForPolygonalOutline(IVisualPart<? extends javafx.scene.Node> target, java.util.Map<java.lang.Object,java.lang.Object> contextMap, Provider<BezierCurve[]> segmentsProvider)
protected java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory. createSingleSelectionHandlePartsForRectangularOutline(IVisualPart<? extends javafx.scene.Node> target, java.util.Map<java.lang.Object,java.lang.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, java.lang.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, java.lang.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, java.lang.String role)
protected void
AbstractHandlePart. doAttachToAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.String role)
protected void
AbstractVisualPart. doAttachToAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.String role)
Attaches this part's visual to the visual of the given anchorage.protected void
LayeredRootPart. doAttachToAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.String role)
protected void
SnappingFeedbackPart. doAttachToAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.String role)
protected void
AbstractFeedbackPart. doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.String role)
protected void
AbstractHandlePart. doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.String role)
protected void
AbstractVisualPart. doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.String role)
Detaches this part's visual from the visual of the given anchorage.protected void
LayeredRootPart. doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.String role)
protected void
SnappingFeedbackPart. doDetachFromAnchorageVisual(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.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 java.util.Set<IVisualPart<? extends javafx.scene.Node>>
PartUtils. getAnchoreds(IVisualPart<? extends javafx.scene.Node> anchorage, java.lang.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 IVisualPart Modifier and Type Method Description void
AbstractVisualPart. addChildren(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children)
void
AbstractVisualPart. addChildren(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children, int index)
void
IVisualPart. addChildren(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children)
Adds the given children to the list of this part's children.void
IVisualPart. addChildren(java.util.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.java.util.List<IFeedbackPart<? extends javafx.scene.Node>>
DefaultFocusFeedbackPartFactory. createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
java.util.List<IFeedbackPart<? extends javafx.scene.Node>>
DefaultHoverFeedbackPartFactory. createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
java.util.List<IFeedbackPart<? extends javafx.scene.Node>>
DefaultSelectionFeedbackPartFactory. createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
java.util.List<IFeedbackPart<? extends javafx.scene.Node>>
DefaultSnappingFeedbackPartFactory. createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
java.util.List<IFeedbackPart<? extends javafx.scene.Node>>
IFeedbackPartFactory. createFeedbackParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specificIFeedbackPart
s for the given targets.java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultHoverIntentHandlePartFactory. createHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory. createHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
java.util.List<IHandlePart<? extends javafx.scene.Node>>
IHandlePartFactory. createHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates specificIHandlePart
s for the given targets.protected java.util.List<IHandlePart<? extends javafx.scene.Node>>
DefaultSelectionHandlePartFactory. createMultiSelectionHandleParts(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> targets, java.util.Map<java.lang.Object,java.lang.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>>
java.util.List<T>PartUtils. filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, java.lang.Class<T> type)
Searches the given collection ofIVisualPart
s for elements of the specified type.static <T extends IVisualPart<? extends javafx.scene.Node>>
java.util.List<T>PartUtils. filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, java.util.function.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>>
java.util.List<T>PartUtils. filterParts(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> parts, java.util.function.Predicate<? super IVisualPart<? extends javafx.scene.Node>> filter)
Searches the given collection ofIVisualPart
s for elements of the specified type.static java.util.List<IVisualPart<? extends javafx.scene.Node>>
PartUtils. getAnchoreds(java.util.Collection<? extends IVisualPart<? extends javafx.scene.Node>> anchorages)
Collects the anchoreds of all givenIVisualPart
s.static Rectangle
PartUtils. getUnionedVisualBoundsInScene(java.util.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(java.util.List<? extends IVisualPart<? extends javafx.scene.Node>> children)
void
IVisualPart. removeChildren(java.util.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 IVisualPart Modifier and Type Method Description default IVisualPart<? extends javafx.scene.Node>
IPolicy. getHost()
Methods in org.eclipse.gef.mvc.fx.policies with parameters of type IVisualPart Modifier and Type Method Description IContentPart<? extends javafx.scene.Node>
CreationPolicy. create(java.lang.Object content, IVisualPart<? extends javafx.scene.Node> parent, int index, SetMultimap<IContentPart<? extends javafx.scene.Node>,java.lang.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(java.lang.Object content, IVisualPart<? extends javafx.scene.Node> parent, SetMultimap<IContentPart<? extends javafx.scene.Node>,java.lang.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 IVisualPart Modifier and Type Method Description IAnchor
DefaultAnchorProvider. get(IVisualPart<? extends javafx.scene.Node> anchoredPart, java.lang.String role)
IAnchor
IAnchorProvider. get(IVisualPart<? extends javafx.scene.Node> anchoredPart, java.lang.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 IVisualPart Modifier and Type Method Description java.util.Map<javafx.scene.Node,IVisualPart<? extends javafx.scene.Node>>
InfiniteCanvasViewer. getVisualPartMap()
java.util.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 IVisualPart Modifier and Type Method Description void
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.
-