Different Selection based on figures [message #221041] |
Wed, 09 August 2006 05:43 |
Eclipse User |
|
|
|
Originally posted by: irbull.cs.uvic.ca
I have a compartment figure (like the circuits in the logic example).
Unlike the circuits, my figure has a title bar. I would like to change
the selection tool based on where in the figure the mouse down is
pressed. If the user selects inside the compartment then I would like
to use a Marguee selection. If they select the title, then i would like
to use a single selection tool.
I know I need to override the getDragTracker() method in my edit part,
but since my title and compartment areas are just figures within my
compartment figure (and not edit parts), I am not able to determine
where the selection occurred. i really don't want to create separate
edit parts for these two parts of my compartment edit part.
any ideas?
cheers,
ian
|
|
|
|
Powered by
FUDForum. Page generated in 0.03123 seconds