5455565758596061626364
{ a.cloneMockServiceWithinProject( source, name, target, source.getDescription() ); } else { a.cloneToAnotherProject( source, target.getName(), name, source.getDescription() ); } return true; }
7172737475767778798081
String name = UISupport.prompt( "Specify name for moved MockService", "Move MockService", source.getName() ); if( name == null ) return false; if( a.cloneToAnotherProject( source, target.getName(), name, source.getDescription() ) == null ) return false; source.getProject().removeMockService( source ); return true; }
5152535455565758596061
} if (source.getProject() == target) { a.cloneMockServiceWithinProject(source, name, target, source.getDescription()); } else { a.cloneToAnotherProject(source, target.getName(), name, source.getDescription()); } return true; }
6869707172737475767778
String name = UISupport.prompt("Specify name for moved MockService", "Move MockService", source.getName()); if (name == null) { return false; } if (a.cloneToAnotherProject(source, target.getName(), name, source.getDescription()) == null) { return false; } source.getProject().removeMockService(source); return true;