Changeset 3455
- Timestamp:
- 04/21/10 06:45:46 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.cs
r3362 r3455 95 95 executionTimeTextBox.Enabled = false; 96 96 } else { 97 logView.ReadOnly = ReadOnly;98 97 logView.Enabled = true; 99 98 executionTimeTextBox.Enabled = true; -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemArrayView.cs
r3435 r3455 125 125 itemsListView.Enabled = true; 126 126 detailsGroupBox.Enabled = true; 127 viewHost.ReadOnly = ReadOnly;128 127 } 129 128 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r3435 r3455 100 100 itemsListView.Enabled = true; 101 101 detailsGroupBox.Enabled = true; 102 viewHost.ReadOnly = ReadOnly;103 102 } 104 103 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs
r3435 r3455 128 128 itemsListView.Enabled = true; 129 129 detailsGroupBox.Enabled = true; 130 viewHost.ReadOnly = ReadOnly;131 130 } 132 131 } -
trunk/sources/HeuristicLab.Core.Views/3.3/OperatorGraphView.cs
r3395 r3455 105 105 operatorsView.Enabled = Content != null; 106 106 operatorTreeView.Enabled = Content != null; 107 operatorsView.ReadOnly = ReadOnly;108 operatorTreeView.ReadOnly = ReadOnly;109 107 operatorsContextMenuStrip.Enabled = Content != null && !ReadOnly; 110 108 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ParameterizedNamedItemView.cs
r3362 r3455 63 63 private void SetEnabledStateOfControls() { 64 64 parameterCollectionView.Enabled = Content != null; 65 parameterCollectionView.ReadOnly = ReadOnly;66 65 } 67 66 } -
trunk/sources/HeuristicLab.Core.Views/3.3/ScopeView.cs
r3432 r3455 95 95 scopesTreeView.Enabled = Content != null; 96 96 variableCollectionView.Enabled = Content != null; 97 variableCollectionView.ReadOnly = ReadOnly;98 97 } 99 98 -
trunk/sources/HeuristicLab.Core.Views/3.3/VariableValueView.cs
r3362 r3455 98 98 private void SetEnabledStateOfControls() { 99 99 valuePanel.Enabled = Content != null; 100 viewHost.ReadOnly = ReadOnly;101 100 } 102 101 -
trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.cs
r3407 r3455 105 105 clearValueButton.Enabled = Content != null && Content.Value != null && !ReadOnly; 106 106 valueGroupBox.Enabled = Content != null; 107 viewHost.ReadOnly = ReadOnly;108 107 } 109 108 -
trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperatorView.cs
r3454 r3455 106 106 private void SetEnabledStateOfControls() { 107 107 parameterCollectionView.Enabled = Content != null; 108 parameterCollectionView.ReadOnly = ReadOnly;109 108 assembliesTreeView.Enabled = Content != null && !ReadOnly; 110 109 namespacesTreeView.Enabled = Content != null && !ReadOnly; -
trunk/sources/HeuristicLab.Operators.Views.GraphVisualization/3.3/OperatorGraphVisualization/OperatorGraphView.cs
r3423 r3455 102 102 screenshotButton.Enabled = true; 103 103 detailsViewHost.Enabled = true; 104 detailsViewHost.ReadOnly = ReadOnly;105 graphVisualizationInfoView.ReadOnly = ReadOnly;106 104 connectButton.Enabled = !ReadOnly; 107 105 } -
trunk/sources/HeuristicLab.Operators.Views/3.3/AlgorithmOperatorView.cs
r3454 r3455 94 94 breakpointCheckBox.Enabled = Content != null && !ReadOnly; 95 95 parameterCollectionView.Enabled = Content != null; 96 parameterCollectionView.ReadOnly = ReadOnly;97 96 operatorGraphViewHost.Enabled = Content != null; 98 operatorGraphViewHost.ReadOnly = ReadOnly;99 97 } 100 98 -
trunk/sources/HeuristicLab.Operators.Views/3.3/MultiOperatorView.cs
r3454 r3455 93 93 breakpointCheckBox.Enabled = Content != null && !ReadOnly; 94 94 operatorListView.Enabled = Content != null; 95 operatorListView.ReadOnly = ReadOnly;96 95 parameterCollectionView.Enabled = Content != null; 97 parameterCollectionView.ReadOnly = ReadOnly;98 96 } 99 97 -
trunk/sources/HeuristicLab.Operators.Views/3.3/ValuesCollectorView.cs
r3454 r3455 93 93 breakpointCheckBox.Enabled = Content != null && !ReadOnly; 94 94 collectedValuesView.Enabled = Content != null; 95 collectedValuesView.ReadOnly = ReadOnly;96 95 parameterCollectionView.Enabled = Content != null; 97 parameterCollectionView.ReadOnly = ReadOnly;98 96 } 99 97 -
trunk/sources/HeuristicLab.Optimization.Views/3.3/AlgorithmView.cs
r3454 r3455 115 115 private void SetEnableStateOfControls() { 116 116 parameterCollectionView.Enabled = Content != null; 117 parameterCollectionView.ReadOnly = ReadOnly;118 117 newProblemButton.Enabled = Content != null && !ReadOnly; 119 118 openProblemButton.Enabled = Content != null && !ReadOnly; 120 119 problemViewHost.Enabled = Content != null; 121 problemViewHost.ReadOnly = ReadOnly;122 120 resultsView.Enabled = Content != null; 123 resultsView.ReadOnly = ReadOnly;124 121 runsView.Enabled = Content != null; 125 runsView.ReadOnly = ReadOnly;126 122 executionTimeTextBox.Enabled = Content != null; 127 123 SetEnabledStateOfExecutableButtons(); -
trunk/sources/HeuristicLab.Optimization.Views/3.3/BatchRunView.cs
r3454 r3455 99 99 openAlgorithmButton.Enabled = Content != null && !ReadOnly; 100 100 algorithmViewHost.Enabled = Content != null; 101 algorithmViewHost.ReadOnly = ReadOnly;102 101 runsView.Enabled = Content != null; 103 runsView.ReadOnly = ReadOnly;104 102 executionTimeTextBox.Enabled = Content != null; 105 103 SetEnabledStateOfExecutableButtons(); -
trunk/sources/HeuristicLab.Optimization.Views/3.3/EngineAlgorithmView.cs
r3454 r3455 112 112 private void SetEnableStateOfControls() { 113 113 engineViewHost.Enabled = Content != null; 114 engineViewHost.ReadOnly = ReadOnly;115 114 newOperatorGraphButton.Enabled = false; 116 115 openOperatorGraphButton.Enabled = false; -
trunk/sources/HeuristicLab.Optimization.Views/3.3/ExperimentView.cs
r3454 r3455 87 87 private void SetEnableStateOfControls() { 88 88 optimizerListView.Enabled = Content != null; 89 optimizerListView.ReadOnly = ReadOnly;90 89 runsViewHost.Enabled = Content != null; 91 runsViewHost.ReadOnly = ReadOnly;92 90 executionTimeTextBox.Enabled = Content != null; 93 91 SetEnabledStateOfExecutableButtons(); -
trunk/sources/HeuristicLab.Optimization.Views/3.3/ResultView.cs
r3454 r3455 106 106 dataTypeTextBox.Enabled = Content != null; 107 107 viewHost.Enabled = Content != null; 108 viewHost.ReadOnly = ReadOnly;109 108 } 110 109 -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionView.cs
r3449 r3455 119 119 removeButton.Enabled = itemsListView.SelectedItems.Count > 0 && !Content.IsReadOnly && !ReadOnly; 120 120 viewHost.Enabled = true; 121 viewHost.ReadOnly = ReadOnly;122 121 } 123 122 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunView.cs
r3454 r3455 89 89 listView.Enabled = Content != null; 90 90 viewHost.Enabled = Content != null; 91 viewHost.ReadOnly = ReadOnly;92 91 showAlgorithmButton.Enabled = Content != null && !Locked; 93 92 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.cs
r3454 r3455 70 70 private void SetEnableStateOfControls() { 71 71 globalScopeView.Enabled = Content != null; 72 globalScopeView.ReadOnly = ReadOnly;73 72 newOperatorGraphButton.Enabled = Content != null && !ReadOnly; 74 73 openOperatorGraphButton.Enabled = Content != null && !ReadOnly; 75 operatorGraphViewHost.ReadOnly = ReadOnly;76 74 } 77 75 -
trunk/sources/HeuristicLab.Parameters.Views/3.3/ConstrainedValueParameterView.cs
r3376 r3455 113 113 valueGroupBox.Enabled = Content != null; 114 114 valueComboBox.Enabled = (valueComboBox.Items.Count > 0) && !ReadOnly; 115 viewHost.ReadOnly = ReadOnly;116 115 } 117 116 -
trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueLookupParameterView.cs
r3407 r3455 110 110 clearValueButton.Enabled = Content != null && Content.Value != null && !ReadOnly; 111 111 valueGroupBox.Enabled = Content != null; 112 viewHost.ReadOnly = ReadOnly;113 112 } 114 113 -
trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueParameterView.cs
r3407 r3455 107 107 clearValueButton.Enabled = Content != null && Content.Value != null && !ReadOnly; 108 108 valueGroupBox.Enabled = Content != null; 109 viewHost.ReadOnly = ReadOnly;110 109 } 111 110 -
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TravelingSalesmanProblemView.cs
r3454 r3455 86 86 private void SetEnabledStateOfControls() { 87 87 parameterCollectionView.Enabled = Content != null; 88 parameterCollectionView.ReadOnly = ReadOnly;89 88 pathTSPTourView.Enabled = Content != null; 90 pathTSPTourView.ReadOnly = ReadOnly;91 89 importButton.Enabled = Content != null && !ReadOnly; 92 90 }
Note: See TracChangeset
for help on using the changeset viewer.