| Package | Description |
|---|---|
| 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.policies |
This package contains all
IPolicy implementations contributed by MVC.FX. |
| org.eclipse.gef4.mvc.fx.tools |
This package contains JavaFX-specific
ITool
implementations for different interactions (e.g. mouse drag). |
| 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.policies |
This package contains the
IPolicy (and
AbstractPolicy) abstraction and concrete
implementations for the manipulation of the ContentModel:
ContentPolicy, CreationPolicy,
and DeletionPolicy. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IPolicy<javafx.scene.Node>> |
FXPartUtils.getTargetPart(java.util.Collection<IViewer<javafx.scene.Node>> viewers,
javafx.scene.Node visual,
java.lang.Class<T> supportedPolicy,
boolean searchHierarchy)
Returns the first
IVisualPart in the given list of viewers, for
which both of the following properties hold:
Supports the specified policy (which may be null). |
| Modifier and Type | Method and Description |
|---|---|
protected <T extends IPolicy<javafx.scene.Node>> |
FXClickDragTool.getTargetPart(IViewer<javafx.scene.Node> viewer,
javafx.scene.Node target,
java.lang.Class<T> policy) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<AdapterKey<? extends IPolicy<VR>>,IPolicy<VR>> |
IVisualPart.getPolicies() |
java.util.Map<AdapterKey<? extends IPolicy<VR>>,IPolicy<VR>> |
IVisualPart.getPolicies() |
java.util.Map<AdapterKey<? extends IPolicy<VR>>,IPolicy<VR>> |
AbstractVisualPart.getPolicies() |
java.util.Map<AdapterKey<? extends IPolicy<VR>>,IPolicy<VR>> |
AbstractVisualPart.getPolicies() |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPolicy<VR>
Abstract base implementation of
IPolicy. |
class |
ContentPolicy<VR>
A (transaction) policy to handle content changes, i.e. adding/removing of
content children, as well as attaching/detaching to/from content anchorages.
|
class |
CreationPolicy<VR>
The
CreationPolicy is an ITransactional
AbstractPolicy that handles the creation of new content objects via
the ContentPolicy. |
class |
DeletionPolicy<VR>
The
DeletionPolicy is an ITransactional
AbstractPolicy that handles the deletion of existing
IContentParts via the ContentPolicy. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractPolicy.commit(IPolicy<VR> policy) |
protected void |
AbstractPolicy.init(IPolicy<VR> policy) |
Copyright (c) 2014 itemis AG and others. All rights reserved.