summaryrefslogtreecommitdiffstats
path: root/winery/eclipse-config/java_editor_templates.xml
diff options
context:
space:
mode:
Diffstat (limited to 'winery/eclipse-config/java_editor_templates.xml')
-rw-r--r--winery/eclipse-config/java_editor_templates.xml20
1 files changed, 0 insertions, 20 deletions
diff --git a/winery/eclipse-config/java_editor_templates.xml b/winery/eclipse-config/java_editor_templates.xml
deleted file mode 100644
index 970fcfc..0000000
--- a/winery/eclipse-config/java_editor_templates.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><templates><template autoinsert="true" context="java" deleted="false" description="JAX RS: one getter and setter for a property" enabled="true" name="JAXRSgettersetter">@GET&#13;
-@Path("${name}")&#13;
-public String get${name}() {&#13;
- return this.configuration.getString(Property.${name});&#13;
-}&#13;
-&#13;
-@PUT&#13;
-@Path("${name}")&#13;
-public Response put${name}(@FormParam(value="${name}") String ${name}) {&#13;
- return BackendUtils.setProperty(this.configuration, Property.${name}, ${name});&#13;
-}&#13;
-</template><template autoinsert="true" context="java" deleted="false" description="Method for returning a subresource" enabled="true" name="JAXRSsubresource"> @Path("{id}/")&#13;
- public ${thing}Resource get${thing}Resource(@PathParam("id") String id) {&#13;
- XMLid xmlId = new XMLid(id, true);&#13;
- ${thing}Id resId = new ${thing}Id((${thing}sId) this.id, xmlId);&#13;
- return new ${thing}Resource(resId);&#13;
- }&#13;
-</template><template autoinsert="true" context="java" deleted="false" description="SLF4Jlogger" enabled="true" name="logger"> private static final Logger logger = LoggerFactory.getLogger(${enclosing_type}.class);&#13;
-</template><template autoinsert="true" context="java" deleted="false" description="SLF4Jlogger" enabled="true" name="logger"> private static final Logger logger = LoggerFactory.getLogger(${enclosing_type}.class);&#13;
-</template></templates> \ No newline at end of file