public ResourceTreeTableModel(ResourceManager resMgr, TaskManager taskManager) {
super();
myResourceManager = (HumanResourceManager) resMgr;
myTaskManager = taskManager;
myTaskManager.addTaskListener(new TaskListenerAdapter() {
public void taskRemoved(TaskHierarchyEvent e) {
fireResourceChange(e.getTask());
}
public void taskScheduleChanged(TaskScheduleEvent e) {
fireResourceChange(e.getTask());