Package | Description |
---|---|
org.eclipse.gef4.mvc.domain |
This package contains the
IDomain
abstraction and its related
AbstractDomain realization. |
org.eclipse.gef4.mvc.fx.tools |
This package contains JavaFX-specific
ITool implementations for different
interactions (e.g. mouse drag). |
org.eclipse.gef4.mvc.tools |
This package contains the
ITool
abstraction and its related AbstractTool
realization. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<AdapterKey<? extends ITool<VR>>,ITool<VR>> |
IDomain.getTools()
Returns the
ITool s registered at this IDomain (via
IAdaptable.setAdapter(TypeToken, Object) ) with the AdapterKey s used
for registration. |
java.util.Map<AdapterKey<? extends ITool<VR>>,ITool<VR>> |
IDomain.getTools()
Returns the
ITool s registered at this IDomain (via
IAdaptable.setAdapter(TypeToken, Object) ) with the AdapterKey s used
for registration. |
java.util.Map<AdapterKey<? extends ITool<VR>>,ITool<VR>> |
AbstractDomain.getTools() |
java.util.Map<AdapterKey<? extends ITool<VR>>,ITool<VR>> |
AbstractDomain.getTools() |
Modifier and Type | Method and Description |
---|---|
void |
IDomain.closeExecutionTransaction(ITool<VR> tool)
Closes the active execution transaction, removes the given
ITool
from the transaction context, and opens a new execution transaction if
there are any tools remaining in the context. |
void |
AbstractDomain.closeExecutionTransaction(ITool<VR> tool) |
boolean |
IDomain.isExecutionTransactionOpen(ITool<VR> tool)
Returns
true if the given ITool is taking part in
the currently open execution transaction. |
boolean |
AbstractDomain.isExecutionTransactionOpen(ITool<VR> tool) |
void |
IDomain.openExecutionTransaction(ITool<VR> tool)
Opens a new transaction or adds the given
ITool to the currently
opened transaction for executing operations (via
IDomain.execute(ITransactionalOperation) ) on the
IOperationHistory used by this IDomain (see
IDomain.getOperationHistory() ), using the IUndoContext of this
IDomain . |
void |
AbstractDomain.openExecutionTransaction(ITool<VR> tool) |
Modifier and Type | Class and Description |
---|---|
class |
FXClickDragTool
An
ITool to handle click/drag interaction gestures. |
class |
FXHoverTool
The
FXHoverTool is an AbstractTool that handles mouse hover
changes. |
class |
FXPinchSpreadTool
The
FXPinchSpreadTool is an AbstractTool to handle
pinch/spread (zoom) interaction gestures. |
class |
FXRotateTool
The
FXRotateTool is an AbstractTool to handle rotate
interaction gestures. |
class |
FXScrollTool
The
FXScrollTool is an AbstractTool that handles mouse scroll
events. |
class |
FXTypeTool
The
FXTypeTool is an AbstractTool that handles keyboard
input. |
Modifier and Type | Method and Description |
---|---|
<T extends IPolicy<javafx.scene.Node>> |
DefaultTargetPolicyResolver.getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given target
Node that are to be notified about an input event
that was directed at the Node . |
<T extends IPolicy<javafx.scene.Node>> |
ITargetPolicyResolver.getTargetPolicies(ITool<javafx.scene.Node> contextTool,
javafx.scene.Node target,
java.lang.Class<T> policyClass)
Determines and prioritizes all policies of the specified type for the
given 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 . |
<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 . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTool<VR>
The
AbstractTool can be used as a base class for ITool
implementations. |
Copyright (c) 2014 itemis AG and others. All rights reserved.