Created
March 5, 2013 17:35
-
-
Save gonchar/5092185 to your computer and use it in GitHub Desktop.
EventClass template for FDT/FlashBuilder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ${enclosing_package} { | |
import flash.events.Event; | |
public class ${enclosing_type} extends Event | |
{ | |
public function ${enclosing_type}(type:String, bubbles:Boolean=false, cancelable:Boolean=false) | |
{ | |
super(type, bubbles, cancelable); | |
} | |
public override function clone():Event | |
{ | |
return new ${enclosing_type}(type, bubbles, cancelable); | |
} | |
public override function toString():String | |
{ | |
return formatToString("${enclosing_type}", "type", "bubbles", "cancelable", "eventPhase"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment