FDT Pixlib template Command

<?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>

Discussion

Enter your comment
 
 
projects/pixlib/fdt_template/command.txt · Last modified: 2007/02/16 12:12 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki