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 javafx.scene.Node>ContentBehavior.findOrCreatePartFor(Object content) Finds/Revives/Creates anIContentPartfor the given contentObject.IContentPart<? extends javafx.scene.Node>Retrieves anIContentPartfor 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 javafx.scene.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 TypeMethodDescriptionvoidContentPartPool.add(IContentPart<? extends javafx.scene.Node> part) Adds anIContentPartto this pool.protected voidContentBehavior.disposeIfObsolete(IContentPart<? extends javafx.scene.Node> contentPart) If the givenIContentPartdoes neither have a parent nor any anchoreds, then it's content is set tonulland the part is added to theContentPartPool.protected voidHoverIntentBehavior.onHoverIntentChange(IContentPart<? extends javafx.scene.Node> oldHoverIntent, IContentPart<? extends javafx.scene.Node> newHoverIntent) Callback method that is invoked when theHoverModel.hoverIntentProperty()changes.protected voidRevealPrimarySelectionBehavior.onPrimarySelectionChanged(IContentPart<? extends javafx.scene.Node> previousPrimarySelection, IContentPart<? extends javafx.scene.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 voidSelectionBehavior.addFeedbackAndHandles(List<? extends IContentPart<? extends javafx.scene.Node>> selected) protected voidSelectionBehavior.removeFeedbackAndHandles(List<? extends IContentPart<? extends javafx.scene.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 javafx.scene.Node>FocusModel.getFocus()Returns theIContentPartwhich has keyboard focus, ornullif noIContentPartcurrently has keyboard focus.IContentPart<? extends javafx.scene.Node>HoverModel.getHoverIntent()Returns the current hover intentIContentPartornullif no content part is intentionally hovered.IContentPart<? extends javafx.scene.Node>SnappingModel.SnappingLocation.getPart()Returns theIContentPartfrom which thisSnappingModel.SnappingLocationwas derived.Methods in org.eclipse.gef.mvc.fx.models that return types with arguments of type IContentPartModifier and TypeMethodDescriptionjavafx.beans.property.ObjectProperty<IContentPart<? extends javafx.scene.Node>>FocusModel.focusProperty()Returns an object property providing the currently focusedIContentPart.javafx.collections.ObservableList<IContentPart<? extends javafx.scene.Node>>SelectionModel.getSelectionUnmodifiable()Returns an unmodifiable observable list of the currently selectedIContentParts.javafx.beans.property.ObjectProperty<IContentPart<? extends javafx.scene.Node>>HoverModel.hoverIntentProperty()Returns an object property representing the hover intent part.javafx.beans.property.ReadOnlyListProperty<IContentPart<? extends javafx.scene.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 TypeMethodDescriptionvoidSelectionModel.appendToSelection(IContentPart<? extends javafx.scene.Node> toBeAppended) Updates the current selection by adding the givenIContentPartto it, preserving already selected elements.SnappingModel.getSnappingLocationsFor(IContentPart<? extends javafx.scene.Node> part) Returns aListcontaining theSnappingModel.SnappingLocations that were derived from the givenIContentPart.booleanSelectionModel.isSelected(IContentPart<? extends javafx.scene.Node> contentPart) Returns whether the givenIContentPartis part of the current selection.voidSelectionModel.prependToSelection(IContentPart<? extends javafx.scene.Node> toBePrepended) Updates the current selection by adding the givenIContentPartto it, preserving already selected elements.voidSelectionModel.removeFromSelection(IContentPart<? extends javafx.scene.Node> contentPart) Removes the givenIContentPartfrom the current selection if it is currently selected.voidFocusModel.setFocus(IContentPart<? extends javafx.scene.Node> focusPart) Selects the given IContentPart as the focus part.voidHoverModel.setHoverIntent(IContentPart<? extends javafx.scene.Node> cp) Sets the hover intentIContentPartto the given value.voidSnappingModel.SnappingLocation.setPart(IContentPart<? extends javafx.scene.Node> part) Sets theIContentPartof thisSnappingModel.SnappingLocationto the given value.voidSelectionModel.setSelection(IContentPart<? extends javafx.scene.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 TypeMethodDescriptionvoidSelectionModel.appendToSelection(List<? extends IContentPart<? extends javafx.scene.Node>> toBeAppended) Updates the current selection by adding the givenIContentParts to it, preserving already selected elements.voidSelectionModel.prependToSelection(List<? extends IContentPart<? extends javafx.scene.Node>> toBePrepended) Updates the current selection by adding the givenIContentParts to it, preserving already selected elements.voidSelectionModel.removeFromSelection(Collection<? extends IContentPart<? extends javafx.scene.Node>> contentParts) Removes the givenIContentParts from the current selection if they are contained.voidSelectionModel.setSelection(List<? extends IContentPart<? extends javafx.scene.Node>> selection) Replaces the current selection with the given list ofIContentParts.Constructors in org.eclipse.gef.mvc.fx.models with parameters of type IContentPartModifierConstructorDescriptionSnappingLocation(IContentPart<? extends javafx.scene.Node> part, javafx.geometry.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 javafx.scene.Node>>ChangeSelectionOperation.getToBeDeselected()Returns the parts that are to be deleted.List<IContentPart<? extends javafx.scene.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 TypeMethodDescriptionvoidChangeFocusOperation.setNewFocused(IContentPart<? extends javafx.scene.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 javafx.scene.Node> parent, Object contentChild, int index) Creates a newAddContentChildOperationfor adding the given contentChildObjectto the content children of the given parentIContentPart.AttachToContentAnchorageOperation(IContentPart<? extends javafx.scene.Node> anchored, Object contentAnchorage, String role) Creates a newAttachToContentAnchorageOperationto attach the given anchoredIContentPartto the given contentAnchorage under the specified role, so that it will be returned by subsequent calls togetContentAnchoragesUnmodifiable().ChangeFocusOperation(String label, IViewer viewer, IContentPart<? extends javafx.scene.Node> newFocused) Creates a newChangeFocusOperationto assign focus to the given newFocusedIContentPartwithin the givenIViewer.ChangeFocusOperation(IViewer viewer, IContentPart<? extends javafx.scene.Node> newFocused) Creates a newChangeFocusOperationto assign focus to the given newFocusedIContentPartwithin the givenIViewer.DetachFromContentAnchorageOperation(IContentPart<? extends javafx.scene.Node> anchored, Object contentAnchorage, String role) Creates a newDetachFromContentAnchorageOperationto detach the given anchoredIContentPartfrom the given contentAnchorage under the specified role, so that it will not be returned by subsequent calls togetContentAnchoragesUnmodifiable().RemoveContentChildOperation(IContentPart<? extends javafx.scene.Node> parent, Object contentChild) Creates a newRemoveContentChildOperationfor removing the given contentChildObjectfrom 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 javafx.scene.Node>> finalSelection) Creates a newChangeSelectionOperationto change the selection.ChangeSelectionOperation(IViewer viewer, List<? extends IContentPart<? extends javafx.scene.Node>> finalSelection) Creates a newChangeSelectionOperationto change the selection within the givenIViewerby removing the givenIContentParts.DeselectOperation(String label, IViewer viewer, List<? extends IContentPart<? extends javafx.scene.Node>> toBeDeselected) Creates a newDeselectOperationto change the selection within the givenIViewerby removing the givenIContentParts.DeselectOperation(IViewer viewer, List<? extends IContentPart<? extends javafx.scene.Node>> toBeDeselected) Creates a newDeselectOperationto change the selection within the givenIViewerby removing the givenIContentParts.SelectOperation(String label, IViewer viewer, List<? extends IContentPart<? extends javafx.scene.Node>> toBeSelected) * Creates a newSelectOperationto change the selection within the givenIViewerto prepend the given content parts.SelectOperation(IViewer viewer, List<? extends IContentPart<? extends javafx.scene.Node>> toBeSelected) Creates a newSelectOperationto change the selection within the givenIViewerto 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 TypeInterfaceDescriptioninterfaceIBendableContentPart<V extends javafx.scene.Node>AnIContentPartthat supports content related bend, i.e. manipulation of control points.interfaceIResizableContentPart<V extends javafx.scene.Node>AnIContentPartthat supports content related resize.interfaceITransformableContentPart<V extends javafx.scene.Node>AnIContentPartthat supports content related transformations.Classes in org.eclipse.gef.mvc.fx.parts that implement IContentPartModifier and TypeClassDescriptionclassAbstractContentPart<V extends javafx.scene.Node>TheAbstractContentPartis anIContentPartimplementation that binds the VR type parameter (visual root type) toNode.Methods in org.eclipse.gef.mvc.fx.parts that return IContentPartModifier and TypeMethodDescriptionIContentPart<? extends javafx.scene.Node>IContentPartFactory.createContentPart(Object content, Map<Object, Object> contextMap) Creates a specificIContentPartfor the given content.Methods in org.eclipse.gef.mvc.fx.parts that return types with arguments of type IContentPartModifier and TypeMethodDescriptionList<IContentPart<? extends javafx.scene.Node>>IRootPart.getContentPartChildren()Returns all children of typeIContentPartcontained by thisIRootPart.List<IContentPart<? extends javafx.scene.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 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 anIContentPartfor the given contentObjectand 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 anIContentPartfor the given contentObjectand establishes parent and anchored relationships for the newly created part.protected IContentPart<? extends javafx.scene.Node>FocusTraversalPolicy.findInnerMostContentPart(IContentPart<? extends javafx.scene.Node> part) Returns the inner mostIContentPartchild within the part hierarchy of the givenIContentPart.protected IContentPart<? extends javafx.scene.Node>FocusTraversalPolicy.findNextContentPart(IContentPart<? extends javafx.scene.Node> current) Determines the nextIContentPartto which keyboard focus is assigned, depending on the currently focusedIContentPart.protected IContentPart<? extends javafx.scene.Node>FocusTraversalPolicy.findPreviousContentPart(IContentPart<? extends javafx.scene.Node> current) Determines the previousIContentPartto which keyboard focus is assigned, depending on the currently focusedIContentPart.IContentPart<? extends javafx.scene.Node>FocusTraversalPolicy.focusNext()Assigns focus to the next part in the traversal cycle.IContentPart<? extends javafx.scene.Node>FocusTraversalPolicy.focusPrevious()Assigns focus to the previous part in the traversal cycle.IContentPart<? extends javafx.scene.Node>ContentPolicy.getHost()protected IContentPart<? extends javafx.scene.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 ITransactionalOperationCreationPolicy.createFocusOperation(IContentPart<? extends javafx.scene.Node> part) Returns anITransactionalOperationthat adds the givenIContentPartto theFocusModelof the correspondingIViewer.protected ITransactionalOperationCreationPolicy.createSelectOperation(IContentPart<? extends javafx.scene.Node> part) Returns anITransactionalOperationthat adds the givenIContentPartto theSelectionModelof the correspondingIViewer.voidDeletionPolicy.delete(IContentPart<? extends javafx.scene.Node> contentPartToDelete) Deletes the givenIContentPartby removing theIContentPart's content from the parentIContentPart' content and by detaching the contents of all anchoredIContentParts from theIContentPart's content.protected IContentPart<? extends javafx.scene.Node>FocusTraversalPolicy.findInnerMostContentPart(IContentPart<? extends javafx.scene.Node> part) Returns the inner mostIContentPartchild within the part hierarchy of the givenIContentPart.protected IContentPart<? extends javafx.scene.Node>FocusTraversalPolicy.findNextContentPart(IContentPart<? extends javafx.scene.Node> current) Determines the nextIContentPartto which keyboard focus is assigned, depending on the currently focusedIContentPart.protected IContentPart<? extends javafx.scene.Node>FocusTraversalPolicy.findPreviousContentPart(IContentPart<? extends javafx.scene.Node> current) Determines the previousIContentPartto 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 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 anIContentPartfor the given contentObjectand 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 anIContentPartfor the given contentObjectand 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 ConnectionConnectionSnappingLocationProvider.getConnection(IContentPart<? extends javafx.scene.Node> part) Returns theConnectionthat is used as the basis for determination ofSnappingModel.SnappingLocations for the givenIContentPart.BoundsSnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) CenterSnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) ConnectionSnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) ISnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) Returns the horizontalSnappingModel.SnappingLocations for the givenIContentPart.TopLeftSnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) protected List<SnappingModel.SnappingLocation>BoundsSnappingLocationProvider.getSnappingLocations(IContentPart<? extends javafx.scene.Node> part, javafx.geometry.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 javafx.scene.Node> part, javafx.geometry.Orientation orientation) ReturnsSnappingModel.SnappingLocations with givenOrientationfor theConnectionSnappingLocationProvider.getConnection(IContentPart)of the givenIContentPart.BoundsSnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) CenterSnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) ConnectionSnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) ISnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) Returns the verticalSnappingModel.SnappingLocations for the givenIContentPart.TopLeftSnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.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 TypeMethodDescriptionjavafx.beans.property.ReadOnlyMapProperty<Object,IContentPart<? extends javafx.scene.Node>> InfiniteCanvasViewer.contentPartMapProperty()javafx.beans.property.ReadOnlyMapProperty<Object,IContentPart<? extends javafx.scene.Node>> IViewer.contentPartMapProperty()Returns an unmodifiable read-only map property that contains the registeredIContentParts mapped to their respective content.Map<Object,IContentPart<? extends javafx.scene.Node>> InfiniteCanvasViewer.getContentPartMap()Map<Object,IContentPart<? extends javafx.scene.Node>> IViewer.getContentPartMap()Returns theMapfor registeringIContentParts by their content.