Skip to content

Instantly share code, notes, and snippets.

@shi11

shi11/gist:1105883

Created Jul 26, 2011
Embed
What would you like to do?
mapping view interfaces
//in context
mediatorMap.mapView( MyView1, MyMediator, IView);
mediatorMap.mapView( MyView2, MyMediator, IView);
//in MyMediator
[Inject]
public var IView;
override public function onRegister() : void {
view.mySignal.add( handleSignal );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment