How to prevent DirectEdit when the mouse give the focus to the EditorPart? [message #179537] |
Thu, 28 April 2005 08:12 |
Eclipse User |
|
|
|
Originally posted by: steph_poubelle.yahoo.fr
When I have a node selected in the editorPart and the part has not the
focus.
When I click on the node in the editor, first it gives the focus to the
part, then it edits the text of the node.
I want to prevent this behaviour. A click on a selected node in a
non-selected part may just give th focus to the part, and not send a
DirectEdit Request to the node.
Moreover, I want that when I click on a non-selected node in a
non-selected part, it gives the focus to the part and then to the node.
How can I achieve this?
Thanks.
|
|
|
Re: How to prevent DirectEdit when the mouse give the focus to the EditorPart? [message #179542 is a reply to message #179537] |
Thu, 28 April 2005 09:20 |
Eclipse User |
|
|
|
Originally posted by: steph_poubelle.yahoo.fr
I have also seen that there are AccessibleEditParts and also an
EventDispatcher.
I don't really understand the role of both.
Are they concerned with my problem?
Thanks.
Stephane a écrit :
> When I have a node selected in the editorPart and the part has not the
> focus.
>
> When I click on the node in the editor, first it gives the focus to
> the part, then it edits the text of the node.
>
> I want to prevent this behaviour. A click on a selected node in a
> non-selected part may just give th focus to the part, and not send a
> DirectEdit Request to the node.
> Moreover, I want that when I click on a non-selected node in a
> non-selected part, it gives the focus to the part and then to the node.
>
> How can I achieve this?
>
> Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.03223 seconds