private void moveAction(int increment) {
    List<TaskActivationEntry> tasks = findSelectedTasks();
    if (!tasks.isEmpty()) {
      myTaskActivator.moveTasks(tasks, increment);
    }
    else {
      List<String> projectsPaths = findSelectedProjects();
      if (projectsPaths.isEmpty()) return;
      ProjectItem item = (ProjectItem)projectCombobox.getSelectedItem();
      myTaskActivator.moveProjects(myProjectSystemId, projectsPaths, item.myProjectSettings.getModules(), increment);
    }
    moveSelectedRows(myTree, increment);
  }
private void moveAction(int increment)