Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/21/10 02:04:44 (15 years ago)
Author:
swagner
Message:

Abandoned policy that the names of all abstract base classes have to end in "Base" (#95)

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  
    2121
    2222namespace HeuristicLab.Core.Views {
    23   partial class ItemBaseView {
     23  partial class DefaultItemView {
    2424    /// <summary>
    2525    /// Required designer variable.
  • trunk/sources/HeuristicLab.Core.Views/3.3/DefaultItemView.cs

    r2662 r2664  
    3333  /// The base class for visual representations of items.
    3434  /// </summary>
    35   [Content(typeof(ItemBase), true)]
    36   public partial class ItemBaseView : ItemViewBase {
     35  [Content(typeof(Item), true)]
     36  public partial class DefaultItemView : ItemView {
    3737    /// <summary>
    3838    /// Initializes a new instance of <see cref="ItemBaseView"/>.
    3939    /// </summary>
    40     public ItemBaseView() {
     40    public DefaultItemView() {
    4141      InitializeComponent();
    4242    }
     
    4545    /// </summary>
    4646    /// <param name="item">The item that should be displayed.</param>
    47     public ItemBaseView(ItemBase item)
     47    public DefaultItemView(Item item)
    4848      : this() {
    4949      Item = item;
  • trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.Designer.cs

    r2662 r2664  
    2121
    2222namespace HeuristicLab.Core.Views {
    23   partial class EngineBaseView {
     23  partial class EngineView {
    2424    /// <summary>
    2525    /// Required designer variable.
  • trunk/sources/HeuristicLab.Core.Views/3.3/EngineView.cs

    r2662 r2664  
    3535  /// Base class for editors of engines.
    3636  /// </summary>
    37   [Content(typeof(EngineBase), true)]
    38   public partial class EngineBaseView : ItemViewBase {
     37  [Content(typeof(Engine), true)]
     38  public partial class EngineView : ItemView {
    3939    private int executionTimeCounter;
    4040
     
    4343    /// </summary>
    4444    /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="EditorBase"/>.</remarks>
    45     public EngineBase Engine {
    46       get { return (EngineBase)Item; }
     45    public Engine Engine {
     46      get { return (Engine)Item; }
    4747      set { base.Item = value; }
    4848    }
     
    5151    /// Initializes a new instance of <see cref="EngineBaseEditor"/>.
    5252    /// </summary>
    53     public EngineBaseView() {
     53    public EngineView() {
    5454      InitializeComponent();
    5555    }
    56     public EngineBaseView(EngineBase engine)
     56    public EngineView(Engine engine)
    5757      : this() {
    5858      Engine = engine;
  • trunk/sources/HeuristicLab.Core.Views/3.3/HeuristicLab.Core.Views-3.3.csproj

    r2663 r2664  
    5959    </Compile>
    6060    <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>
    6696    </Compile>
    6797    <Compile Include="OperatorGraphView.cs">
     
    101131      <DependentUpon>ViewHost.cs</DependentUpon>
    102132    </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>
    109133    <Compile Include="OperatorCollectionView.cs">
    110134      <SubType>UserControl</SubType>
     
    150174    </Compile>
    151175    <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>
    164176    <Compile Include="ParameterView.cs">
    165177      <SubType>UserControl</SubType>
     
    193205    </Compile>
    194206    <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>
    207207    <Compile Include="Properties\AssemblyInfo.cs" />
    208208    <Compile Include="VariableView.cs">
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs

    r2655 r2664  
    3232
    3333namespace HeuristicLab.Core.Views {
    34   public partial class ItemCollectionView<T> : ObjectViewBase where T : class, IItem {
     34  public partial class ItemCollectionView<T> : ObjectView where T : class, IItem {
    3535    public IObservableCollection<T> ItemCollection {
    3636      get { return (IObservableCollection<T>)Object; }
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs

    r2655 r2664  
    3535  /// The visual representation of all variables in a specified scope.
    3636  /// </summary>
    37   public partial class ItemListView<T> : ObjectViewBase where T : class, IItem {
     37  public partial class ItemListView<T> : ObjectView where T : class, IItem {
    3838    /// <summary>
    3939    /// Gets or sets the scope whose variables to represent visually.
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemParameterView.Designer.cs

    r2662 r2664  
    2121
    2222namespace HeuristicLab.Core.Views {
    23   partial class ParameterView {
     23  partial class ItemParameterView {
    2424    /// <summary>
    2525    /// Required designer variable.
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemParameterView.cs

    r2662 r2664  
    3333  /// The visual representation of a <see cref="Parameter"/>.
    3434  /// </summary>
    35   [Content(typeof(Parameter), true)]
    36   public partial class ParameterView : ParameterBaseView {
     35  [Content(typeof(ItemParameter), true)]
     36  public partial class ItemParameterView : ParameterView {
    3737    private TypeSelectorDialog typeSelectorDialog;
    3838
     
    4242    /// <remarks>Uses property <see cref="ViewBase.Item"/> of base class <see cref="ViewBase"/>.
    4343    /// 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; }
    4646      set { base.Item = value; }
    4747    }
     
    5050    /// Initializes a new instance of <see cref="VariableView"/> with caption "Variable".
    5151    /// </summary>
    52     public ParameterView() {
     52    public ItemParameterView() {
    5353      InitializeComponent();
    5454      Caption = "Parameter";
     
    5959    /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    6060    /// <param name="variable">The variable to represent visually.</param>
    61     public ParameterView(Parameter parameter)
     61    public ItemParameterView(ItemParameter parameter)
    6262      : this() {
    6363      Parameter = parameter;
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.Designer.cs

    r2662 r2664  
    2323
    2424namespace HeuristicLab.Core.Views {
    25   partial class ItemViewBase {
     25  partial class ItemView {
    2626    /// <summary>
    2727    /// Required designer variable.
  • trunk/sources/HeuristicLab.Core.Views/3.3/ItemView.cs

    r2662 r2664  
    3434  /// Base class for all visual representations.
    3535  /// </summary>
    36   public partial class ItemViewBase : ObjectViewBase {
     36  public partial class ItemView : ObjectView {
    3737    public IItem Item {
    3838      get { return (IItem)base.Object; }
     
    4343    /// Initializes a new instance of <see cref="ViewBase"/> with the caption "View".
    4444    /// </summary>
    45     public ItemViewBase() {
     45    public ItemView() {
    4646      InitializeComponent();
    4747      Caption = "View";
  • trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemView.Designer.cs

    r2662 r2664  
    2121
    2222namespace HeuristicLab.Core.Views {
    23   partial class NamedItemBaseView {
     23  partial class NamedItemView {
    2424    /// <summary>
    2525    /// Required designer variable.
  • trunk/sources/HeuristicLab.Core.Views/3.3/NamedItemView.cs

    r2662 r2664  
    3333  /// The visual representation of a <see cref="Variable"/>.
    3434  /// </summary>
    35   [Content(typeof(NamedItemBase), true)]
    36   public partial class NamedItemBaseView : ItemViewBase {
    37     public NamedItemBase NamedItemBase {
    38       get { return (NamedItemBase)Item; }
     35  [Content(typeof(NamedItem), true)]
     36  public partial class NamedItemView : ItemView {
     37    public NamedItem NamedItemBase {
     38      get { return (NamedItem)Item; }
    3939      set { base.Item = value; }
    4040    }
    4141
    42     public NamedItemBaseView() {
     42    public NamedItemView() {
    4343      InitializeComponent();
    4444      Caption = "NamedItem";
    4545    }
    46     public NamedItemBaseView(NamedItemBase namedItemBase)
     46    public NamedItemView(NamedItem namedItemBase)
    4747      : this() {
    4848      NamedItemBase = namedItemBase;
  • trunk/sources/HeuristicLab.Core.Views/3.3/ObjectView.Designer.cs

    r2662 r2664  
    2323
    2424namespace HeuristicLab.Core.Views {
    25   partial class ObjectViewBase {
     25  partial class ObjectView {
    2626    /// <summary>
    2727    /// Required designer variable.
  • trunk/sources/HeuristicLab.Core.Views/3.3/ObjectView.cs

    r2662 r2664  
    3434  /// Base class for all visual representations.
    3535  /// </summary>
    36   public partial class ObjectViewBase : ViewBase, IObjectView {
     36  public partial class ObjectView : ViewBase, IObjectView {
    3737    private object obj;
    3838    /// <summary>
     
    6363    /// Initializes a new instance of <see cref="ViewBase"/> with the caption "View".
    6464    /// </summary>
    65     public ObjectViewBase() {
     65    public ObjectView() {
    6666      InitializeComponent();
    6767      Caption = "View";
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorGraphView.cs

    r2655 r2664  
    3737  /// </summary>
    3838  [Content(typeof(OperatorGraph), true)]
    39   public partial class OperatorGraphView : ItemViewBase {
     39  public partial class OperatorGraphView : ItemView {
    4040    /// <summary>
    4141    /// Gets or sets the operator graph to represent visually.
  • trunk/sources/HeuristicLab.Core.Views/3.3/OperatorTreeView.cs

    r2655 r2664  
    3737  /// </summary>
    3838  [Content(typeof(IOperator), false)]
    39   public partial class OperatorTreeView : ItemViewBase {
     39  public partial class OperatorTreeView : ItemView {
    4040    private Dictionary<IOperatorParameter, List<TreeNode>> operatorParameterNodeTable;
    4141    private Dictionary<IOperator, List<TreeNode>> operatorNodeTable;
  • trunk/sources/HeuristicLab.Core.Views/3.3/ParameterView.Designer.cs

    r2662 r2664  
    2121
    2222namespace HeuristicLab.Core.Views {
    23   partial class ParameterBaseView {
     23  partial class ParameterView {
    2424    /// <summary>
    2525    /// Required designer variable.
  • trunk/sources/HeuristicLab.Core.Views/3.3/ParameterView.cs

    r2662 r2664  
    3434  /// </summary>
    3535  [Content(typeof(IParameter), true)]
    36   public partial class ParameterBaseView : NamedItemBaseView {
     36  public partial class ParameterView : NamedItemView {
    3737    /// <summary>
    3838    /// Gets or sets the variable to represent visually.
     
    4848    /// Initializes a new instance of <see cref="VariableView"/> with caption "Variable".
    4949    /// </summary>
    50     public ParameterBaseView() {
     50    public ParameterView() {
    5151      InitializeComponent();
    5252      Caption = "Parameter";
     
    5757    /// <remarks>Calls <see cref="VariableView()"/>.</remarks>
    5858    /// <param name="variable">The variable to represent visually.</param>
    59     public ParameterBaseView(IParameter parameter)
     59    public ParameterView(IParameter parameter)
    6060      : this() {
    6161      Parameter = parameter;
  • trunk/sources/HeuristicLab.Core.Views/3.3/ScopeView.cs

    r2655 r2664  
    3737  /// </summary>
    3838  [Content(typeof(Scope), true)]
    39   public partial class ScopeView : ItemViewBase {
     39  public partial class ScopeView : ItemView {
    4040    private Dictionary<Scope, TreeNode> scopeNodeTable;
    4141    private Dictionary<ScopeList, Scope> subScopesScopeTable;
  • trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.cs

    r2655 r2664  
    3434  /// </summary>
    3535  [Content(typeof(Variable), true)]
    36   public partial class VariableView : NamedItemBaseView {
     36  public partial class VariableView : NamedItemView {
    3737    private TypeSelectorDialog typeSelectorDialog;
    3838
Note: See TracChangeset for help on using the changeset viewer.