Added ability to order the execution of dictionary adapter behaviors.
[castle.git] / Experiments / Attic / Generator / Castle.ActiveRecord.Generator / Parts / AvailableShapes.cs
blobeaadffb9bc119b97dbc5b6c25b9270bc4a19ac33
1 // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.ActiveRecord.Generator.Parts
17 using System;
18 using System.Drawing;
19 using System.Collections;
20 using System.ComponentModel;
21 using System.Windows.Forms;
22 using WeifenLuo.WinFormsUI;
24 using Castle.ActiveRecord.Generator.Actions;
25 using Castle.ActiveRecord.Generator.Components;
26 using Castle.ActiveRecord.Generator.Components.Database;
28 /// <summary>
29 /// Summary description for AvailableShapes.
30 /// </summary>
31 public class AvailableShapes : DockContent, ISubWorkspace
33 private Netron.GraphLib.UI.GraphShapesView graphShapesView1;
34 /// <summary>
35 /// Required designer variable.
36 /// </summary>
37 private System.ComponentModel.Container components = null;
39 public AvailableShapes()
42 // Required for Windows Form Designer support
44 InitializeComponent();
47 // TODO: Add any constructor code after InitializeComponent call
50 graphShapesView1.AddLibrary("Castle.ActiveRecord.Generator.exe");
53 public AvailableShapes(Model _model) : this()
57 public IWin32Window ActiveWindow
59 get { throw new NotImplementedException(); }
62 public MainMenu MainMenu
64 get { throw new NotImplementedException(); }
67 public ToolBar MainToolBar
69 get { throw new NotImplementedException(); }
72 public StatusBar MainStatusBar
74 get { throw new NotImplementedException(); }
77 public DockPanel MainDockManager
79 get { throw new NotImplementedException(); }
82 public IWorkspace ParentWorkspace
84 get { return null; }
85 set { ; }
88 /// <summary>
89 /// Clean up any resources being used.
90 /// </summary>
91 protected override void Dispose( bool disposing )
93 if( disposing )
95 if(components != null)
97 components.Dispose();
100 base.Dispose( disposing );
103 #region Windows Form Designer generated code
104 /// <summary>
105 /// Required method for Designer support - do not modify
106 /// the contents of this method with the code editor.
107 /// </summary>
108 private void InitializeComponent()
110 this.graphShapesView1 = new Netron.GraphLib.UI.GraphShapesView();
111 ((System.ComponentModel.ISupportInitialize)(this.graphShapesView1)).BeginInit();
112 this.SuspendLayout();
114 // graphShapesView1
116 this.graphShapesView1.Dock = System.Windows.Forms.DockStyle.Fill;
117 this.graphShapesView1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
118 this.graphShapesView1.Location = new System.Drawing.Point(0, 0);
119 this.graphShapesView1.Name = "graphShapesView1";
120 this.graphShapesView1.Size = new System.Drawing.Size(246, 321);
121 this.graphShapesView1.TabIndex = 0;
122 this.graphShapesView1.View = System.Windows.Forms.View.LargeIcon;
124 // AvailableShapes
126 this.DockableAreas = ((WeifenLuo.WinFormsUI.DockAreas)(((((WeifenLuo.WinFormsUI.DockAreas.Float | WeifenLuo.WinFormsUI.DockAreas.DockLeft)
127 | WeifenLuo.WinFormsUI.DockAreas.DockRight)
128 | WeifenLuo.WinFormsUI.DockAreas.DockTop)
129 | WeifenLuo.WinFormsUI.DockAreas.DockBottom)));
130 this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
131 this.ClientSize = new System.Drawing.Size(246, 323);
132 this.Controls.Add(this.graphShapesView1);
133 this.DockPadding.Bottom = 2;
134 this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
135 this.HideOnClose = true;
136 this.Name = "AvailableShapes";
137 this.ShowHint = WeifenLuo.WinFormsUI.DockState.DockRight;
138 this.Text = "ActiveRecord Components";
139 ((System.ComponentModel.ISupportInitialize)(this.graphShapesView1)).EndInit();
140 this.ResumeLayout(false);
143 #endregion