Package org.eclipse.gef.mvc.fx.providers
Interface IAnchorProvider
- All Known Implementing Classes:
DefaultAnchorProvider
public interface IAnchorProvider
The
IAnchorProvider can provide an IAnchor for an anchorage
part depending on a given anchored IVisualPart and a corresponding
role (see get(IVisualPart, String) for details).-
Method Summary
Modifier and TypeMethodDescriptionget(IVisualPart<? extends javafx.scene.Node> anchoredPart, String role) Returns anIAnchorthat should be used to provide a position for the given anchoredIVisualPartand the given role.
-
Method Details
-
get
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.
-