2008-12-02 20:50:24 +00:00
|
|
|
package @namespace@.@view@ {
|
|
|
|
|
|
|
|
import @namespace@.@facade@;
|
|
|
|
|
2008-12-05 16:10:22 +00:00
|
|
|
import org.puremvc.as3.interfaces.INotification;
|
2008-12-02 20:50:24 +00:00
|
|
|
import org.puremvc.as3.patterns.mediator.Mediator;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @mediator.name@ mediator.
|
|
|
|
*
|
|
|
|
* @langversion ActionScript 3.0
|
|
|
|
* @author @author.name@ @author.email@
|
|
|
|
* @date @today@
|
|
|
|
* @version @version@
|
|
|
|
*/
|
|
|
|
public class @mediator.name@Mediator extends Mediator {
|
|
|
|
|
|
|
|
/* --- Variables --- */
|
|
|
|
|
|
|
|
public static const NAME:String = "@mediator.name@Mediator";
|
|
|
|
|
|
|
|
/* === Variables === */
|
|
|
|
|
|
|
|
/* --- Constructor --- */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Constructor.
|
|
|
|
*
|
|
|
|
* @param viewComponent view component for mediator
|
|
|
|
*/
|
|
|
|
public function @mediator.name@Mediator(viewComponent:Object) {
|
|
|
|
super(NAME, viewComponent);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* === Constructor === */
|
|
|
|
|
|
|
|
/* --- Functions --- */
|
|
|
|
|
|
|
|
override public function handleNotification(note:INotification):void {
|
|
|
|
}
|
|
|
|
|
|
|
|
override public function listNotificationInterests():Array {
|
|
|
|
return [
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
/* === Functions === */
|
|
|
|
|
|
|
|
/* --- Public Accessors --- */
|
|
|
|
|
|
|
|
public function get YOURVIEWNAME():YOURVIEWOBJ { return viewComponent as YOURVIEWOBJ; }
|
|
|
|
|
|
|
|
/* === Public Accessors === */
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|