Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Automatically Select All
Automatically Select All [message #216012] Fri, 12 May 2006 09:32 Go to next message
Thomas Buchmann is currently offline Thomas BuchmannFriend
Messages: 11
Registered: July 2009
Junior Member
Hello,

i'm writing a plugin with an editor using GEF. I also added an Entry to
the Eclipse menubar which is visible when my editor is active. The menu
should contain an entry called "Delete All" which should (as the name
implies ;) ) delete the whole content of the editor. My question is: How
can i automatically select the whole content that the editor displays and
how can i invoke the right edit policies afterwards?
Or is there an easier way to achieve this?

Thanks in advance for your help.

regards,
Thomas
Re: Automatically Select All [message #216349 is a reply to message #216012] Wed, 17 May 2006 10:26 Go to previous messageGo to next message
Thomas Buchmann is currently offline Thomas BuchmannFriend
Messages: 11
Registered: July 2009
Junior Member
*bump*

does anybody have a solution for it?

Thomas Buchmann wrote:
> Hello,
>
> i'm writing a plugin with an editor using GEF. I also added an Entry to
> the Eclipse menubar which is visible when my editor is active. The menu
> should contain an entry called "Delete All" which should (as the name
> implies ;) ) delete the whole content of the editor. My question is: How
> can i automatically select the whole content that the editor displays
> and how can i invoke the right edit policies afterwards?
> Or is there an easier way to achieve this?
>
> Thanks in advance for your help.
>
> regards,
> Thomas
>
Re: Automatically Select All [message #216600 is a reply to message #216349] Mon, 22 May 2006 14:02 Go to previous message
Eclipse UserFriend
Originally posted by: marguu.libero.it

you can use the default SelectAllAction. I don't have my code here, but if
you have other problems with it write me!
BYE
Previous Topic:copy&paste
Next Topic:matisse style layout
Goto Forum:
  


Current Time: Tue Apr 16 19:26:08 GMT 2024

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

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

Back to the top