@Override
protected Action[] getActions() {
Action[] actions;
if (bounded.isUsed()) {
actions =
new Action[] {new FormatPartitionAction(context.getErrorReporter(), this),
new RemovePartitionAction(context.getErrorReporter(), this), };
} else {
actions = new Action[] {new AddPartitionAction(context.getErrorReporter(), this), };
}
return actions;