You are here: Recent News » Projects » Pixlib » FDT templates » FDT Pixlib template Command

 

FDT Pixlib template Command

Tags : , ,
<?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="true" context="com.pf.fdt.ui.editor.template.actionscript" deleted="false" description="Creates generic command" enabled="true" name="command">import com.bourre.commands.Command;&#13;
import com.bourre.events.IEvent;&#13;
import com.bourre.log.Logger;&#13;
import com.bourre.log.PixlibStringifier;&#13;
	&#13;
class ${enclosing_package_and_type} &#13;
	implements Command &#13;
{&#13;
	public function ${enclosing_type}() &#13;
	{&#13;
		&#13;
	}&#13;
	&#13;
	public function execute( e : IEvent ) : Void &#13;
	{&#13;
		Logger.LOG( this + ".execute(" + e + ")" );&#13;
	}&#13;
	&#13;
	public function toString() : String &#13;
	{&#13;
		return PixlibStringifier.stringify( this );&#13;
	}&#13;
}</template></templates>

projects/pixlib/fdt_template/command.txt · Last modified: 2007/02/16 09:12