public interface ISnapLineProvider
GraphSnapContext to add OrthogonalSnapLines to its collections during the
initialization phase.
Implementations of this interface are queried by GraphSnapContext for each item that is not modified during the
edit using the ILookup.lookup(java.lang.Class) of the respective item.
| Modifier and Type | Method and Description |
|---|---|
void |
addSnapLines(GraphSnapContext context,
CollectGraphSnapLinesEventArgs args,
IModelItem item)
Called by the
GraphSnapContext when a drag
is about to start. |
void addSnapLines(GraphSnapContext context, CollectGraphSnapLinesEventArgs args, IModelItem item)
GraphSnapContext when a drag
is about to start.context - The context which holds the settings for the snap lines. Note that implementations should not change the state of the
context explicitly.args - The argument to use for adding snap lines.item - The item to add snap lines for.