FDT Pixlib template Event

Tags : , ,
<?xml version="1.0" encoding="UTF-8"?><templates><template autoinsert="true" context="com.pf.fdt.ui.editor.template.actionscript" deleted="false" description="Extends BasicEvent to create a new Event" enabled="true" name="event">import com.bourre.core.HashCodeFactory;&#13;
import com.bourre.events.BasicEvent;&#13;
import com.bourre.events.EventType;&#13;
import com.bourre.log.PixlibStringifier;&#13;
&#13;
class ${enclosing_package_and_type} &#13;
	extends BasicEvent &#13;
{&#13;
	&#13;
	public function ${enclosing_type}( e : EventType ) &#13;
	{&#13;
		super( 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></templates>