- Timestamp:
- 03/01/11 17:00:33 (14 years ago)
- Location:
- branches/DataAnalysis Refactoring
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Core/3.3/HeuristicLab.Core-3.3.csproj
r5163 r5582 20 20 <IsWebBootstrapper>true</IsWebBootstrapper> 21 21 <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> 22 <TargetFrameworkProfile></TargetFrameworkProfile> 22 <TargetFrameworkProfile> 23 </TargetFrameworkProfile> 23 24 <PublishUrl>http://localhost/HeuristicLab.Core/</PublishUrl> 24 25 <Install>true</Install> … … 145 146 <Compile Include="Constraints\TypeCompatibilityConstraint.cs" /> 146 147 <Compile Include="Interfaces\IMultiOperator.cs" /> 148 <Compile Include="Interfaces\IFixedValueParameter.cs" /> 147 149 <Compile Include="OperatorExecutionException.cs" /> 148 150 <Compile Include="Interfaces\IScopeTreeLookupParameter.cs" /> -
branches/DataAnalysis Refactoring/HeuristicLab.Parameters.Views/3.3/ValueParameterView.cs
r5445 r5582 103 103 protected override void SetEnabledStateOfControls() { 104 104 base.SetEnabledStateOfControls(); 105 setValueButton.Enabled = Content != null && ! ReadOnly;106 clearValueButton.Enabled = Content != null && Content.Value != null && !(Content is ValueParameter<T>) && !ReadOnly;105 setValueButton.Enabled = Content != null && !(Content is IFixedValueParameter) && !ReadOnly; 106 clearValueButton.Enabled = Content != null && Content.Value != null && !(Content is IFixedValueParameter) && !ReadOnly; 107 107 showInRunCheckBox.Enabled = Content != null && !ReadOnly; 108 108 } … … 113 113 else { 114 114 SetDataTypeTextBoxText(); 115 clearValueButton.Enabled = Content != null && Content.Value != null && !(Content is ValueParameter<T>) && !ReadOnly; 115 setValueButton.Enabled = Content != null && !(Content is IFixedValueParameter) && !ReadOnly; 116 clearValueButton.Enabled = Content != null && Content.Value != null && !(Content is IFixedValueParameter<T>) && !ReadOnly; 116 117 valueViewHost.ViewType = null; 117 118 valueViewHost.Content = Content != null ? Content.Value : null; … … 148 149 protected virtual void valueGroupBox_DragEnterOver(object sender, DragEventArgs e) { 149 150 e.Effect = DragDropEffects.None; 151 if (Content is IFixedValueParameter) return; 152 150 153 Type type = e.Data.GetData("Type") as Type; 151 154 if (!ReadOnly && (type != null) && (Content.DataType.IsAssignableFrom(type))) { -
branches/DataAnalysis Refactoring/HeuristicLab.Parameters/3.3/HeuristicLab.Parameters-3.3.csproj
r5163 r5582 12 12 <AssemblyName>HeuristicLab.Parameters-3.3</AssemblyName> 13 13 <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> 14 <TargetFrameworkProfile></TargetFrameworkProfile> 14 <TargetFrameworkProfile> 15 </TargetFrameworkProfile> 15 16 <FileAlignment>512</FileAlignment> 16 17 <SignAssembly>true</SignAssembly> … … 112 113 <None Include="HeuristicLabParametersPlugin.cs.frame" /> 113 114 <Compile Include="ConstrainedValueParameter.cs" /> 115 <Compile Include="FixedValueParameter.cs" /> 114 116 <Compile Include="OptionalConstrainedValueParameter.cs" /> 115 117 <Compile Include="ScopeTreeLookupParameter.cs" />
Note: See TracChangeset
for help on using the changeset viewer.