|
@@ -11,6 +11,7 @@ import classes.Category;
|
|
|
import classes.CpsEdge;
|
|
|
import classes.AbstractCpsObject;
|
|
|
import classes.HolonElement;
|
|
|
+import classes.HolonObject;
|
|
|
import interfaces.CategoryListener;
|
|
|
import interfaces.ObjectListener;
|
|
|
import ui.view.Console;
|
|
@@ -57,6 +58,12 @@ public class Model {
|
|
|
*/
|
|
|
private ArrayList<Category> categories;
|
|
|
|
|
|
+ /*
|
|
|
+ * Array of all HolonObj, that should be tracked through out the statistics
|
|
|
+ * tab
|
|
|
+ */
|
|
|
+ private ArrayList<HolonObject> trackingObj;
|
|
|
+
|
|
|
/*
|
|
|
* Array of all CpsObjects in our canvas. It is set by default as an empty
|
|
|
* list.
|
|
@@ -97,6 +104,7 @@ public class Model {
|
|
|
setCgIdx(new HashMap<String, Integer>());
|
|
|
setCvsObjIdx(new HashMap<Integer, Integer>());
|
|
|
setClipboradObjects(new ArrayList<AbstractCpsObject>());
|
|
|
+ setTrackingObj(new ArrayList<HolonObject>());
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -605,4 +613,12 @@ public class Model {
|
|
|
return this.subNetColors;
|
|
|
}
|
|
|
|
|
|
+ public void setTrackingObj(ArrayList<HolonObject> toTrack) {
|
|
|
+ trackingObj = toTrack;
|
|
|
+ }
|
|
|
+
|
|
|
+ public ArrayList<HolonObject> getTrackingObj() {
|
|
|
+ return trackingObj;
|
|
|
+ }
|
|
|
+
|
|
|
}
|