Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to hook up the text widget in an editor to global actions?
How to hook up the text widget in an editor to global actions? [message #446549] Thu, 25 November 2004 17:53 Go to next message
Eclipse UserFriend
Hello,

I have a multipage editors and tried to hook up the global actions.
I registered the undo/redo actions, which are work for two pages of them.
These two pages have tables, I use Add and Remove buttons to invoke the
commands to add and remove table contents. Undo/redo are not showing up in
the context menu for these tables. But I can use the shortcut key Ctrl-Z,
Ctrl-Y to undo/redo, as well as the 'Edit/Undo' and 'Edit/Redo' in the
main menu.

On the last page I have a text widget, which has the standard menu items
(Undo, Cut, Copy, Paste...). They can work through right click to the
context menu, but not with the global actions in the main menu. Undo/Redo
don't work for this page.

Could someone tell me how to hook up the global actions for this text
widget? Thanks a lot.
Re: How to hook up the text widget in an editor to global actions? [message #446567 is a reply to message #446549] Fri, 26 November 2004 11:01 Go to previous messageGo to next message
Eclipse UserFriend
Please ask this question in the eclipse platform newsgroup:

news://news.eclipse.org/eclipse.platform

See also the following article - although I am not sure it is up to date:

http://www.eclipse.org/articles/Article-action-contribution/ Contributing%20Actions%20to%20the%20Eclipse%20Workbench.html

"Ryan" <Ryan@xxx.com> wrote in message news:co5np1$vqq$1@www.eclipse.org...
> Hello,
>
> I have a multipage editors and tried to hook up the global actions.
> I registered the undo/redo actions, which are work for two pages of them.
> These two pages have tables, I use Add and Remove buttons to invoke the
> commands to add and remove table contents. Undo/redo are not showing up in
> the context menu for these tables. But I can use the shortcut key Ctrl-Z,
> Ctrl-Y to undo/redo, as well as the 'Edit/Undo' and 'Edit/Redo' in the
> main menu.
>
> On the last page I have a text widget, which has the standard menu items
> (Undo, Cut, Copy, Paste...). They can work through right click to the
> context menu, but not with the global actions in the main menu. Undo/Redo
> don't work for this page.
>
> Could someone tell me how to hook up the global actions for this text
> widget? Thanks a lot.
>
Re: How to hook up the text widget in an editor to global actions? [message #446588 is a reply to message #446567] Sat, 27 November 2004 08:15 Go to previous message
Eclipse UserFriend
Veronika, thanks a lot.

Veronika Irvine wrote:

> Please ask this question in the eclipse platform newsgroup:

> news://news.eclipse.org/eclipse.platform

> See also the following article - although I am not sure it is up to date:

>
http://www.eclipse.org/articles/Article-action-contribution/ Contributing%20Actions%20to%20the%20Eclipse%20Workbench.html

> "Ryan" <Ryan@xxx.com> wrote in message news:co5np1$vqq$1@www.eclipse.org...
>> Hello,
>>
>> I have a multipage editors and tried to hook up the global actions.
>> I registered the undo/redo actions, which are work for two pages of them.
>> These two pages have tables, I use Add and Remove buttons to invoke the
>> commands to add and remove table contents. Undo/redo are not showing up in
>> the context menu for these tables. But I can use the shortcut key Ctrl-Z,
>> Ctrl-Y to undo/redo, as well as the 'Edit/Undo' and 'Edit/Redo' in the
>> main menu.
>>
>> On the last page I have a text widget, which has the standard menu items
>> (Undo, Cut, Copy, Paste...). They can work through right click to the
>> context menu, but not with the global actions in the main menu. Undo/Redo
>> don't work for this page.
>>
>> Could someone tell me how to hook up the global actions for this text
>> widget? Thanks a lot.
>>
Previous Topic:Problems with German umlauts
Next Topic:Content Assistant for Text widget
Goto Forum:
  


Current Time: Wed Jul 23 08:41:49 EDT 2025

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

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

Back to the top