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.ui.parts |
This package contains spcific Eclipse
ViewPart and
EditorPart implementations which wrap an FXCanvas . |
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.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>> |
AbstractDomain.getViewers() |
java.util.Map<AdapterKey<? extends IViewer<VR>>,IViewer<VR>> |
AbstractDomain.getViewers() |
java.util.Map<AdapterKey<? extends IViewer<VR>>,IViewer<VR>> |
IDomain.getViewers()
Returns the
IViewer s registered at this IDomain (via
IAdaptable.setAdapter(AdapterKey, 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(AdapterKey, Object) ) with the AdapterKey s
used for registration. |
Modifier and Type | Method and Description |
---|---|
protected void |
FXRootPart.registerAtVisualPartMap(IViewer<javafx.scene.Node> viewer,
javafx.scene.Group visual) |
protected void |
AbstractFXContentPart.registerAtVisualPartMap(IViewer<javafx.scene.Node> viewer,
V visual) |
void |
AbstractFXRootPart.setAdaptable(IViewer<javafx.scene.Node> viewer) |
protected void |
FXRootPart.unregisterFromVisualPartMap(IViewer<javafx.scene.Node> viewer,
javafx.scene.Group visual) |
protected void |
AbstractFXContentPart.unregisterFromVisualPartMap(IViewer<javafx.scene.Node> viewer,
V visual) |
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) |
protected java.util.Set<? extends AbstractFXOnRotatePolicy> |
FXRotateTool.getTargetPolicies(IViewer<javafx.scene.Node> viewer,
javafx.scene.input.RotateEvent e) |
protected java.util.Set<? extends AbstractFXOnPinchSpreadPolicy> |
FXPinchSpreadTool.getTargetPolicies(IViewer<javafx.scene.Node> viewer,
javafx.scene.input.ZoomEvent e) |
Constructor and Description |
---|
SelectionForwarder(ISelectionProvider selectionProvider,
IViewer<VR> viewer) |
Modifier and Type | Class and Description |
---|---|
class |
FXViewer |
Modifier and Type | Method and Description |
---|---|
protected ChangeFocusOperation<VR> |
ClearHoverFocusSelectionOperation.getChangeFocusOperation(IViewer<VR> viewer) |
protected ChangeHoverOperation<VR> |
ClearHoverFocusSelectionOperation.getChangeHoverOperation(IViewer<VR> viewer) |
protected ChangeSelectionOperation<VR> |
ClearHoverFocusSelectionOperation.getChangeSelectionOperation(IViewer<VR> viewer) |
Constructor and Description |
---|
ChangeFocusOperation(IViewer<VR> viewer,
IContentPart<VR,? extends VR> newFocused) |
ChangeFocusOperation(IViewer<VR> viewer,
IContentPart<VR,? extends VR> oldFocused,
IContentPart<VR,? extends VR> newFocused) |
ChangeFocusOperation(java.lang.String label,
IViewer<VR> viewer,
IContentPart<VR,? extends VR> oldFocused,
IContentPart<VR,? extends VR> newFocused) |
ChangeHoverOperation(IViewer<VR> viewer,
IVisualPart<VR,? extends VR> newHovered) |
ChangeHoverOperation(IViewer<VR> viewer,
IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered) |
ChangeHoverOperation(java.lang.String label,
IViewer<VR> viewer,
IVisualPart<VR,? extends VR> oldHovered,
IVisualPart<VR,? extends VR> newHovered) |
ChangeSelectionOperation(IViewer<VR> viewer,
java.util.List<IContentPart<VR,? extends VR>> newSelection) |
ChangeSelectionOperation(IViewer<VR> viewer,
java.util.List<IContentPart<VR,? extends VR>> oldSelection,
java.util.List<IContentPart<VR,? extends VR>> newSelection) |
ChangeSelectionOperation(java.lang.String label,
IViewer<VR> viewer,
java.util.List<IContentPart<VR,? extends VR>> oldSelection,
java.util.List<IContentPart<VR,? extends VR>> newSelection) |
ClearHoverFocusSelectionOperation(IViewer<VR> viewer) |
Modifier and Type | Method and Description |
---|---|
IViewer<VR> |
AbstractRootPart.getAdaptable() |
IViewer<VR> |
IRootPart.getViewer()
|
protected IViewer<VR> |
AbstractVisualPart.getViewer() |
IViewer<VR> |
AbstractRootPart.getViewer() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractVisualPart.register(IViewer<VR> viewer)
Called when a link to the Viewer 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) |
void |
AbstractRootPart.setAdaptable(IViewer<VR> viewer) |
protected void |
AbstractVisualPart.unregister(IViewer<VR> viewer)
Called when the link to the Viewer is lost.
|
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) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractViewer<VR> |
Copyright (c) 2014 itemis AG and others. All rights reserved.