com.sas.actionprovider.strategies.relational
Class BaseDataCellStrategy
com.sas.actionprovider.strategies.relational.BaseDataCellStrategy
All Implemented Interfaces: ActionStatusKeysInterface , ActionStrategyInterface
public abstract class BaseDataCellStrategy
VIEWER_COLUMN
public static final java.lang.String VIEWER_COLUMN
See Also: Constant Field Values
MODEL_COLUMN
public static final java.lang.String MODEL_COLUMN
See Also: Constant Field Values
VIEWER_ROW
public static final java.lang.String VIEWER_ROW
See Also: Constant Field Values
MODEL_ROW
public static final java.lang.String MODEL_ROW
See Also: Constant Field Values
COLUMN_NAME
public static final java.lang.String COLUMN_NAME
See Also: Constant Field Values
SORT_STATUS
public static final java.lang.String SORT_STATUS
See Also: Constant Field Values
BaseDataCellStrategy
public BaseDataCellStrategy ()
Default constructor.
Calls the other constructor for specifying strategy type.
BaseDataCellStrategy
public BaseDataCellStrategy (boolean swing,
RelationalActionUtil util)
Constructor for specifying type ( swing/http ) of strategy object.
Parameters: swing
- boolean indicating whether the strategy will be used in
a swing environment. If false, the strategy is http type.
initialize
protected void initialize ()
Initialize this strategy object.
Via the BaseRelationalStrategy.addDynamicValueInfo(java.lang.String, java.lang.String, java.lang.String)
method, this method registers the
information for dynamic values that are available in all relational areas:
com.sas.actionprovider.strategies.relational.RelationalValueKeys#VIEWER_COLUMN
com.sas.actionprovider.strategies.relational.RelationalValueKeys#MODEL_COLUMN
com.sas.actionprovider.strategies.relational.RelationalValueKeys#VIEWER_ROW
com.sas.actionprovider.strategies.relational.RelationalValueKeys#MODEL_ROW
com.sas.actionprovider.strategies.relational.RelationalValueKeys#COLUMN_NAME
com.sas.actionprovider.strategies.relational.RelationalValueKeys#SORT_STATUS
Overrides: initialize
in class BaseRelationalStrategy
See Also: #setReturnStatus
getActionStatus
public int getActionStatus (BaseAction action,
ActionSupportFilter filter)
Returns a status value indicating whether the Action is enabled for a specific
area as described by various filter attributes.
If enabled, the value is:
ActionStatusKeysInterface.ENABLED
If disabled, the value may be one of the following values which indicate why the
Action is disabled.
Specified by: getActionStatus
in interface ActionStrategyInterface
Overrides: getActionStatus
in class BaseActionStrategy
Parameters: action
- The action for which status is to be determined.filter
- The ActionSupportFilter that encapsulates all information
describing the specific area.
Returns: the boolean indicating whether the Action is enabled See Also: CommandSupportedInterface
,
CommandStatusInterface
Copyright © 2009 SAS Institute Inc. All Rights Reserved.