protected Command createInitializeCopyOverrideCommand(InitializeCopyCommand initializeCopyCommand) { // If the owner and the copy are of the same type, we can proceed with the command, i.e. no override. // If not, we will skip this command by returning a do-nothing override. // if (!isSameEditingDomainAdapterFactory) { return new InitializeCopyOverrideCommand(this, initializeCopyCommand); } return null; }
protected Command createInitializeCopyOverrideCommand(InitializeCopyCommand initializeCopyCommand) { // If the owner and the copy are of the same type, we can proceed with the command, i.e. no override. // If not, we will skip this command by returning a do-nothing override. // if (!isSameEditingDomainAdapterFactory) { return new InitializeCopyOverrideCommand(this, initializeCopyCommand); } return null; }