Examples of MigrationGroup


Examples of com.google.devtools.depan.tasks.MigrationGroup

      // the currently selected group have been deleted
      if (groups.size() < 1) {
        // group list is now empty
        deselectGroup();
      } else {
        MigrationGroup group = task.getMigrationGroups().iterator().next();
        groupSelect.setSelection(new StructuredSelection(group));
        newGroupSelection(group);
      }
    }
  }
View Full Code Here

Examples of com.google.devtools.depan.tasks.MigrationGroup

          }
        });
    if (dialog.open() != InputDialog.OK) {
      return;
    }
    MigrationGroup newGroup = new MigrationGroup();
    newGroup.setName(dialog.getValue());
    task.addMigrationGroup(newGroup);
    groupSelect.refresh(false);
    checkBoxTableViewer.refresh(false);
    listener.groupsListUpdated(this);
  }
View Full Code Here

Examples of com.google.devtools.depan.tasks.MigrationGroup

  /**
   * Delete the selected {@link MigrationGroup}, and call
   * {@link MigrationTaskListener#groupsListUpdated(Object)}.
   */
  protected void deleteSelectedGroup() {
    MigrationGroup group = getSelectedGroup();
    if (null == group) {
      return;
    }
    task.removeMigrationGroup(group);
    groupSelect.refresh(false);
View Full Code Here

Examples of com.google.devtools.depan.tasks.MigrationGroup

  /**
   * Start editing of the selected {@link MigrationGroup}.
   */
  protected void newSelection() {
    MigrationGroup group = getSelectedGroup();
    if (null == group) {
      return;
    }
    this.selectedGroup = group;
    fillData(group);
View Full Code Here

Examples of com.google.devtools.depan.tasks.MigrationGroup

      if (groups.size() < 1) {
        // the selected group have been deleted, and the list is now empty.
        groupSelect.setSelection(new StructuredSelection());
      } else {
        // the selected group have been deleted, so we select another group.
        MigrationGroup group = task.getMigrationGroups().iterator().next();
        groupSelect.setSelection(new StructuredSelection(group));
        newSelection();
      }
    }
  }
View Full Code Here

Examples of com.google.devtools.depan.tasks.MigrationGroup

      // currently selected group, we arbitrary select the first in the list.
      if (task.getMigrationGroups().size() < 1) {
        // no more groups in the list.
        remapTable.setData(new ArrayList<MigrationRule<?>>());
      } else {
        MigrationGroup group = task.getMigrationGroups().iterator().next();
        migrationGroupList.setSelected(group);
        selectGroup(group);
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.