|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.actionprovider.support.remotefileselector2.HttpRemoteFileSelectorTableViewSupport
public class HttpRemoteFileSelectorTableViewSupport
In the context of the ActionProvider framework, this Support class assists in the registering and retrieval of actions for the RemoteFileSelector transformation bean viewer.
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.HttpRemoteFileTableActionTypeKeysInterface |
---|
COPY_ACTION, CUT_ACTION, EDIT_ACTIONS_ACTION, MOVE_ACTION, OPEN_FOLDER_ACTION, OPEN_FOLDER_IFILE_ACTION, PASTE_ACTION, RENAME_ACTION, SELECT_FILE_ACTION, SELECT_FILE_IFILE_ACTION |
Fields inherited from interface com.sas.actionprovider.support.tableview.HttpRelationalActionTypeKeysInterface |
---|
CANCEL_ACTION, CLEAR_SORT_EDIT_ENABLED_ACTION, COLUMN_HEADER_ACTION, COMMIT_ACTION, COMMIT_DELETE_ACTION, DELETE_ACTION, INSERT_ACTION, MOVE_COLUMN_LEFT_EDIT_ENABLED_ACTION, MOVE_COLUMN_RIGHT_EDIT_ENABLED_ACTION, RESIZE_COLUMN_ACTION, SORT_COLUMN_ASCENDING_EDIT_ENABLED_ACTION, SORT_COLUMN_DESCENDING_EDIT_ENABLED_ACTION, UPDATE_ACTION |
Fields inherited from interface com.sas.actionprovider.support.tableview.TableViewAreaInterface |
---|
COLUMN_HEADER_AREA, DATA_CELL_AREA, EDIT_COLUMN_AREA, EDIT_ROW_AREA, ROW_HEADER_AREA, TITLE_AREA |
Constructor Summary | |
---|---|
HttpRemoteFileSelectorTableViewSupport(java.lang.Class actionClass)
Constructor |
Method Summary | |
---|---|
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. |
protected ActionOrderList |
getColumnHeaderOrderList()
|
protected ActionOrderList |
getDataCellOrderList()
|
protected java.util.Map |
initializeShortActionTypeMap()
This method is called by the constructor and used to initiallize the actionTypeToShortActionTypeMap map. |
BaseAction |
newActionInstance(java.lang.String areaType,
java.lang.String actionType)
Return a newly instantiated default Action based on the specified actionType or return null if actionType not recognized. |
protected void |
registerColumnHeaderActions(java.lang.String areaType)
|
protected void |
registerDataCellActions(java.lang.String areaType)
|
protected void |
registerDynamicValueInfo()
Registers, via addDynamicValueInfo method, the dynamic value information for different areas. |
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.tableview.HttpTableViewSupport |
---|
getActionScopeAttribute, getActionScopeAttributeMap, getEditColumnOrderList, getEditRowOrderList, registerEditColumnActions, registerEditRowActions |
Methods inherited from class com.sas.actionprovider.support.tableview.BaseTableViewSupport |
---|
createAndRegisterAction, getCustomAttributeValue, initialize |
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 |
Constructor Detail |
---|
public HttpRemoteFileSelectorTableViewSupport(java.lang.Class actionClass)
actionClass
- The class used to instantiate new actions.Method Detail |
---|
protected void registerDynamicValueInfo()
registerDynamicValueInfo
in class HttpTableViewSupport
public BaseAction newActionInstance(java.lang.String areaType, java.lang.String actionType)
newActionInstance
in class HttpTableViewSupport
areaType
- the key associated with a defined area.actionType
- the key associated with a defined action type.
protected java.util.Map getAreaScopeAttributeMap(ActionSupportFilter filter)
getAreaScopeAttributeMap
in class HttpTableViewSupport
filter
- Defines the specific area
protected boolean validArea(Area area, ActionSupportFilter filter)
validArea
in class HttpTableViewSupport
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)
protected void registerDataCellActions(java.lang.String areaType)
protected void registerColumnHeaderActions(java.lang.String areaType)
registerColumnHeaderActions
in class HttpTableViewSupport
protected void createDefaultActions()
createDefaultActions
in class HttpTableViewSupport
protected ActionOrderList getColumnHeaderOrderList()
getColumnHeaderOrderList
in class HttpTableViewSupport
protected ActionOrderList getDataCellOrderList()
protected java.util.Map initializeShortActionTypeMap()
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.
initializeShortActionTypeMap
in class HttpTableViewSupport
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |