options.add(new DisposeObjectOption());
}
private static void menuOptions(final List<ObjectAction> actions, final ObjectAdapter target, final UserActionSet menuOptionSet) {
for (int i = 0; i < actions.size(); i++) {
final UserAction option;
final int noOfParameters = actions.get(i).getParameterCount();
if (noOfParameters == 0) {
option = ImmediateObjectOption.createOption(actions.get(i), target);
} else if (false /*actions.get(i).isContributed() && noOfParameters == 1 && target != null && target.getSpecification().isOfType(actions.get(i).getParameters().get(0).getSpecification())*/) {
option = ImmediateObjectOption.createServiceOption(actions.get(i), target);