My diagram has some elements that can be placed only on certain connections.
So when user pics an element from palette, I'd like to visually highlight exact places where he can put that element, e.g. with small red dot or something like this.
Michael Wenz Messages: 1488 Registered: July 2009 Location: Walldorf, Germany
Hm, currently not quite. It is possible to influence the visualization of
shapes while hovering over them (see
IToolBehaviorProvider.getSelectionInfoForShapes) but using that will it will
not be possible to to highlight all places where the user can drop.
There is a such functionality for creating connections though (hooks within
the creation process), see the Chess example when creation a "Move"
connection. Maybe something similar is needed for shapes as well.