Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to add standard actions to perspectives ActionMenuBar ?
How to add standard actions to perspectives ActionMenuBar ? [message #90995] Tue, 09 January 2007 12:22
Eclipse UserFriend
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
Previous Topic:roundtrip editor, possible?
Next Topic:how to give dynamic path to custom figures?
Goto Forum:
  


Current Time: Fri May 09 20:12:56 EDT 2025

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

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

Back to the top