@EventHandler("updateTaskButton") public void updateTaskButton(ClickEvent e) { presenter.updateTask( taskDescriptionTextArea.getText(), userText.getText(), // subTaskStrategyListBox.getItemText(subTaskStrategyListBox.getSelectedIndex()), (dueDate.getValue() != null && dueDateTime.getValue() != null) ? UTCDateBox.utc2date(dueDate.getValue() + dueDateTime.getValue()) : null, Integer.valueOf(taskPriorityListBox.getValue())); }
@EventHandler("createButton") public void createButton(ClickEvent e) { presenter.createJob( jobNameText.getText(), UTCDateBox.utc2date(jobDueDate.getValue() + jobDueDateTime.getValue()), jobTypeText.getText(), dataTriesNumber.getValue(), dataProvider.getList()); }