permanent cursor [message #168666] |
Thu, 17 February 2005 11:31 |
Eclipse User |
|
|
|
Originally posted by: none.none.com
How to implement a permanent cursor inside the editor, that would indicate
where you insert new elements? The layouteditpolicy has got a cursor but it
only shows it when you're about to drop something, I would like something
independent of the mouse, so you could go in the top menu, and choose
insert->element, and it will insert the new element where the cursor is. So
I guess I need to have the cursor inside the selected editpart, if it's a
container editpart, or before/after the selected editpart if it's not a
container. If several editparts are selected, we could show the cursor
before the first one in the selection. I am using a subclass of
flowlayouteditpolicies for all container editparts.
Thanks,
David
|
|
|
Powered by
FUDForum. Page generated in 0.03150 seconds