private void OnRequiredFeaturesSatisficationChanged(DocumentInfo document, bool satisified) { _xmlToolsView.IsEnabled = satisified; if (satisified) { _xmlToolsVM.XmlViewer = document.GetFeature <IXmlViewer>(); } }
private void OnRequiredFeaturesSatisficationChanged(DocumentInfo document, bool satisified) { _controllerView.IsEnabled = satisified; if (satisified) { this.TurretControllable = document.GetFeature <ITurretControllable>(); } else { this.TurretControllable = null; } }
private void OnRequiredFeaturesSatisficationChanged(DocumentInfo document, bool satisified) { _cameraControllerView.IsEnabled = satisified; if (satisified) { this.CameraContainer = document.GetFeature <IHasCamera>(); } else { this.CameraContainer = null; } }
private void OnRequiredFeaturesSatisficationChanged(DocumentInfo document, bool satisified) { _configView.IsEnabled = satisified; if (satisified) { this.CustomizationConfigurable = document.GetFeature <ICustomizationConfigurable>(); } else { this.CustomizationConfigurable = null; } }