command.appendIfCanExecute (SetCommand.create(editingDomain, object, EcorePackage.Literals.EGENERIC_TYPE__ETYPE_ARGUMENTS, Collections.EMPTY_LIST)); command.appendIfCanExecute (SetCommand.create(editingDomain, object, EcorePackage.Literals.EGENERIC_TYPE__ECLASSIFIER, null)); command.appendIfCanExecute (SetCommand.create(editingDomain, object, EcorePackage.Literals.EGENERIC_TYPE__EUPPER_BOUND, null)); command.appendIfCanExecute (SetCommand.create(editingDomain, object, EcorePackage.Literals.EGENERIC_TYPE__ELOWER_BOUND, null)); command.append
command.appendIfCanExecute (SetCommand.create(editingDomain, object, EcorePackage.Literals.EGENERIC_TYPE__ETYPE_PARAMETER, null)); command.appendIfCanExecute (SetCommand.create(editingDomain, object, EcorePackage.Literals.EGENERIC_TYPE__ETYPE_ARGUMENTS, typeArguments)); command.appendIfCanExecute (SetCommand.create(editingDomain, object, EcorePackage.Literals.EGENERIC_TYPE__EUPPER_BOUND, null)); command.appendIfCanExecute (SetCommand.create(editingDomain, object, EcorePackage.Literals.EGENERIC_TYPE__ELOWER_BOUND, null)); command.append
commands.appendIfCanExecute(command); commands.appendIfCanExecute(removeInputsCommand); commands.appendIfCanExecute(removeOutputsCommand);
commands.appendIfCanExecute(command); commands.appendIfCanExecute(removeInputsCommand); commands.appendIfCanExecute(removeOutputsCommand);
for (EObject oldValueObject : oldValues) compoundCommand.appendIfCanExecute(new RemoveCommand(domain, oldValueObject, eOtherEnd, owner)); for (EObject newValueObject : newValues) compoundCommand.appendIfCanExecute(new SetCommand(domain, newValueObject, eOtherEnd, UNSET_VALUE)); EObject otherEObject = (EObject)newValueObject.eGet(eOtherEnd); if (otherEObject != null) compoundCommand.appendIfCanExecute (eOtherEnd.isChangeable() ? new SetCommand(domain, newValueObject, eOtherEnd, UNSET_VALUE) :