public String __invoke_user_code__( final com.mia.formation.mvc.UIApplication current, final com.mia.openapi.gen.Context context, final com.mia.openapi.gen.GenerationServicesManager manager) { return manager.apply((List<Model>) manager.action(current, "getAllModels"), "ModelImportDecl"); }
public String __invoke_user_code__( final com.mia.formation.mvc.View current, final com.mia.openapi.gen.Context context, final com.mia.openapi.gen.GenerationServicesManager manager) { java.lang.StringBuffer _template_buffer = new java.lang.StringBuffer(); _template_buffer.append("src/com/mia/banque/ui/view/swt/"); _template_buffer.append(manager.action(current, "name")); _template_buffer.append(".java"); return _template_buffer.toString(); }
public String __invoke_user_code__( final com.mia.formation.mvc.Model current, final com.mia.openapi.gen.Context context, final com.mia.openapi.gen.GenerationServicesManager manager) { java.lang.StringBuffer _template_buffer = new java.lang.StringBuffer(); _template_buffer.append(" /**"); _template_buffer.append('\n'); _template_buffer.append(" * Returns the list of "); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("s of this model"); _template_buffer.append('\n'); _template_buffer.append(" * @return {@link List}<{@link I"); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("}> - The "); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("s"); _template_buffer.append('\n'); _template_buffer.append(" */ "); _template_buffer.append('\n'); _template_buffer.append(" public List<I"); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("> get"); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("s();"); _template_buffer.append('\n'); _template_buffer.append(" /**"); _template_buffer.append('\n'); _template_buffer.append(" * Set the list of "); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("s of this model"); _template_buffer.append('\n'); _template_buffer.append(" * @param list"); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("s {@link List}<{@link I"); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("}> - The new "); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("s"); _template_buffer.append('\n'); _template_buffer.append(" */"); _template_buffer.append('\n'); _template_buffer.append(" public void set"); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("s(List<I"); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("> list"); _template_buffer.append(manager.action(current, "name")); _template_buffer.append("s);"); _template_buffer.append('\n'); return _template_buffer.toString(); }