Operation choice = partitionsOpt.show("Select an operation", choices);
choice.execute(this, partition);
}
private void removePartition(Partition partition) throws Exception {
YesNo yesNo = new YesNo(context);
boolean remove = yesNo.show("Would like you to remove the partition ?");
if (remove) {
UserFacade.getInstance().removePartition(partition.getStart() + 1);
}
}