[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: SelectionTool and Figures

Override isSelectable in editpart to return false.

""José"" <J_ML@xxxxxxxxxx> wrote in message 
news:d1cdgo$qu2$1@xxxxxxxxxxxxxxxxxx
>
> Hi all. This is actually a simple question. How can i stop my 
> SelectionTool from selecting some kind of figures on my editor?
>
> Ex: Imagine i have too kind of figures, one kind that i need to manipulate 
> by selecting it, and a second kind that is not supposed not to be 
> selectable, i mean, i don't want to have the "selection border" around 
> those not selectable figures. I've also different EditParts for the two 
> kinds.
>
> My first guest was to manipulate my policies, but i have no idea how.
>
> thanks, josé
>