Example #1
0
        public void addGroup(AMTakeData take)
        {
            take.initGroups();
            AMGroup g = new AMGroup();
            g.init(take.getUniqueGroupID());
            take.groupValues.Add(g);
            take.rootGroup.elements.Add(g.group_id);

            // select new group when it has been created
            selectedGroup = g.group_id;
        }
Example #2
0
 public void initGroups()
 {
     if(rootGroup == null) {
         AMGroup g = new AMGroup();
         g.init(0);
         rootGroup = g;
     }
 }