Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to prevent DirectEdit when the mouse give the focus to the EditorPart?
How to prevent DirectEdit when the mouse give the focus to the EditorPart? [message #179537] Thu, 28 April 2005 08:12 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:refresh all editpart
Next Topic:Bendpoint problem while updating project to Eclipse 3.0.2
Goto Forum:
  


Current Time: Sat Feb 04 03:42:29 GMT 2023

Powered by FUDForum. Page generated in 0.13326 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top