/** * Default constructor for the message list. */ public MessageList() { elements = new SortedList(); listeners = new ArrayList(); }
public void customResultAvailable(Object result) { Collection files = (Collection)result; List nodes = new SortedList(DirNode.FILENODE_COMPARATOR, true); // List nodes = new ArrayList(); for(Iterator it=files.iterator(); it.hasNext();) { File file = (File)it.next(); ISwingTreeNode node = getModel().getNode(file);//.getAbsolutePath()); if(node!=null) { // lis.resultAvailable(node); nodes.add(node); } else { // lis.resultAvailable(ModelTreePanel.createNode(DirNode.this, model, tree, file, iconcache, filter, null)); nodes.add(factory.createNode(RIDNode.this, getModel(), tree, file, iconcache, null, factory)); } } setChildren(nodes); } });
List nodes = new SortedList(FILENODE_COMPARATOR, true);
List nodes = new SortedList(DirNode.FILENODE_COMPARATOR, true);
this.allbeliefs = new SortedList<BeliefInfo>(comp, true); this.allgoals = new SortedList<GoalInfo>(comp, true); this.allplans = new SortedList<PlanInfo>(comp, true); this.beliefs = new SortedList<BeliefInfo>(comp, true); this.goals = new SortedList<GoalInfo>(comp, true); this.plans = new SortedList<PlanInfo>(comp, true);
this.allbeliefs = new SortedList(comp, true); this.allgoals = new SortedList(comp, true); this.allplans = new SortedList(comp, true); this.beliefs = new SortedList(comp, true); this.goals = new SortedList(comp, true); this.plans = new SortedList(comp, true);
this.allbeliefs = new SortedList<BeliefInfo>(comp, true); this.allgoals = new SortedList<GoalInfo>(comp, true); this.allplans = new SortedList<PlanInfo>(comp, true); this.beliefs = new SortedList<BeliefInfo>(comp, true); this.goals = new SortedList<GoalInfo>(comp, true); this.plans = new SortedList<PlanInfo>(comp, true);
visible_components = new SortedList(); visible_messages = new TreeMap();
if(orderby) orders = new SortedList(order==ASC); results = new LinkedList();