Inheritance diagram for edu.cmu.hcii.calo.manager.RelevantInfoManager:
These will be changed through the engine.
Public Member Functions | |
List< RelevantAction > | getActions () |
Accessor method for actions. | |
ResourceList | getResources () |
Accessor method for resources. | |
void | reset () |
Resets this manager back to the way it was when it was first created. | |
void | setActions (List< RelevantAction > actions) |
Setter method for actions. | |
void | setResources (ResourceList resources) |
Setter method for resources. | |
Static Public Member Functions | |
static RelevantInfoManager | getManager () |
Returns the singleton instance of this manager. | |
Private Member Functions | |
RelevantInfoManager () | |
Constructs the TaskManager instance. | |
void | readObject (java.io.ObjectInputStream in) throws IOException, ClassNotFoundException |
Reads in a serialized manager. | |
void | writeObject (java.io.ObjectOutputStream out) throws IOException |
Writes this manager to stream. | |
Private Attributes | |
ResourceList | resources |
The list of resources that will be shown in the Relevant Info pane. | |
List< RelevantAction > | actions |
The list of actions that will be shown in the Relevant Info pane. | |
Static Private Attributes | |
static final long | serialVersionUID = 9096459218853621393L |
Prevents serialization collisions. | |
static RelevantInfoManager | uniqueInstance = null |
The singleton instance of the notification manager. |
edu.cmu.hcii.calo.manager.RelevantInfoManager.RelevantInfoManager | ( | ) | [private] |
Constructs the TaskManager instance.
Private because this is a singleton.
static RelevantInfoManager edu.cmu.hcii.calo.manager.RelevantInfoManager.getManager | ( | ) | [static] |
Returns the singleton instance of this manager.
List<RelevantAction> edu.cmu.hcii.calo.manager.RelevantInfoManager.getActions | ( | ) |
Accessor method for actions.
ResourceList edu.cmu.hcii.calo.manager.RelevantInfoManager.getResources | ( | ) |
Accessor method for resources.
void edu.cmu.hcii.calo.manager.RelevantInfoManager.reset | ( | ) |
Resets this manager back to the way it was when it was first created.
void edu.cmu.hcii.calo.manager.RelevantInfoManager.setActions | ( | List< RelevantAction > | actions | ) |
Setter method for actions.
actions | the actions to set |
void edu.cmu.hcii.calo.manager.RelevantInfoManager.setResources | ( | ResourceList | resources | ) |
Setter method for resources.
resources | the resources to set |
void edu.cmu.hcii.calo.manager.RelevantInfoManager.readObject | ( | java.io.ObjectInputStream | in | ) | throws IOException, ClassNotFoundException [private] |
Reads in a serialized manager.
Just checks against the serialVersionUID.
in | the input stream to read from |
IOException | ||
ClassNotFoundException |
void edu.cmu.hcii.calo.manager.RelevantInfoManager.writeObject | ( | java.io.ObjectOutputStream | out | ) | throws IOException [private] |
Writes this manager to stream.
Since I don't want to deal with everything below this manager being serialized and it is a singleton, I just write the ID for error checking.
out | the output stream to write to |
IOException |
final long edu.cmu.hcii.calo.manager.RelevantInfoManager.serialVersionUID = 9096459218853621393L [static, private] |
RelevantInfoManager edu.cmu.hcii.calo.manager.RelevantInfoManager.uniqueInstance = null [static, private] |
The singleton instance of the notification manager.
The list of resources that will be shown in the Relevant Info pane.
List<RelevantAction> edu.cmu.hcii.calo.manager.RelevantInfoManager.actions [private] |
The list of actions that will be shown in the Relevant Info pane.