FDT Pixlib template IOC
<?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="true" context="com.pf.fdt.ui.editor.template.actionscript" deleted="false" description="extends AbstractCommand - pixIOC" enabled="true" name="cmdioc">import com.bourre.events.IEvent; import com.bourre.ioc.control.AbstractCommand; import com.bourre.log.PixlibStringifier; class ${enclosing_package_and_type} extends AbstractCommand { public function ${enclosing_type} () { } public function execute( e : IEvent ) : Void { getLogger().debug( this + ".execute(" + e + ")" ); } /** * Returns the string representation of this instance. * @return the string representation of this instance */ public function toString() : String { return PixlibStringifier.stringify( this ); } }</template><template autoinsert="true" context="com.pf.fdt.ui.editor.template.actionscript" deleted="false" description="compile plugin for further use - pixIOC" enabled="true" name="importerioc">import com.bourre.log.PixlibStringifier; class ${enclosing_package_and_type} { public static function main( mc : MovieClip ) : Void { var a : Function = ${cursor}; } /** * Returns the string representation of this instance. * @return the string representation of this instance */ public function toString() : String { return PixlibStringifier.stringify( this ); } }</template><template autoinsert="true" context="com.pf.fdt.ui.editor.template.actionscript" deleted="false" description="extends AbstractModel - pixIOC" enabled="true" name="modelioc">import com.bourre.ioc.model.AbstractModel; import com.bourre.ioc.plugin.IPlugin; import com.bourre.log.PixlibStringifier; class ${enclosing_package_and_type} extends AbstractModel { public function ${enclosing_type} ( owner : IPlugin ) { super( owner ); } /** * Returns the string representation of this instance. * @return the string representation of this instance */ public function toString() : String { return PixlibStringifier.stringify( this ); } }</template><template autoinsert="true" context="com.pf.fdt.ui.editor.template.actionscript" deleted="false" description="extends AbstractMovieClipHelper - pixIOC" enabled="true" name="mvhioc">import com.bourre.ioc.plugin.IPlugin; import com.bourre.ioc.visual.AbstractMovieClipHelper; import com.bourre.log.PixlibStringifier; class ${enclosing_package_and_type} extends AbstractMovieClipHelper { public function ${enclosing_type} ( owner : IPlugin ) { super( owner ); } /** * Returns the string representation of this instance. * @return the string representation of this instance */ public function toString() : String { return PixlibStringifier.stringify( this ); } }</template><template autoinsert="true" context="com.pf.fdt.ui.editor.template.actionscript" deleted="false" description="extends AbstractPlugin - pixIOC" enabled="true" name="plugioc">import com.bourre.ioc.control.PluginController; import com.bourre.ioc.plugin.AbstractPlugin; import com.bourre.log.PixlibStringifier; class ${enclosing_package_and_type} extends AbstractPlugin { public function ${enclosing_type} () { } private function _initController() : Void { var c : PluginController = getController(); //c.pushCommandClass( EventList.protectScreenEVENT, ProtectScreen ); } /** * Returns the string representation of this instance. * @return the string representation of this instance */ public function toString() : String { return PixlibStringifier.stringify( this ); } }</template></templates>
projects/pixlib/fdt_template/ioc.txt · Last modified: 2007/02/16 09:19