예제 #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;
        }
예제 #2
0
 public void initGroups()
 {
     if(rootGroup == null) {
         AMGroup g = new AMGroup();
         g.init(0);
         rootGroup = g;
     }
 }