Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/12/18 14:23:45 (5 years ago)
Author:
ddorfmei
Message:

#2931:

  • upgraded Google OR-Tools to version 6.10
  • added TextValue and TextValueView to be able to display and edit a multiline string
  • added parameter to set solver specific parameters for supported solvers
  • added support for the Protocol Buffers representation of models (import/export)
  • added import of MPS models
  • added pause/stop functionality to CplexSolver and GlpkSolver
  • refactored wrapper (LinearSolver and related enums)
  • added new algorithm category Exact for LinearProgrammingAlgorithm
File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/2931_OR-Tools_LP_MIP/HeuristicLab.Data.Views/3.3/TextValueView.cs

    r16337 r16373  
    2727
    2828namespace HeuristicLab.Data.Views {
    29   [View("StringConvertibleValue View")]
    30   [Content(typeof(IStringConvertibleValue), true)]
    31   public partial class StringConvertibleValueView : AsynchronousContentView {
     29  [View("TextValue View")]
     30  [Content(typeof(ITextValue), true)]
     31  public partial class TextValueView : AsynchronousContentView {
    3232    public new IStringConvertibleValue Content {
    3333      get { return (IStringConvertibleValue)base.Content; }
     
    4848    }
    4949
    50     public StringConvertibleValueView() {
     50    public TextValueView() {
    5151      InitializeComponent();
    5252      errorProvider.SetIconAlignment(valueTextBox, ErrorIconAlignment.MiddleLeft);
     
    8686
    8787    protected virtual void valueTextBox_KeyDown(object sender, KeyEventArgs e) {
    88       if ((e.KeyCode == Keys.Enter) || (e.KeyCode == Keys.Return))
     88      if (e.Shift && (e.KeyCode == Keys.Enter || e.KeyCode == Keys.Return))
    8989        valueLabel.Select();  // select label to validate data
    9090
Note: See TracChangeset for help on using the changeset viewer.