protected void showReferenceAdded(LogReference reference) { Debug.event("LogModel reference added"); TreeModelEvent tme = new TreeModelEvent(this, new Object[] {this, reference.container}); for (TreeModelListener l : listeners) { l.treeStructureChanged(tme); } }
protected void treeReSorted() { Debug.event("LogModel tree resorted"); TreeModelEvent tme = new TreeModelEvent(this, new Object[] {this}); for (TreeModelListener l : listeners) { l.treeStructureChanged(tme); } }
protected void showGroupAdded(Group group) { // TreeModelEvent tme = new TreeModelEvent(this, new Object[]{root}, // new int[]{AllGroups.allGroups.indexOf(group)}, // new Object[]{group}); Debug.event("LogModel group added"); TreeModelEvent changed = new TreeModelEvent(this, new Object[] {this}); for (TreeModelListener listener : listeners) listener.treeStructureChanged(changed); }
TitleListener() { Debug.event("TitleListener() listening..."); Center.listen(Events.CrossStatus.class, this, true); Center.listen(Events.RobotConnectionStatus.class, this, true); }