/** * Constructor. * * @param sceneDataControl * Parent scene controller * @param activeArea * Exit of the data control structure */ public ActiveAreaDataControl(SceneDataControl sceneDataControl, ActiveArea activeArea) { this.sceneDataControl = sceneDataControl; this.activeArea = activeArea; conditionsController = new ConditionsController(new Conditions()); this.influenceAreaDataControl = new InfluenceAreaDataControl(sceneDataControl, activeArea.getInfluenceArea(), this); descriptionsController = new DescriptionsController(activeArea.getDescriptions()); // Create subcontrollers actionsListDataControl = new ActionsListDataControl(activeArea.getActions(), this); }