Package | Description |
---|---|
org.eclipse.gef.mvc.fx.behaviors |
This package contains JavaFX/MVC.FX-specific
IBehavior implementations. |
org.eclipse.gef.mvc.fx.domain |
This package contains a JavaFX-specific
IDomain implementation:
HistoricizingDomain . |
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.ui.parts |
This package contains specific Eclipse
ViewPart
and EditorPart implementations which wrap an
FXCanvas . |
org.eclipse.gef.mvc.fx.viewer |
This package contains a JavaFX-specific
IViewer implementation:
InfiniteCanvasViewer . |
Modifier and Type | Method and Description |
---|---|
protected IFeedbackPartFactory |
AbstractBehavior.getFeedbackPartFactory(IViewer viewer)
Returns the
IFeedbackPartFactory that should be used for feedback
creation. |
protected IFeedbackPartFactory |
SelectionBehavior.getFeedbackPartFactory(IViewer viewer) |
protected IFeedbackPartFactory |
SnappingBehavior.getFeedbackPartFactory(IViewer viewer)
Returns the
IFeedbackPartFactory for selection feedback. |
protected IFeedbackPartFactory |
HoverIntentBehavior.getFeedbackPartFactory(IViewer viewer) |
protected IFeedbackPartFactory |
HoverBehavior.getFeedbackPartFactory(IViewer viewer) |
protected IFeedbackPartFactory |
FocusBehavior.getFeedbackPartFactory(IViewer viewer) |
protected IFeedbackPartFactory |
AbstractBehavior.getFeedbackPartFactory(IViewer viewer,
java.lang.String role)
Returns the
IFeedbackPartFactory that is registered as an adapter
at the given IViewer under the given role. |
protected IHandlePartFactory |
AbstractBehavior.getHandlePartFactory(IViewer viewer)
Returns the
IHandlePartFactory that should be used for handle
creation. |
protected IHandlePartFactory |
SelectionBehavior.getHandlePartFactory(IViewer viewer) |
protected IHandlePartFactory |
HoverIntentBehavior.getHandlePartFactory(IViewer viewer) |
protected IHandlePartFactory |
HoverBehavior.getHandlePartFactory(IViewer viewer) |
protected IHandlePartFactory |
AbstractBehavior.getHandlePartFactory(IViewer viewer,
java.lang.String role)
Returns the
IHandlePartFactory that is registered as an adapter
at the given IViewer under the given role. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<AdapterKey<? extends IViewer>,IViewer> |
IDomain.getViewers()
Returns the
IViewer s registered at this IDomain (via
IAdaptable.setAdapter(TypeToken, Object) ) with the AdapterKey s used
for registration. |
java.util.Map<AdapterKey<? extends IViewer>,IViewer> |
IDomain.getViewers()
Returns the
IViewer s registered at this IDomain (via
IAdaptable.setAdapter(TypeToken, Object) ) with the AdapterKey s used
for registration. |
java.util.Map<AdapterKey<? extends IViewer>,IViewer> |
HistoricizingDomain.getViewers() |
java.util.Map<AdapterKey<? extends IViewer>,IViewer> |
HistoricizingDomain.getViewers() |
Modifier and Type | Method and Description |
---|---|
void |
SelectionModel.setAdaptable(IViewer adaptable) |
void |
FocusModel.setAdaptable(IViewer adaptable) |
void |
HoverModel.setAdaptable(IViewer adaptable) |
Constructor and Description |
---|
ChangeContentsOperation(IViewer viewer)
Constructs a new
ChangeContentsOperation that can be used to
change the contents of the given IViewer . |
ChangeContentsOperation(IViewer viewer,
java.util.List<? extends java.lang.Object> contents)
Creates a new
ChangeContentsOperation for changing the contents
of the given IViewer to the specified list of objects. |
ChangeContentsOperation(java.lang.String label,
IViewer viewer,
java.util.List<? extends java.lang.Object> contents)
Creates a new
ChangeContentsOperation for changing the contents
of the given IViewer to the specified list of objects. |
ChangeFocusOperation(IViewer viewer,
IContentPart<? extends javafx.scene.Node> newFocused)
Creates a new
ChangeFocusOperation to assign focus to the given
newFocused IContentPart within the given IViewer . |
ChangeFocusOperation(java.lang.String label,
IViewer viewer,
IContentPart<? extends javafx.scene.Node> newFocused)
Creates a new
ChangeFocusOperation to assign focus to the given
newFocused IContentPart within the given IViewer . |
ChangeSelectionOperation(IViewer viewer,
java.util.List<? extends IContentPart<? extends javafx.scene.Node>> finalSelection)
Creates a new
ChangeSelectionOperation to change the selection
within the given IViewer by removing the given
IContentPart s. |
ChangeSelectionOperation(java.lang.String label,
IViewer viewer,
java.util.List<? extends IContentPart<? extends javafx.scene.Node>> finalSelection)
Creates a new
ChangeSelectionOperation to change the selection. |
DeselectOperation(IViewer viewer,
java.util.List<? extends IContentPart<? extends javafx.scene.Node>> toBeDeselected)
Creates a new
DeselectOperation to change the selection within
the given IViewer by removing the given IContentPart s. |
DeselectOperation(java.lang.String label,
IViewer viewer,
java.util.List<? extends IContentPart<? extends javafx.scene.Node>> toBeDeselected)
Creates a new
DeselectOperation to change the selection within
the given IViewer by removing the given IContentPart s. |
SelectOperation(IViewer viewer,
java.util.List<? extends IContentPart<? extends javafx.scene.Node>> toBeSelected)
Creates a new
SelectOperation to change the selection within the
given IViewer to prepend the given content parts. |
SelectOperation(java.lang.String label,
IViewer viewer,
java.util.List<? extends IContentPart<? extends javafx.scene.Node>> toBeSelected)
* Creates a new
SelectOperation to change the selection within
the given IViewer to prepend the given content parts. |
Modifier and Type | Method and Description |
---|---|
protected IViewer |
LayeredRootPart.determineViewer(IVisualPart<? extends javafx.scene.Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds) |
protected IViewer |
AbstractVisualPart.determineViewer(IVisualPart<? extends javafx.scene.Node> parent,
com.google.common.collect.Multiset<IVisualPart<? extends javafx.scene.Node>> anchoreds)
Determines the viewer reference via the given parent or any of the given
anchoreds.
|
IViewer |
AbstractVisualPart.getAdaptable()
Gets the value of the property adaptable.
|
default IViewer |
IVisualPart.getViewer()
Returns the
IViewer this IVisualPart is bound to. |
static IViewer |
PartUtils.retrieveViewer(IDomain domain,
javafx.scene.Node target)
|
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ReadOnlyObjectProperty<IViewer> |
AbstractVisualPart.adaptableProperty() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractVisualPart.register(IViewer viewer)
Called when a link to the
IViewer is obtained. |
protected void |
AbstractContentPart.register(IViewer viewer) |
protected void |
AbstractContentPart.registerAtContentPartMap(IViewer viewer,
java.lang.Object content)
Registers the model in the
getContentPartMap() . |
protected void |
AbstractVisualPart.registerAtVisualPartMap(IViewer viewer,
V visual)
Registers this part for the given visual in the visual-part-map of the
given
IViewer . |
static IVisualPart<? extends javafx.scene.Node> |
PartUtils.retrieveVisualPart(IViewer viewer,
javafx.scene.Node target)
Returns the first
IVisualPart in the visual hierarchy of the
given Node . |
void |
AbstractVisualPart.setAdaptable(IViewer viewer)
Sets the value of the property adaptable.
|
protected void |
AbstractVisualPart.unregister(IViewer viewer)
Called when the link to the
IViewer is lost. |
protected void |
AbstractContentPart.unregister(IViewer viewer) |
protected void |
AbstractContentPart.unregisterFromContentPartMap(IViewer viewer,
java.lang.Object content)
Unregisters the model in the
getContentPartMap() . |
protected void |
AbstractVisualPart.unregisterFromVisualPartMap(IViewer viewer,
V visual)
Removes the given visual from the visual-part-map of the given viewer.
|
Modifier and Type | Method and Description |
---|---|
IViewer |
AbstractFXView.getContentViewer()
|
IViewer |
AbstractFXEditor.getContentViewer()
|
protected IViewer |
ContentSelectionProvider.getViewer()
Returns the
IViewer this ContentSelectionProvider is
bound to. |
Constructor and Description |
---|
ContentSelectionProvider(IViewer viewer)
Creates a new
ContentSelectionProvider for the given
SelectionModel . |
Modifier and Type | Class and Description |
---|---|
class |
InfiniteCanvasViewer
The
InfiniteCanvasViewer is an IViewer that manages an
InfiniteCanvas to display the viewer's contents. |
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.