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;
            }
        }
Esempio n. 3
0
        private void OnRequiredFeaturesSatisficationChanged(DocumentInfo document, bool satisified)
        {
            _cameraControllerView.IsEnabled = satisified;

            if (satisified)
            {
                this.CameraContainer = document.GetFeature <IHasCamera>();
            }
            else
            {
                this.CameraContainer = null;
            }
        }
Esempio n. 4
0
        private void OnRequiredFeaturesSatisficationChanged(DocumentInfo document, bool satisified)
        {
            _configView.IsEnabled = satisified;

            if (satisified)
            {
                this.CustomizationConfigurable = document.GetFeature <ICustomizationConfigurable>();
            }
            else
            {
                this.CustomizationConfigurable = null;
            }
        }