public class ConnectionSnappingLocationProvider extends java.lang.Object implements ISnappingLocationProvider
| Constructor and Description |
|---|
ConnectionSnappingLocationProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected Connection |
getConnection(IContentPart<? extends javafx.scene.Node> part)
Returns the
Connection that is used as the basis for
determination of SnappingModel.SnappingLocations for the given
IContentPart. |
java.util.List<SnappingModel.SnappingLocation> |
getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
Returns the horizontal
SnappingModel.SnappingLocations for the given
IContentPart. |
protected java.util.List<SnappingModel.SnappingLocation> |
getSnappingLocations(IContentPart<? extends javafx.scene.Node> part,
javafx.geometry.Orientation orientation)
Returns
SnappingModel.SnappingLocations with given Orientation for the
getConnection(IContentPart) of the given IContentPart. |
java.util.List<SnappingModel.SnappingLocation> |
getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
Returns the vertical
SnappingModel.SnappingLocations for the given
IContentPart. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitunionprotected Connection getConnection(IContentPart<? extends javafx.scene.Node> part)
Connection that is used as the basis for
determination of SnappingModel.SnappingLocations for the given
IContentPart.part - The IContentPart for which to determine a
Connection visual.Connection that is used as the basis for
determination of SnappingModel.SnappingLocations for the given
IContentPart.public java.util.List<SnappingModel.SnappingLocation> getHorizontalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
ISnappingLocationProviderSnappingModel.SnappingLocations for the given
IContentPart.getHorizontalSnappingLocations in interface ISnappingLocationProviderpart - The IContentPart for which to compute the
SnappingModel.SnappingLocations.List of all horizontal SnappingModel.SnappingLocations for
the given IContentPart.protected java.util.List<SnappingModel.SnappingLocation> getSnappingLocations(IContentPart<? extends javafx.scene.Node> part, javafx.geometry.Orientation orientation)
SnappingModel.SnappingLocations with given Orientation for the
getConnection(IContentPart) of the given IContentPart.part - The IContentPart for which to determine
SnappingModel.SnappingLocations.orientation - The Orientation for the locations.SnappingModel.SnappingLocations for the given IContentPart
and Orientation.public java.util.List<SnappingModel.SnappingLocation> getVerticalSnappingLocations(IContentPart<? extends javafx.scene.Node> part)
ISnappingLocationProviderSnappingModel.SnappingLocations for the given
IContentPart.getVerticalSnappingLocations in interface ISnappingLocationProviderpart - The IContentPart for which to compute the
SnappingModel.SnappingLocations.List of all vertical SnappingModel.SnappingLocations for the
given IContentPart.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.