-
Notifications
You must be signed in to change notification settings - Fork 0
/
sourcemate_robotlegs_templates.xml
9 lines (9 loc) · 2.31 KB
/
sourcemate_robotlegs_templates.xml
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<templates>
<template autoinsert="true" context="com.elementriver.sourcemate.asContextType" deleted="false" description="Inject variable" enabled="true" name="inject">[Inject] public var ${name}:${return_type};${cursor}</template>
<template autoinsert="true" context="com.elementriver.sourcemate.asContextType" deleted="false" description="Creates base robotlegs Context class" enabled="true" name="context_robotlegs">package ${enclosing_package} { import org.robotlegs.mvcs.Context; public class ${enclosing_type} extends Context { override public function startup():void { ${cursor} } } }</template>
<template autoinsert="true" context="com.elementriver.sourcemate.asContextType" deleted="false" description="Creates base robotlegs Model class" enabled="true" name="model_robotlegs">package ${enclosing_package} { import org.robotlegs.mvcs.Actor; public class ${enclosing_type} extends Actor { ${cursor} } }</template>
<template autoinsert="true" context="com.elementriver.sourcemate.asContextType" deleted="false" description="Creates base robotlegs Mediator class" enabled="true" name="mediator_robotlegs">package ${enclosing_package} { import org.robotlegs.mvcs.Mediator; public class ${enclosing_type} extends Mediator { override public function onRegister():void { ${cursor} } } }</template>
<template autoinsert="true" context="com.elementriver.sourcemate.asContextType" deleted="false" description="Creates base robotlegs Command class" enabled="true" name="command_robotlegs">package ${enclosing_package} { import org.robotlegs.mvcs.Command; public class ${enclosing_type} extends Command { override public function execute():void { ${cursor} } } }</template>
<template autoinsert="true" context="com.elementriver.sourcemate.asContextType" deleted="false" description="Creates base robotlegs Service class" enabled="true" name="service_robotlegs">package ${enclosing_package} { import org.robotlegs.mvcs.Actor; public class ${enclosing_type} extends Actor implements ${interface_name} { ${cursor} } }</template>
</templates>