Sha256: f3a293e89a4b550f738ef05d603480b5863fa8d3c2765bff75fecadea5dc85d5

Contents?: true

Size: 935 Bytes

Versions: 2

Compression:

Stored size: 935 Bytes

Contents

package <%= base_package%>.modules.authentication.view {
	import org.puremvc.as3.multicore.utilities.fabrication.patterns.mediator.FlexMediator;
	
	import <%= base_package%>.modules.authentication.view.components.SignInView;

	public class AuthenticationModuleMediator extends FlexMediator {
		
		static public const NAME:String = "AuthenticationModuleMediator";
		
		static public function getDefinitionByName(path:String):Object {
			return getDefinitionByName(path);
		}
		
		public function AuthenticationModuleMediator(viewComponent:AuthenticationModule) {
			super(NAME, viewComponent);
		}
		
		public function get application():AuthenticationModule {
			return viewComponent as AuthenticationModule;
		}
		
		public function get signInView():SignInView {
			return application.signInView as SignInView;
		}
		
		override public function onRegister():void {
			registerMediator(new SignInViewMediator(signInView));
		} 
		
	}
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fabricator-0.0.1 app_generators/pureapp/templates/modules/authentication/view/authentication_module_mediator.as
fabricator-0.0.5 app_generators/pureapp/templates/modules/authentication/view/authentication_module_mediator.as