Changeset 2664 for trunk/sources/HeuristicLab.Core.Views/3.3
- Timestamp:
- 01/21/10 02:04:44 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Core.Views/3.3
- Files:
-
- 7 edited
- 2 copied
- 12 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/DefaultItemView.Designer.cs
r2662 r2664 21 21 22 22 namespace HeuristicLab.Core.Views { 23 partial class ItemBaseView {23 partial class DefaultItemView { 24 24 /// <summary> 25 25 /// Required designer variable. -
trunk/sources/HeuristicLab.Core.Views/3.3/DefaultItemView.cs
r2662 r2664 33 33 /// The base class for visual representations of items. 34 34 /// </summary> 35 [Content(typeof(Item Base), true)]36 public partial class ItemBaseView : ItemViewBase{35 [Content(typeof(Item), true)] 36 public partial class DefaultItemView : ItemView { 37 37 /// <summary> 38 38 /// Initializes a new instance of <see cref="ItemBaseView"/>. 39 39 /// </summary> 40 public ItemBaseView() {40 public DefaultItemView() { 41 41 InitializeComponent(); 42 42 } … … 45 45 /// </summary> 46 46 /// <param name="item">The item that should be displayed.</param> 47 public ItemBaseView(ItemBaseitem)47 public DefaultItemView(Item item) 48 48 : this() { 49 49 Item = item; -
trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.Designer.cs
r2662 r2664 21 21 22 22 namespace HeuristicLab.Core.Views { 23 partial class Engine BaseView {23 partial class EngineView { 24 24 /// <summary> 25 25 /// Required designer variable. -
trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.cs
r2662 r2664 35 35 /// Base class for editors of engines. 36 36 /// </summary> 37 [Content(typeof(Engine Base), true)]38 public partial class Engine BaseView : ItemViewBase{37 [Content(typeof(Engine), true)] 38 public partial class EngineView : ItemView { 39 39 private int executionTimeCounter; 40 40 … … 43 43 /// </summary> 44 44 /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="EditorBase"/>.</remarks> 45 public Engine BaseEngine {46 get { return (Engine Base)Item; }45 public Engine Engine { 46 get { return (Engine)Item; } 47 47 set { base.Item = value; } 48 48 } … … 51 51 /// Initializes a new instance of <see cref="EngineBaseEditor"/>. 52 52 /// </summary> 53 public Engine BaseView() {53 public EngineView() { 54 54 InitializeComponent(); 55 55 } 56 public Engine BaseView(EngineBase engine)56 public EngineView(Engine engine) 57 57 : this() { 58 58 Engine = engine; -
trunk/sources/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj
r2663 r2664 59 59 </Compile> 60 60 <Compile Include="Auxiliary.cs" /> 61 <Compile Include="EngineBaseView.cs"> 62 <SubType>UserControl</SubType> 63 </Compile> 64 <Compile Include="EngineBaseView.Designer.cs"> 65 <DependentUpon>EngineBaseView.cs</DependentUpon> 61 <Compile Include="DefaultItemView.cs"> 62 <SubType>UserControl</SubType> 63 </Compile> 64 <Compile Include="DefaultItemView.Designer.cs"> 65 <DependentUpon>DefaultItemView.cs</DependentUpon> 66 </Compile> 67 <Compile Include="EngineView.cs"> 68 <SubType>UserControl</SubType> 69 </Compile> 70 <Compile Include="EngineView.Designer.cs"> 71 <DependentUpon>EngineView.cs</DependentUpon> 72 </Compile> 73 <Compile Include="ItemParameterView.cs"> 74 <SubType>UserControl</SubType> 75 </Compile> 76 <Compile Include="ItemParameterView.Designer.cs"> 77 <DependentUpon>ItemParameterView.cs</DependentUpon> 78 </Compile> 79 <Compile Include="ItemView.cs"> 80 <SubType>UserControl</SubType> 81 </Compile> 82 <Compile Include="ItemView.Designer.cs"> 83 <DependentUpon>ItemView.cs</DependentUpon> 84 </Compile> 85 <Compile Include="NamedItemView.cs"> 86 <SubType>UserControl</SubType> 87 </Compile> 88 <Compile Include="NamedItemView.Designer.cs"> 89 <DependentUpon>NamedItemView.cs</DependentUpon> 90 </Compile> 91 <Compile Include="ObjectView.cs"> 92 <SubType>UserControl</SubType> 93 </Compile> 94 <Compile Include="ObjectView.Designer.cs"> 95 <DependentUpon>ObjectView.cs</DependentUpon> 66 96 </Compile> 67 97 <Compile Include="OperatorGraphView.cs"> … … 101 131 <DependentUpon>ViewHost.cs</DependentUpon> 102 132 </Compile> 103 <Compile Include="ParameterBaseView.cs">104 <SubType>UserControl</SubType>105 </Compile>106 <Compile Include="ParameterBaseView.Designer.cs">107 <DependentUpon>ParameterBaseView.cs</DependentUpon>108 </Compile>109 133 <Compile Include="OperatorCollectionView.cs"> 110 134 <SubType>UserControl</SubType> … … 150 174 </Compile> 151 175 <Compile Include="IObjectView.cs" /> 152 <Compile Include="ObjectViewBase.cs">153 <SubType>UserControl</SubType>154 </Compile>155 <Compile Include="ObjectViewBase.Designer.cs">156 <DependentUpon>ObjectViewBase.cs</DependentUpon>157 </Compile>158 <Compile Include="NamedItemBaseView.cs">159 <SubType>UserControl</SubType>160 </Compile>161 <Compile Include="NamedItemBaseView.Designer.cs">162 <DependentUpon>NamedItemBaseView.cs</DependentUpon>163 </Compile>164 176 <Compile Include="ParameterView.cs"> 165 177 <SubType>UserControl</SubType> … … 193 205 </Compile> 194 206 <Compile Include="HeuristicLabCoreViewsPlugin.cs" /> 195 <Compile Include="ItemBaseView.cs">196 <SubType>UserControl</SubType>197 </Compile>198 <Compile Include="ItemBaseView.Designer.cs">199 <DependentUpon>ItemBaseView.cs</DependentUpon>200 </Compile>201 <Compile Include="ItemViewBase.cs">202 <SubType>UserControl</SubType>203 </Compile>204 <Compile Include="ItemViewBase.Designer.cs">205 <DependentUpon>ItemViewBase.cs</DependentUpon>206 </Compile>207 207 <Compile Include="Properties\AssemblyInfo.cs" /> 208 208 <Compile Include="VariableView.cs"> -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r2655 r2664 32 32 33 33 namespace HeuristicLab.Core.Views { 34 public partial class ItemCollectionView<T> : ObjectView Basewhere T : class, IItem {34 public partial class ItemCollectionView<T> : ObjectView where T : class, IItem { 35 35 public IObservableCollection<T> ItemCollection { 36 36 get { return (IObservableCollection<T>)Object; } -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs
r2655 r2664 35 35 /// The visual representation of all variables in a specified scope. 36 36 /// </summary> 37 public partial class ItemListView<T> : ObjectView Basewhere T : class, IItem {37 public partial class ItemListView<T> : ObjectView where T : class, IItem { 38 38 /// <summary> 39 39 /// Gets or sets the scope whose variables to represent visually. -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemParameterView.Designer.cs
r2662 r2664 21 21 22 22 namespace HeuristicLab.Core.Views { 23 partial class ParameterView {23 partial class ItemParameterView { 24 24 /// <summary> 25 25 /// Required designer variable. -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemParameterView.cs
r2662 r2664 33 33 /// The visual representation of a <see cref="Parameter"/>. 34 34 /// </summary> 35 [Content(typeof( Parameter), true)]36 public partial class ParameterView : ParameterBaseView {35 [Content(typeof(ItemParameter), true)] 36 public partial class ItemParameterView : ParameterView { 37 37 private TypeSelectorDialog typeSelectorDialog; 38 38 … … 42 42 /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>. 43 43 /// No own data storage present.</remarks> 44 public new Parameter Parameter {45 get { return ( Parameter)Item; }44 public new ItemParameter Parameter { 45 get { return (ItemParameter)Item; } 46 46 set { base.Item = value; } 47 47 } … … 50 50 /// Initializes a new instance of <see cref="VariableView"/> with caption "Variable". 51 51 /// </summary> 52 public ParameterView() {52 public ItemParameterView() { 53 53 InitializeComponent(); 54 54 Caption = "Parameter"; … … 59 59 /// <remarks>Calls <see cref="VariableView()"/>.</remarks> 60 60 /// <param name="variable">The variable to represent visually.</param> 61 public ParameterView(Parameter parameter)61 public ItemParameterView(ItemParameter parameter) 62 62 : this() { 63 63 Parameter = parameter; -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.Designer.cs
r2662 r2664 23 23 24 24 namespace HeuristicLab.Core.Views { 25 partial class ItemView Base{25 partial class ItemView { 26 26 /// <summary> 27 27 /// Required designer variable. -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.cs
r2662 r2664 34 34 /// Base class for all visual representations. 35 35 /// </summary> 36 public partial class ItemView Base : ObjectViewBase{36 public partial class ItemView : ObjectView { 37 37 public IItem Item { 38 38 get { return (IItem)base.Object; } … … 43 43 /// Initializes a new instance of <see cref="ViewBase"/> with the caption "View". 44 44 /// </summary> 45 public ItemView Base() {45 public ItemView() { 46 46 InitializeComponent(); 47 47 Caption = "View"; -
trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemView.Designer.cs
r2662 r2664 21 21 22 22 namespace HeuristicLab.Core.Views { 23 partial class NamedItem BaseView {23 partial class NamedItemView { 24 24 /// <summary> 25 25 /// Required designer variable. -
trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemView.cs
r2662 r2664 33 33 /// The visual representation of a <see cref="Variable"/>. 34 34 /// </summary> 35 [Content(typeof(NamedItem Base), true)]36 public partial class NamedItem BaseView : ItemViewBase{37 public NamedItem BaseNamedItemBase {38 get { return (NamedItem Base)Item; }35 [Content(typeof(NamedItem), true)] 36 public partial class NamedItemView : ItemView { 37 public NamedItem NamedItemBase { 38 get { return (NamedItem)Item; } 39 39 set { base.Item = value; } 40 40 } 41 41 42 public NamedItem BaseView() {42 public NamedItemView() { 43 43 InitializeComponent(); 44 44 Caption = "NamedItem"; 45 45 } 46 public NamedItem BaseView(NamedItemBasenamedItemBase)46 public NamedItemView(NamedItem namedItemBase) 47 47 : this() { 48 48 NamedItemBase = namedItemBase; -
trunk/sources/HeuristicLab.Core.Views/3.3/ObjectView.Designer.cs
r2662 r2664 23 23 24 24 namespace HeuristicLab.Core.Views { 25 partial class ObjectView Base{25 partial class ObjectView { 26 26 /// <summary> 27 27 /// Required designer variable. -
trunk/sources/HeuristicLab.Core.Views/3.3/ObjectView.cs
r2662 r2664 34 34 /// Base class for all visual representations. 35 35 /// </summary> 36 public partial class ObjectView Base: ViewBase, IObjectView {36 public partial class ObjectView : ViewBase, IObjectView { 37 37 private object obj; 38 38 /// <summary> … … 63 63 /// Initializes a new instance of <see cref="ViewBase"/> with the caption "View". 64 64 /// </summary> 65 public ObjectView Base() {65 public ObjectView() { 66 66 InitializeComponent(); 67 67 Caption = "View"; -
trunk/sources/HeuristicLab.Core.Views/3.3/OperatorGraphView.cs
r2655 r2664 37 37 /// </summary> 38 38 [Content(typeof(OperatorGraph), true)] 39 public partial class OperatorGraphView : ItemView Base{39 public partial class OperatorGraphView : ItemView { 40 40 /// <summary> 41 41 /// Gets or sets the operator graph to represent visually. -
trunk/sources/HeuristicLab.Core.Views/3.3/OperatorTreeView.cs
r2655 r2664 37 37 /// </summary> 38 38 [Content(typeof(IOperator), false)] 39 public partial class OperatorTreeView : ItemView Base{39 public partial class OperatorTreeView : ItemView { 40 40 private Dictionary<IOperatorParameter, List<TreeNode>> operatorParameterNodeTable; 41 41 private Dictionary<IOperator, List<TreeNode>> operatorNodeTable; -
trunk/sources/HeuristicLab.Core.Views/3.3/ParameterView.Designer.cs
r2662 r2664 21 21 22 22 namespace HeuristicLab.Core.Views { 23 partial class Parameter BaseView {23 partial class ParameterView { 24 24 /// <summary> 25 25 /// Required designer variable. -
trunk/sources/HeuristicLab.Core.Views/3.3/ParameterView.cs
r2662 r2664 34 34 /// </summary> 35 35 [Content(typeof(IParameter), true)] 36 public partial class Parameter BaseView : NamedItemBaseView {36 public partial class ParameterView : NamedItemView { 37 37 /// <summary> 38 38 /// Gets or sets the variable to represent visually. … … 48 48 /// Initializes a new instance of <see cref="VariableView"/> with caption "Variable". 49 49 /// </summary> 50 public Parameter BaseView() {50 public ParameterView() { 51 51 InitializeComponent(); 52 52 Caption = "Parameter"; … … 57 57 /// <remarks>Calls <see cref="VariableView()"/>.</remarks> 58 58 /// <param name="variable">The variable to represent visually.</param> 59 public Parameter BaseView(IParameter parameter)59 public ParameterView(IParameter parameter) 60 60 : this() { 61 61 Parameter = parameter; -
trunk/sources/HeuristicLab.Core.Views/3.3/ScopeView.cs
r2655 r2664 37 37 /// </summary> 38 38 [Content(typeof(Scope), true)] 39 public partial class ScopeView : ItemView Base{39 public partial class ScopeView : ItemView { 40 40 private Dictionary<Scope, TreeNode> scopeNodeTable; 41 41 private Dictionary<ScopeList, Scope> subScopesScopeTable; -
trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.cs
r2655 r2664 34 34 /// </summary> 35 35 [Content(typeof(Variable), true)] 36 public partial class VariableView : NamedItem BaseView {36 public partial class VariableView : NamedItemView { 37 37 private TypeSelectorDialog typeSelectorDialog; 38 38
Note: See TracChangeset
for help on using the changeset viewer.