use of net.sourceforge.processdash.log.ui.TimeLogEditor in project processdash by dtuma.
the class ConfigureButton method startTimeLog.
public void startTimeLog(PropertyKey phase) {
DashHierarchy hier = parent.getProperties();
if (phase == null)
phase = parent.getCurrentPhase();
if (hier != null) {
if (time_frame != null) {
time_frame.setSelectedNode(phase);
time_frame.show();
} else {
DashboardTimeLog timeLog = (DashboardTimeLog) parent.getTimeLog();
TimeLoggingApprover approver = timeLog;
time_frame = new TimeLogEditor(timeLog, hier, approver, phase);
parent.addApplicationEventListener(time_frame);
}
}
}
Aggregations