Package | Description |
---|---|
org.eclipse.gef.mvc.fx.behaviors |
This package contains JavaFX/MVC.FX-specific
IBehavior implementations. |
org.eclipse.gef.mvc.fx.models | |
org.eclipse.gef.mvc.fx.operations |
This package contains all
IUndoableOperation
implementations contributed by MVC.FX. |
org.eclipse.gef.mvc.fx.parts |
This package contains all JavaFX-specific
IContentPart ,
IVisualPart ,
IFeedbackPart , and
IHandlePart implementations and related
classes. |
org.eclipse.gef.mvc.fx.policies |
This package contains all
IPolicy
implementations contributed by MVC.FX. |
org.eclipse.gef.mvc.fx.providers | |
org.eclipse.gef.mvc.fx.viewer |
This package contains a JavaFX-specific
IViewer implementation:
InfiniteCanvasViewer . |
Modifier and Type | Method and Description |
---|---|
IVisualPart<? extends Node> |
AbstractBehavior.getAdaptable()
Gets the value of the property adaptable.
|
IVisualPart<? extends Node> |
AbstractBehavior.getHost() |
IVisualPart<? extends Node> |
IBehavior.getHost()
Returns the host
IVisualPart of this IBehavior , i.e. the
part where this behavior is registered as an adapter. |
IVisualPart<Connection> |
ConnectionClickableAreaBehavior.getHost() |
Modifier and Type | Method and Description |
---|---|
ReadOnlyObjectProperty<IVisualPart<? extends Node>> |
AbstractBehavior.adaptableProperty() |
protected Map<Set<IVisualPart<? extends Node>>,List<IFeedbackPart<? extends Node>>> |
AbstractBehavior.getFeedbackPerTargetSet()
Returns the map that stores the feedback parts per target part set.
|
protected Map<Set<IVisualPart<? extends Node>>,List<IHandlePart<? extends Node>>> |
AbstractBehavior.getHandlesPerTargetSet()
Returns the map that stores the handle parts per target part set.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBehavior.addFeedback(IVisualPart<? extends Node> target)
Adds feedback for the given target part.
|
protected void |
AbstractBehavior.addHandles(IVisualPart<? extends Node> target)
Adds handles for the given target part.
|
protected List<IFeedbackPart<? extends Node>> |
AbstractBehavior.getFeedback(IVisualPart<? extends Node> target)
Returns a list that contains all
IHandlePart s that were generated
for the given target part by this IBehavior . |
protected List<IHandlePart<? extends Node>> |
AbstractBehavior.getHandles(IVisualPart<? extends Node> target)
Returns a list that contains all
IHandlePart s that were generated
for the given target part by this IBehavior . |
protected boolean |
AbstractBehavior.hasFeedback(IVisualPart<? extends Node> target)
Returns
true 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 Node> target)
Returns
true 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 Node> target)
Removes feedback for the given target.
|
protected void |
AbstractBehavior.removeHandles(IVisualPart<? extends Node> target)
Removes handles for the given target.
|
void |
AbstractBehavior.setAdaptable(IVisualPart<? extends Node> adaptable)
Sets the value of the property adaptable.
|
void |
ContentBehavior.synchronizeContentPartAnchorages(IVisualPart<? extends Node> anchored,
com.google.common.collect.SetMultimap<? extends Object,? extends String> contentAnchorages)
Updates the host
IVisualPart 's IContentPart anchorages
(see getAnchoragesUnmodifiable() ) so that it is in
sync with the set of content anchorages that is passed in. |
void |
ContentBehavior.synchronizeContentPartChildren(IVisualPart<? extends Node> parent,
List<? extends Object> contentChildren)
Updates the host
IVisualPart 's IContentPart children (see
getChildrenUnmodifiable() ) so that it is in sync with
the set of content children that is passed in. |
IHandlePart<? extends Node> |
AbstractBehavior.updateHandles(IVisualPart<? extends Node> target,
Comparator<IHandlePart<? extends Node>> interactedWithComparator,
IHandlePart<? extends Node> interactedWith)
Updates the handles of the given target part.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractBehavior.addAnchoreds(Collection<? extends IVisualPart<? extends Node>> targets,
List<? extends IVisualPart<? extends 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 Node>> targets,
List<? extends IVisualPart<? extends Node>> anchoreds)
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 Node>> targets,
List<? extends IVisualPart<? extends Node>> anchoreds) |
protected void |
FocusBehavior.addAnchoreds(Collection<? extends IVisualPart<? extends Node>> targets,
List<? extends IVisualPart<? extends Node>> anchoreds) |
protected void |
AbstractBehavior.addAnchoreds(Collection<? extends IVisualPart<? extends Node>> targets,
List<? extends IVisualPart<? extends 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 Node>> targets,
List<? extends IVisualPart<? extends 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.addFeedback(List<? extends IVisualPart<? extends Node>> targets)
Adds feedback for the given target parts.
|
protected void |
AbstractBehavior.addHandles(List<? extends IVisualPart<? extends Node>> targets)
Adds handles for the given target parts.
|
protected List<IFeedbackPart<? extends Node>> |
AbstractBehavior.getFeedback(Collection<? extends IVisualPart<? extends Node>> targets)
Returns a list that contains all
IHandlePart s that were generated
for the given target parts by this IBehavior . |
protected List<IHandlePart<? extends Node>> |
AbstractBehavior.getHandles(Collection<? extends IVisualPart<? extends Node>> targets)
Returns a list that contains all
IHandlePart s that were generated
for the given target parts by this IBehavior . |
protected boolean |
AbstractBehavior.hasFeedback(Collection<? extends IVisualPart<? extends Node>> targets)
Returns
true 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 Node>> targets)
Returns
true 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 Node>> targets,
List<? extends IVisualPart<? extends 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 Node>> targets,
List<? extends IVisualPart<? extends 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 Node>> targets)
Removes feedback for the given targets.
|
protected void |
AbstractBehavior.removeFeedback(Set<? extends IVisualPart<? extends Node>> targetSet)
Removes feedback for the given target parts.
|
protected void |
AbstractBehavior.removeHandles(Collection<? extends IVisualPart<? extends Node>> targets)
Removes handles for the given target parts.
|
protected void |
AbstractBehavior.removeHandles(Set<? extends IVisualPart<? extends Node>> targetSet)
Removes handles for the given target parts.
|
IHandlePart<? extends Node> |
AbstractBehavior.updateHandles(List<? extends IVisualPart<? extends Node>> targets,
Comparator<IHandlePart<? extends Node>> interactedWithComparator,
IHandlePart<? extends Node> interactedWith)
Updates the handles of the given targets.
|
Modifier and Type | Method and Description |
---|---|
IVisualPart<? extends Node> |
HoverModel.getHover()
Returns the currently hovered
IVisualPart or null if
no visual part is hovered. |
Modifier and Type | Method and Description |
---|---|
ObjectProperty<IVisualPart<? extends Node>> |
HoverModel.hoverProperty()
Returns an object property representing the current hover part.
|
Modifier and Type | Method and Description |
---|---|
void |
HoverModel.setHover(IVisualPart<? extends Node> cp)
Sets the hovered
IVisualPart to the given value. |
Modifier and Type | Method and Description |
---|---|
void |
RevealOperation.setPart(IVisualPart<? extends Node> part)
Sets the part that is to be revealed.
|
Constructor and Description |
---|
RevealOperation(IVisualPart<? extends Node> part)
Constructs a new
RevealOperation that will reveal the given
IVisualPart upon execution. |
SetRefreshVisualOperation(IVisualPart<? extends Node> part,
boolean from,
boolean to)
Creates a new
SetRefreshVisualOperation for setting the
isRefreshVisual() flag of the given
IVisualPart to the to value on execution and to the
from value on undoing. |
Modifier and Type | Interface and Description |
---|---|
interface |
IBendableContentPart<V extends Node>
An
IContentPart that supports content related bend, i.e. manipulation
of control points. |
interface |
IContentPart<V extends Node>
An
IVisualPart that visualizes an underlying content element. |
interface |
IFeedbackPart<V extends Node>
An
IFeedbackPart 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 Node>
An
IHandlePart 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 Node>
An
IContentPart that supports content related resize. |
interface |
IRootPart<V extends Node>
|
interface |
ITransformableContentPart<V extends Node>
An
IContentPart that supports content related transformations. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContentPart<V extends Node>
The
AbstractContentPart is an IContentPart implementation
that binds the VR type parameter (visual root type) to Node . |
class |
AbstractFeedbackPart<V extends Node>
Abstract base implementation for a JavaFX-specific
IFeedbackPart . |
class |
AbstractHandlePart<V extends Node>
Abstract base implementation for a JavaFX-specific
IHandlePart . |
class |
AbstractSegmentHandlePart<N extends Node>
An
AbstractSegmentHandlePart is bound to a segment of a poly-bezier
handle geometry, represented by an array of BezierCurve s. |
class |
AbstractVisualPart<V extends Node>
The
AbstractVisualPart is an abstract implementation of the
IVisualPart interface. |
class |
CircleSegmentHandlePart
|
class |
FocusFeedbackPart
The
FocusFeedbackPart visualizes focus feedback. |
class |
HoverFeedbackPart
|
class |
LayeredRootPart
The
LayeredRootPart is an IRootPart that manages a number of
layers for the visualization, namely, the content layer, feedback layer, and
handle layer. |
class |
RectangleSegmentHandlePart
An
AbstractSegmentHandlePart with a rectangular
Rectangle visual. |
class |
SelectionFeedbackPart
The
SelectionFeedbackPart is an AbstractFeedbackPart that is
parameterized by GeometryNode<IGeometry> . |
class |
SelectionLinkFeedbackPart
The
SelectionLinkFeedbackPart is an SelectionFeedbackPart
that uses a dotted line as its visualization. |
class |
SnappingFeedbackPart
The
SnappingFeedbackPart visualizes a
SnappingModel.SnappingLocation by drawing a red line at the
SnappingModel.SnappingLocation through the whole viewport. |
class |
SquareSegmentHandlePart
An
AbstractSegmentHandlePart with a quadratic
Rectangle visual. |
Modifier and Type | Method and Description |
---|---|
static <T extends IVisualPart<? extends Node>> |
PartUtils.filterParts(Collection<? extends IVisualPart<? extends Node>> parts,
Class<T> type)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
static <T extends IVisualPart<? extends Node>> |
PartUtils.filterParts(Collection<? extends IVisualPart<? extends Node>> parts,
Predicate<? super IVisualPart<? extends Node>> filter)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
Modifier and Type | Method and Description |
---|---|
IVisualPart<? extends Node> |
AbstractVisualPart.getParent()
Gets the value of the property parent.
|
IVisualPart<? extends Node> |
IVisualPart.getParent()
Returns the parent of this part.
|
static IVisualPart<? extends Node> |
PartUtils.retrieveVisualPart(IViewer viewer,
Node target)
Returns the first
IVisualPart in the visual hierarchy of the
given Node . |
Modifier and Type | Method and Description |
---|---|
ReadOnlySetMultimapProperty<IVisualPart<? extends Node>,String> |
AbstractVisualPart.anchoragesUnmodifiableProperty() |
ReadOnlySetMultimapProperty<IVisualPart<? extends Node>,String> |
IVisualPart.anchoragesUnmodifiableProperty()
Returns a read-only set-multimap property containing this part's
anchorages and their corresponding roles.
|
ReadOnlyMultisetProperty<IVisualPart<? extends Node>> |
AbstractVisualPart.anchoredsUnmodifiableProperty() |
ReadOnlyMultisetProperty<IVisualPart<? extends Node>> |
IVisualPart.anchoredsUnmodifiableProperty()
Returns an unmodifiable read-only multiset property representing the
anchoreds of this
IVisualPart . |
ReadOnlyListProperty<IVisualPart<? extends Node>> |
AbstractVisualPart.childrenUnmodifiableProperty() |
ReadOnlyListProperty<IVisualPart<? extends Node>> |
IVisualPart.childrenUnmodifiableProperty()
Returns an unmodifiable read-only property containing the children of
this
IVisualPart . |
ObservableSetMultimap<IVisualPart<? extends Node>,String> |
AbstractVisualPart.getAnchoragesUnmodifiable()
Gets the value of the property anchoragesUnmodifiable.
|
ObservableSetMultimap<IVisualPart<? extends Node>,String> |
IVisualPart.getAnchoragesUnmodifiable()
Returns an unmodifiable
ObservableSetMultimap of this part's
anchorages and their corresponding roles. |
static List<IVisualPart<? extends Node>> |
PartUtils.getAnchoreds(Collection<? extends IVisualPart<? extends Node>> anchorages)
Collects the anchoreds of all given
IVisualPart s. |
static Set<IVisualPart<? extends Node>> |
PartUtils.getAnchoreds(IVisualPart<? extends Node> anchorage,
String role)
Collects the anchoreds of the given
IVisualPart which are
registered under the specified role. |
ObservableMultiset<IVisualPart<? extends Node>> |
AbstractVisualPart.getAnchoredsUnmodifiable()
Gets the value of the property anchoredsUnmodifiable.
|
ObservableMultiset<IVisualPart<? extends Node>> |
IVisualPart.getAnchoredsUnmodifiable()
Returns an unmodifiable
ObservableMultiset of this part's
anchoreds. |
ObservableList<IVisualPart<? extends Node>> |
AbstractVisualPart.getChildrenUnmodifiable()
Gets the value of the property childrenUnmodifiable.
|
ObservableList<IVisualPart<? extends Node>> |
IVisualPart.getChildrenUnmodifiable()
Returns an unmodifiable
ObservableList of this part's children. |
ReadOnlyObjectProperty<IVisualPart<? extends Node>> |
AbstractVisualPart.parentProperty() |
ReadOnlyObjectProperty<IVisualPart<? extends Node>> |
IVisualPart.parentProperty()
Returns a read-only property that refers to the parent of this
IVisualPart . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVisualPart.addChild(IVisualPart<? extends Node> child) |
void |
IVisualPart.addChild(IVisualPart<? extends Node> child)
Adds the given child to the list of this part's children.
|
void |
AbstractVisualPart.addChild(IVisualPart<? extends Node> child,
int index) |
void |
IVisualPart.addChild(IVisualPart<? extends 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 Node> anchored) |
void |
IVisualPart.attachAnchored(IVisualPart<? extends Node> anchored)
Used by an anchored
IVisualPart to establish an
anchorage-anchored relationship with this anchorage IVisualPart . |
void |
AbstractVisualPart.attachToAnchorage(IVisualPart<? extends Node> anchorage) |
void |
IVisualPart.attachToAnchorage(IVisualPart<? extends Node> anchorage)
Attaches the given
IVisualPart to the given anchorage under the
"default" role. |
void |
AbstractVisualPart.attachToAnchorage(IVisualPart<? extends Node> anchorage,
String role) |
void |
IVisualPart.attachToAnchorage(IVisualPart<? extends Node> anchorage,
String role)
Attaches the given
IVisualPart to the given anchorage under the
given role. |
protected List<IHandlePart<? extends Node>> |
DefaultHoverIntentHandlePartFactory.createHoverHandlePartsForCurve(IVisualPart<? extends Node> target,
Map<Object,Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
Creates hover handle parts for a handle geometry that is an
ICurve . |
protected List<IHandlePart<? extends Node>> |
DefaultHoverIntentHandlePartFactory.createHoverHandlePartsForPolygonalOutline(IVisualPart<? extends Node> target,
Map<Object,Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
|
protected List<IHandlePart<? extends Node>> |
DefaultHoverIntentHandlePartFactory.createHoverHandlePartsForRectangularOutline(IVisualPart<? extends Node> target,
Map<Object,Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
Creates hover handle parts for a handle geometry that is a
Rectangle . |
protected IFeedbackPart<? extends Node> |
DefaultSelectionFeedbackPartFactory.createLinkFeedbackPart(IVisualPart<? extends Node> anchorage,
Provider<? extends IGeometry> anchorageLinkFeedbackGeometryProvider,
IVisualPart<? extends Node> anchored,
Provider<? extends IGeometry> anchoredLinkFeedbackGeometryProvider,
String role)
Creates a feedback-line between an anchored part and its anchorage.
|
protected IFeedbackPart<? extends Node> |
DefaultSelectionFeedbackPartFactory.createLinkFeedbackPart(IVisualPart<? extends Node> anchorage,
Provider<? extends IGeometry> anchorageLinkFeedbackGeometryProvider,
IVisualPart<? extends Node> anchored,
Provider<? extends IGeometry> anchoredLinkFeedbackGeometryProvider,
String role)
Creates a feedback-line between an anchored part and its anchorage.
|
protected List<IHandlePart<? extends Node>> |
DefaultSelectionHandlePartFactory.createSingleSelectionHandleParts(IVisualPart<? extends Node> target,
Map<Object,Object> contextMap)
Creates handle parts for a single selection.
|
protected List<IHandlePart<? extends Node>> |
DefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForCurve(IVisualPart<? extends Node> target,
Map<Object,Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
Creates handle parts for a single selection of which the handle geometry
is an
ICurve . |
protected List<IHandlePart<? extends Node>> |
DefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForPolygonalOutline(IVisualPart<? extends Node> target,
Map<Object,Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
|
protected List<IHandlePart<? extends Node>> |
DefaultSelectionHandlePartFactory.createSingleSelectionHandlePartsForRectangularOutline(IVisualPart<? extends Node> target,
Map<Object,Object> contextMap,
Provider<BezierCurve[]> segmentsProvider)
Creates handle parts for a single selection of which the handle geometry
is a
Rectangle . |
void |
AbstractVisualPart.detachAnchored(IVisualPart<? extends Node> anchored) |
void |
IVisualPart.detachAnchored(IVisualPart<? extends Node> anchored)
Used by an anchored
IVisualPart to unestablish an
anchorage-anchored relationship with this anchorage IVisualPart . |
void |
AbstractVisualPart.detachFromAnchorage(IVisualPart<? extends Node> anchorage) |
void |
IVisualPart.detachFromAnchorage(IVisualPart<? extends Node> anchorage)
Detaches this
IVisualPart from the given anchorage
IVisualPart under the 'default' role. |
void |
AbstractVisualPart.detachFromAnchorage(IVisualPart<? extends Node> anchorage,
String role) |
void |
IVisualPart.detachFromAnchorage(IVisualPart<? extends Node> anchorage,
String role)
Detaches this
IVisualPart from the given anchorage
IVisualPart under the given role. |
protected IViewer |
AbstractVisualPart.determineViewer(IVisualPart<? extends Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends Node>> anchoreds)
Determines the viewer reference via the given parent or any of the given
anchoreds.
|
protected IViewer |
LayeredRootPart.determineViewer(IVisualPart<? extends Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends Node>> anchoreds) |
protected void |
AbstractVisualPart.doAddChildVisual(IVisualPart<? extends Node> child,
int index)
Performs the addition of the child's visual to this
IVisualPart 's visual. |
protected void |
AbstractHandlePart.doAddChildVisual(IVisualPart<? extends Node> child,
int index) |
protected void |
AbstractFeedbackPart.doAddChildVisual(IVisualPart<? extends Node> child,
int index) |
protected void |
LayeredRootPart.doAddChildVisual(IVisualPart<? extends Node> child,
int index) |
protected void |
AbstractVisualPart.doAttachToAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role)
Attaches this part's visual to the visual of the given anchorage.
|
protected void |
AbstractHandlePart.doAttachToAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role) |
protected void |
AbstractFeedbackPart.doAttachToAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role) |
protected void |
SnappingFeedbackPart.doAttachToAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role) |
protected void |
LayeredRootPart.doAttachToAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role) |
protected void |
AbstractVisualPart.doDetachFromAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role)
Detaches this part's visual from the visual of the given anchorage.
|
protected void |
AbstractHandlePart.doDetachFromAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role) |
protected void |
AbstractFeedbackPart.doDetachFromAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role) |
protected void |
SnappingFeedbackPart.doDetachFromAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role) |
protected void |
LayeredRootPart.doDetachFromAnchorageVisual(IVisualPart<? extends Node> anchorage,
String role) |
protected void |
AbstractVisualPart.doRemoveChildVisual(IVisualPart<? extends Node> child,
int index)
Removes the child's visual from this
IVisualPart 's visual. |
protected void |
AbstractHandlePart.doRemoveChildVisual(IVisualPart<? extends Node> child,
int index) |
protected void |
AbstractFeedbackPart.doRemoveChildVisual(IVisualPart<? extends Node> child,
int index) |
protected void |
LayeredRootPart.doRemoveChildVisual(IVisualPart<? extends Node> child,
int index) |
static Set<IVisualPart<? extends Node>> |
PartUtils.getAnchoreds(IVisualPart<? extends Node> anchorage,
String role)
Collects the anchoreds of the given
IVisualPart which are
registered under the specified role. |
void |
AbstractVisualPart.removeChild(IVisualPart<? extends Node> child) |
void |
IVisualPart.removeChild(IVisualPart<? extends Node> child)
Removes the given
IVisualPart from the list of this part's
children. |
void |
AbstractVisualPart.reorderChild(IVisualPart<? extends Node> child,
int index) |
void |
IVisualPart.reorderChild(IVisualPart<? extends Node> child,
int index)
Swaps the given
IVisualPart with the part at the given index
position within this part's list of children. |
void |
AbstractVisualPart.setParent(IVisualPart<? extends Node> newParent)
Sets the parent
IVisualPart . |
void |
IVisualPart.setParent(IVisualPart<? extends Node> parent)
Used by a parent
IVisualPart to establish/unestablish a
parent-child relationship with this child IVisualPart . |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVisualPart.addChildren(List<? extends IVisualPart<? extends Node>> children) |
void |
IVisualPart.addChildren(List<? extends IVisualPart<? extends Node>> children)
Adds the given children to the list of this part's children.
|
void |
AbstractVisualPart.addChildren(List<? extends IVisualPart<? extends Node>> children,
int index) |
void |
IVisualPart.addChildren(List<? extends IVisualPart<? extends Node>> children,
int index)
Adds the given children to the list of this part's children at the
specified index.
|
List<IFeedbackPart<? extends Node>> |
DefaultSelectionFeedbackPartFactory.createFeedbackParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap) |
List<IFeedbackPart<? extends Node>> |
DefaultSnappingFeedbackPartFactory.createFeedbackParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap) |
List<IFeedbackPart<? extends Node>> |
IFeedbackPartFactory.createFeedbackParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap)
Creates specific
IFeedbackPart s for the given targets. |
List<IFeedbackPart<? extends Node>> |
DefaultHoverFeedbackPartFactory.createFeedbackParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap) |
List<IFeedbackPart<? extends Node>> |
DefaultFocusFeedbackPartFactory.createFeedbackParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap) |
List<IHandlePart<? extends Node>> |
DefaultHoverIntentHandlePartFactory.createHandleParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap) |
List<IHandlePart<? extends Node>> |
DefaultSelectionHandlePartFactory.createHandleParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap) |
List<IHandlePart<? extends Node>> |
IHandlePartFactory.createHandleParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap)
Creates specific
IHandlePart s for the given targets. |
protected List<IHandlePart<? extends Node>> |
DefaultSelectionHandlePartFactory.createMultiSelectionHandleParts(List<? extends IVisualPart<? extends Node>> targets,
Map<Object,Object> contextMap)
Creates handle parts for a multi selection.
|
protected IViewer |
AbstractVisualPart.determineViewer(IVisualPart<? extends Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends Node>> anchoreds)
Determines the viewer reference via the given parent or any of the given
anchoreds.
|
protected IViewer |
LayeredRootPart.determineViewer(IVisualPart<? extends Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends Node>> anchoreds) |
static <T extends IVisualPart<? extends Node>> |
PartUtils.filterParts(Collection<? extends IVisualPart<? extends Node>> parts,
Class<T> type)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
static <T extends IVisualPart<? extends Node>> |
PartUtils.filterParts(Collection<? extends IVisualPart<? extends Node>> parts,
Predicate<? super IVisualPart<? extends Node>> filter)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
static <T extends IVisualPart<? extends Node>> |
PartUtils.filterParts(Collection<? extends IVisualPart<? extends Node>> parts,
Predicate<? super IVisualPart<? extends Node>> filter)
Searches the given collection of
IVisualPart s for elements of the
specified type. |
static List<IVisualPart<? extends Node>> |
PartUtils.getAnchoreds(Collection<? extends IVisualPart<? extends Node>> anchorages)
Collects the anchoreds of all given
IVisualPart s. |
static Rectangle |
PartUtils.getUnionedVisualBoundsInScene(Collection<? extends IVisualPart<? extends Node>> parts)
Returns the unioned visual bounds of the given
IVisualPart s in
the coordinate system of the Scene . |
void |
AbstractVisualPart.removeChildren(List<? extends IVisualPart<? extends Node>> children) |
void |
IVisualPart.removeChildren(List<? extends IVisualPart<? extends Node>> children)
Removes the given
IVisualPart s from the list of this part's
children. |
Modifier and Type | Method and Description |
---|---|
default IVisualPart<? extends Node> |
IPolicy.getHost()
|
Modifier and Type | Method and Description |
---|---|
IContentPart<? extends Node> |
CreationPolicy.create(Object content,
IVisualPart<? extends Node> parent,
int index,
com.google.common.collect.SetMultimap<IContentPart<? extends Node>,String> anchoreds,
boolean doFocus,
boolean doSelect)
Creates an
IContentPart for the given content Object and
establishes parent and anchored relationships for the newly created part. |
IContentPart<? extends Node> |
CreationPolicy.create(Object content,
IVisualPart<? extends Node> parent,
com.google.common.collect.SetMultimap<IContentPart<? extends Node>,String> anchoreds)
Creates an
IContentPart for the given content Object and
establishes parent and anchored relationships for the newly created part. |
void |
ContentPolicy.setAdaptable(IVisualPart<? extends Node> adaptable) |
Modifier and Type | Method and Description |
---|---|
IAnchor |
IAnchorProvider.get(IVisualPart<? extends Node> anchoredPart,
String role)
Returns an
IAnchor that should be used to provide a position for
the given anchored IVisualPart and the given role. |
IAnchor |
DefaultAnchorProvider.get(IVisualPart<? extends Node> anchoredPart,
String role) |
Modifier and Type | Method and Description |
---|---|
Map<Node,IVisualPart<? extends Node>> |
InfiniteCanvasViewer.getVisualPartMap() |
Map<Node,IVisualPart<? extends Node>> |
IViewer.getVisualPartMap()
Returns the
Map for registering IVisualPart s by their
visual. |
ReadOnlyMapProperty<Node,IVisualPart<? extends Node>> |
InfiniteCanvasViewer.visualPartMapProperty() |
ReadOnlyMapProperty<Node,IVisualPart<? extends Node>> |
IViewer.visualPartMapProperty()
Returns an unmodifiable read-only map property that contains the
registered
IVisualPart s mapped to their respective visual. |
Modifier and Type | Method and Description |
---|---|
void |
InfiniteCanvasViewer.reveal(IVisualPart<? extends Node> visualPart) |
void |
IViewer.reveal(IVisualPart<? extends Node> visualPart)
Ensure that the visual of the given
IVisualPart is visible in
this viewer. |
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.