Changeset 2696 for trunk/sources/HeuristicLab.MainForm/3.2/Interfaces
- Timestamp:
- 01/28/10 16:15:21 (15 years ago)
- 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 25 25 using System.Text; 26 26 using System.Drawing; 27 using System.ComponentModel; 27 28 28 29 namespace HeuristicLab.MainForm { … … 35 36 event EventHandler ActiveViewChanged; 36 37 event EventHandler Changed; 37 38 38 39 event EventHandler<ViewEventArgs> ViewClosed; 39 40 event EventHandler<ViewShownEventArgs> ViewShown; … … 41 42 42 43 Type UserInterfaceItemType { get; } 43 void ShowView(IView view);44 void HideView(IView view);45 void CloseView(IView view);46 44 void CloseAllViews(); 47 45 void Close(); -
trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IMenuItem.cs
r2458 r2696 27 27 28 28 namespace HeuristicLab.MainForm { 29 public interface IMenuItem : IUserInterfaceItem { 30 IEnumerable<string> Structure { get; } 29 public interface IMenuItem : IActionUserInterfaceItem { 31 30 } 32 31 } -
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 22 using System; 2 23 using System.Collections.Generic; 3 24 using System.Linq; … … 5 26 6 27 namespace HeuristicLab.MainForm { 7 public interface IMenuSeparatorItem : I MenuItem {28 public interface IMenuSeparatorItem : IPositionableUserInterfaceItem { 8 29 } 9 30 } -
trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IToolBarItem.cs
r2458 r2696 26 26 27 27 namespace HeuristicLab.MainForm { 28 public interface IToolBarItem : IUserInterfaceItem { 29 IEnumerable<string> Structure { get; } 28 public interface IToolBarItem : IActionUserInterfaceItem { 30 29 } 31 30 } -
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 22 using System; 2 23 using System.Collections.Generic; 3 24 using System.Linq; … … 5 26 6 27 namespace HeuristicLab.MainForm { 7 public interface IToolBarSeparatorItem : I ToolBarItem {28 public interface IToolBarSeparatorItem : IPositionableUserInterfaceItem { 8 29 } 9 30 } -
trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IUserInterfaceItem.cs
r2541 r2696 28 28 namespace HeuristicLab.MainForm { 29 29 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);41 30 } 42 31 } -
trunk/sources/HeuristicLab.MainForm/3.2/Interfaces/IView.cs
r2466 r2696 27 27 namespace HeuristicLab.MainForm { 28 28 public interface IView { 29 29 30 string Caption { get; set; } 30 31 event EventHandler CaptionChanged; 31 32 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(); 34 37 } 35 38 }
Note: See TracChangeset
for help on using the changeset viewer.