Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/09/11 16:36:07 (13 years ago)
Author:
mkommend
Message:

#1479: Allowed modificiation of the subtree count in grammars and adapted SymbolicExpressionTreeChart to handle different styles for connection lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GP.Grammar.Editor/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views/3.4/SymbolicExpressionGrammarEditorView.Designer.cs

    r6377 r6403  
    2828      this.grpSymbols = new System.Windows.Forms.GroupBox();
    2929      this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     30      this.showDetailsCheckBox = new System.Windows.Forms.CheckBox();
     31      this.removeButton = new System.Windows.Forms.Button();
     32      this.addButton = new System.Windows.Forms.Button();
    3033      this.symbolsTreeView = new System.Windows.Forms.TreeView();
    3134      this.imageList = new System.Windows.Forms.ImageList(this.components);
    3235      this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     36      this.allowedChildSymbolsControl = new HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views.SymbolicExpressionTreeChart();
    3337      this.symbolDetailsViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
    34       this.showDetailsCheckBox = new System.Windows.Forms.CheckBox();
    35       this.removeButton = new System.Windows.Forms.Button();
    36       this.addButton = new System.Windows.Forms.Button();
    37       this.allowedChildSymbolsControl = new HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views.SymbolicExpressionTreeChart();
    3838      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    3939      this.grpSymbols.SuspendLayout();
     
    9090      this.splitContainer1.SplitterDistance = 191;
    9191      this.splitContainer1.TabIndex = 0;
     92      //
     93      // showDetailsCheckBox
     94      //
     95      this.showDetailsCheckBox.Appearance = System.Windows.Forms.Appearance.Button;
     96      this.showDetailsCheckBox.Checked = true;
     97      this.showDetailsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
     98      this.showDetailsCheckBox.Image = HeuristicLab.Common.Resources.VSImageLibrary.Properties;
     99      this.showDetailsCheckBox.Location = new System.Drawing.Point(63, 3);
     100      this.showDetailsCheckBox.Name = "showDetailsCheckBox";
     101      this.showDetailsCheckBox.Size = new System.Drawing.Size(24, 24);
     102      this.showDetailsCheckBox.TabIndex = 7;
     103      this.toolTip.SetToolTip(this.showDetailsCheckBox, "Show/Hide Details");
     104      this.showDetailsCheckBox.UseVisualStyleBackColor = true;
     105      this.showDetailsCheckBox.CheckedChanged += new System.EventHandler(this.showDetailsCheckBox_CheckedChanged);
     106      //
     107      // removeButton
     108      //
     109      this.removeButton.Enabled = false;
     110      this.removeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Remove;
     111      this.removeButton.Location = new System.Drawing.Point(33, 3);
     112      this.removeButton.Name = "removeButton";
     113      this.removeButton.Size = new System.Drawing.Size(24, 24);
     114      this.removeButton.TabIndex = 6;
     115      this.toolTip.SetToolTip(this.removeButton, "Remove");
     116      this.removeButton.UseVisualStyleBackColor = true;
     117      this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
     118      //
     119      // addButton
     120      //
     121      this.addButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Add;
     122      this.addButton.Location = new System.Drawing.Point(3, 3);
     123      this.addButton.Name = "addButton";
     124      this.addButton.Size = new System.Drawing.Size(24, 24);
     125      this.addButton.TabIndex = 5;
     126      this.toolTip.SetToolTip(this.addButton, "Add");
     127      this.addButton.UseVisualStyleBackColor = true;
     128      this.addButton.Click += new System.EventHandler(this.addButton_Click);
    92129      //
    93130      // symbolsTreeView
     
    132169      this.splitContainer2.TabIndex = 0;
    133170      //
    134       // symbolViewHost
    135       //
    136       this.symbolDetailsViewHost.Caption = "View";
    137       this.symbolDetailsViewHost.Content = null;
    138       this.symbolDetailsViewHost.Dock = System.Windows.Forms.DockStyle.Fill;
    139       this.symbolDetailsViewHost.Enabled = false;
    140       this.symbolDetailsViewHost.Location = new System.Drawing.Point(0, 0);
    141       this.symbolDetailsViewHost.Name = "symbolViewHost";
    142       this.symbolDetailsViewHost.ReadOnly = false;
    143       this.symbolDetailsViewHost.Size = new System.Drawing.Size(568, 190);
    144       this.symbolDetailsViewHost.TabIndex = 0;
    145       this.symbolDetailsViewHost.ViewsLabelVisible = true;
    146       this.symbolDetailsViewHost.ViewType = null;
    147       //
    148       // showDetailsCheckBox
    149       //
    150       this.showDetailsCheckBox.Appearance = System.Windows.Forms.Appearance.Button;
    151       this.showDetailsCheckBox.Checked = true;
    152       this.showDetailsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;
    153       this.showDetailsCheckBox.Image = HeuristicLab.Common.Resources.VSImageLibrary.Properties;
    154       this.showDetailsCheckBox.Location = new System.Drawing.Point(63, 3);
    155       this.showDetailsCheckBox.Name = "showDetailsCheckBox";
    156       this.showDetailsCheckBox.Size = new System.Drawing.Size(24, 24);
    157       this.showDetailsCheckBox.TabIndex = 7;
    158       this.toolTip.SetToolTip(this.showDetailsCheckBox, "Show/Hide Details");
    159       this.showDetailsCheckBox.UseVisualStyleBackColor = true;
    160       this.showDetailsCheckBox.CheckedChanged += new System.EventHandler(this.showDetailsCheckBox_CheckedChanged);
    161       //
    162       // removeButton
    163       //
    164       this.removeButton.Enabled = false;
    165       this.removeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Remove;
    166       this.removeButton.Location = new System.Drawing.Point(33, 3);
    167       this.removeButton.Name = "removeButton";
    168       this.removeButton.Size = new System.Drawing.Size(24, 24);
    169       this.removeButton.TabIndex = 6;
    170       this.toolTip.SetToolTip(this.removeButton, "Remove");
    171       this.removeButton.UseVisualStyleBackColor = true;
    172       this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
    173       //
    174       // addButton
    175       //
    176       this.addButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Add;
    177       this.addButton.Location = new System.Drawing.Point(3, 3);
    178       this.addButton.Name = "addButton";
    179       this.addButton.Size = new System.Drawing.Size(24, 24);
    180       this.addButton.TabIndex = 5;
    181       this.toolTip.SetToolTip(this.addButton, "Add");
    182       this.addButton.UseVisualStyleBackColor = true;
    183       this.addButton.Click += new System.EventHandler(this.addButton_Click);
    184       //
    185       // symbolicExpressionTreeChart
     171      // allowedChildSymbolsControl
    186172      //
    187173      this.allowedChildSymbolsControl.AllowDrop = true;
     
    190176      this.allowedChildSymbolsControl.LineColor = System.Drawing.Color.Black;
    191177      this.allowedChildSymbolsControl.Location = new System.Drawing.Point(0, 0);
    192       this.allowedChildSymbolsControl.Name = "symbolicExpressionTreeChart";
     178      this.allowedChildSymbolsControl.Name = "allowedChildSymbolsControl";
    193179      this.allowedChildSymbolsControl.Size = new System.Drawing.Size(568, 165);
    194180      this.allowedChildSymbolsControl.Spacing = 5;
     
    200186      this.allowedChildSymbolsControl.DragEnter += new System.Windows.Forms.DragEventHandler(this.symbolicExpressionTreeChart_DragEnter);
    201187      this.allowedChildSymbolsControl.DragOver += new System.Windows.Forms.DragEventHandler(this.symbolicExpressionTreeChart_DragOver);
     188      this.allowedChildSymbolsControl.Paint += new System.Windows.Forms.PaintEventHandler(this.allowedChildSymbolsControl_Paint);
    202189      this.allowedChildSymbolsControl.KeyDown += new System.Windows.Forms.KeyEventHandler(this.symbolicExpressionTreeChart_KeyDown);
     190      this.allowedChildSymbolsControl.MouseDown += new System.Windows.Forms.MouseEventHandler(this.allowedChildSymbolsControl_MouseDown);
     191      //
     192      // symbolDetailsViewHost
     193      //
     194      this.symbolDetailsViewHost.Caption = "View";
     195      this.symbolDetailsViewHost.Content = null;
     196      this.symbolDetailsViewHost.Dock = System.Windows.Forms.DockStyle.Fill;
     197      this.symbolDetailsViewHost.Enabled = false;
     198      this.symbolDetailsViewHost.Location = new System.Drawing.Point(0, 0);
     199      this.symbolDetailsViewHost.Name = "symbolDetailsViewHost";
     200      this.symbolDetailsViewHost.ReadOnly = false;
     201      this.symbolDetailsViewHost.Size = new System.Drawing.Size(568, 190);
     202      this.symbolDetailsViewHost.TabIndex = 0;
     203      this.symbolDetailsViewHost.ViewsLabelVisible = true;
     204      this.symbolDetailsViewHost.ViewType = null;
    203205      //
    204206      // SymbolicExpressionGrammarEditorView
Note: See TracChangeset for help on using the changeset viewer.