Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 22:53 Go to next message
Ryan is currently offline RyanFriend
Messages: 34
Registered: July 2009
Member
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 16:01 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
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 13:15 Go to previous message
Ryan is currently offline RyanFriend
Messages: 34
Registered: July 2009
Member
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: Sat Oct 24 04:34:15 GMT 2020

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

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

Back to the top