|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface ContextCommandsConsumerInterface
Defines an interface for context command consumers. A context command consumer is an object that has the following responsibilities:
Most implementations will want to utilize the one provided by CommandManager.
ContextCommandsInterface,
CommandManager| Method Summary | |
|---|---|
abstract void |
addContextCommandsProducer(ContextCommandsInterface producer)
Registers a new context commands producer. |
abstract ContextCommandsInterface[] |
getContextCommandsProducers()
Returns the set of context command producers that have been registered via addContextCommandsProducer(). |
abstract void |
removeContextCommandsProducer(ContextCommandsInterface producer)
Unregisters a context commands producer. |
| Method Detail |
|---|
ContextCommandsInterface[] getContextCommandsProducers()
Implementation note: If the implementing class is itself a
producer of context commands, it should add itself by calling
addContextCommandsProducer(this) in
initialize(). Thus the object would be included
in the list returned by getContextCommandsProducers(),
and would allow a user of the object to remove it via
removeContextCommandsProducer().
addContextCommandsProducer(com.sas.util.ContextCommandsInterface)void addContextCommandsProducer(ContextCommandsInterface producer)
producer - An object that implements ContextCommandsInterface.removeContextCommandsProducer(com.sas.util.ContextCommandsInterface)void removeContextCommandsProducer(ContextCommandsInterface producer)
producer - An object previously passed to
addContextCommandsProducer().addContextCommandsProducer(com.sas.util.ContextCommandsInterface)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||