|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.liu.ida.critiquer.mics.ReferenceHolder
public class ReferenceHolder
If it makes sense to have global references to something, then put it here. This could be references to activity classes, constraint classes or such like.
Field Summary | |
---|---|
static ArrayList<Class<? extends Activity>> |
activityClasses
The activity classes used in the current scenario. |
static ActivityFactory |
activityFactory
The scenario specific factories that create a list of activity classes as well as a resource structure as required by the OrganizationModel . |
static AgentFactory |
agentFactory
|
static HashSet<Activity> |
allActivities
Static reference to a set of all activities that are created. |
static Commanders |
commanders
Since the list of commanders should be available to several views that are not related (the task view and resource view for instance), there is a reference to it here. |
static Communicator |
communicator
|
static ArrayList<Class<? extends StandardConstraint>> |
constraintClasses
|
static CriticTextArea |
critiqueInfoArea
Information area that can be used by critics if they want to display information in textual form |
static OrganizationModel |
organizationModel
Model of all the resources that are available in the organization, ordered hierarchically according to subsumption. |
static String |
resourceDir
Directory containing the map and other image resources |
static ResourceView |
resourceView
|
static Activity |
selectedActivity
Activity that is currently selected in some view and may therefore be of particular interest to critics that highlight information on the currently selected activity. |
static GeoView |
simulationView
|
static ArrayList<TimeParameterOrdering> |
temporalConstraints
Static reference to all constraints that order activities in time in some way. |
static TimeView |
timeView
|
static JFrame |
topFrame
|
Constructor Summary | |
---|---|
ReferenceHolder()
|
Method Summary | |
---|---|
static DefaultGraphModel |
getGraphModel()
To make sure that there is only one graph model used by all views that want to represent tasks in a graph, we have a singleton graph model factory here. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static ActivityFactory activityFactory
OrganizationModel
.
TODO: Change these by creating a scenario selection possibility
public static AgentFactory agentFactory
public static ArrayList<Class<? extends Activity>> activityClasses
activityFactory
.
public static ArrayList<Class<? extends StandardConstraint>> constraintClasses
public static Communicator communicator
public static ArrayList<TimeParameterOrdering> temporalConstraints
public static OrganizationModel organizationModel
public static HashSet<Activity> allActivities
public static Activity selectedActivity
public static JFrame topFrame
public static TimeView timeView
public static ResourceView resourceView
public static GeoView simulationView
public static Commanders commanders
public static String resourceDir
public static CriticTextArea critiqueInfoArea
Constructor Detail |
---|
public ReferenceHolder()
Method Detail |
---|
public static DefaultGraphModel getGraphModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |