Changeset 10904


Ignore:
Timestamp:
05/28/14 14:35:48 (8 years ago)
Author:
pfleck
Message:
  • changed ViewShortcutCollection(View) to ViewShortcutList(View)
Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3
Files:
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataPreprocessingView.cs

    r10882 r10904  
    5353        var dataCompletenessLogic = new ChartLogic(data);
    5454
    55         var viewShortcuts = new ItemCollection<IViewShortcut> {
     55        var viewShortcuts = new ItemList<IViewShortcut> {
    5656          new DataGridContent(dataGridLogic, manipulationLogic, filterLogic),
    5757          new StatisticsContent(statisticsLogic),
     
    6666        };
    6767
    68         viewShortcutCollectionView.Content = viewShortcuts.AsReadOnly();
     68        viewShortcutListView.Content = viewShortcuts.AsReadOnly();
    6969
    70         viewShortcutCollectionView.ItemsListView.Items[0].Selected = true;
    71         viewShortcutCollectionView.Select();
     70        viewShortcutListView.ItemsListView.Items[0].Selected = true;
     71        viewShortcutListView.Select();
    7272
    7373      } else {
    74         viewShortcutCollectionView.Content = null;
     74        viewShortcutListView.Content = null;
    7575      }
    7676    }
     
    7878    protected override void SetEnabledStateOfControls() {
    7979      base.SetEnabledStateOfControls();
    80       viewShortcutCollectionView.Enabled = Content != null;
     80      viewShortcutListView.Enabled = Content != null;
    8181      applyInNewTabButton.Enabled = Content != null;
    8282      exportProblemButton.Enabled = Content != null;
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/DataPreprocessingView.designer.cs

    r10625 r10904  
    5151      this.exportProblemButton = new System.Windows.Forms.Button();
    5252      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    53       this.viewShortcutCollectionView = new HeuristicLab.DataPreprocessing.Views.ViewShortcutCollectionView();
     53      this.viewShortcutListView = new HeuristicLab.DataPreprocessing.Views.ViewShortcutListView();
    5454      this.SuspendLayout();
    5555      //
     
    8787      this.exportProblemButton.Click += new System.EventHandler(this.exportProblemButton_Click);
    8888      //
    89       // viewShortcutCollectionView
     89      // ViewShortcutListView
    9090      //
    91       this.viewShortcutCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     91      this.viewShortcutListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    9292            | System.Windows.Forms.AnchorStyles.Left)
    9393            | System.Windows.Forms.AnchorStyles.Right)));
    94       this.viewShortcutCollectionView.Caption = "ViewShortcutCollection View";
    95       this.viewShortcutCollectionView.Content = null;
    96       this.viewShortcutCollectionView.Location = new System.Drawing.Point(4, 33);
    97       this.viewShortcutCollectionView.Name = "viewShortcutCollectionView";
    98       this.viewShortcutCollectionView.ReadOnly = false;
    99       this.viewShortcutCollectionView.ShowDetails = true;
    100       this.viewShortcutCollectionView.Size = new System.Drawing.Size(831, 413);
    101       this.viewShortcutCollectionView.TabIndex = 4;
     94      this.viewShortcutListView.Caption = "ViewShortcutCollection View";
     95      this.viewShortcutListView.Content = null;
     96      this.viewShortcutListView.Location = new System.Drawing.Point(4, 33);
     97      this.viewShortcutListView.Name = "viewShortcutListView";
     98      this.viewShortcutListView.ReadOnly = false;
     99      this.viewShortcutListView.Size = new System.Drawing.Size(831, 413);
     100      this.viewShortcutListView.TabIndex = 4;
    102101      //
    103102      // DataPreprocessingView
     
    105104      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    106105      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    107       this.Controls.Add(this.viewShortcutCollectionView);
     106      this.Controls.Add(this.viewShortcutListView);
    108107      this.Controls.Add(this.undoButton);
    109108      this.Controls.Add(this.applyInNewTabButton);
     
    121120    private System.Windows.Forms.Button undoButton;
    122121    private System.Windows.Forms.ToolTip toolTip;
    123     private ViewShortcutCollectionView viewShortcutCollectionView;
     122    private ViewShortcutListView viewShortcutListView;
    124123
    125124  }
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/HeuristicLab.DataPreprocessing.Views-3.3.csproj

    r10902 r10904  
    183183    <Compile Include="Utils\FindPreprocessingItemsIterator.cs" />
    184184    <Compile Include="Utils\IFindPreprocessingItemsIterator.cs" />
    185     <Compile Include="ViewShortcutCollectionView.cs">
    186       <SubType>UserControl</SubType>
    187     </Compile>
    188     <Compile Include="ViewShortcutCollectionView.Designer.cs">
    189       <DependentUpon>ViewShortcutCollectionView.cs</DependentUpon>
     185    <Compile Include="ViewShortcutListView.cs">
     186      <SubType>UserControl</SubType>
     187    </Compile>
     188    <Compile Include="ViewShortcutListView.Designer.cs">
     189      <DependentUpon>ViewShortcutListView.cs</DependentUpon>
    190190    </Compile>
    191191  </ItemGroup>
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/ViewShortcutListView.Designer.cs

    r10901 r10904  
    2222
    2323namespace HeuristicLab.DataPreprocessing.Views {
    24   partial class ViewShortcutCollectionView {
     24  partial class ViewShortcutListView {
    2525    /// <summary>
    2626    /// Required designer variable.
     
    4848      this.SuspendLayout();
    4949      //
    50       // ViewShortcutCollectionView
     50      // ViewShortcutListView
    5151      //
    5252      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    53       this.Name = "ViewShortcutCollectionView";
     53      this.Name = "ViewShortcutListView";
    5454      this.Size = new System.Drawing.Size(532, 383);
    5555      this.ResumeLayout(false);
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing.Views/3.3/ViewShortcutListView.cs

    r10901 r10904  
    2020#endregion
    2121
    22 
    2322using HeuristicLab.Core;
    2423using HeuristicLab.Core.Views;
     
    2726namespace HeuristicLab.DataPreprocessing.Views {
    2827  [View("ViewShortcutCollection View")]
    29   [Content(typeof(IItemCollection<IViewShortcut>), true)]
    30   public partial class ViewShortcutCollectionView : ItemCollectionView<IViewShortcut> {
     28  [Content(typeof(IItemList<IViewShortcut>), true)]
     29  public partial class ViewShortcutListView : ItemListView<IViewShortcut> {
    3130
    32     public ViewShortcutCollectionView() {
     31    public ViewShortcutListView() {
    3332      InitializeComponent();
    3433      itemsGroupBox.Text = "View Shortcuts";
Note: See TracChangeset for help on using the changeset viewer.