Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/11/10 03:16:07 (15 years ago)
Author:
swagner
Message:

Implemented clipboard control (#965).

Location:
trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/ClipboardMenuItem.cs

    r3292 r3298  
    2424using System.Linq;
    2525using System.Windows.Forms;
     26using HeuristicLab.Core;
    2627using HeuristicLab.Core.Views;
    2728using HeuristicLab.MainForm;
     
    3839    }
    3940    public override int Position {
    40       get { return 2200; }
     41      get { return 3200; }
    4142    }
    4243
     
    5354
    5455    private void MainForm_ViewShown(object sender, ViewShownEventArgs e) {
    55       if ((e.View is HeuristicLab.Core.Views.Clipboard) && (menuItem != null)) {
     56      if ((e.View is Clipboard<IItem>) && (menuItem != null)) {
    5657        menuItem.Checked = true;
    5758        Properties.Settings.Default.ShowClipboard = true;
     
    6061    }
    6162    private void MainForm_ViewHidden(object sender, ViewEventArgs e) {
    62       if ((e.View is HeuristicLab.Core.Views.Clipboard) && (menuItem != null)) {
     63      if ((e.View is Clipboard<IItem>) && (menuItem != null)) {
    6364        menuItem.Checked = false;
    6465        Properties.Settings.Default.ShowClipboard = false;
  • trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/OperatorsMenuItem.cs

    r3292 r3298  
    3838    }
    3939    public override int Position {
    40       get { return 2300; }
     40      get { return 3300; }
    4141    }
    4242
  • trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/StartPageMenuItem.cs

    r3291 r3298  
    3838    }
    3939    public override int Position {
    40       get { return 2100; }
     40      get { return 3100; }
    4141    }
    4242
Note: See TracChangeset for help on using the changeset viewer.