Package | Description |
---|---|
org.eclipse.gef4.mvc.domain |
This package contains the
IDomain
abstraction and its related
AbstractDomain realization. |
org.eclipse.gef4.mvc.fx.parts |
This package contains all JavaFX-specific
IContentPart ,
IVisualPart ,
IFeedbackPart , and
IHandlePart implementations and related
classes. |
org.eclipse.gef4.mvc.fx.tools |
This package contains JavaFX-specific
ITool implementations for different
interactions (e.g. mouse drag). |
org.eclipse.gef4.mvc.fx.viewer | |
org.eclipse.gef4.mvc.operations |
This package contains implementations of
IUndoableOperation which can be
used to manipulate the default models, especially content creation and
removal. |
org.eclipse.gef4.mvc.parts |
This package contains all abstractions related to controllers (aka parts) in
a model-view-controller architecture.
|
org.eclipse.gef4.mvc.tools |
This package contains the
ITool
abstraction and its related AbstractTool
realization. |
org.eclipse.gef4.mvc.viewer |
This package contains the
IViewer
abstraction and the related
AbstractViewer realization. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<AdapterKey<? extends IViewer<VR>>,IViewer<VR>> |
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<VR>>,IViewer<VR>> |
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<VR>>,IViewer<VR>> |
AbstractDomain.getViewers() |
java.util.Map<AdapterKey<? extends IViewer<VR>>,IViewer<VR>> |
AbstractDomain.getViewers() |
Modifier and Type | Method and Description |
---|---|
static IViewer<javafx.scene.Node> |
FXPartUtils.retrieveViewer(IDomain<javafx.scene.Node> domain,
javafx.scene.Node target)
|
Modifier and Type | Method and Description |
---|---|
static IVisualPart<javafx.scene.Node,? extends javafx.scene.Node> |
FXPartUtils.retrieveVisualPart(IViewer<javafx.scene.Node> viewer,
javafx.scene.Node target)
Returns the first
IVisualPart in the visual hierarchy of the
given Node . |
void |
AbstractFXRootPart.setAdaptable(IViewer<javafx.scene.Node> viewer) |
Modifier and Type | Method and Description |
---|---|
java.util.List<? extends IFXOnTypePolicy> |
FXTypeTool.getActivePolicies(IViewer<javafx.scene.Node> viewer) |
java.util.List<? extends IFXOnScrollPolicy> |
FXScrollTool.getActivePolicies(IViewer<javafx.scene.Node> viewer) |
java.util.List<? extends IFXOnRotatePolicy> |
FXRotateTool.getActivePolicies(IViewer<javafx.scene.Node> viewer) |
java.util.List<? extends IFXOnPinchSpreadPolicy> |
FXPinchSpreadTool.getActivePolicies(IViewer<javafx.scene.Node> viewer) |
java.util.List<IFXOnDragPolicy> |
FXClickDragTool.getActivePolicies(IViewer<javafx.scene.Node> viewer) |
<T extends IPolicy<javafx.scene.Node>> |
ITargetPolicyResolver.getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
IViewer<javafx.scene.Node> viewer,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given
IViewer and target Node that are to be notified
about an input event that was directed at the Node . |
<T extends IPolicy<javafx.scene.Node>> |
DefaultTargetPolicyResolver.getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
IViewer<javafx.scene.Node> viewer,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given
IViewer and target Node that are to be notified
about an input event that was directed at the Node . |
Modifier and Type | Class and Description |
---|---|
class |
FXViewer
|
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<VR> viewer,
IContentPart<VR,? extends VR> newFocused)
Creates a new
ChangeFocusOperation to assign focus to the given
newFocused IContentPart within the given IViewer . |
ChangeFocusOperation(java.lang.String label,
IViewer<VR> viewer,
IContentPart<VR,? extends VR> newFocused)
Creates a new
ChangeFocusOperation to assign focus to the given
newFocused IContentPart within the given IViewer . |
ChangeSelectionOperation(IViewer<VR> viewer,
java.util.List<? extends IContentPart<VR,? extends VR>> 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<VR> viewer,
java.util.List<? extends IContentPart<VR,? extends VR>> finalSelection)
Creates a new
ChangeSelectionOperation to change the selection. |
DeselectOperation(IViewer<VR> viewer,
java.util.List<? extends IContentPart<VR,? extends VR>> 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<VR> viewer,
java.util.List<? extends IContentPart<VR,? extends VR>> toBeDeselected)
Creates a new
DeselectOperation to change the selection within
the given IViewer by removing the given IContentPart s. |
SelectOperation(IViewer<VR> viewer,
java.util.List<? extends IContentPart<VR,? extends VR>> 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<VR> viewer,
java.util.List<? extends IContentPart<VR,? extends VR>> 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<VR> |
AbstractVisualPart.determineViewer(IVisualPart<VR,? extends VR> parent,
com.google.common.collect.Multiset<IVisualPart<VR,? extends VR>> anchoreds)
Determines the viewer reference via the given parent or any of the given
anchoreds.
|
IViewer<VR> |
AbstractRootPart.getAdaptable()
Gets the value of the property adaptable.
|
IViewer<VR> |
IRootPart.getViewer()
|
protected IViewer<VR> |
AbstractVisualPart.getViewer()
Returns the
IViewer that contains this part. |
IViewer<VR> |
AbstractRootPart.getViewer() |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ReadOnlyObjectProperty<IViewer<VR>> |
AbstractRootPart.adaptableProperty() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractVisualPart.register(IViewer<VR> viewer)
Called when a link to the
IViewer is obtained. |
protected void |
AbstractContentPart.register(IViewer<VR> viewer) |
protected void |
AbstractContentPart.registerAtContentPartMap(IViewer<VR> viewer,
java.lang.Object content)
Registers the model in the
getContentPartMap() . |
protected void |
AbstractVisualPart.registerAtVisualPartMap(IViewer<VR> viewer,
V visual)
Registers this part for the given visual in the visual-part-map of the
given
IViewer . |
void |
AbstractRootPart.setAdaptable(IViewer<VR> viewer)
Sets the value of the property adaptable.
|
protected void |
AbstractVisualPart.unregister(IViewer<VR> viewer)
Called when the link to the
IViewer is lost. |
protected void |
AbstractRootPart.unregister(IViewer<VR> viewer) |
protected void |
AbstractContentPart.unregister(IViewer<VR> viewer) |
protected void |
AbstractContentPart.unregisterFromContentPartMap(IViewer<VR> viewer,
java.lang.Object content)
Unregisters the model in the
getContentPartMap() . |
protected void |
AbstractVisualPart.unregisterFromVisualPartMap(IViewer<VR> viewer,
V visual)
Removes the given visual from the visual-part-map of the given viewer.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTool.clearActivePolicies(IViewer<VR> viewer)
Clears the list of active policies of this tool for the given viewer.
|
java.util.List<? extends IPolicy<VR>> |
ITool.getActivePolicies(IViewer<VR> viewer)
Returns an (unmodifiable) list containing the
interaction
policies that are currently active within this tool for the given
IViewer , i.e. the target policies of this tool that get notified
about events within the given IViewer . |
java.util.List<? extends IPolicy<VR>> |
AbstractTool.getActivePolicies(IViewer<VR> viewer) |
protected void |
AbstractTool.setActivePolicies(IViewer<VR> viewer,
java.util.Collection<? extends IPolicy<VR>> activePolicies)
Set the active policies of this tool to the given policies.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractViewer<VR> |
Copyright (c) 2014 itemis AG and others. All rights reserved.