Skip to main content



      Home
Home » Eclipse Projects » GEF » permanent cursor
permanent cursor [message #168666] Thu, 17 February 2005 11:31
Eclipse UserFriend
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
Previous Topic:Sharing an EditDomain among multiple editors?
Next Topic:select container editpart
Goto Forum:
  


Current Time: Mon May 12 17:13:05 EDT 2025

Powered by FUDForum. Page generated in 0.03150 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top