Bug #1560: Fire property change for task dates after closing allocation pop-up
FEA: ItEr77S04BugFixing
This commit is contained in:
parent
596c5f1747
commit
1efbca11e2
2 changed files with 11 additions and 0 deletions
|
|
@ -548,4 +548,11 @@ public abstract class Task implements ITaskFundamentalProperties {
|
||||||
getBeginDate());
|
getBeginDate());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void firePropertyChangeForTaskDates() {
|
||||||
|
fundamentalPropertiesListeners.firePropertyChange("beginDate", null,
|
||||||
|
getBeginDate());
|
||||||
|
fundamentalPropertiesListeners.firePropertyChange("endDate", null,
|
||||||
|
getEndDate());
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -316,6 +316,10 @@ public class EditTaskController extends GenericForwardComposer {
|
||||||
if (context.getRelativeTo() instanceof TaskComponent) {
|
if (context.getRelativeTo() instanceof TaskComponent) {
|
||||||
((TaskComponent) context.getRelativeTo()).updateProperties();
|
((TaskComponent) context.getRelativeTo()).updateProperties();
|
||||||
((TaskComponent) context.getRelativeTo()).invalidate();
|
((TaskComponent) context.getRelativeTo()).invalidate();
|
||||||
|
|
||||||
|
org.zkoss.ganttz.data.Task task = context.getMapper()
|
||||||
|
.findAssociatedBean(taskElement);
|
||||||
|
task.firePropertyChangeForTaskDates();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue