private void saveItems(TableItem items[], IProgressMonitor monitor) {
if (items.length == 0) {
return;
}
ProgressMonitorDialog pmd = new ProgressMonitorJobsDialog(getShell());
pmd.open();
for (int i = 0; i < items.length; i++) {
Adapter editor = (Adapter) items[i].getData();
editor.save(pmd.getProgressMonitor());
updateItem(items[i], editor);
}