/// <summary> /// Updates only the contents of the Poller editor /// </summary> public void UpdatePollerComponent() { if (_ignoreUpdates) { return; } PollerEditor.SetViewingComponent(_selected.Poller); }
/// <summary> /// Updates only the contents of the media editor /// </summary> public void UpdateMediaComponent() { if (_ignoreUpdates) { return; } StreamEditor.SetViewingComponent(_selected.MediaConnection); // Show by default if no media connection if (_selected.MediaConnection == null) { ConverterEditor.Show(); PollerEditor.Show(); return; } // Change if converters are allowed to be changed if (!_selected.MediaConnection.UsesGenericConverters) { ConverterEditor.ClearChoice(); ConverterEditor.Hide(); } else { ConverterEditor.Show(); } // Change if pollers are allowed to be changed if (!_selected.MediaConnection.UsesGenericPollers) { PollerEditor.ClearChoice(); PollerEditor.Hide(); } else { PollerEditor.Show(); } }