edu.cmu.hcii.calo.manager.RelevantInfoManager Class Reference

Inherits edu.cmu.hcii.calo.manager.AbstractManager.

Inheritance diagram for edu.cmu.hcii.calo.manager.RelevantInfoManager:

Inheritance graph
[legend]
Collaboration diagram for edu.cmu.hcii.calo.manager.RelevantInfoManager:

Collaboration graph
[legend]
List of all members.

Detailed Description

Manages relevant resources and actions to the currently focused application or CALO sidebar view.

These will be changed through the engine.

Author:
Brian Ellis


Public Member Functions

List< RelevantActiongetActions ()
 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< RelevantActionactions
 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.


Constructor & Destructor Documentation

edu.cmu.hcii.calo.manager.RelevantInfoManager.RelevantInfoManager (  )  [private]

Constructs the TaskManager instance.

Private because this is a singleton.


Member Function Documentation

static RelevantInfoManager edu.cmu.hcii.calo.manager.RelevantInfoManager.getManager (  )  [static]

Returns the singleton instance of this manager.

Returns:
the singleton instance

List<RelevantAction> edu.cmu.hcii.calo.manager.RelevantInfoManager.getActions (  ) 

Accessor method for actions.

Returns:
the value of actions

ResourceList edu.cmu.hcii.calo.manager.RelevantInfoManager.getResources (  ) 

Accessor method for resources.

Returns:
the value of 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.

Parameters:
actions the actions to set

void edu.cmu.hcii.calo.manager.RelevantInfoManager.setResources ( ResourceList  resources  ) 

Setter method for resources.

Parameters:
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.

Parameters:
in the input stream to read from
Exceptions:
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.

Parameters:
out the output stream to write to
Exceptions:
IOException 


Member Data Documentation

final long edu.cmu.hcii.calo.manager.RelevantInfoManager.serialVersionUID = 9096459218853621393L [static, private]

Prevents serialization collisions.

Reimplemented from edu.cmu.hcii.calo.manager.AbstractManager.

RelevantInfoManager edu.cmu.hcii.calo.manager.RelevantInfoManager.uniqueInstance = null [static, private]

The singleton instance of the notification manager.

ResourceList edu.cmu.hcii.calo.manager.RelevantInfoManager.resources [private]

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.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:14 2007 for CALO by  doxygen 1.5.2