Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/28/10 16:15:21 (14 years ago)
Author:
mkommend
Message:

first version of redesigned MainForm (ticket #857)

Location:
trunk/sources/HeuristicLab.MainForm/3.2/Interfaces
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IMainForm.cs

    r2548 r2696  
    2525using System.Text;
    2626using System.Drawing;
     27using System.ComponentModel;
    2728
    2829namespace HeuristicLab.MainForm {
     
    3536    event EventHandler ActiveViewChanged;
    3637    event EventHandler Changed;
    37    
     38
    3839    event EventHandler<ViewEventArgs> ViewClosed;
    3940    event EventHandler<ViewShownEventArgs> ViewShown;
     
    4142
    4243    Type UserInterfaceItemType { get; }
    43     void ShowView(IView view);
    44     void HideView(IView view);
    45     void CloseView(IView view);
    4644    void CloseAllViews();
    4745    void Close();
  • trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IMenuItem.cs

    r2458 r2696  
    2727
    2828namespace HeuristicLab.MainForm {
    29   public interface IMenuItem : IUserInterfaceItem {
    30     IEnumerable<string> Structure { get; }
     29  public interface IMenuItem : IActionUserInterfaceItem {
    3130  }
    3231}
  • trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IMenuSeparatorItem.cs

    r2514 r2696  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22using System;
    223using System.Collections.Generic;
    324using System.Linq;
     
    526
    627namespace HeuristicLab.MainForm {
    7   public interface IMenuSeparatorItem : IMenuItem {
     28  public interface IMenuSeparatorItem : IPositionableUserInterfaceItem {
    829  }
    930}
  • trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IToolBarItem.cs

    r2458 r2696  
    2626
    2727namespace HeuristicLab.MainForm {
    28   public interface IToolBarItem : IUserInterfaceItem {
    29     IEnumerable<string> Structure { get; }
     28  public interface IToolBarItem : IActionUserInterfaceItem {
    3029  }
    3130}
  • trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IToolBarSeparatorItem.cs

    r2514 r2696  
    1 using System;
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22using System;
    223using System.Collections.Generic;
    324using System.Linq;
     
    526
    627namespace HeuristicLab.MainForm {
    7   public interface IToolBarSeparatorItem : IToolBarItem {
     28  public interface IToolBarSeparatorItem : IPositionableUserInterfaceItem {
    829  }
    930}
  • trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IUserInterfaceItem.cs

    r2541 r2696  
    2828namespace HeuristicLab.MainForm {
    2929  public interface IUserInterfaceItem {
    30     string Name { get; }
    31     int Position { get; }
    32     Image Image { get; }
    33     string ToolTipText { get; }
    34 
    35     void Execute();
    36 
    37     void ActiveViewChanged(object sender, EventArgs e);
    38     void ViewChanged(object sender, EventArgs e);
    39     void MainFormChanged(object sender, EventArgs e);
    40     void MainFormInitialized(object sender, EventArgs e);
    4130  }
    4231}
  • trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IView.cs

    r2466 r2696  
    2727namespace HeuristicLab.MainForm {
    2828  public interface IView {
     29
    2930    string Caption { get; set; }
    3031    event EventHandler CaptionChanged;
    3132    event EventHandler Changed;
    32     void OnClosing(object sender, CancelEventArgs e);
    33     void OnClosed(object sender, EventArgs e);
     33
     34    void Show();
     35    void Hide();
     36    void Close();
    3437  }
    3538}
Note: See TracChangeset for help on using the changeset viewer.