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