How to hook up the text widget in an editor to global actions? [message #446549] |
Thu, 25 November 2004 22:53 |
Ryan 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 |
Veronika Irvine 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 |
Ryan 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.
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02615 seconds