function Command(name, conditions, actions, regionStore, actionStore) {

  var self = this;
  
  this.store = regionStore;
  this.actionStore = actionStore;
  this.name = name;
  this.conditions = conditions;
  this.actions = actions;

  this.bindRegionEvent(regionStore, actionStore); 
}
/**
 * Command executes actions if all conditions
 * are complied.
 */
Command executes actions if all conditions
are complied.
Command executes actions if all conditions are complied .
function Command(name, conditions, actions, regionStore, actionStore) {
  var self = this;
  this.store = regionStore;
  this.actionStore = actionStore;
  this.name = name;
  this.conditions = conditions;
  this.actions = actions;
  this.bindRegionEvent(regionStore, actionStore); 
}
function Command ( name , conditions , actions , regionStore , actionStore ) { var self = this ; this . store = regionStore ; this . actionStore = actionStore ; this . name = name ; this . conditions = conditions ; this . actions = actions ; this . bindRegionEvent ( regionStore , actionStore ) ; }
Command executes actions if all conditions
 are complied.
Command executes actions if all conditions are complied .