Package | Description |
---|---|
org.eclipse.gef4.mvc.behaviors |
This package contains the
IBehavior and
AbstractBehavior definitions. |
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.models |
This package contains all viewer models, i.e. the data constituting a viewer state.
|
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.policies |
This package contains the
IPolicy (and
AbstractPolicy ) abstraction and concrete
implementations for the manipulation of the ContentModel :
ContentPolicy , CreationPolicy ,
and DeletionPolicy . |
org.eclipse.gef4.mvc.viewer |
This package contains the
IViewer abstraction
and the related AbstractViewer realization. |
Modifier and Type | Method and Description |
---|---|
protected IContentPart<VR,? extends VR> |
ContentBehavior.findOrCreatePartFor(java.lang.Object content) |
IContentPart<VR,? extends VR> |
ContentPartPool.remove(java.lang.Object content)
Retrieves an
IContentPart for the given content element and
removes it from the pool. |
Modifier and Type | Method and Description |
---|---|
void |
ContentPartPool.add(IContentPart<VR,? extends VR> part)
Adds an
IContentPart to this pool. |
protected void |
ContentBehavior.disposeIfObsolete(IContentPart<VR,? extends VR> contentPart) |
Modifier and Type | Method and Description |
---|---|
protected void |
SelectionBehavior.addFeedbackAndHandles(java.util.List<? extends IContentPart<VR,? extends VR>> selected) |
protected void |
SelectionBehavior.removeFeedbackAndHandles(java.util.List<? extends IContentPart<VR,? extends VR>> selected) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFXContentPart<V extends javafx.scene.Node> |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXMarqueeOnDragPolicy.getParts(java.util.List<javafx.scene.Node> nodes) |
java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXRelocateOnDragPolicy.getTargetParts() |
protected java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXRotateSelectedOnRotatePolicy.getTargetParts() |
protected java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXRotateSelectedOnHandleDragPolicy.getTargetParts() |
java.util.List<IContentPart<javafx.scene.Node,? extends javafx.scene.Node>> |
FXScaleRelocateOnHandleDragPolicy.getTargetParts() |
Modifier and Type | Method and Description |
---|---|
protected FXResizeRelocatePolicy |
FXRelocateOnDragPolicy.getResizeRelocatePolicy(IContentPart<javafx.scene.Node,? extends javafx.scene.Node> part) |
protected FXScaleRelocatePolicy |
FXScaleRelocateOnHandleDragPolicy.getScaleRelocatePolicy(IContentPart<javafx.scene.Node,? extends javafx.scene.Node> part) |
protected Rectangle |
FXScaleRelocateOnHandleDragPolicy.getVisualBounds(IContentPart<javafx.scene.Node,? extends javafx.scene.Node> contentPart) |
Modifier and Type | Method and Description |
---|---|
IContentPart<VR,? extends VR> |
FocusModel.getFocused()
Returns the
IContentPart which has keyboard focus, or
null if no IContentPart currently has keyboard
focus. |
Modifier and Type | Method and Description |
---|---|
java.util.List<IContentPart<VR,? extends VR>> |
SelectionModel.getSelected()
Returns an unmodifiable list of the currently selected
IContentPart s. |
Modifier and Type | Method and Description |
---|---|
boolean |
SelectionModel.isSelected(IContentPart<VR,? extends VR> contentPart)
Returns
true if the given IContentPart is part of
the current selection. |
void |
FocusModel.setFocused(IContentPart<VR,? extends VR> focusPart)
Selects the given IContentPart as the focus part.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectionModel.appendSelection(java.util.List<? extends IContentPart<VR,? extends VR>> contentParts)
Appends the given
IContentPart s to the current selection, i.e. |
void |
SelectionModel.deselect(java.util.Collection<? extends IContentPart<VR,? extends VR>> contentParts)
Removes the given
IContentPart s from the current selection. |
void |
SelectionModel.select(java.util.List<? extends IContentPart<VR,? extends VR>> additionalSelected)
Updates the current selection by adding the given list of
IContentPart s, preserving already selected elements. |
void |
SelectionModel.updateSelection(java.util.List<? extends IContentPart<VR,? extends VR>> newSelection)
Replaces the whole selection with the given list of
IContentPart
s. |
Constructor and Description |
---|
AddContentChildOperation(IContentPart<VR,? extends VR> parent,
java.lang.Object contentChild,
int index) |
AttachToContentAnchorageOperation(IContentPart<VR,? extends VR> anchored,
java.lang.Object contentAnchorage,
java.lang.String role) |
ChangeFocusOperation(IViewer<VR> viewer,
IContentPart<VR,? extends VR> newFocused) |
ChangeFocusOperation(IViewer<VR> viewer,
IContentPart<VR,? extends VR> oldFocused,
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) |
ChangeFocusOperation(java.lang.String label,
IViewer<VR> viewer,
IContentPart<VR,? extends VR> oldFocused,
IContentPart<VR,? extends VR> newFocused) |
DetachFromContentAnchorageOperation(IContentPart<VR,? extends VR> anchored,
java.lang.Object contentAnchorage,
java.lang.String role) |
RemoveContentChildOperation(IContentPart<VR,? extends VR> parent,
java.lang.Object contentChild) |
SynchronizeContentAnchoragesOperation(java.lang.String label,
IContentPart<VR,? extends VR> anchored) |
SynchronizeContentChildrenOperation(java.lang.String label,
IContentPart<VR,? extends VR> parent) |
Constructor and Description |
---|
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(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) |
ChangeSelectionOperation(java.lang.String label,
IViewer<VR> viewer,
java.util.List<IContentPart<VR,? extends VR>> oldSelection,
java.util.List<IContentPart<VR,? extends VR>> newSelection) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractContentPart<VR,V extends VR>
The abstract base implementation of
IContentPart , intended to be
sub-classed by clients to create their own custom IContentPart . |
Modifier and Type | Method and Description |
---|---|
IContentPart<VR,? extends VR> |
IContentPartFactory.createContentPart(java.lang.Object content,
IBehavior<VR> contextBehavior,
java.util.Map<java.lang.Object,java.lang.Object> contextMap)
Creates a specific
IContentPart for the given content. |
Modifier and Type | Method and Description |
---|---|
java.util.List<IContentPart<VR,? extends VR>> |
IRootPart.getContentPartChildren()
Returns all children of type
IContentPart contained by this
IRootPart . |
java.util.List<IContentPart<VR,? extends VR>> |
AbstractRootPart.getContentPartChildren() |
Modifier and Type | Method and Description |
---|---|
IContentPart<VR,? extends VR> |
ContentPolicy.getHost() |
Modifier and Type | Method and Description |
---|---|
void |
CreationPolicy.create(IContentPart<VR,? extends VR> parent,
java.lang.Object content)
Adds the given content to the collection of to-be-created contents
in the specified parent.
|
void |
DeletionPolicy.delete(IContentPart<VR,? extends VR>... contentPartsToDelete)
Marks the given
IContentPart s for deletion. |
Modifier and Type | Method and Description |
---|---|
void |
DeletionPolicy.delete(java.util.Collection<IContentPart<VR,? extends VR>> contentPartsToDelete)
Marks the given
IContentPart s for deletion. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Object,IContentPart<VR,? extends VR>> |
IViewer.getContentPartMap()
Returns the
Map for registering IContentPart s by their
content. |
java.util.Map<java.lang.Object,IContentPart<VR,? extends VR>> |
AbstractViewer.getContentPartMap() |
Copyright (c) 2014 itemis AG and others. All rights reserved.