|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.support.remotefileselector.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 | |
---|---|
static java.lang.String |
ADD_FOLDER_ACTION
The actionType key used to allow adding of new folders. |
static java.lang.String |
DISPLAY_SEARCH_RESULTS_ACTION
The actionType key used to change to search mode |
static java.lang.String |
OPEN_FOLDER_ACTION
The actionType key used to define the default drill down action or open folder action for the RemoteFileSelector. |
static java.lang.String |
START_SEARCH_ACTION
The actionType key used to allow searching. |
static java.lang.String |
UP_ONE_LEVEL_ACTION
The actionType key used to define the default drill up action or open of parent folder action for the RemoteFileSelector. |
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.remotefileselector.RemoteFileSelectorAreaInterface |
---|
COMBO_AREA, DRILL_DOWN_AREA, FILTER_TYPE_AREA, SEARCH_BUTTON_AREA, TOOLBAR_AREA, TREE_AREA |
Constructor Summary | |
---|---|
BaseRemoteFileSelectorSupport(java.lang.Class actionClass)
Constructor that allows specification of an action class. |
Method Summary | |
---|---|
protected void |
createDefaultActions()
Initializes the actionClass property and creates the default actions that this class supports. |
protected int |
getActionStatus(BaseAction action,
ActionSupportFilter actionFilter)
Determines the action's enabled status. |
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 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 |
Field Detail |
---|
public static final java.lang.String OPEN_FOLDER_ACTION
public static final java.lang.String UP_ONE_LEVEL_ACTION
public static final java.lang.String START_SEARCH_ACTION
public static final java.lang.String ADD_FOLDER_ACTION
public static final java.lang.String DISPLAY_SEARCH_RESULTS_ACTION
Constructor Detail |
---|
public BaseRemoteFileSelectorSupport(java.lang.Class actionClass)
actionClass
- The class used to instantiate new actions.Method Detail |
---|
public void initialize()
initialize
in class BaseActionProviderSupport
BaseActionProviderSupport.setLocale(java.util.Locale)
protected void createDefaultActions()
protected java.util.Map getAreaScopeAttributeMap(ActionSupportFilter filter)
getAreaScopeAttributeMap
in class BaseActionProviderSupport
filter
- Defines the specific area.
protected int getActionStatus(BaseAction action, ActionSupportFilter actionFilter)
getActionStatus
in class BaseActionProviderSupport
action
- the action to verify statusactionFilter
- the support filter where the action is being run
BaseActionProviderSupport
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 |