@Override
  protected void doOKAction() {
    myTask.setSummary(mySummary.getText()); //NON-NLS
    if (myChangelist.isVisible()) {
      List<ChangeListInfo> changeLists = myTask.getChangeLists();
      changeLists.clear();
      LocalChangeList item = myChangelist.getItem();
      if (item != null) {
        changeLists.add(new ChangeListInfo(item));
      }
    }
    if (myBranch.isVisible()) {
      List<BranchInfo> branches = myTask.getBranches();
      branches.clear();
      VcsTaskHandler.TaskInfo branch = myBranch.getItem();
      if (branch != null) {
        List<BranchInfo> infos = BranchInfo.fromTaskInfo(branch, false);
        branches.addAll(infos);
      }
    }
    close(OK_EXIT_CODE);
  }
@Override
  protected void doOKAction()