protected Command createSetOverrideCommand(SetCommand setCommand) { EStructuralFeature feature = setCommand.getFeature(); return feature instanceof EReference && ((EReference)feature).isContainment() && mappingRoot.isOutputObject(setCommand.getOwner()) ? new SetOverrideCommand(this, setCommand) : null; }
protected Command createSetOverrideCommand(SetCommand setCommand) { EStructuralFeature feature = setCommand.getFeature(); return feature instanceof EReference && ((EReference)feature).isContainment() && mappingRoot.isOutputObject(setCommand.getOwner()) ? new SetOverrideCommand(this, setCommand) : null; }
owners.add(((SetCommand)command).getOwner());