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 Node> anchoredPart, String role) Returns anIAnchor
that should be used to provide a position for the given anchoredIVisualPart
and the given role.
-
Method Details
-
get
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.
-