Uses of Interface
org.eclipse.gef.mvc.fx.parts.IContentPart
Packages that use IContentPart
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 IContentPart in org.eclipse.gef.mvc.fx.behaviors
Methods in org.eclipse.gef.mvc.fx.behaviors that return IContentPartModifier and TypeMethodDescriptionprotected IContentPart<? extends Node>
ContentBehavior.findOrCreatePartFor
(Object content) Finds/Revives/Creates anIContentPart
for the given contentObject
.IContentPart<? extends Node>
Retrieves anIContentPart
for the given content element and removes it from the pool.Methods in org.eclipse.gef.mvc.fx.behaviors that return types with arguments of type IContentPartModifier and TypeMethodDescriptionCollection<IContentPart<? extends Node>>
ContentPartPool.getPooled()
Returns theIContentPart
's that are contained in this pool.Methods in org.eclipse.gef.mvc.fx.behaviors with parameters of type IContentPartModifier and TypeMethodDescriptionvoid
ContentPartPool.add
(IContentPart<? extends Node> part) Adds anIContentPart
to this pool.protected void
ContentBehavior.disposeIfObsolete
(IContentPart<? extends Node> contentPart) If the givenIContentPart
does neither have a parent nor any anchoreds, then it's content is set tonull
and the part is added to theContentPartPool
.protected void
HoverIntentBehavior.onHoverIntentChange
(IContentPart<? extends Node> oldHoverIntent, IContentPart<? extends Node> newHoverIntent) Callback method that is invoked when theHoverModel.hoverIntentProperty()
changes.protected void
RevealPrimarySelectionBehavior.onPrimarySelectionChanged
(IContentPart<? extends Node> previousPrimarySelection, IContentPart<? extends Node> currentPrimarySelection) This method is called when the primary selection (i.e. the first element of theSelectionModel.selectionUnmodifiableProperty()
) is changed.Method parameters in org.eclipse.gef.mvc.fx.behaviors with type arguments of type IContentPartModifier and TypeMethodDescriptionprotected void
SelectionBehavior.addFeedbackAndHandles
(List<? extends IContentPart<? extends Node>> selected) protected void
SelectionBehavior.removeFeedbackAndHandles
(List<? extends IContentPart<? extends Node>> selected) -
Uses of IContentPart in org.eclipse.gef.mvc.fx.models
Methods in org.eclipse.gef.mvc.fx.models that return IContentPartModifier and TypeMethodDescriptionIContentPart<? extends Node>
FocusModel.getFocus()
Returns theIContentPart
which has keyboard focus, ornull
if noIContentPart
currently has keyboard focus.IContentPart<? extends Node>
HoverModel.getHoverIntent()
Returns the current hover intentIContentPart
ornull
if no content part is intentionally hovered.IContentPart<? extends Node>
SnappingModel.SnappingLocation.getPart()
Returns theIContentPart
from which thisSnappingModel.SnappingLocation
was derived.Methods in org.eclipse.gef.mvc.fx.models that return types with arguments of type IContentPartModifier and TypeMethodDescriptionObjectProperty<IContentPart<? extends Node>>
FocusModel.focusProperty()
Returns an object property providing the currently focusedIContentPart
.ObservableList<IContentPart<? extends Node>>
SelectionModel.getSelectionUnmodifiable()
Returns an unmodifiable observable list of the currently selectedIContentPart
s.ObjectProperty<IContentPart<? extends Node>>
HoverModel.hoverIntentProperty()
Returns an object property representing the hover intent part.ReadOnlyListProperty<IContentPart<? extends Node>>
SelectionModel.selectionUnmodifiableProperty()
Returns an unmodifiable read-only list property that represents the current selection.Methods in org.eclipse.gef.mvc.fx.models with parameters of type IContentPartModifier and TypeMethodDescriptionvoid
SelectionModel.appendToSelection
(IContentPart<? extends Node> toBeAppended) Updates the current selection by adding the givenIContentPart
to it, preserving already selected elements.SnappingModel.getSnappingLocationsFor
(IContentPart<? extends Node> part) Returns aList
containing theSnappingModel.SnappingLocation
s that were derived from the givenIContentPart
.boolean
SelectionModel.isSelected
(IContentPart<? extends Node> contentPart) Returns whether the givenIContentPart
is part of the current selection.void
SelectionModel.prependToSelection
(IContentPart<? extends Node> toBePrepended) Updates the current selection by adding the givenIContentPart
to it, preserving already selected elements.void
SelectionModel.removeFromSelection
(IContentPart<? extends Node> contentPart) Removes the givenIContentPart
from the current selection if it is currently selected.void
FocusModel.setFocus
(IContentPart<? extends Node> focusPart) Selects the given IContentPart as the focus part.void
HoverModel.setHoverIntent
(IContentPart<? extends Node> cp) Sets the hover intentIContentPart
to the given value.void
SnappingModel.SnappingLocation.setPart
(IContentPart<? extends Node> part) Sets theIContentPart
of thisSnappingModel.SnappingLocation
to the given value.void
SelectionModel.setSelection
(IContentPart<? extends Node> newSelection) Replaces the current selection with the givenIContentPart
.Method parameters in org.eclipse.gef.mvc.fx.models with type arguments of type IContentPartModifier and TypeMethodDescriptionvoid
SelectionModel.appendToSelection
(List<? extends IContentPart<? extends Node>> toBeAppended) Updates the current selection by adding the givenIContentPart
s to it, preserving already selected elements.void
SelectionModel.prependToSelection
(List<? extends IContentPart<? extends Node>> toBePrepended) Updates the current selection by adding the givenIContentPart
s to it, preserving already selected elements.void
SelectionModel.removeFromSelection
(Collection<? extends IContentPart<? extends Node>> contentParts) Removes the givenIContentPart
s from the current selection if they are contained.void
SelectionModel.setSelection
(List<? extends IContentPart<? extends Node>> selection) Replaces the current selection with the given list ofIContentPart
s.Constructors in org.eclipse.gef.mvc.fx.models with parameters of type IContentPartModifierConstructorDescriptionSnappingLocation
(IContentPart<? extends Node> part, Orientation orientation, double positionInScene) Constructs a newSnappingModel.SnappingLocation
. -
Uses of IContentPart in org.eclipse.gef.mvc.fx.operations
Methods in org.eclipse.gef.mvc.fx.operations that return types with arguments of type IContentPartModifier and TypeMethodDescriptionList<IContentPart<? extends Node>>
ChangeSelectionOperation.getToBeDeselected()
Returns the parts that are to be deleted.List<IContentPart<? extends Node>>
DeselectOperation.getToBeDeselected()
Returns the parts that are to be deleted.Methods in org.eclipse.gef.mvc.fx.operations with parameters of type IContentPartModifier and TypeMethodDescriptionvoid
ChangeFocusOperation.setNewFocused
(IContentPart<? extends Node> newFocused) Sets the new focussed part to the given one.Constructors in org.eclipse.gef.mvc.fx.operations with parameters of type IContentPartModifierConstructorDescriptionAddContentChildOperation
(IContentPart<? extends Node> parent, Object contentChild, int index) Creates a newAddContentChildOperation
for adding the given contentChildObject
to the content children of the given parentIContentPart
.AttachToContentAnchorageOperation
(IContentPart<? extends Node> anchored, Object contentAnchorage, String role) Creates a newAttachToContentAnchorageOperation
to attach the given anchoredIContentPart
to the given contentAnchorage under the specified role, so that it will be returned by subsequent calls togetContentAnchoragesUnmodifiable()
.ChangeFocusOperation
(String label, IViewer viewer, IContentPart<? extends Node> newFocused) Creates a newChangeFocusOperation
to assign focus to the given newFocusedIContentPart
within the givenIViewer
.ChangeFocusOperation
(IViewer viewer, IContentPart<? extends Node> newFocused) Creates a newChangeFocusOperation
to assign focus to the given newFocusedIContentPart
within the givenIViewer
.DetachFromContentAnchorageOperation
(IContentPart<? extends Node> anchored, Object contentAnchorage, String role) Creates a newDetachFromContentAnchorageOperation
to detach the given anchoredIContentPart
from the given contentAnchorage under the specified role, so that it will not be returned by subsequent calls togetContentAnchoragesUnmodifiable()
.RemoveContentChildOperation
(IContentPart<? extends Node> parent, Object contentChild) Creates a newRemoveContentChildOperation
for removing the given contentChildObject
from the content children of the given parentIContentPart
.Constructor parameters in org.eclipse.gef.mvc.fx.operations with type arguments of type IContentPartModifierConstructorDescriptionChangeSelectionOperation
(String label, IViewer viewer, List<? extends IContentPart<? extends Node>> finalSelection) Creates a newChangeSelectionOperation
to change the selection.ChangeSelectionOperation
(IViewer viewer, List<? extends IContentPart<? extends Node>> finalSelection) Creates a newChangeSelectionOperation
to change the selection within the givenIViewer
by removing the givenIContentPart
s.DeselectOperation
(String label, IViewer viewer, List<? extends IContentPart<? extends Node>> toBeDeselected) Creates a newDeselectOperation
to change the selection within the givenIViewer
by removing the givenIContentPart
s.DeselectOperation
(IViewer viewer, List<? extends IContentPart<? extends Node>> toBeDeselected) Creates a newDeselectOperation
to change the selection within the givenIViewer
by removing the givenIContentPart
s.SelectOperation
(String label, IViewer viewer, List<? extends IContentPart<? extends Node>> toBeSelected) * Creates a newSelectOperation
to change the selection within the givenIViewer
to prepend the given content parts.SelectOperation
(IViewer viewer, List<? extends IContentPart<? extends Node>> toBeSelected) Creates a newSelectOperation
to change the selection within the givenIViewer
to prepend the given content parts. -
Uses of IContentPart in org.eclipse.gef.mvc.fx.parts
Subinterfaces of IContentPart in org.eclipse.gef.mvc.fx.partsModifier and TypeInterfaceDescriptioninterface
IBendableContentPart<V extends Node>
AnIContentPart
that supports content related bend, i.e. manipulation of control points.interface
IResizableContentPart<V extends Node>
AnIContentPart
that supports content related resize.interface
ITransformableContentPart<V extends Node>
AnIContentPart
that supports content related transformations.Classes in org.eclipse.gef.mvc.fx.parts that implement IContentPartModifier and TypeClassDescriptionclass
AbstractContentPart<V extends Node>
TheAbstractContentPart
is anIContentPart
implementation that binds the VR type parameter (visual root type) toNode
.Methods in org.eclipse.gef.mvc.fx.parts that return IContentPartModifier and TypeMethodDescriptionIContentPart<? extends Node>
IContentPartFactory.createContentPart
(Object content, Map<Object, Object> contextMap) Creates a specificIContentPart
for the given content.Methods in org.eclipse.gef.mvc.fx.parts that return types with arguments of type IContentPartModifier and TypeMethodDescriptionList<IContentPart<? extends Node>>
IRootPart.getContentPartChildren()
Returns all children of typeIContentPart
contained by thisIRootPart
.List<IContentPart<? extends Node>>
LayeredRootPart.getContentPartChildren()
-
Uses of IContentPart in org.eclipse.gef.mvc.fx.policies
Methods in org.eclipse.gef.mvc.fx.policies that return IContentPartModifier and TypeMethodDescriptionIContentPart<? extends Node>
CreationPolicy.create
(Object content, IVisualPart<? extends Node> parent, int index, SetMultimap<IContentPart<? extends 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 Node>
CreationPolicy.create
(Object content, IVisualPart<? extends Node> parent, SetMultimap<IContentPart<? extends Node>, String> anchoreds) Creates anIContentPart
for the given contentObject
and establishes parent and anchored relationships for the newly created part.protected IContentPart<? extends Node>
FocusTraversalPolicy.findInnerMostContentPart
(IContentPart<? extends Node> part) Returns the inner mostIContentPart
child within the part hierarchy of the givenIContentPart
.protected IContentPart<? extends Node>
FocusTraversalPolicy.findNextContentPart
(IContentPart<? extends Node> current) Determines the nextIContentPart
to which keyboard focus is assigned, depending on the currently focusedIContentPart
.protected IContentPart<? extends Node>
FocusTraversalPolicy.findPreviousContentPart
(IContentPart<? extends Node> current) Determines the previousIContentPart
to which keyboard focus is assigned, depending on the currently focusedIContentPart
.IContentPart<? extends Node>
FocusTraversalPolicy.focusNext()
Assigns focus to the next part in the traversal cycle.IContentPart<? extends Node>
FocusTraversalPolicy.focusPrevious()
Assigns focus to the previous part in the traversal cycle.IContentPart<? extends Node>
ContentPolicy.getHost()
protected IContentPart<? extends Node>
FocusTraversalPolicy.traverse
(boolean backwards) Traverses the focus forwards or backwards depending on the given flag.Methods in org.eclipse.gef.mvc.fx.policies with parameters of type IContentPartModifier and TypeMethodDescriptionprotected ITransactionalOperation
CreationPolicy.createFocusOperation
(IContentPart<? extends Node> part) Returns anITransactionalOperation
that adds the givenIContentPart
to theFocusModel
of the correspondingIViewer
.protected ITransactionalOperation
CreationPolicy.createSelectOperation
(IContentPart<? extends Node> part) Returns anITransactionalOperation
that adds the givenIContentPart
to theSelectionModel
of the correspondingIViewer
.void
DeletionPolicy.delete
(IContentPart<? extends Node> contentPartToDelete) Deletes the givenIContentPart
by removing theIContentPart
's content from the parentIContentPart
' content and by detaching the contents of all anchoredIContentPart
s from theIContentPart
's content.protected IContentPart<? extends Node>
FocusTraversalPolicy.findInnerMostContentPart
(IContentPart<? extends Node> part) Returns the inner mostIContentPart
child within the part hierarchy of the givenIContentPart
.protected IContentPart<? extends Node>
FocusTraversalPolicy.findNextContentPart
(IContentPart<? extends Node> current) Determines the nextIContentPart
to which keyboard focus is assigned, depending on the currently focusedIContentPart
.protected IContentPart<? extends Node>
FocusTraversalPolicy.findPreviousContentPart
(IContentPart<? extends Node> current) Determines the previousIContentPart
to which keyboard focus is assigned, depending on the currently focusedIContentPart
.Method parameters in org.eclipse.gef.mvc.fx.policies with type arguments of type IContentPartModifier and TypeMethodDescriptionIContentPart<? extends Node>
CreationPolicy.create
(Object content, IVisualPart<? extends Node> parent, int index, SetMultimap<IContentPart<? extends 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 Node>
CreationPolicy.create
(Object content, IVisualPart<? extends Node> parent, SetMultimap<IContentPart<? extends Node>, String> anchoreds) Creates anIContentPart
for the given contentObject
and establishes parent and anchored relationships for the newly created part. -
Uses of IContentPart in org.eclipse.gef.mvc.fx.providers
Methods in org.eclipse.gef.mvc.fx.providers with parameters of type IContentPartModifier and TypeMethodDescriptionprotected Connection
ConnectionSnappingLocationProvider.getConnection
(IContentPart<? extends Node> part) Returns theConnection
that is used as the basis for determination ofSnappingModel.SnappingLocation
s for the givenIContentPart
.BoundsSnappingLocationProvider.getHorizontalSnappingLocations
(IContentPart<? extends Node> part) CenterSnappingLocationProvider.getHorizontalSnappingLocations
(IContentPart<? extends Node> part) ConnectionSnappingLocationProvider.getHorizontalSnappingLocations
(IContentPart<? extends Node> part) ISnappingLocationProvider.getHorizontalSnappingLocations
(IContentPart<? extends Node> part) Returns the horizontalSnappingModel.SnappingLocation
s for the givenIContentPart
.TopLeftSnappingLocationProvider.getHorizontalSnappingLocations
(IContentPart<? extends Node> part) protected List<SnappingModel.SnappingLocation>
BoundsSnappingLocationProvider.getSnappingLocations
(IContentPart<? extends Node> part, Orientation orient, double... ratios) Iterates over the given ratios and interpolates positions within the bounds for the individual ratios.protected List<SnappingModel.SnappingLocation>
ConnectionSnappingLocationProvider.getSnappingLocations
(IContentPart<? extends Node> part, Orientation orientation) ReturnsSnappingModel.SnappingLocation
s with givenOrientation
for theConnectionSnappingLocationProvider.getConnection(IContentPart)
of the givenIContentPart
.BoundsSnappingLocationProvider.getVerticalSnappingLocations
(IContentPart<? extends Node> part) CenterSnappingLocationProvider.getVerticalSnappingLocations
(IContentPart<? extends Node> part) ConnectionSnappingLocationProvider.getVerticalSnappingLocations
(IContentPart<? extends Node> part) ISnappingLocationProvider.getVerticalSnappingLocations
(IContentPart<? extends Node> part) Returns the verticalSnappingModel.SnappingLocation
s for the givenIContentPart
.TopLeftSnappingLocationProvider.getVerticalSnappingLocations
(IContentPart<? extends Node> part) -
Uses of IContentPart in org.eclipse.gef.mvc.fx.viewer
Methods in org.eclipse.gef.mvc.fx.viewer that return types with arguments of type IContentPartModifier and TypeMethodDescriptionReadOnlyMapProperty<Object,
IContentPart<? extends Node>> InfiniteCanvasViewer.contentPartMapProperty()
ReadOnlyMapProperty<Object,
IContentPart<? extends Node>> IViewer.contentPartMapProperty()
Returns an unmodifiable read-only map property that contains the registeredIContentPart
s mapped to their respective content.Map<Object,
IContentPart<? extends Node>> InfiniteCanvasViewer.getContentPartMap()
Map<Object,
IContentPart<? extends Node>> IViewer.getContentPartMap()
Returns theMap
for registeringIContentPart
s by their content.