Skip to content

Instantly share code, notes, and snippets.

@abeldebeer
Created March 30, 2011 18:33
Show Gist options
  • Save abeldebeer/894959 to your computer and use it in GitHub Desktop.
Save abeldebeer/894959 to your computer and use it in GitHub Desktop.
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