Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.HLScript.Views/3.3/ScriptView.Designer.cs @ 10506

Last change on this file since 10506 was 10506, checked in by jkarder, 10 years ago

#2136: applied some of the changes suggested in comment:11:ticket:2136

  • change namespaces to HeuristicLab.Scripting.*
  • added extra compile button and registered F6 as a shortcut
  • changed the order of the output window and the error list
  • tabs (output window and error list) are selected automatically
  • thrown exceptions are shown using the PluginInfrastructure
  • removed namespace declaration in the script
  • names in the VariableStore are now conform to C# property names
File size: 16.4 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2014 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
22namespace HeuristicLab.Scripting.Views {
23  partial class ScriptView {
24    /// <summary>
25    /// Required designer variable.
26    /// </summary>
27    private System.ComponentModel.IContainer components = null;
28
29    /// <summary>
30    /// Clean up any resources being used.
31    /// </summary>
32    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
33    protected override void Dispose(bool disposing) {
34      if (disposing && (components != null)) {
35        components.Dispose();
36      }
37      base.Dispose(disposing);
38    }
39
40    #region Component Designer generated code
41
42    /// <summary>
43    /// Required method for Designer support - do not modify
44    /// the contents of this method with the code editor.
45    /// </summary>
46    private void InitializeComponent() {
47      this.components = new System.ComponentModel.Container();
48      this.compilationLabel = new System.Windows.Forms.Label();
49      this.startStopButton = new System.Windows.Forms.Button();
50      this.errorListView = new System.Windows.Forms.ListView();
51      this.iconColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
52      this.categoryColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
53      this.errorNumberColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
54      this.lineColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
55      this.columnColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
56      this.descriptionColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
57      this.imageList = new System.Windows.Forms.ImageList(this.components);
58      this.codeEditor = new HeuristicLab.CodeEditor.CodeEditor();
59      this.splitContainer1 = new System.Windows.Forms.SplitContainer();
60      this.splitContainer2 = new System.Windows.Forms.SplitContainer();
61      this.infoTabControl = new System.Windows.Forms.TabControl();
62      this.outputTabPage = new System.Windows.Forms.TabPage();
63      this.outputTextBox = new System.Windows.Forms.TextBox();
64      this.errorListTabPage = new System.Windows.Forms.TabPage();
65      this.variableStoreView = new HeuristicLab.Scripting.Views.VariableStoreView();
66      this.viewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost();
67      this.compileButton = new System.Windows.Forms.Button();
68      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
69      ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
70      this.splitContainer1.Panel1.SuspendLayout();
71      this.splitContainer1.Panel2.SuspendLayout();
72      this.splitContainer1.SuspendLayout();
73      ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
74      this.splitContainer2.Panel1.SuspendLayout();
75      this.splitContainer2.Panel2.SuspendLayout();
76      this.splitContainer2.SuspendLayout();
77      this.infoTabControl.SuspendLayout();
78      this.outputTabPage.SuspendLayout();
79      this.errorListTabPage.SuspendLayout();
80      this.SuspendLayout();
81      //
82      // nameTextBox
83      //
84      this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
85      this.errorProvider.SetIconPadding(this.nameTextBox, 2);
86      this.nameTextBox.Location = new System.Drawing.Point(60, 0);
87      this.nameTextBox.Size = new System.Drawing.Size(750, 20);
88      //
89      // infoLabel
90      //
91      this.infoLabel.Location = new System.Drawing.Point(816, 4);
92      //
93      // compilationLabel
94      //
95      this.compilationLabel.AutoSize = true;
96      this.compilationLabel.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
97      this.compilationLabel.Location = new System.Drawing.Point(66, 32);
98      this.compilationLabel.Name = "compilationLabel";
99      this.compilationLabel.Size = new System.Drawing.Size(69, 13);
100      this.compilationLabel.TabIndex = 3;
101      this.compilationLabel.Text = "Not compiled";
102      //
103      // startStopButton
104      //
105      this.startStopButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play;
106      this.startStopButton.Location = new System.Drawing.Point(36, 26);
107      this.startStopButton.Name = "startStopButton";
108      this.startStopButton.Size = new System.Drawing.Size(24, 24);
109      this.startStopButton.TabIndex = 1;
110      this.startStopButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
111      this.toolTip.SetToolTip(this.startStopButton, "Run (F5)");
112      this.startStopButton.UseVisualStyleBackColor = true;
113      this.startStopButton.Click += new System.EventHandler(this.startStopButton_Click);
114      //
115      // errorListView
116      //
117      this.errorListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
118            this.iconColumnHeader,
119            this.categoryColumnHeader,
120            this.errorNumberColumnHeader,
121            this.lineColumnHeader,
122            this.columnColumnHeader,
123            this.descriptionColumnHeader});
124      this.errorListView.Dock = System.Windows.Forms.DockStyle.Fill;
125      this.errorListView.FullRowSelect = true;
126      this.errorListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
127      this.errorListView.HideSelection = false;
128      this.errorListView.Location = new System.Drawing.Point(3, 3);
129      this.errorListView.Name = "errorListView";
130      this.errorListView.Size = new System.Drawing.Size(623, 79);
131      this.errorListView.SmallImageList = this.imageList;
132      this.errorListView.TabIndex = 0;
133      this.errorListView.UseCompatibleStateImageBehavior = false;
134      this.errorListView.View = System.Windows.Forms.View.Details;
135      //
136      // iconColumnHeader
137      //
138      this.iconColumnHeader.Text = "";
139      //
140      // categoryColumnHeader
141      //
142      this.categoryColumnHeader.Text = "Category";
143      //
144      // errorNumberColumnHeader
145      //
146      this.errorNumberColumnHeader.Text = "Error Number";
147      //
148      // lineColumnHeader
149      //
150      this.lineColumnHeader.Text = "Line";
151      //
152      // columnColumnHeader
153      //
154      this.columnColumnHeader.Text = "Column";
155      //
156      // descriptionColumnHeader
157      //
158      this.descriptionColumnHeader.Text = "Description";
159      //
160      // imageList
161      //
162      this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
163      this.imageList.ImageSize = new System.Drawing.Size(16, 16);
164      this.imageList.TransparentColor = System.Drawing.Color.Transparent;
165      //
166      // codeEditor
167      //
168      this.codeEditor.Dock = System.Windows.Forms.DockStyle.Fill;
169      this.codeEditor.Location = new System.Drawing.Point(0, 0);
170      this.codeEditor.Name = "codeEditor";
171      this.codeEditor.Prefix = "";
172      this.codeEditor.Size = new System.Drawing.Size(637, 428);
173      this.codeEditor.Suffix = "";
174      this.codeEditor.TabIndex = 0;
175      this.codeEditor.UserCode = "";
176      this.codeEditor.TextEditorTextChanged += new System.EventHandler(this.codeEditor_TextEditorTextChanged);
177      //
178      // splitContainer1
179      //
180      this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
181            | System.Windows.Forms.AnchorStyles.Left)
182            | System.Windows.Forms.AnchorStyles.Right)));
183      this.splitContainer1.Location = new System.Drawing.Point(3, 56);
184      this.splitContainer1.Name = "splitContainer1";
185      //
186      // splitContainer1.Panel1
187      //
188      this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
189      //
190      // splitContainer1.Panel2
191      //
192      this.splitContainer1.Panel2.Controls.Add(this.variableStoreView);
193      this.splitContainer1.Panel2.Controls.Add(this.viewHost);
194      this.splitContainer1.Size = new System.Drawing.Size(829, 543);
195      this.splitContainer1.SplitterDistance = 637;
196      this.splitContainer1.TabIndex = 7;
197      //
198      // splitContainer2
199      //
200      this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
201      this.splitContainer2.Location = new System.Drawing.Point(0, 0);
202      this.splitContainer2.Name = "splitContainer2";
203      this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
204      //
205      // splitContainer2.Panel1
206      //
207      this.splitContainer2.Panel1.Controls.Add(this.codeEditor);
208      //
209      // splitContainer2.Panel2
210      //
211      this.splitContainer2.Panel2.Controls.Add(this.infoTabControl);
212      this.splitContainer2.Size = new System.Drawing.Size(637, 543);
213      this.splitContainer2.SplitterDistance = 428;
214      this.splitContainer2.TabIndex = 5;
215      //
216      // infoTabControl
217      //
218      this.infoTabControl.Controls.Add(this.outputTabPage);
219      this.infoTabControl.Controls.Add(this.errorListTabPage);
220      this.infoTabControl.Dock = System.Windows.Forms.DockStyle.Fill;
221      this.infoTabControl.Location = new System.Drawing.Point(0, 0);
222      this.infoTabControl.Name = "infoTabControl";
223      this.infoTabControl.SelectedIndex = 0;
224      this.infoTabControl.Size = new System.Drawing.Size(637, 111);
225      this.infoTabControl.TabIndex = 1;
226      //
227      // outputTabPage
228      //
229      this.outputTabPage.Controls.Add(this.outputTextBox);
230      this.outputTabPage.Location = new System.Drawing.Point(4, 22);
231      this.outputTabPage.Name = "outputTabPage";
232      this.outputTabPage.Padding = new System.Windows.Forms.Padding(3);
233      this.outputTabPage.Size = new System.Drawing.Size(629, 85);
234      this.outputTabPage.TabIndex = 1;
235      this.outputTabPage.Text = "Output";
236      this.outputTabPage.UseVisualStyleBackColor = true;
237      //
238      // outputTextBox
239      //
240      this.outputTextBox.Dock = System.Windows.Forms.DockStyle.Fill;
241      this.outputTextBox.Font = new System.Drawing.Font("Consolas", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
242      this.outputTextBox.Location = new System.Drawing.Point(3, 3);
243      this.outputTextBox.Multiline = true;
244      this.outputTextBox.Name = "outputTextBox";
245      this.outputTextBox.ReadOnly = true;
246      this.outputTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
247      this.outputTextBox.Size = new System.Drawing.Size(623, 79);
248      this.outputTextBox.TabIndex = 0;
249      this.outputTextBox.WordWrap = false;
250      //
251      // errorListTabPage
252      //
253      this.errorListTabPage.Controls.Add(this.errorListView);
254      this.errorListTabPage.Location = new System.Drawing.Point(4, 22);
255      this.errorListTabPage.Name = "errorListTabPage";
256      this.errorListTabPage.Padding = new System.Windows.Forms.Padding(3);
257      this.errorListTabPage.Size = new System.Drawing.Size(629, 85);
258      this.errorListTabPage.TabIndex = 0;
259      this.errorListTabPage.Text = "Error List";
260      this.errorListTabPage.UseVisualStyleBackColor = true;
261      //
262      // variableStoreView
263      //
264      this.variableStoreView.Caption = "ItemCollection View";
265      this.variableStoreView.Content = null;
266      this.variableStoreView.Dock = System.Windows.Forms.DockStyle.Fill;
267      this.variableStoreView.Location = new System.Drawing.Point(0, 0);
268      this.variableStoreView.Name = "variableStoreView";
269      this.variableStoreView.ReadOnly = false;
270      this.variableStoreView.Size = new System.Drawing.Size(188, 543);
271      this.variableStoreView.TabIndex = 0;
272      //
273      // viewHost
274      //
275      this.viewHost.Caption = "View";
276      this.viewHost.Content = null;
277      this.viewHost.Dock = System.Windows.Forms.DockStyle.Fill;
278      this.viewHost.Enabled = false;
279      this.viewHost.Location = new System.Drawing.Point(0, 0);
280      this.viewHost.Name = "viewHost";
281      this.viewHost.ReadOnly = false;
282      this.viewHost.Size = new System.Drawing.Size(188, 543);
283      this.viewHost.TabIndex = 0;
284      this.viewHost.ViewsLabelVisible = true;
285      this.viewHost.ViewType = null;
286      //
287      // compileButton
288      //
289      this.compileButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Script;
290      this.compileButton.Location = new System.Drawing.Point(6, 26);
291      this.compileButton.Name = "compileButton";
292      this.compileButton.Size = new System.Drawing.Size(24, 24);
293      this.compileButton.TabIndex = 8;
294      this.compileButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
295      this.toolTip.SetToolTip(this.compileButton, "Compile (F6)");
296      this.compileButton.UseVisualStyleBackColor = true;
297      this.compileButton.Click += new System.EventHandler(this.compileButton_Click);
298      //
299      // ScriptView
300      //
301      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
302      this.Controls.Add(this.compileButton);
303      this.Controls.Add(this.splitContainer1);
304      this.Controls.Add(this.startStopButton);
305      this.Controls.Add(this.compilationLabel);
306      this.Name = "ScriptView";
307      this.Size = new System.Drawing.Size(835, 602);
308      this.Controls.SetChildIndex(this.compilationLabel, 0);
309      this.Controls.SetChildIndex(this.startStopButton, 0);
310      this.Controls.SetChildIndex(this.splitContainer1, 0);
311      this.Controls.SetChildIndex(this.nameLabel, 0);
312      this.Controls.SetChildIndex(this.nameTextBox, 0);
313      this.Controls.SetChildIndex(this.infoLabel, 0);
314      this.Controls.SetChildIndex(this.compileButton, 0);
315      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
316      this.splitContainer1.Panel1.ResumeLayout(false);
317      this.splitContainer1.Panel2.ResumeLayout(false);
318      ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
319      this.splitContainer1.ResumeLayout(false);
320      this.splitContainer2.Panel1.ResumeLayout(false);
321      this.splitContainer2.Panel2.ResumeLayout(false);
322      ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
323      this.splitContainer2.ResumeLayout(false);
324      this.infoTabControl.ResumeLayout(false);
325      this.outputTabPage.ResumeLayout(false);
326      this.outputTabPage.PerformLayout();
327      this.errorListTabPage.ResumeLayout(false);
328      this.ResumeLayout(false);
329      this.PerformLayout();
330
331    }
332
333    #endregion
334
335    private System.Windows.Forms.Label compilationLabel;
336    private System.Windows.Forms.Button startStopButton;
337    private System.Windows.Forms.ListView errorListView;
338    private System.Windows.Forms.ColumnHeader descriptionColumnHeader;
339    private System.Windows.Forms.ColumnHeader lineColumnHeader;
340    private System.Windows.Forms.ColumnHeader columnColumnHeader;
341    private CodeEditor.CodeEditor codeEditor;
342    private System.Windows.Forms.SplitContainer splitContainer1;
343    private System.Windows.Forms.SplitContainer splitContainer2;
344    private MainForm.WindowsForms.ViewHost viewHost;
345    private VariableStoreView variableStoreView;
346    private System.Windows.Forms.ColumnHeader errorNumberColumnHeader;
347    private System.Windows.Forms.ColumnHeader categoryColumnHeader;
348    private System.Windows.Forms.TabControl infoTabControl;
349    private System.Windows.Forms.TabPage errorListTabPage;
350    private System.Windows.Forms.TabPage outputTabPage;
351    private System.Windows.Forms.TextBox outputTextBox;
352    private System.Windows.Forms.Button compileButton;
353    private System.Windows.Forms.ColumnHeader iconColumnHeader;
354    private System.Windows.Forms.ImageList imageList;
355  }
356}
Note: See TracBrowser for help on using the repository browser.