get Actions of a perspective [message #143561] |
Thu, 19 February 2004 15:51 |
Eclipse User |
|
|
|
Originally posted by: sg.media-style.removeme.com
Hi,
i had implement a perspective and add a action set.
Something like:
public class PerspectiveFactory implements IPerspectiveFactory {
/*
* (non-Javadoc)
*
* @see
org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.e clipse.ui.IPageLayout)
*/
public void createInitialLayout(IPageLayout layout) {
// add actionset
layout.addActionSet(IHmcViewIds.ACTION_SET_ID);
}
}
How can i get the actions inside the actionset?
I wish to use get my actions for testing issues.
I'm searching someting like
Action[] actions = getActionSetById(actionsetId).getActions();
I was searching the website and the api as well, but i didnt find any
thing. But of course i do not know the exact name.
Thanks for any hints!
Stefan
|
|
|
Powered by
FUDForum. Page generated in 0.04782 seconds