FDT Pixlib template IOC

Tags : , ,
<?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;&#13;
import com.bourre.ioc.control.AbstractCommand;&#13;
import com.bourre.log.PixlibStringifier;&#13;
&#13;
class ${enclosing_package_and_type}  &#13;
	extends AbstractCommand&#13;
{&#13;
	public function ${enclosing_type} () &#13;
	{&#13;
		&#13;
	}&#13;
	&#13;
	public function execute( e : IEvent ) : Void&#13;
	{&#13;
		getLogger().debug( this + ".execute(" + e + ")" );&#13;
	}&#13;
	&#13;
	/**&#13;
	 * Returns the string representation of this instance.&#13;
	 * @return the string representation of this instance&#13;
	 */&#13;
	public function toString() : String &#13;
	{&#13;
		return PixlibStringifier.stringify( this );&#13;
	}&#13;
}</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;&#13;
&#13;
class ${enclosing_package_and_type}  &#13;
{&#13;
	public static function main( mc : MovieClip ) : Void &#13;
	{&#13;
		var a : Function = ${cursor};&#13;
	}&#13;
	&#13;
	/**&#13;
 	* Returns the string representation of this instance.&#13;
 	* @return the string representation of this instance&#13;
 	*/&#13;
	public function toString() : String &#13;
	{&#13;
		return PixlibStringifier.stringify( this );&#13;
	}&#13;
}</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;&#13;
import com.bourre.ioc.plugin.IPlugin;&#13;
import com.bourre.log.PixlibStringifier;&#13;
&#13;
class ${enclosing_package_and_type} &#13;
	extends AbstractModel&#13;
{&#13;
	public function  ${enclosing_type} ( owner : IPlugin ) &#13;
	{&#13;
		super( owner );&#13;
	}&#13;
	&#13;
	/**&#13;
	 * Returns the string representation of this instance.&#13;
	 * @return the string representation of this instance&#13;
	 */&#13;
	public function toString() : String &#13;
	{&#13;
		return PixlibStringifier.stringify( this );&#13;
	}&#13;
}</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;&#13;
import com.bourre.ioc.visual.AbstractMovieClipHelper;&#13;
import com.bourre.log.PixlibStringifier;&#13;
	&#13;
class ${enclosing_package_and_type} &#13;
	extends AbstractMovieClipHelper&#13;
{&#13;
	public function ${enclosing_type}  ( owner : IPlugin )&#13;
	{&#13;
		super( owner );&#13;
	}&#13;
	&#13;
	/**&#13;
	 * Returns the string representation of this instance.&#13;
	 * @return the string representation of this instance&#13;
	 */&#13;
	public function toString() : String &#13;
	{&#13;
		return PixlibStringifier.stringify( this );&#13;
	}&#13;
}</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;&#13;
import com.bourre.ioc.plugin.AbstractPlugin;&#13;
import com.bourre.log.PixlibStringifier;&#13;
&#13;
class ${enclosing_package_and_type} &#13;
	extends AbstractPlugin&#13;
{&#13;
	public function ${enclosing_type} () &#13;
	{&#13;
		&#13;
	}&#13;
	&#13;
	private function _initController() : Void&#13;
	{&#13;
		var c : PluginController = getController();&#13;
		&#13;
		//c.pushCommandClass( EventList.protectScreenEVENT, ProtectScreen );&#13;
	}&#13;
	&#13;
	/**&#13;
	 * Returns the string representation of this instance.&#13;
	 * @return the string representation of this instance&#13;
	 */&#13;
	public function toString() : String &#13;
	{&#13;
		return PixlibStringifier.stringify( this );&#13;
	}&#13;
}</template></templates>