Skip to content

Instantly share code, notes, and snippets.

@ruprict
Created March 15, 2011 18:58
Show Gist options
  • Save ruprict/871235 to your computer and use it in GitHub Desktop.
Save ruprict/871235 to your computer and use it in GitHub Desktop.
import com.esri.viewer.BaseWidget;
import flash.display.DisplayObjectContainer;
import flash.system.ApplicationDomain;
import org.robotlegs.core.IInjector;
import org.robotlegs.utilities.modular.mvcs.ModuleContext;
public class ApplicationContext extends ModuleContext
{
public function ApplicationContext(contextView:DisplayObjectContainer=null, autoStartup:Boolean=true, parentInjector:IInjector=null, applicationDomain:ApplicationDomain=null)
{
super(contextView, autoStartup, parentInjector, applicationDomain);
}
public override function startup():void {
trace("ApplicationContext.Startup");
viewMap.mapType(BaseWidget);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment