Package | Description |
---|---|
org.eclipse.gef.mvc.fx.behaviors |
This package contains JavaFX/MVC.FX-specific
IBehavior implementations. |
org.eclipse.gef.mvc.fx.models | |
org.eclipse.gef.mvc.fx.parts |
This package contains all JavaFX-specific
IContentPart ,
IVisualPart ,
IFeedbackPart , and
IHandlePart implementations and related
classes. |
org.eclipse.gef.mvc.fx.providers |
Modifier and Type | Method and Description |
---|---|
protected void |
SnappingBehavior.onSnappingLocationsChanged(java.util.List<? extends SnappingModel.SnappingLocation> oldValue,
java.util.List<? extends SnappingModel.SnappingLocation> newValue)
Callback method that is called in response to
SnappingModel
changes. |
protected void |
SnappingBehavior.onSnappingLocationsChanged(java.util.List<? extends SnappingModel.SnappingLocation> oldValue,
java.util.List<? extends SnappingModel.SnappingLocation> newValue)
Callback method that is called in response to
SnappingModel
changes. |
Modifier and Type | Method and Description |
---|---|
SnappingModel.SnappingLocation |
SnappingModel.SnappingLocation.getCopy()
Returns a copy of this
SnappingModel.SnappingLocation . |
Modifier and Type | Method and Description |
---|---|
java.util.List<SnappingModel.SnappingLocation> |
SnappingModel.getSnappingLocations()
Returns a
List containing the SnappingModel.SnappingLocation s currently
stored in this SnappingModel . |
java.util.List<SnappingModel.SnappingLocation> |
SnappingModel.getSnappingLocationsFor(IContentPart<? extends javafx.scene.Node> part)
Returns a
List containing the SnappingModel.SnappingLocation s that were
derived from the given IContentPart . |
javafx.beans.property.ReadOnlyListProperty<SnappingModel.SnappingLocation> |
SnappingModel.snappingLocationsProperty()
A read-only property containing the current
SnappingModel.SnappingLocation s. |
Modifier and Type | Method and Description |
---|---|
void |
SnappingModel.setSnappingLocations(java.util.List<? extends SnappingModel.SnappingLocation> snappingLocations)
Replaces the
SnappingModel.SnappingLocation s that are stored in this
SnappingModel by the given List of
SnappingModel.SnappingLocation s. |
Modifier and Type | Method and Description |
---|---|
SnappingModel.SnappingLocation |
SnappingFeedbackPart.getSnappingLocation()
Returns the
SnappingModel.SnappingLocation for which feedback is visualized by
this SnappingFeedbackPart . |
Modifier and Type | Method and Description |
---|---|
void |
SnappingFeedbackPart.setSnappingLocation(SnappingModel.SnappingLocation snappingLocation)
Sets the
SnappingModel.SnappingLocation for this feedback part to the given
value. |
Modifier and Type | Method and Description |
---|---|
java.util.List<SnappingModel.SnappingLocation> |
ISnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
Returns the horizontal
SnappingModel.SnappingLocation s for the given
IContentPart . |
java.util.List<SnappingModel.SnappingLocation> |
TopLeftSnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) |
java.util.List<SnappingModel.SnappingLocation> |
ConnectionSnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) |
java.util.List<SnappingModel.SnappingLocation> |
CenterSnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) |
java.util.List<SnappingModel.SnappingLocation> |
BoundsSnappingLocationProvider.getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) |
protected java.util.List<SnappingModel.SnappingLocation> |
ConnectionSnappingLocationProvider.getSnappingLocations(IContentPart<? extends javafx.scene.Node> part,
javafx.geometry.Orientation orientation)
Returns
SnappingModel.SnappingLocation s with given Orientation for the
ConnectionSnappingLocationProvider.getConnection(IContentPart) of the given IContentPart . |
protected java.util.List<SnappingModel.SnappingLocation> |
BoundsSnappingLocationProvider.getSnappingLocations(IContentPart<? extends javafx.scene.Node> part,
javafx.geometry.Orientation orient,
double... ratios)
Iterates over the given ratios and interpolates positions within the
bounds for the individual ratios.
|
java.util.List<SnappingModel.SnappingLocation> |
ISnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
Returns the vertical
SnappingModel.SnappingLocation s for the given
IContentPart . |
java.util.List<SnappingModel.SnappingLocation> |
TopLeftSnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) |
java.util.List<SnappingModel.SnappingLocation> |
ConnectionSnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) |
java.util.List<SnappingModel.SnappingLocation> |
CenterSnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) |
java.util.List<SnappingModel.SnappingLocation> |
BoundsSnappingLocationProvider.getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part) |
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.