How to add standard actions to perspectives ActionMenuBar ? [message #90995] |
Tue, 09 January 2007 12:22 |
Eclipse User |
|
|
|
Originally posted by: christian.daenekas.informatik.uni-oldenburg.de
Hello!
I´ve got a question concerning perspective specific ActionMenus. When
you generate your editor application as a RC app you get menus like
File, Edit etc.. These contain actions like Save (As/All), Undo, Copy
and so on. These actions are eclipse standard actions that are created,
registered and added to a menu in the XActionBarAdivsor class. I use my
editor as a perspective inside of another Rich Client. As I want the
actions I need to interact with the editor only to be seen inside my
editor perspective (by extending the File menu and adding some other
menu that don´t exist in the other perspectives like the Edit menu), I
don´t want to add them by using the main applications ActionBarAdivsor.
I thought of using Extensions but I don´t know how to get a hold on the
actions provided by the ActionFactory. Maybe there are even some
conventions (design wise) for this usecase that I´m not aware of. I´m
pretty new to RCP and my research didn´t help me to solve this problem
so far. I hope someone can help me out.
Greetings,
Christian
|
|
|
Powered by
FUDForum. Page generated in 0.02391 seconds