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

You may want to ask the edit part not to provide any selection feedback. This can be done in the AbstractEditPart.createEditPolicies(), make sure you don't install any edit policies on EditPolicy.SELECTION_FEEDBACK_ROLE.

José wrote:


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é