/** * This creates a command instance that creates a copy of owner. */ public CreateCopyOverrideCommand(MappingDomain domain, CreateCopyCommand createCommand) { super(createCommand.doGetLabel(), createCommand.doGetDescription()); this.mappingDomain = domain; this.owner = createCommand.getOwner(); this.copyHelper = createCommand.getCopyHelper(); }
/** * This creates a command instance that creates a copy of owner. */ public CreateCopyOverrideCommand(MappingDomain domain, CreateCopyCommand createCommand) { super(createCommand.doGetLabel(), createCommand.doGetDescription()); this.mappingDomain = domain; this.owner = createCommand.getOwner(); this.copyHelper = createCommand.getCopyHelper(); }