|
Re: Do I need EditPolicy.LAYOUT_ROLE just to select a child? [message #185040 is a reply to message #184761] |
Wed, 22 June 2005 00:39 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You can put your own version of a selection editpolicy on the editpart using
whatever key you want. The PRIMARY_DRAG_ROLE is just a convention used so
that swapping layouts guarantees that the same type of policy on the child
also gets swapped.
"Steve Jones" <steve@istech.demon.co.uk> wrote in message
news:d8rtgk$o3r$1@news.eclipse.org...
> Hi,
>
> I have child editparts that are laid out using ToolbarLayout.
>
> I want to be able to select a child, provide some visual feedback, and
> allow
> the user to delete it.
>
> No re-size, no move, no add, just select and delete.
>
> What edit policies to I need to implement in the parent and child parts to
> get this functionality?
>
> Cheers, Steve.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03410 seconds