public interface ActionProvider
IdeAction
objects, unless its a
temporary or constantly changing action.
A IdeConstants#MENU_SECTION_ID
property with a float value can be
added to the action to specify grouping.
Modifier and Type | Method and Description |
---|---|
ToggleAction[] |
getActions(ResCatController resCatController,
Controller viewController)
Return an array of actions relevant to an Element.
|
ToggleAction[] getActions(ResCatController resCatController, Controller viewController)
resCatController
- the Resource Catalog controller is passed in. It can be
used as a delegate and/or to lookup default actions.viewController
- the controller for the immediate view in which the
element resides. It can be used as a delegate.