Sha256: 9a96a4c2dd00c5b599763b4ff850ce3b8dc935cf19d5d2a74b15c50210751d98

Contents?: true

Size: 1.3 KB

Versions: 3

Compression:

Stored size: 1.3 KB

Contents

/*
Copyright 2008 Nahuel Foronda/AsFusion

Licensed under the Apache License, Version 2.0 (the "License"); 
you may not use this file except in compliance with the License. Y
ou may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0 

Unless required by applicable law or agreed to in writing, s
oftware distributed under the License is distributed on an "AS IS" BASIS, 
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
See the License for the specific language governing permissions and limitations under the License

Author: Nahuel Foronda, Principal Architect
        nahuel at asfusion dot com
                
@ignore
*/
package com.fourD.core {
	
	[DefaultProperty("properties")]
	/**
	 * BaseAction is the base class for all the <code>IAction</code>s that have Properties
	 */
	public class InstancePropertyInjector {
		
		private var _instance:*;
		public function get instance():* { return _instance; }
		public function set instance(value:*):void { _instance = value; }
		
		private var _properties:Properties;
		public function get properties():Properties { return _properties; }
		public function set properties(value:Properties):void { _properties = value; }
		
		public function run():void {
			if(properties) {
				properties.injectProperties(instance);
			}
		}

	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emergent-core-0.1.0 rails_generators/emergent_config/templates/app/flex/com/fourD/core/InstancePropertyInjector.as
emergent-core-0.1.01 rails_generators/emergent_config/templates/app/flex/com/fourD/core/InstancePropertyInjector.as
emergent-core-0.1.02 rails_generators/emergent_config/templates/app/flex/com/fourD/core/InstancePropertyInjector.as