|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.support.remotefileselector2.BaseRemoteFileSelectorSupport
public abstract class BaseRemoteFileSelectorSupport
In the context of the ActionProvider framework, this Support class assists in the registering and retrieval of actions for RemoteFileSelector components.
Field Summary |
---|
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.remotefileselector2.RemoteFileSelectorAreaInterface |
---|
COMBO_AREA, DRILL_DOWN_AREA, FILTER_TYPE_AREA, SEARCH_BUTTON_AREA, TOOLBAR_AREA, TREE_AREA |
Fields inherited from interface com.sas.actionprovider.support.remotefileselector2.RemoteFileActionTypeKeysInterface |
---|
ADD_FOLDER_ACTION, DISPLAY_SEARCH_RESULTS_ACTION, FILTER_TYPE_ACTION, GO_BACK_ACTION, OPEN_FOLDER_ACTION, START_SEARCH_ACTION, UP_ONE_LEVEL_ACTION, VIEW_SELECTION_ACTION |
Constructor Summary | |
---|---|
BaseRemoteFileSelectorSupport(java.lang.Class actionClass)
Constructor that allows specification of an action class. |
Method Summary | |
---|---|
protected BaseAction |
createAndRegisterAction(java.lang.String areaType,
java.lang.String actionType)
|
protected void |
createDefaultActions()
Initializes the actionClass property and creates the default actions that this class supports. |
protected java.util.Map |
getAreaScopeAttributeMap(ActionSupportFilter filter)
Returns mappings for a pre-defined set of Action Attribute keys to their corresponding dynamic values for a specific area. |
void |
initialize()
Performs the object initialization functions. |
protected void |
registerComboActions(java.lang.String areaType)
|
protected void |
registerDynamicValueInfo()
|
protected void |
registerSearchActions(java.lang.String areaType)
|
protected void |
registerToolBarActions(java.lang.String areaType)
|
protected boolean |
validArea(Area area,
ActionSupportFilter filter)
Validates that the given Area's 'type' and, if specified, its 'value' constraints are met by the information provided on the action filter. |
Methods inherited from class com.sas.actionprovider.support.BaseActionProviderSupport |
---|
addDefaultAction, getAction, getActionId, getActionOrderList, getActionProvider, getActions, getActionScopeAttribute, getActionScopeAttributeMap, getDefaultAction, getLocale, listActionTypes, listAreaTypes, listDefaultActions, newActionInstance, reset, setAction, setActionOrderList, setActionProvider, setLocale |
Constructor Detail |
---|
public BaseRemoteFileSelectorSupport(java.lang.Class actionClass)
actionClass
- The class used to instantiate new actions.Method Detail |
---|
protected void registerDynamicValueInfo()
public void initialize()
initialize
in class BaseActionProviderSupport
BaseActionProviderSupport.setLocale(java.util.Locale)
protected void createDefaultActions()
protected void registerComboActions(java.lang.String areaType)
protected void registerToolBarActions(java.lang.String areaType)
protected void registerSearchActions(java.lang.String areaType)
protected java.util.Map getAreaScopeAttributeMap(ActionSupportFilter filter)
getAreaScopeAttributeMap
in class BaseActionProviderSupport
filter
- Defines the specific area.
protected BaseAction createAndRegisterAction(java.lang.String areaType, java.lang.String actionType)
protected boolean validArea(Area area, ActionSupportFilter filter)
validArea
in class BaseActionProviderSupport
area
- The Area object that may or may not specify certain area 'values'.actionFilter
- the ActionSupportFilter that the component passed as an
argument on the getActions() method.
BaseActionProviderSupport.setAction(com.sas.actionprovider.BaseAction, java.util.Collection, com.sas.actionprovider.Area)
,
BaseActionProviderSupport.getActions(com.sas.actionprovider.ActionSupportFilter)
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |