PartitionController pc = Lookup.getDefault().lookup(PartitionController.class);
pc.group(model.getSelectedPartition());
refreshGrouped();
} else {
PartitionController pc = Lookup.getDefault().lookup(PartitionController.class);
pc.ungroup(model.getSelectedPartition());
refreshGrouped();
}
}
});