com.sas.actionprovider.support.dataselectors
Class HttpMenuBarSupport
com.sas.actionprovider.support.dataselectors.HttpMenuBarSupport
All Implemented Interfaces: MenuBarActionTypesInterface , MenuBarAreaInterface
public class HttpMenuBarSupport
In the context of the ActionProvider framework, this Support class assists
in the registering and retrieval of actions for the MenuBar component.
Since:
3.1
Fields inherited from class com.sas.actionprovider.support.BaseActionProviderSupport
AREA_DISABLED , AREA_VALUE_ATTRKEY , DISABLED , ENABLED , IS_CURRENT_STATE_DISABLED , MODEL_MEMBER_DISABLED , MODEL_STATE_DISABLED , MODEL_TYPE_DISABLED , NON_SPECIFIC_AREA , UNSUPPORTED , VIEWER_DISABLED
Fields inherited from interface com.sas.actionprovider.support.dataselectors.MenuBarActionTypesInterface
ADVANCED_FILTER_SELECTOR_ACTION , DATAITEM_SELECTOR_ACTION , EDIT_MENU_ACTION , EXCEPTION_HIGHLIGHTING_SELECTOR_ACTION , EXPORT_TO_ACTION , EXPORT_TO_EXCEL_ACTION , FILTER_AND_RANK_SELECTOR_ACTION , FIND_SELECTOR_ACTION , FORMAT_ACTION , GRAPH_PROPERTY_SELECTOR_ACTION , MEMBER_PROPERTIES_SELECTOR_ACTION , PERCENT_CALCULATIONS_SELECTOR_ACTION , RANKING_ACTION , RESTRICTED_FILTER_SELECTOR_ACTION , SIMPLE_CALCULATED_ITEM_SELECTOR_ACTION , SORT_SELECTOR_ACTION , TOTALS_ACTION
Methods inherited from class com.sas.actionprovider.support.BaseActionProviderSupport
addDefaultAction , getAction , getActionId , getActionOrderList , getActionProvider , getActions , getDefaultAction , getLocale , listActionTypes , listAreaTypes , listDefaultActions , reset , setAction , setActionOrderList , setActionProvider , setLocale
HttpMenuBarSupport
public HttpMenuBarSupport (java.lang.Class actionClass)
Constructor
Parameters: actionClass
- The class used to instantiate new actions.
newActionInstance
public BaseAction newActionInstance (java.lang.String areaType,
java.lang.String actionType)
Return a newly instantiated default HttpAction based on the
specified areaType and actionType or return null if actionType not recognized.
Overrides: newActionInstance
in class HttpRelationalMenuBarSupport
Parameters: areaType
- the key associated with a defined area typeactionType
- the key associated with a defined action type.
Returns: a new action of the specified type or null if the type is not
recognized.
createDefaultActions
protected void createDefaultActions ()
Initializes the actionClass property and creates the default actions that
this class supports.
Overrides: createDefaultActions
in class HttpRelationalMenuBarSupport
getFindSelectorAction
protected BaseAction getFindSelectorAction ()
Returns the default Find Selector action used internally by this support class.
Returns: the default Find Selector action.
setFindSelectorAction
protected void setFindSelectorAction (BaseAction findSelectorAction)
Sets the default Find Selector action to be used internally by this support class.
Parameters: findSelectorAction
- the action to be used as the default Find selector action.
initializeShortActionTypeMap
protected java.util.Map initializeShortActionTypeMap ()
This method is called by the constructor
and used to initiallize the actionTypeToShortActionTypeMap
map.
This map should contain the ActionType as the key and the new short name
as the value. The short names are used to generate ids for HttpActions.
Overrides: initializeShortActionTypeMap
in class HttpRelationalMenuBarSupport
Copyright © 2009 SAS Institute Inc. All Rights Reserved.