Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » get Actions of a perspective
get Actions of a perspective [message #143561] Thu, 19 February 2004 15:51
Eclipse UserFriend
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
Previous Topic:Creating key binding for a particular scope
Next Topic:The active editor does not contain a main type.
Goto Forum:
  


Current Time: Wed Jul 16 21:14:11 EDT 2025

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

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

Back to the top