Package org.eclipse.gef.mvc.fx.providers
Interface IAnchorProvider
-
- All Known Implementing Classes:
DefaultAnchorProvider
public interface IAnchorProvider
TheIAnchorProvider
can provide anIAnchor
for an anchorage part depending on a given anchoredIVisualPart
and a corresponding role (seeget(IVisualPart, String)
for details).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAnchor
get(IVisualPart<? extends javafx.scene.Node> anchoredPart, java.lang.String role)
Returns anIAnchor
that should be used to provide a position for the given anchoredIVisualPart
and the given role.
-
-
-
Method Detail
-
get
IAnchor get(IVisualPart<? extends javafx.scene.Node> anchoredPart, java.lang.String role)
Returns anIAnchor
that should be used to provide a position for the given anchoredIVisualPart
and the given role.- Parameters:
anchoredPart
- The anchoredIVisualPart
which the returnedIAnchor
should provide a position for.role
- The role which the returnedIAnchor
should provide a position for.- Returns:
- An
IAnchor
that should be used to provide a position for the given anchoredIVisualPart
and the given role.
-
-