Created
March 30, 2011 18:33
-
-
Save abeldebeer/894959 to your computer and use it in GitHub Desktop.
This file contains 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 | |
{ | |
import org.robotlegs.base.ViewInterfaceMediatorMap; | |
import org.robotlegs.core.IMediatorMap; | |
import org.robotlegs.mvcs.SignalContext; | |
import flash.display.DisplayObjectContainer; | |
public class MyContext extends SignalContext | |
{ | |
public function MyContext(contextView:DisplayObjectContainer) | |
{ | |
super(contextView, true); | |
} | |
override protected function get mediatorMap():IMediatorMap | |
{ | |
return _mediatorMap ||= new ViewInterfaceMediatorMap(contextView, createChildInjector(), reflector); | |
} | |
override public function startup():void | |
{ | |
// startup | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment