diff options
author | gareth | 2007-05-16 22:32:25 +0000 |
---|---|---|
committer | gareth | 2007-05-16 22:32:25 +0000 |
commit | b213d5b7ded763d64a0792b38c7807c99f9eeff3 (patch) | |
tree | 135c91f565a36c590ee425e553e4da93522ea929 | |
parent | Re-organising some crap (diff) | |
download | opensim-SC-b213d5b7ded763d64a0792b38c7807c99f9eeff3.zip opensim-SC-b213d5b7ded763d64a0792b38c7807c99f9eeff3.tar.gz opensim-SC-b213d5b7ded763d64a0792b38c7807c99f9eeff3.tar.bz2 opensim-SC-b213d5b7ded763d64a0792b38c7807c99f9eeff3.tar.xz |
The great renaming is complete
14 files changed, 1309 insertions, 0 deletions
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager.mds b/OpenGridServices.Manager/OpenGridServices.Manager.mds new file mode 100644 index 0000000..42711f3 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager.mds | |||
@@ -0,0 +1,16 @@ | |||
1 | <Combine name="OpenGridServices.Manager" fileversion="2.0"> | ||
2 | <Configurations active="Debug"> | ||
3 | <Configuration name="Debug" ctype="CombineConfiguration"> | ||
4 | <Entry build="True" name="OpenGridServices.Manager" configuration="Debug" /> | ||
5 | </Configuration> | ||
6 | <Configuration name="Release" ctype="CombineConfiguration"> | ||
7 | <Entry build="True" name="OpenGridServices.Manager" configuration="Release" /> | ||
8 | </Configuration> | ||
9 | </Configurations> | ||
10 | <StartMode startupentry="OpenGridServices.Manager" single="True"> | ||
11 | <Execute type="None" entry="OpenGridServices.Manager" /> | ||
12 | </StartMode> | ||
13 | <Entries> | ||
14 | <Entry filename="./OpenGridServices.Manager/OpenGridServices.Manager.mdp" /> | ||
15 | </Entries> | ||
16 | </Combine> \ No newline at end of file | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager.userprefs b/OpenGridServices.Manager/OpenGridServices.Manager.userprefs new file mode 100644 index 0000000..f221509 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager.userprefs | |||
@@ -0,0 +1,39 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <UserCombinePreferences filename="/home/gareth/OpenGridServices.Manager/OpenGridServices.Manager.mds"> | ||
3 | <Files> | ||
4 | <File filename="Welcome" /> | ||
5 | <File filename="./OpenGridServices.Manager/MainWindow.cs" /> | ||
6 | <File filename="./OpenGridServices.Manager/ConnectToGridServerDialog.cs" /> | ||
7 | <File filename="./OpenGridServices.Manager/Main.cs" /> | ||
8 | </Files> | ||
9 | <Views> | ||
10 | <ViewMemento Id="MonoDevelop.Ide.Gui.Pads.ProjectPad"> | ||
11 | <TreeView> | ||
12 | <Node expanded="True"> | ||
13 | <Node name="OpenGridServices.Manager" expanded="True"> | ||
14 | <Node name="References" expanded="True" /> | ||
15 | <Node name="Resources" expanded="True" /> | ||
16 | <Node name="UserInterface" expanded="True" /> | ||
17 | <Node name="ConnectToGridServerDialog.cs" expanded="False" selected="True" /> | ||
18 | </Node> | ||
19 | </Node> | ||
20 | </TreeView> | ||
21 | </ViewMemento> | ||
22 | <ViewMemento Id="MonoDevelop.Ide.Gui.Pads.ClassPad"> | ||
23 | <TreeView> | ||
24 | <Node expanded="True" /> | ||
25 | </TreeView> | ||
26 | </ViewMemento> | ||
27 | <ViewMemento Id="MonoDevelop.NUnit.TestPad"> | ||
28 | <TreeView> | ||
29 | <Node expanded="False" /> | ||
30 | </TreeView> | ||
31 | </ViewMemento> | ||
32 | </Views> | ||
33 | <Properties> | ||
34 | <Properties> | ||
35 | <Property key="ActiveConfiguration" value="Debug" /> | ||
36 | <Property key="ActiveWindow" value="/home/gareth/OpenGridServices.Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs" /> | ||
37 | </Properties> | ||
38 | </Properties> | ||
39 | </UserCombinePreferences> \ No newline at end of file | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager.usertasks b/OpenGridServices.Manager/OpenGridServices.Manager.usertasks new file mode 100644 index 0000000..d887d0e --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager.usertasks | |||
@@ -0,0 +1,2 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <ArrayOfUserTask xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /> \ No newline at end of file | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/AssemblyInfo.cs b/OpenGridServices.Manager/OpenGridServices.Manager/AssemblyInfo.cs new file mode 100644 index 0000000..af4e275 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/AssemblyInfo.cs | |||
@@ -0,0 +1,32 @@ | |||
1 | using System.Reflection; | ||
2 | using System.Runtime.CompilerServices; | ||
3 | |||
4 | // Information about this assembly is defined by the following | ||
5 | // attributes. | ||
6 | // | ||
7 | // change them to the information which is associated with the assembly | ||
8 | // you compile. | ||
9 | |||
10 | [assembly: AssemblyTitle("")] | ||
11 | [assembly: AssemblyDescription("")] | ||
12 | [assembly: AssemblyConfiguration("")] | ||
13 | [assembly: AssemblyCompany("")] | ||
14 | [assembly: AssemblyProduct("")] | ||
15 | [assembly: AssemblyCopyright("")] | ||
16 | [assembly: AssemblyTrademark("")] | ||
17 | [assembly: AssemblyCulture("")] | ||
18 | |||
19 | // The assembly version has following format : | ||
20 | // | ||
21 | // Major.Minor.Build.Revision | ||
22 | // | ||
23 | // You can specify all values by your own or you can build default build and revision | ||
24 | // numbers with the '*' character (the default): | ||
25 | |||
26 | [assembly: AssemblyVersion("1.0.*")] | ||
27 | |||
28 | // The following attributes specify the key for the sign of your assembly. See the | ||
29 | // .NET Framework documentation for more information about signing. | ||
30 | // This is not required, if you don't want signing let these attributes like they're. | ||
31 | [assembly: AssemblyDelaySign(false)] | ||
32 | [assembly: AssemblyKeyFile("")] | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/Connect to grid server.cs b/OpenGridServices.Manager/OpenGridServices.Manager/Connect to grid server.cs new file mode 100644 index 0000000..0d509ef --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/Connect to grid server.cs | |||
@@ -0,0 +1,16 @@ | |||
1 | |||
2 | using System; | ||
3 | |||
4 | namespace OpenGridServices.Manager | ||
5 | { | ||
6 | |||
7 | |||
8 | public partial class Connect to grid server : Gtk.Dialog | ||
9 | { | ||
10 | |||
11 | public Connect to grid server() | ||
12 | { | ||
13 | this.Build(); | ||
14 | } | ||
15 | } | ||
16 | } | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs b/OpenGridServices.Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs new file mode 100644 index 0000000..30a0e3f --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs | |||
@@ -0,0 +1,23 @@ | |||
1 | using Gtk; | ||
2 | using System; | ||
3 | |||
4 | public partial class ConnectToGridServerDialog : Gtk.Dialog | ||
5 | { | ||
6 | |||
7 | public ConnectToGridServerDialog() | ||
8 | { | ||
9 | this.Build(); | ||
10 | } | ||
11 | |||
12 | protected virtual void ConnectBtn(object sender, System.EventArgs e) | ||
13 | { | ||
14 | this.Hide(); | ||
15 | } | ||
16 | |||
17 | protected virtual void CancelBtn(object sender, System.EventArgs e) | ||
18 | { | ||
19 | this.Hide(); | ||
20 | } | ||
21 | |||
22 | } | ||
23 | |||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs b/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs new file mode 100644 index 0000000..598a342 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/Main.cs | |||
@@ -0,0 +1,17 @@ | |||
1 | // project created on 5/14/2007 at 2:04 PM | ||
2 | using System; | ||
3 | using Gtk; | ||
4 | |||
5 | namespace OpenGridServices.Manager | ||
6 | { | ||
7 | class MainClass | ||
8 | { | ||
9 | public static void Main (string[] args) | ||
10 | { | ||
11 | Application.Init (); | ||
12 | MainWindow win = new MainWindow (); | ||
13 | win.Show (); | ||
14 | Application.Run (); | ||
15 | } | ||
16 | } | ||
17 | } \ No newline at end of file | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/MainWindow.cs b/OpenGridServices.Manager/OpenGridServices.Manager/MainWindow.cs new file mode 100644 index 0000000..0f4ef25 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/MainWindow.cs | |||
@@ -0,0 +1,30 @@ | |||
1 | using System; | ||
2 | using Gtk; | ||
3 | |||
4 | public partial class MainWindow: Gtk.Window | ||
5 | { | ||
6 | public MainWindow (): base (Gtk.WindowType.Toplevel) | ||
7 | { | ||
8 | Build (); | ||
9 | } | ||
10 | |||
11 | protected void OnDeleteEvent (object sender, DeleteEventArgs a) | ||
12 | { | ||
13 | Application.Quit (); | ||
14 | a.RetVal = true; | ||
15 | } | ||
16 | |||
17 | protected virtual void QuitMenu(object sender, System.EventArgs e) | ||
18 | { | ||
19 | Application.Quit(); | ||
20 | } | ||
21 | |||
22 | protected virtual void ConnectToGridServerMenu(object sender, System.EventArgs e) | ||
23 | { | ||
24 | ConnectToGridServerDialog griddialog = new ConnectToGridServerDialog (); | ||
25 | griddialog.Show(); | ||
26 | } | ||
27 | |||
28 | |||
29 | |||
30 | } \ No newline at end of file | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.mdp b/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.mdp new file mode 100644 index 0000000..d3b87e9 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.mdp | |||
@@ -0,0 +1,36 @@ | |||
1 | <Project name="OpenGridServices.Manager" fileversion="2.0" language="C#" clr-version="Net_1_1" ctype="DotNetProject"> | ||
2 | <Configurations active="Debug"> | ||
3 | <Configuration name="Debug" ctype="DotNetProjectConfiguration"> | ||
4 | <Output directory="./bin/Debug" assembly="OpenGridServices.Manager" /> | ||
5 | <Build debugmode="True" target="Exe" /> | ||
6 | <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_1_1" /> | ||
7 | <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" /> | ||
8 | </Configuration> | ||
9 | <Configuration name="Release" ctype="DotNetProjectConfiguration"> | ||
10 | <Output directory="./bin/Release" assembly="OpenGridServices.Manager" /> | ||
11 | <Build debugmode="False" target="Exe" /> | ||
12 | <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_1_1" /> | ||
13 | <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" /> | ||
14 | </Configuration> | ||
15 | </Configurations> | ||
16 | <Contents> | ||
17 | <File name="./gtk-gui/gui.stetic" subtype="Code" buildaction="EmbedAsResource" /> | ||
18 | <File name="./gtk-gui/generated.cs" subtype="Code" buildaction="Compile" /> | ||
19 | <File name="./MainWindow.cs" subtype="Code" buildaction="Compile" /> | ||
20 | <File name="./gtk-gui/MainWindow.cs" subtype="Code" buildaction="Compile" /> | ||
21 | <File name="./Main.cs" subtype="Code" buildaction="Compile" /> | ||
22 | <File name="./AssemblyInfo.cs" subtype="Code" buildaction="Compile" /> | ||
23 | <File name="./ConnectToGridServerDialog.cs" subtype="Code" buildaction="Compile" /> | ||
24 | <File name="./gtk-gui/ConnectToGridServerDialog.cs" subtype="Code" buildaction="Compile" /> | ||
25 | </Contents> | ||
26 | <References> | ||
27 | <ProjectReference type="Gac" localcopy="True" refto="System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> | ||
28 | <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> | ||
29 | <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> | ||
30 | <ProjectReference type="Gac" localcopy="True" refto="glib-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> | ||
31 | <ProjectReference type="Gac" localcopy="True" refto="glade-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> | ||
32 | <ProjectReference type="Gac" localcopy="True" refto="pango-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> | ||
33 | <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> | ||
34 | </References> | ||
35 | <GtkDesignInfo partialTypes="True" /> | ||
36 | </Project> \ No newline at end of file | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.pidb b/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.pidb new file mode 100644 index 0000000..44e7a61 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/OpenGridServices.Manager.pidb | |||
Binary files differ | |||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/ConnectToGridServerDialog.cs b/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/ConnectToGridServerDialog.cs new file mode 100644 index 0000000..a7c8d43 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/ConnectToGridServerDialog.cs | |||
@@ -0,0 +1,141 @@ | |||
1 | // ------------------------------------------------------------------------------ | ||
2 | // <autogenerated> | ||
3 | // This code was generated by a tool. | ||
4 | // Mono Runtime Version: 2.0.50727.42 | ||
5 | // | ||
6 | // Changes to this file may cause incorrect behavior and will be lost if | ||
7 | // the code is regenerated. | ||
8 | // </autogenerated> | ||
9 | // ------------------------------------------------------------------------------ | ||
10 | |||
11 | |||
12 | |||
13 | public partial class ConnectToGridServerDialog { | ||
14 | |||
15 | private Gtk.VBox vbox2; | ||
16 | |||
17 | private Gtk.Label label1; | ||
18 | |||
19 | private Gtk.Entry entry1; | ||
20 | |||
21 | private Gtk.Button button2; | ||
22 | |||
23 | private Gtk.Button button8; | ||
24 | |||
25 | protected virtual void Build() { | ||
26 | Stetic.Gui.Initialize(); | ||
27 | // Widget ConnectToGridServerDialog | ||
28 | this.Events = ((Gdk.EventMask)(256)); | ||
29 | this.Name = "ConnectToGridServerDialog"; | ||
30 | this.Title = Mono.Unix.Catalog.GetString("Connect to Grid server"); | ||
31 | // Internal child ConnectToGridServerDialog.VBox | ||
32 | Gtk.VBox w1 = this.VBox; | ||
33 | w1.Events = ((Gdk.EventMask)(256)); | ||
34 | w1.Name = "dialog_VBox"; | ||
35 | w1.BorderWidth = ((uint)(2)); | ||
36 | // Container child dialog_VBox.Gtk.Box+BoxChild | ||
37 | this.vbox2 = new Gtk.VBox(); | ||
38 | this.vbox2.Name = "vbox2"; | ||
39 | // Container child vbox2.Gtk.Box+BoxChild | ||
40 | this.label1 = new Gtk.Label(); | ||
41 | this.label1.Name = "label1"; | ||
42 | this.label1.LabelProp = Mono.Unix.Catalog.GetString("Please type in the grid server IP/hostname and management interface port:"); | ||
43 | this.label1.Wrap = true; | ||
44 | this.label1.Justify = ((Gtk.Justification)(2)); | ||
45 | this.vbox2.Add(this.label1); | ||
46 | Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1])); | ||
47 | w2.Position = 0; | ||
48 | w2.Expand = false; | ||
49 | w2.Fill = false; | ||
50 | // Container child vbox2.Gtk.Box+BoxChild | ||
51 | this.entry1 = new Gtk.Entry(); | ||
52 | this.entry1.CanFocus = true; | ||
53 | this.entry1.Name = "entry1"; | ||
54 | this.entry1.Text = Mono.Unix.Catalog.GetString("gridserver:8001"); | ||
55 | this.entry1.IsEditable = true; | ||
56 | this.entry1.MaxLength = 255; | ||
57 | this.entry1.InvisibleChar = '•'; | ||
58 | this.vbox2.Add(this.entry1); | ||
59 | Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.entry1])); | ||
60 | w3.Position = 1; | ||
61 | w3.Expand = false; | ||
62 | w3.Fill = false; | ||
63 | w1.Add(this.vbox2); | ||
64 | Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); | ||
65 | w4.Position = 0; | ||
66 | // Internal child ConnectToGridServerDialog.ActionArea | ||
67 | Gtk.HButtonBox w5 = this.ActionArea; | ||
68 | w5.Events = ((Gdk.EventMask)(256)); | ||
69 | w5.Name = "OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea"; | ||
70 | w5.Spacing = 6; | ||
71 | w5.BorderWidth = ((uint)(5)); | ||
72 | w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); | ||
73 | // Container child OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild | ||
74 | this.button2 = new Gtk.Button(); | ||
75 | this.button2.CanDefault = true; | ||
76 | this.button2.CanFocus = true; | ||
77 | this.button2.Name = "button2"; | ||
78 | this.button2.UseUnderline = true; | ||
79 | // Container child button2.Gtk.Container+ContainerChild | ||
80 | Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); | ||
81 | w6.Name = "GtkAlignment"; | ||
82 | // Container child GtkAlignment.Gtk.Container+ContainerChild | ||
83 | Gtk.HBox w7 = new Gtk.HBox(); | ||
84 | w7.Name = "GtkHBox"; | ||
85 | w7.Spacing = 2; | ||
86 | // Container child GtkHBox.Gtk.Container+ContainerChild | ||
87 | Gtk.Image w8 = new Gtk.Image(); | ||
88 | w8.Name = "image11"; | ||
89 | w8.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-apply", 16, 0); | ||
90 | w7.Add(w8); | ||
91 | // Container child GtkHBox.Gtk.Container+ContainerChild | ||
92 | Gtk.Label w10 = new Gtk.Label(); | ||
93 | w10.Name = "GtkLabel"; | ||
94 | w10.LabelProp = Mono.Unix.Catalog.GetString("Connect"); | ||
95 | w10.UseUnderline = true; | ||
96 | w7.Add(w10); | ||
97 | w6.Add(w7); | ||
98 | this.button2.Add(w6); | ||
99 | this.AddActionWidget(this.button2, 0); | ||
100 | Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.button2])); | ||
101 | w14.Expand = false; | ||
102 | w14.Fill = false; | ||
103 | // Container child OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild | ||
104 | this.button8 = new Gtk.Button(); | ||
105 | this.button8.CanDefault = true; | ||
106 | this.button8.CanFocus = true; | ||
107 | this.button8.Name = "button8"; | ||
108 | this.button8.UseUnderline = true; | ||
109 | // Container child button8.Gtk.Container+ContainerChild | ||
110 | Gtk.Alignment w15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); | ||
111 | w15.Name = "GtkAlignment1"; | ||
112 | // Container child GtkAlignment1.Gtk.Container+ContainerChild | ||
113 | Gtk.HBox w16 = new Gtk.HBox(); | ||
114 | w16.Name = "GtkHBox1"; | ||
115 | w16.Spacing = 2; | ||
116 | // Container child GtkHBox1.Gtk.Container+ContainerChild | ||
117 | Gtk.Image w17 = new Gtk.Image(); | ||
118 | w17.Name = "image12"; | ||
119 | w17.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0); | ||
120 | w16.Add(w17); | ||
121 | // Container child GtkHBox1.Gtk.Container+ContainerChild | ||
122 | Gtk.Label w19 = new Gtk.Label(); | ||
123 | w19.Name = "GtkLabel1"; | ||
124 | w19.LabelProp = Mono.Unix.Catalog.GetString("Cancel"); | ||
125 | w19.UseUnderline = true; | ||
126 | w16.Add(w19); | ||
127 | w15.Add(w16); | ||
128 | this.button8.Add(w15); | ||
129 | this.AddActionWidget(this.button8, 0); | ||
130 | Gtk.ButtonBox.ButtonBoxChild w23 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.button8])); | ||
131 | w23.Position = 1; | ||
132 | w23.Expand = false; | ||
133 | w23.Fill = false; | ||
134 | if ((this.Child != null)) { | ||
135 | this.Child.ShowAll(); | ||
136 | } | ||
137 | this.DefaultWidth = 476; | ||
138 | this.DefaultHeight = 107; | ||
139 | this.Show(); | ||
140 | } | ||
141 | } | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/MainWindow.cs b/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/MainWindow.cs new file mode 100644 index 0000000..43c2f64 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/MainWindow.cs | |||
@@ -0,0 +1,355 @@ | |||
1 | // ------------------------------------------------------------------------------ | ||
2 | // <autogenerated> | ||
3 | // This code was generated by a tool. | ||
4 | // Mono Runtime Version: 2.0.50727.42 | ||
5 | // | ||
6 | // Changes to this file may cause incorrect behavior and will be lost if | ||
7 | // the code is regenerated. | ||
8 | // </autogenerated> | ||
9 | // ------------------------------------------------------------------------------ | ||
10 | |||
11 | |||
12 | |||
13 | public partial class MainWindow { | ||
14 | |||
15 | private Gtk.Action Grid; | ||
16 | |||
17 | private Gtk.Action User; | ||
18 | |||
19 | private Gtk.Action Asset; | ||
20 | |||
21 | private Gtk.Action Region; | ||
22 | |||
23 | private Gtk.Action Services; | ||
24 | |||
25 | private Gtk.Action ConnectToGridserver; | ||
26 | |||
27 | private Gtk.Action RestartWholeGrid; | ||
28 | |||
29 | private Gtk.Action ShutdownWholeGrid; | ||
30 | |||
31 | private Gtk.Action ExitGridManager; | ||
32 | |||
33 | private Gtk.Action ConnectToUserserver; | ||
34 | |||
35 | private Gtk.Action AccountManagment; | ||
36 | |||
37 | private Gtk.Action GlobalNotice; | ||
38 | |||
39 | private Gtk.Action DisableAllLogins; | ||
40 | |||
41 | private Gtk.Action DisableNonGodUsersOnly; | ||
42 | |||
43 | private Gtk.Action ShutdownUserServer; | ||
44 | |||
45 | private Gtk.Action ShutdownGridserverOnly; | ||
46 | |||
47 | private Gtk.Action RestartGridserverOnly; | ||
48 | |||
49 | private Gtk.Action DefaultLocalGridUserserver; | ||
50 | |||
51 | private Gtk.Action CustomUserserver; | ||
52 | |||
53 | private Gtk.Action RemoteGridDefaultUserserver; | ||
54 | |||
55 | private Gtk.Action DisconnectFromGridServer; | ||
56 | |||
57 | private Gtk.Action UploadAsset; | ||
58 | |||
59 | private Gtk.Action AssetManagement; | ||
60 | |||
61 | private Gtk.Action ConnectToAssetServer; | ||
62 | |||
63 | private Gtk.Action ConnectToDefaultAssetServerForGrid; | ||
64 | |||
65 | private Gtk.Action DefaultForLocalGrid; | ||
66 | |||
67 | private Gtk.Action DefaultForRemoteGrid; | ||
68 | |||
69 | private Gtk.Action CustomAssetServer; | ||
70 | |||
71 | private Gtk.VBox vbox1; | ||
72 | |||
73 | private Gtk.MenuBar menubar2; | ||
74 | |||
75 | private Gtk.HBox hbox1; | ||
76 | |||
77 | private Gtk.ScrolledWindow scrolledwindow1; | ||
78 | |||
79 | private Gtk.Table table1; | ||
80 | |||
81 | private Gtk.Image image1; | ||
82 | |||
83 | private Gtk.Image image2; | ||
84 | |||
85 | private Gtk.Image image3; | ||
86 | |||
87 | private Gtk.Image image4; | ||
88 | |||
89 | private Gtk.Image image5; | ||
90 | |||
91 | private Gtk.Image image6; | ||
92 | |||
93 | private Gtk.Image image7; | ||
94 | |||
95 | private Gtk.Image image8; | ||
96 | |||
97 | private Gtk.Image image9; | ||
98 | |||
99 | private Gtk.TreeView treeview1; | ||
100 | |||
101 | private Gtk.Statusbar statusbar1; | ||
102 | |||
103 | protected virtual void Build() { | ||
104 | Stetic.Gui.Initialize(); | ||
105 | // Widget MainWindow | ||
106 | Gtk.UIManager w1 = new Gtk.UIManager(); | ||
107 | Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default"); | ||
108 | this.Grid = new Gtk.Action("Grid", Mono.Unix.Catalog.GetString("Grid"), null, null); | ||
109 | this.Grid.HideIfEmpty = false; | ||
110 | this.Grid.ShortLabel = Mono.Unix.Catalog.GetString("Grid"); | ||
111 | w2.Add(this.Grid, "<Alt><Mod2>g"); | ||
112 | this.User = new Gtk.Action("User", Mono.Unix.Catalog.GetString("User"), null, null); | ||
113 | this.User.HideIfEmpty = false; | ||
114 | this.User.ShortLabel = Mono.Unix.Catalog.GetString("User"); | ||
115 | w2.Add(this.User, null); | ||
116 | this.Asset = new Gtk.Action("Asset", Mono.Unix.Catalog.GetString("Asset"), null, null); | ||
117 | this.Asset.HideIfEmpty = false; | ||
118 | this.Asset.ShortLabel = Mono.Unix.Catalog.GetString("Asset"); | ||
119 | w2.Add(this.Asset, null); | ||
120 | this.Region = new Gtk.Action("Region", Mono.Unix.Catalog.GetString("Region"), null, null); | ||
121 | this.Region.ShortLabel = Mono.Unix.Catalog.GetString("Region"); | ||
122 | w2.Add(this.Region, null); | ||
123 | this.Services = new Gtk.Action("Services", Mono.Unix.Catalog.GetString("Services"), null, null); | ||
124 | this.Services.ShortLabel = Mono.Unix.Catalog.GetString("Services"); | ||
125 | w2.Add(this.Services, null); | ||
126 | this.ConnectToGridserver = new Gtk.Action("ConnectToGridserver", Mono.Unix.Catalog.GetString("Connect to gridserver..."), null, "gtk-connect"); | ||
127 | this.ConnectToGridserver.HideIfEmpty = false; | ||
128 | this.ConnectToGridserver.ShortLabel = Mono.Unix.Catalog.GetString("Connect to gridserver"); | ||
129 | w2.Add(this.ConnectToGridserver, null); | ||
130 | this.RestartWholeGrid = new Gtk.Action("RestartWholeGrid", Mono.Unix.Catalog.GetString("Restart whole grid"), null, "gtk-refresh"); | ||
131 | this.RestartWholeGrid.ShortLabel = Mono.Unix.Catalog.GetString("Restart whole grid"); | ||
132 | w2.Add(this.RestartWholeGrid, null); | ||
133 | this.ShutdownWholeGrid = new Gtk.Action("ShutdownWholeGrid", Mono.Unix.Catalog.GetString("Shutdown whole grid"), null, "gtk-stop"); | ||
134 | this.ShutdownWholeGrid.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown whole grid"); | ||
135 | w2.Add(this.ShutdownWholeGrid, null); | ||
136 | this.ExitGridManager = new Gtk.Action("ExitGridManager", Mono.Unix.Catalog.GetString("Exit grid manager"), null, "gtk-close"); | ||
137 | this.ExitGridManager.ShortLabel = Mono.Unix.Catalog.GetString("Exit grid manager"); | ||
138 | w2.Add(this.ExitGridManager, null); | ||
139 | this.ConnectToUserserver = new Gtk.Action("ConnectToUserserver", Mono.Unix.Catalog.GetString("Connect to userserver"), null, "gtk-connect"); | ||
140 | this.ConnectToUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Connect to userserver"); | ||
141 | w2.Add(this.ConnectToUserserver, null); | ||
142 | this.AccountManagment = new Gtk.Action("AccountManagment", Mono.Unix.Catalog.GetString("Account managment"), null, "gtk-properties"); | ||
143 | this.AccountManagment.ShortLabel = Mono.Unix.Catalog.GetString("Account managment"); | ||
144 | w2.Add(this.AccountManagment, null); | ||
145 | this.GlobalNotice = new Gtk.Action("GlobalNotice", Mono.Unix.Catalog.GetString("Global notice"), null, "gtk-network"); | ||
146 | this.GlobalNotice.ShortLabel = Mono.Unix.Catalog.GetString("Global notice"); | ||
147 | w2.Add(this.GlobalNotice, null); | ||
148 | this.DisableAllLogins = new Gtk.Action("DisableAllLogins", Mono.Unix.Catalog.GetString("Disable all logins"), null, "gtk-no"); | ||
149 | this.DisableAllLogins.ShortLabel = Mono.Unix.Catalog.GetString("Disable all logins"); | ||
150 | w2.Add(this.DisableAllLogins, null); | ||
151 | this.DisableNonGodUsersOnly = new Gtk.Action("DisableNonGodUsersOnly", Mono.Unix.Catalog.GetString("Disable non-god users only"), null, "gtk-no"); | ||
152 | this.DisableNonGodUsersOnly.ShortLabel = Mono.Unix.Catalog.GetString("Disable non-god users only"); | ||
153 | w2.Add(this.DisableNonGodUsersOnly, null); | ||
154 | this.ShutdownUserServer = new Gtk.Action("ShutdownUserServer", Mono.Unix.Catalog.GetString("Shutdown user server"), null, "gtk-stop"); | ||
155 | this.ShutdownUserServer.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown user server"); | ||
156 | w2.Add(this.ShutdownUserServer, null); | ||
157 | this.ShutdownGridserverOnly = new Gtk.Action("ShutdownGridserverOnly", Mono.Unix.Catalog.GetString("Shutdown gridserver only"), null, "gtk-stop"); | ||
158 | this.ShutdownGridserverOnly.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown gridserver only"); | ||
159 | w2.Add(this.ShutdownGridserverOnly, null); | ||
160 | this.RestartGridserverOnly = new Gtk.Action("RestartGridserverOnly", Mono.Unix.Catalog.GetString("Restart gridserver only"), null, "gtk-refresh"); | ||
161 | this.RestartGridserverOnly.ShortLabel = Mono.Unix.Catalog.GetString("Restart gridserver only"); | ||
162 | w2.Add(this.RestartGridserverOnly, null); | ||
163 | this.DefaultLocalGridUserserver = new Gtk.Action("DefaultLocalGridUserserver", Mono.Unix.Catalog.GetString("Default local grid userserver"), null, null); | ||
164 | this.DefaultLocalGridUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Default local grid userserver"); | ||
165 | w2.Add(this.DefaultLocalGridUserserver, null); | ||
166 | this.CustomUserserver = new Gtk.Action("CustomUserserver", Mono.Unix.Catalog.GetString("Custom userserver..."), null, null); | ||
167 | this.CustomUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Custom userserver"); | ||
168 | w2.Add(this.CustomUserserver, null); | ||
169 | this.RemoteGridDefaultUserserver = new Gtk.Action("RemoteGridDefaultUserserver", Mono.Unix.Catalog.GetString("Remote grid default userserver..."), null, null); | ||
170 | this.RemoteGridDefaultUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Remote grid default userserver"); | ||
171 | w2.Add(this.RemoteGridDefaultUserserver, null); | ||
172 | this.DisconnectFromGridServer = new Gtk.Action("DisconnectFromGridServer", Mono.Unix.Catalog.GetString("Disconnect from grid server"), null, "gtk-disconnect"); | ||
173 | this.DisconnectFromGridServer.ShortLabel = Mono.Unix.Catalog.GetString("Disconnect from grid server"); | ||
174 | this.DisconnectFromGridServer.Visible = false; | ||
175 | w2.Add(this.DisconnectFromGridServer, null); | ||
176 | this.UploadAsset = new Gtk.Action("UploadAsset", Mono.Unix.Catalog.GetString("Upload asset"), null, null); | ||
177 | this.UploadAsset.ShortLabel = Mono.Unix.Catalog.GetString("Upload asset"); | ||
178 | w2.Add(this.UploadAsset, null); | ||
179 | this.AssetManagement = new Gtk.Action("AssetManagement", Mono.Unix.Catalog.GetString("Asset management"), null, null); | ||
180 | this.AssetManagement.ShortLabel = Mono.Unix.Catalog.GetString("Asset management"); | ||
181 | w2.Add(this.AssetManagement, null); | ||
182 | this.ConnectToAssetServer = new Gtk.Action("ConnectToAssetServer", Mono.Unix.Catalog.GetString("Connect to asset server"), null, null); | ||
183 | this.ConnectToAssetServer.ShortLabel = Mono.Unix.Catalog.GetString("Connect to asset server"); | ||
184 | w2.Add(this.ConnectToAssetServer, null); | ||
185 | this.ConnectToDefaultAssetServerForGrid = new Gtk.Action("ConnectToDefaultAssetServerForGrid", Mono.Unix.Catalog.GetString("Connect to default asset server for grid"), null, null); | ||
186 | this.ConnectToDefaultAssetServerForGrid.ShortLabel = Mono.Unix.Catalog.GetString("Connect to default asset server for grid"); | ||
187 | w2.Add(this.ConnectToDefaultAssetServerForGrid, null); | ||
188 | this.DefaultForLocalGrid = new Gtk.Action("DefaultForLocalGrid", Mono.Unix.Catalog.GetString("Default for local grid"), null, null); | ||
189 | this.DefaultForLocalGrid.ShortLabel = Mono.Unix.Catalog.GetString("Default for local grid"); | ||
190 | w2.Add(this.DefaultForLocalGrid, null); | ||
191 | this.DefaultForRemoteGrid = new Gtk.Action("DefaultForRemoteGrid", Mono.Unix.Catalog.GetString("Default for remote grid..."), null, null); | ||
192 | this.DefaultForRemoteGrid.ShortLabel = Mono.Unix.Catalog.GetString("Default for remote grid..."); | ||
193 | w2.Add(this.DefaultForRemoteGrid, null); | ||
194 | this.CustomAssetServer = new Gtk.Action("CustomAssetServer", Mono.Unix.Catalog.GetString("Custom asset server..."), null, null); | ||
195 | this.CustomAssetServer.ShortLabel = Mono.Unix.Catalog.GetString("Custom asset server..."); | ||
196 | w2.Add(this.CustomAssetServer, null); | ||
197 | w1.InsertActionGroup(w2, 0); | ||
198 | this.AddAccelGroup(w1.AccelGroup); | ||
199 | this.WidthRequest = 600; | ||
200 | this.HeightRequest = 800; | ||
201 | this.Name = "MainWindow"; | ||
202 | this.Title = Mono.Unix.Catalog.GetString("Open Grid Services Manager"); | ||
203 | // Container child MainWindow.Gtk.Container+ContainerChild | ||
204 | this.vbox1 = new Gtk.VBox(); | ||
205 | this.vbox1.Name = "vbox1"; | ||
206 | // Container child vbox1.Gtk.Box+BoxChild | ||
207 | w1.AddUiFromString("<ui><menubar name='menubar2'><menu action='Grid'><menuitem action='ConnectToGridserver'/><menuitem action='DisconnectFromGridServer'/><separator/><menuitem action='RestartWholeGrid'/><menuitem action='RestartGridserverOnly'/><separator/><menuitem action='ShutdownWholeGrid'/><menuitem action='ShutdownGridserverOnly'/><separator/><menuitem action='ExitGridManager'/></menu><menu action='User'><menu action='ConnectToUserserver'><menuitem action='DefaultLocalGridUserserver'/><menuitem action='CustomUserserver'/><menuitem action='RemoteGridDefaultUserserver'/></menu><separator/><menuitem action='AccountManagment'/><menuitem action='GlobalNotice'/><separator/><menuitem action='DisableAllLogins'/><menuitem action='DisableNonGodUsersOnly'/><separator/><menuitem action='ShutdownUserServer'/></menu><menu action='Asset'><menuitem action='UploadAsset'/><menuitem action='AssetManagement'/><menu action='ConnectToAssetServer'><menuitem action='DefaultForLocalGrid'/><menuitem action='DefaultForRemoteGrid'/><menuitem action='CustomAssetServer'/></menu></menu><menu action='Region'/><menu action='Services'/></menubar></ui>"); | ||
208 | this.menubar2 = ((Gtk.MenuBar)(w1.GetWidget("/menubar2"))); | ||
209 | this.menubar2.HeightRequest = 25; | ||
210 | this.menubar2.Name = "menubar2"; | ||
211 | this.vbox1.Add(this.menubar2); | ||
212 | Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar2])); | ||
213 | w3.Position = 0; | ||
214 | w3.Expand = false; | ||
215 | w3.Fill = false; | ||
216 | // Container child vbox1.Gtk.Box+BoxChild | ||
217 | this.hbox1 = new Gtk.HBox(); | ||
218 | this.hbox1.Name = "hbox1"; | ||
219 | // Container child hbox1.Gtk.Box+BoxChild | ||
220 | this.scrolledwindow1 = new Gtk.ScrolledWindow(); | ||
221 | this.scrolledwindow1.CanFocus = true; | ||
222 | this.scrolledwindow1.Name = "scrolledwindow1"; | ||
223 | this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1)); | ||
224 | this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1)); | ||
225 | // Container child scrolledwindow1.Gtk.Container+ContainerChild | ||
226 | Gtk.Viewport w4 = new Gtk.Viewport(); | ||
227 | w4.Name = "GtkViewport"; | ||
228 | w4.ShadowType = ((Gtk.ShadowType)(0)); | ||
229 | // Container child GtkViewport.Gtk.Container+ContainerChild | ||
230 | this.table1 = new Gtk.Table(((uint)(3)), ((uint)(3)), false); | ||
231 | this.table1.Name = "table1"; | ||
232 | // Container child table1.Gtk.Table+TableChild | ||
233 | this.image1 = new Gtk.Image(); | ||
234 | this.image1.Name = "image1"; | ||
235 | this.table1.Add(this.image1); | ||
236 | Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.image1])); | ||
237 | w5.XOptions = ((Gtk.AttachOptions)(4)); | ||
238 | w5.YOptions = ((Gtk.AttachOptions)(4)); | ||
239 | // Container child table1.Gtk.Table+TableChild | ||
240 | this.image2 = new Gtk.Image(); | ||
241 | this.image2.Name = "image2"; | ||
242 | this.table1.Add(this.image2); | ||
243 | Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.image2])); | ||
244 | w6.LeftAttach = ((uint)(1)); | ||
245 | w6.RightAttach = ((uint)(2)); | ||
246 | w6.XOptions = ((Gtk.AttachOptions)(4)); | ||
247 | w6.YOptions = ((Gtk.AttachOptions)(4)); | ||
248 | // Container child table1.Gtk.Table+TableChild | ||
249 | this.image3 = new Gtk.Image(); | ||
250 | this.image3.Name = "image3"; | ||
251 | this.table1.Add(this.image3); | ||
252 | Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.image3])); | ||
253 | w7.LeftAttach = ((uint)(2)); | ||
254 | w7.RightAttach = ((uint)(3)); | ||
255 | w7.XOptions = ((Gtk.AttachOptions)(4)); | ||
256 | w7.YOptions = ((Gtk.AttachOptions)(4)); | ||
257 | // Container child table1.Gtk.Table+TableChild | ||
258 | this.image4 = new Gtk.Image(); | ||
259 | this.image4.Name = "image4"; | ||
260 | this.table1.Add(this.image4); | ||
261 | Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.image4])); | ||
262 | w8.TopAttach = ((uint)(1)); | ||
263 | w8.BottomAttach = ((uint)(2)); | ||
264 | w8.XOptions = ((Gtk.AttachOptions)(4)); | ||
265 | w8.YOptions = ((Gtk.AttachOptions)(4)); | ||
266 | // Container child table1.Gtk.Table+TableChild | ||
267 | this.image5 = new Gtk.Image(); | ||
268 | this.image5.Name = "image5"; | ||
269 | this.table1.Add(this.image5); | ||
270 | Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.image5])); | ||
271 | w9.TopAttach = ((uint)(1)); | ||
272 | w9.BottomAttach = ((uint)(2)); | ||
273 | w9.LeftAttach = ((uint)(1)); | ||
274 | w9.RightAttach = ((uint)(2)); | ||
275 | w9.XOptions = ((Gtk.AttachOptions)(4)); | ||
276 | w9.YOptions = ((Gtk.AttachOptions)(4)); | ||
277 | // Container child table1.Gtk.Table+TableChild | ||
278 | this.image6 = new Gtk.Image(); | ||
279 | this.image6.Name = "image6"; | ||
280 | this.table1.Add(this.image6); | ||
281 | Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.image6])); | ||
282 | w10.TopAttach = ((uint)(1)); | ||
283 | w10.BottomAttach = ((uint)(2)); | ||
284 | w10.LeftAttach = ((uint)(2)); | ||
285 | w10.RightAttach = ((uint)(3)); | ||
286 | w10.XOptions = ((Gtk.AttachOptions)(4)); | ||
287 | w10.YOptions = ((Gtk.AttachOptions)(4)); | ||
288 | // Container child table1.Gtk.Table+TableChild | ||
289 | this.image7 = new Gtk.Image(); | ||
290 | this.image7.Name = "image7"; | ||
291 | this.table1.Add(this.image7); | ||
292 | Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.image7])); | ||
293 | w11.TopAttach = ((uint)(2)); | ||
294 | w11.BottomAttach = ((uint)(3)); | ||
295 | w11.XOptions = ((Gtk.AttachOptions)(4)); | ||
296 | w11.YOptions = ((Gtk.AttachOptions)(4)); | ||
297 | // Container child table1.Gtk.Table+TableChild | ||
298 | this.image8 = new Gtk.Image(); | ||
299 | this.image8.Name = "image8"; | ||
300 | this.table1.Add(this.image8); | ||
301 | Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.image8])); | ||
302 | w12.TopAttach = ((uint)(2)); | ||
303 | w12.BottomAttach = ((uint)(3)); | ||
304 | w12.LeftAttach = ((uint)(1)); | ||
305 | w12.RightAttach = ((uint)(2)); | ||
306 | w12.XOptions = ((Gtk.AttachOptions)(4)); | ||
307 | w12.YOptions = ((Gtk.AttachOptions)(4)); | ||
308 | // Container child table1.Gtk.Table+TableChild | ||
309 | this.image9 = new Gtk.Image(); | ||
310 | this.image9.Name = "image9"; | ||
311 | this.table1.Add(this.image9); | ||
312 | Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.image9])); | ||
313 | w13.TopAttach = ((uint)(2)); | ||
314 | w13.BottomAttach = ((uint)(3)); | ||
315 | w13.LeftAttach = ((uint)(2)); | ||
316 | w13.RightAttach = ((uint)(3)); | ||
317 | w13.XOptions = ((Gtk.AttachOptions)(4)); | ||
318 | w13.YOptions = ((Gtk.AttachOptions)(4)); | ||
319 | w4.Add(this.table1); | ||
320 | this.scrolledwindow1.Add(w4); | ||
321 | this.hbox1.Add(this.scrolledwindow1); | ||
322 | Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1])); | ||
323 | w16.Position = 1; | ||
324 | // Container child hbox1.Gtk.Box+BoxChild | ||
325 | this.treeview1 = new Gtk.TreeView(); | ||
326 | this.treeview1.CanFocus = true; | ||
327 | this.treeview1.Name = "treeview1"; | ||
328 | this.hbox1.Add(this.treeview1); | ||
329 | Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox1[this.treeview1])); | ||
330 | w17.Position = 2; | ||
331 | this.vbox1.Add(this.hbox1); | ||
332 | Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); | ||
333 | w18.Position = 1; | ||
334 | // Container child vbox1.Gtk.Box+BoxChild | ||
335 | this.statusbar1 = new Gtk.Statusbar(); | ||
336 | this.statusbar1.Name = "statusbar1"; | ||
337 | this.statusbar1.Spacing = 5; | ||
338 | this.vbox1.Add(this.statusbar1); | ||
339 | Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); | ||
340 | w19.PackType = ((Gtk.PackType)(1)); | ||
341 | w19.Position = 2; | ||
342 | w19.Expand = false; | ||
343 | w19.Fill = false; | ||
344 | this.Add(this.vbox1); | ||
345 | if ((this.Child != null)) { | ||
346 | this.Child.ShowAll(); | ||
347 | } | ||
348 | this.DefaultWidth = 668; | ||
349 | this.DefaultHeight = 800; | ||
350 | this.Show(); | ||
351 | this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent); | ||
352 | this.ConnectToGridserver.Activated += new System.EventHandler(this.ConnectToGridServerMenu); | ||
353 | this.ExitGridManager.Activated += new System.EventHandler(this.QuitMenu); | ||
354 | } | ||
355 | } | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/generated.cs b/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/generated.cs new file mode 100644 index 0000000..dd4abdd --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/generated.cs | |||
@@ -0,0 +1,35 @@ | |||
1 | // ------------------------------------------------------------------------------ | ||
2 | // <autogenerated> | ||
3 | // This code was generated by a tool. | ||
4 | // Mono Runtime Version: 2.0.50727.42 | ||
5 | // | ||
6 | // Changes to this file may cause incorrect behavior and will be lost if | ||
7 | // the code is regenerated. | ||
8 | // </autogenerated> | ||
9 | // ------------------------------------------------------------------------------ | ||
10 | |||
11 | namespace Stetic { | ||
12 | |||
13 | |||
14 | internal class Gui { | ||
15 | |||
16 | private static bool initialized; | ||
17 | |||
18 | internal static void Initialize() { | ||
19 | if ((Stetic.Gui.initialized == false)) { | ||
20 | Stetic.Gui.initialized = true; | ||
21 | } | ||
22 | } | ||
23 | } | ||
24 | |||
25 | internal class ActionGroups { | ||
26 | |||
27 | public static Gtk.ActionGroup GetActionGroup(System.Type type) { | ||
28 | return Stetic.ActionGroups.GetActionGroup(type.FullName); | ||
29 | } | ||
30 | |||
31 | public static Gtk.ActionGroup GetActionGroup(string name) { | ||
32 | return null; | ||
33 | } | ||
34 | } | ||
35 | } | ||
diff --git a/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/gui.stetic b/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/gui.stetic new file mode 100644 index 0000000..3908ac4 --- /dev/null +++ b/OpenGridServices.Manager/OpenGridServices.Manager/gtk-gui/gui.stetic | |||
@@ -0,0 +1,567 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <stetic-interface> | ||
3 | <widget class="Gtk.Window" id="MainWindow" design-size="668 800"> | ||
4 | <action-group name="Default"> | ||
5 | <action id="Grid"> | ||
6 | <property name="Type">Action</property> | ||
7 | <property name="Accelerator"><Alt><Mod2>g</property> | ||
8 | <property name="HideIfEmpty">False</property> | ||
9 | <property name="Label" translatable="yes">Grid</property> | ||
10 | <property name="ShortLabel" translatable="yes">Grid</property> | ||
11 | </action> | ||
12 | <action id="User"> | ||
13 | <property name="Type">Action</property> | ||
14 | <property name="HideIfEmpty">False</property> | ||
15 | <property name="Label" translatable="yes">User</property> | ||
16 | <property name="ShortLabel" translatable="yes">User</property> | ||
17 | </action> | ||
18 | <action id="Asset"> | ||
19 | <property name="Type">Action</property> | ||
20 | <property name="HideIfEmpty">False</property> | ||
21 | <property name="Label" translatable="yes">Asset</property> | ||
22 | <property name="ShortLabel" translatable="yes">Asset</property> | ||
23 | </action> | ||
24 | <action id="Region"> | ||
25 | <property name="Type">Action</property> | ||
26 | <property name="Label" translatable="yes">Region</property> | ||
27 | <property name="ShortLabel" translatable="yes">Region</property> | ||
28 | </action> | ||
29 | <action id="Services"> | ||
30 | <property name="Type">Action</property> | ||
31 | <property name="Label" translatable="yes">Services</property> | ||
32 | <property name="ShortLabel" translatable="yes">Services</property> | ||
33 | </action> | ||
34 | <action id="ConnectToGridserver"> | ||
35 | <property name="Type">Action</property> | ||
36 | <property name="HideIfEmpty">False</property> | ||
37 | <property name="Label" translatable="yes">Connect to gridserver...</property> | ||
38 | <property name="ShortLabel" translatable="yes">Connect to gridserver</property> | ||
39 | <property name="StockId">gtk-connect</property> | ||
40 | <signal name="Activated" handler="ConnectToGridServerMenu" /> | ||
41 | </action> | ||
42 | <action id="RestartWholeGrid"> | ||
43 | <property name="Type">Action</property> | ||
44 | <property name="Label" translatable="yes">Restart whole grid</property> | ||
45 | <property name="ShortLabel" translatable="yes">Restart whole grid</property> | ||
46 | <property name="StockId">gtk-refresh</property> | ||
47 | </action> | ||
48 | <action id="ShutdownWholeGrid"> | ||
49 | <property name="Type">Action</property> | ||
50 | <property name="Label" translatable="yes">Shutdown whole grid</property> | ||
51 | <property name="ShortLabel" translatable="yes">Shutdown whole grid</property> | ||
52 | <property name="StockId">gtk-stop</property> | ||
53 | </action> | ||
54 | <action id="ExitGridManager"> | ||
55 | <property name="Type">Action</property> | ||
56 | <property name="Label" translatable="yes">Exit grid manager</property> | ||
57 | <property name="ShortLabel" translatable="yes">Exit grid manager</property> | ||
58 | <property name="StockId">gtk-close</property> | ||
59 | <signal name="Activated" handler="QuitMenu" after="yes" /> | ||
60 | </action> | ||
61 | <action id="ConnectToUserserver"> | ||
62 | <property name="Type">Action</property> | ||
63 | <property name="Label" translatable="yes">Connect to userserver</property> | ||
64 | <property name="ShortLabel" translatable="yes">Connect to userserver</property> | ||
65 | <property name="StockId">gtk-connect</property> | ||
66 | </action> | ||
67 | <action id="AccountManagment"> | ||
68 | <property name="Type">Action</property> | ||
69 | <property name="Label" translatable="yes">Account managment</property> | ||
70 | <property name="ShortLabel" translatable="yes">Account managment</property> | ||
71 | <property name="StockId">gtk-properties</property> | ||
72 | </action> | ||
73 | <action id="GlobalNotice"> | ||
74 | <property name="Type">Action</property> | ||
75 | <property name="Label" translatable="yes">Global notice</property> | ||
76 | <property name="ShortLabel" translatable="yes">Global notice</property> | ||
77 | <property name="StockId">gtk-network</property> | ||
78 | </action> | ||
79 | <action id="DisableAllLogins"> | ||
80 | <property name="Type">Action</property> | ||
81 | <property name="Label" translatable="yes">Disable all logins</property> | ||
82 | <property name="ShortLabel" translatable="yes">Disable all logins</property> | ||
83 | <property name="StockId">gtk-no</property> | ||
84 | </action> | ||
85 | <action id="DisableNonGodUsersOnly"> | ||
86 | <property name="Type">Action</property> | ||
87 | <property name="Label" translatable="yes">Disable non-god users only</property> | ||
88 | <property name="ShortLabel" translatable="yes">Disable non-god users only</property> | ||
89 | <property name="StockId">gtk-no</property> | ||
90 | </action> | ||
91 | <action id="ShutdownUserServer"> | ||
92 | <property name="Type">Action</property> | ||
93 | <property name="Label" translatable="yes">Shutdown user server</property> | ||
94 | <property name="ShortLabel" translatable="yes">Shutdown user server</property> | ||
95 | <property name="StockId">gtk-stop</property> | ||
96 | </action> | ||
97 | <action id="ShutdownGridserverOnly"> | ||
98 | <property name="Type">Action</property> | ||
99 | <property name="Label" translatable="yes">Shutdown gridserver only</property> | ||
100 | <property name="ShortLabel" translatable="yes">Shutdown gridserver only</property> | ||
101 | <property name="StockId">gtk-stop</property> | ||
102 | </action> | ||
103 | <action id="RestartGridserverOnly"> | ||
104 | <property name="Type">Action</property> | ||
105 | <property name="Label" translatable="yes">Restart gridserver only</property> | ||
106 | <property name="ShortLabel" translatable="yes">Restart gridserver only</property> | ||
107 | <property name="StockId">gtk-refresh</property> | ||
108 | </action> | ||
109 | <action id="DefaultLocalGridUserserver"> | ||
110 | <property name="Type">Action</property> | ||
111 | <property name="Label" translatable="yes">Default local grid userserver</property> | ||
112 | <property name="ShortLabel" translatable="yes">Default local grid userserver</property> | ||
113 | </action> | ||
114 | <action id="CustomUserserver"> | ||
115 | <property name="Type">Action</property> | ||
116 | <property name="Label" translatable="yes">Custom userserver...</property> | ||
117 | <property name="ShortLabel" translatable="yes">Custom userserver</property> | ||
118 | </action> | ||
119 | <action id="RemoteGridDefaultUserserver"> | ||
120 | <property name="Type">Action</property> | ||
121 | <property name="Label" translatable="yes">Remote grid default userserver...</property> | ||
122 | <property name="ShortLabel" translatable="yes">Remote grid default userserver</property> | ||
123 | </action> | ||
124 | <action id="DisconnectFromGridServer"> | ||
125 | <property name="Type">Action</property> | ||
126 | <property name="Label" translatable="yes">Disconnect from grid server</property> | ||
127 | <property name="ShortLabel" translatable="yes">Disconnect from grid server</property> | ||
128 | <property name="StockId">gtk-disconnect</property> | ||
129 | <property name="Visible">False</property> | ||
130 | </action> | ||
131 | <action id="UploadAsset"> | ||
132 | <property name="Type">Action</property> | ||
133 | <property name="Label" translatable="yes">Upload asset</property> | ||
134 | <property name="ShortLabel" translatable="yes">Upload asset</property> | ||
135 | </action> | ||
136 | <action id="AssetManagement"> | ||
137 | <property name="Type">Action</property> | ||
138 | <property name="Label" translatable="yes">Asset management</property> | ||
139 | <property name="ShortLabel" translatable="yes">Asset management</property> | ||
140 | </action> | ||
141 | <action id="ConnectToAssetServer"> | ||
142 | <property name="Type">Action</property> | ||
143 | <property name="Label" translatable="yes">Connect to asset server</property> | ||
144 | <property name="ShortLabel" translatable="yes">Connect to asset server</property> | ||
145 | </action> | ||
146 | <action id="ConnectToDefaultAssetServerForGrid"> | ||
147 | <property name="Type">Action</property> | ||
148 | <property name="Label" translatable="yes">Connect to default asset server for grid</property> | ||
149 | <property name="ShortLabel" translatable="yes">Connect to default asset server for grid</property> | ||
150 | </action> | ||
151 | <action id="DefaultForLocalGrid"> | ||
152 | <property name="Type">Action</property> | ||
153 | <property name="Label" translatable="yes">Default for local grid</property> | ||
154 | <property name="ShortLabel" translatable="yes">Default for local grid</property> | ||
155 | </action> | ||
156 | <action id="DefaultForRemoteGrid"> | ||
157 | <property name="Type">Action</property> | ||
158 | <property name="Label" translatable="yes">Default for remote grid...</property> | ||
159 | <property name="ShortLabel" translatable="yes">Default for remote grid...</property> | ||
160 | </action> | ||
161 | <action id="CustomAssetServer"> | ||
162 | <property name="Type">Action</property> | ||
163 | <property name="Label" translatable="yes">Custom asset server...</property> | ||
164 | <property name="ShortLabel" translatable="yes">Custom asset server...</property> | ||
165 | </action> | ||
166 | </action-group> | ||
167 | <property name="MemberName" /> | ||
168 | <property name="WidthRequest">600</property> | ||
169 | <property name="HeightRequest">800</property> | ||
170 | <property name="Title" translatable="yes">Open Grid Services Manager</property> | ||
171 | <signal name="DeleteEvent" handler="OnDeleteEvent" /> | ||
172 | <child> | ||
173 | <widget class="Gtk.VBox" id="vbox1"> | ||
174 | <property name="MemberName" /> | ||
175 | <child> | ||
176 | <widget class="Gtk.MenuBar" id="menubar2"> | ||
177 | <property name="MemberName" /> | ||
178 | <property name="HeightRequest">25</property> | ||
179 | <node name="menubar2" type="Menubar"> | ||
180 | <node type="Menu" action="Grid"> | ||
181 | <node type="Menuitem" action="ConnectToGridserver" /> | ||
182 | <node type="Menuitem" action="DisconnectFromGridServer" /> | ||
183 | <node type="Separator" /> | ||
184 | <node type="Menuitem" action="RestartWholeGrid" /> | ||
185 | <node type="Menuitem" action="RestartGridserverOnly" /> | ||
186 | <node type="Separator" /> | ||
187 | <node type="Menuitem" action="ShutdownWholeGrid" /> | ||
188 | <node type="Menuitem" action="ShutdownGridserverOnly" /> | ||
189 | <node type="Separator" /> | ||
190 | <node type="Menuitem" action="ExitGridManager" /> | ||
191 | </node> | ||
192 | <node type="Menu" action="User"> | ||
193 | <node type="Menu" action="ConnectToUserserver"> | ||
194 | <node type="Menuitem" action="DefaultLocalGridUserserver" /> | ||
195 | <node type="Menuitem" action="CustomUserserver" /> | ||
196 | <node type="Menuitem" action="RemoteGridDefaultUserserver" /> | ||
197 | </node> | ||
198 | <node type="Separator" /> | ||
199 | <node type="Menuitem" action="AccountManagment" /> | ||
200 | <node type="Menuitem" action="GlobalNotice" /> | ||
201 | <node type="Separator" /> | ||
202 | <node type="Menuitem" action="DisableAllLogins" /> | ||
203 | <node type="Menuitem" action="DisableNonGodUsersOnly" /> | ||
204 | <node type="Separator" /> | ||
205 | <node type="Menuitem" action="ShutdownUserServer" /> | ||
206 | </node> | ||
207 | <node type="Menu" action="Asset"> | ||
208 | <node type="Menuitem" action="UploadAsset" /> | ||
209 | <node type="Menuitem" action="AssetManagement" /> | ||
210 | <node type="Menu" action="ConnectToAssetServer"> | ||
211 | <node type="Menuitem" action="DefaultForLocalGrid" /> | ||
212 | <node type="Menuitem" action="DefaultForRemoteGrid" /> | ||
213 | <node type="Menuitem" action="CustomAssetServer" /> | ||
214 | </node> | ||
215 | </node> | ||
216 | <node type="Menu" action="Region" /> | ||
217 | <node type="Menu" action="Services" /> | ||
218 | </node> | ||
219 | </widget> | ||
220 | <packing> | ||
221 | <property name="Position">0</property> | ||
222 | <property name="AutoSize">False</property> | ||
223 | <property name="Expand">False</property> | ||
224 | <property name="Fill">False</property> | ||
225 | </packing> | ||
226 | </child> | ||
227 | <child> | ||
228 | <widget class="Gtk.HBox" id="hbox1"> | ||
229 | <property name="MemberName" /> | ||
230 | <child> | ||
231 | <placeholder /> | ||
232 | </child> | ||
233 | <child> | ||
234 | <widget class="Gtk.ScrolledWindow" id="scrolledwindow1"> | ||
235 | <property name="MemberName" /> | ||
236 | <property name="CanFocus">True</property> | ||
237 | <property name="VscrollbarPolicy">Automatic</property> | ||
238 | <property name="HscrollbarPolicy">Automatic</property> | ||
239 | <child> | ||
240 | <widget class="Gtk.Viewport" id="GtkViewport"> | ||
241 | <property name="MemberName" /> | ||
242 | <property name="ShadowType">None</property> | ||
243 | <child> | ||
244 | <widget class="Gtk.Table" id="table1"> | ||
245 | <property name="MemberName" /> | ||
246 | <property name="NRows">3</property> | ||
247 | <property name="NColumns">3</property> | ||
248 | <child> | ||
249 | <widget class="Gtk.Image" id="image1"> | ||
250 | <property name="MemberName" /> | ||
251 | </widget> | ||
252 | <packing> | ||
253 | <property name="AutoSize">True</property> | ||
254 | <property name="XOptions">Fill</property> | ||
255 | <property name="YOptions">Fill</property> | ||
256 | <property name="XExpand">False</property> | ||
257 | <property name="XFill">True</property> | ||
258 | <property name="XShrink">False</property> | ||
259 | <property name="YExpand">False</property> | ||
260 | <property name="YFill">True</property> | ||
261 | <property name="YShrink">False</property> | ||
262 | </packing> | ||
263 | </child> | ||
264 | <child> | ||
265 | <widget class="Gtk.Image" id="image2"> | ||
266 | <property name="MemberName" /> | ||
267 | </widget> | ||
268 | <packing> | ||
269 | <property name="LeftAttach">1</property> | ||
270 | <property name="RightAttach">2</property> | ||
271 | <property name="AutoSize">True</property> | ||
272 | <property name="XOptions">Fill</property> | ||
273 | <property name="YOptions">Fill</property> | ||
274 | <property name="XExpand">False</property> | ||
275 | <property name="XFill">True</property> | ||
276 | <property name="XShrink">False</property> | ||
277 | <property name="YExpand">False</property> | ||
278 | <property name="YFill">True</property> | ||
279 | <property name="YShrink">False</property> | ||
280 | </packing> | ||
281 | </child> | ||
282 | <child> | ||
283 | <widget class="Gtk.Image" id="image3"> | ||
284 | <property name="MemberName" /> | ||
285 | </widget> | ||
286 | <packing> | ||
287 | <property name="LeftAttach">2</property> | ||
288 | <property name="RightAttach">3</property> | ||
289 | <property name="AutoSize">True</property> | ||
290 | <property name="XOptions">Fill</property> | ||
291 | <property name="YOptions">Fill</property> | ||
292 | <property name="XExpand">False</property> | ||
293 | <property name="XFill">True</property> | ||
294 | <property name="XShrink">False</property> | ||
295 | <property name="YExpand">False</property> | ||
296 | <property name="YFill">True</property> | ||
297 | <property name="YShrink">False</property> | ||
298 | </packing> | ||
299 | </child> | ||
300 | <child> | ||
301 | <widget class="Gtk.Image" id="image4"> | ||
302 | <property name="MemberName" /> | ||
303 | </widget> | ||
304 | <packing> | ||
305 | <property name="TopAttach">1</property> | ||
306 | <property name="BottomAttach">2</property> | ||
307 | <property name="AutoSize">True</property> | ||
308 | <property name="XOptions">Fill</property> | ||
309 | <property name="YOptions">Fill</property> | ||
310 | <property name="XExpand">False</property> | ||
311 | <property name="XFill">True</property> | ||
312 | <property name="XShrink">False</property> | ||
313 | <property name="YExpand">False</property> | ||
314 | <property name="YFill">True</property> | ||
315 | <property name="YShrink">False</property> | ||
316 | </packing> | ||
317 | </child> | ||
318 | <child> | ||
319 | <widget class="Gtk.Image" id="image5"> | ||
320 | <property name="MemberName" /> | ||
321 | </widget> | ||
322 | <packing> | ||
323 | <property name="TopAttach">1</property> | ||
324 | <property name="BottomAttach">2</property> | ||
325 | <property name="LeftAttach">1</property> | ||
326 | <property name="RightAttach">2</property> | ||
327 | <property name="AutoSize">True</property> | ||
328 | <property name="XOptions">Fill</property> | ||
329 | <property name="YOptions">Fill</property> | ||
330 | <property name="XExpand">False</property> | ||
331 | <property name="XFill">True</property> | ||
332 | <property name="XShrink">False</property> | ||
333 | <property name="YExpand">False</property> | ||
334 | <property name="YFill">True</property> | ||
335 | <property name="YShrink">False</property> | ||
336 | </packing> | ||
337 | </child> | ||
338 | <child> | ||
339 | <widget class="Gtk.Image" id="image6"> | ||
340 | <property name="MemberName" /> | ||
341 | </widget> | ||
342 | <packing> | ||
343 | <property name="TopAttach">1</property> | ||
344 | <property name="BottomAttach">2</property> | ||
345 | <property name="LeftAttach">2</property> | ||
346 | <property name="RightAttach">3</property> | ||
347 | <property name="AutoSize">True</property> | ||
348 | <property name="XOptions">Fill</property> | ||
349 | <property name="YOptions">Fill</property> | ||
350 | <property name="XExpand">False</property> | ||
351 | <property name="XFill">True</property> | ||
352 | <property name="XShrink">False</property> | ||
353 | <property name="YExpand">False</property> | ||
354 | <property name="YFill">True</property> | ||
355 | <property name="YShrink">False</property> | ||
356 | </packing> | ||
357 | </child> | ||
358 | <child> | ||
359 | <widget class="Gtk.Image" id="image7"> | ||
360 | <property name="MemberName" /> | ||
361 | </widget> | ||
362 | <packing> | ||
363 | <property name="TopAttach">2</property> | ||
364 | <property name="BottomAttach">3</property> | ||
365 | <property name="AutoSize">True</property> | ||
366 | <property name="XOptions">Fill</property> | ||
367 | <property name="YOptions">Fill</property> | ||
368 | <property name="XExpand">False</property> | ||
369 | <property name="XFill">True</property> | ||
370 | <property name="XShrink">False</property> | ||
371 | <property name="YExpand">False</property> | ||
372 | <property name="YFill">True</property> | ||
373 | <property name="YShrink">False</property> | ||
374 | </packing> | ||
375 | </child> | ||
376 | <child> | ||
377 | <widget class="Gtk.Image" id="image8"> | ||
378 | <property name="MemberName" /> | ||
379 | </widget> | ||
380 | <packing> | ||
381 | <property name="TopAttach">2</property> | ||
382 | <property name="BottomAttach">3</property> | ||
383 | <property name="LeftAttach">1</property> | ||
384 | <property name="RightAttach">2</property> | ||
385 | <property name="AutoSize">True</property> | ||
386 | <property name="XOptions">Fill</property> | ||
387 | <property name="YOptions">Fill</property> | ||
388 | <property name="XExpand">False</property> | ||
389 | <property name="XFill">True</property> | ||
390 | <property name="XShrink">False</property> | ||
391 | <property name="YExpand">False</property> | ||
392 | <property name="YFill">True</property> | ||
393 | <property name="YShrink">False</property> | ||
394 | </packing> | ||
395 | </child> | ||
396 | <child> | ||
397 | <widget class="Gtk.Image" id="image9"> | ||
398 | <property name="MemberName" /> | ||
399 | </widget> | ||
400 | <packing> | ||
401 | <property name="TopAttach">2</property> | ||
402 | <property name="BottomAttach">3</property> | ||
403 | <property name="LeftAttach">2</property> | ||
404 | <property name="RightAttach">3</property> | ||
405 | <property name="AutoSize">True</property> | ||
406 | <property name="XOptions">Fill</property> | ||
407 | <property name="YOptions">Fill</property> | ||
408 | <property name="XExpand">False</property> | ||
409 | <property name="XFill">True</property> | ||
410 | <property name="XShrink">False</property> | ||
411 | <property name="YExpand">False</property> | ||
412 | <property name="YFill">True</property> | ||
413 | <property name="YShrink">False</property> | ||
414 | </packing> | ||
415 | </child> | ||
416 | </widget> | ||
417 | </child> | ||
418 | </widget> | ||
419 | </child> | ||
420 | </widget> | ||
421 | <packing> | ||
422 | <property name="Position">1</property> | ||
423 | <property name="AutoSize">True</property> | ||
424 | </packing> | ||
425 | </child> | ||
426 | <child> | ||
427 | <widget class="Gtk.TreeView" id="treeview1"> | ||
428 | <property name="MemberName" /> | ||
429 | <property name="CanFocus">True</property> | ||
430 | </widget> | ||
431 | <packing> | ||
432 | <property name="Position">2</property> | ||
433 | <property name="AutoSize">True</property> | ||
434 | </packing> | ||
435 | </child> | ||
436 | </widget> | ||
437 | <packing> | ||
438 | <property name="Position">1</property> | ||
439 | <property name="AutoSize">True</property> | ||
440 | </packing> | ||
441 | </child> | ||
442 | <child> | ||
443 | <widget class="Gtk.Statusbar" id="statusbar1"> | ||
444 | <property name="MemberName">statusBar1</property> | ||
445 | <property name="Spacing">5</property> | ||
446 | <child> | ||
447 | <placeholder /> | ||
448 | </child> | ||
449 | <child> | ||
450 | <placeholder /> | ||
451 | </child> | ||
452 | </widget> | ||
453 | <packing> | ||
454 | <property name="PackType">End</property> | ||
455 | <property name="Position">2</property> | ||
456 | <property name="AutoSize">False</property> | ||
457 | <property name="Expand">False</property> | ||
458 | <property name="Fill">False</property> | ||
459 | </packing> | ||
460 | </child> | ||
461 | </widget> | ||
462 | </child> | ||
463 | </widget> | ||
464 | <widget class="Gtk.Dialog" id="ConnectToGridServerDialog" design-size="476 107"> | ||
465 | <property name="MemberName" /> | ||
466 | <property name="Events">ButtonPressMask</property> | ||
467 | <property name="Title" translatable="yes">Connect to Grid server</property> | ||
468 | <property name="Buttons">2</property> | ||
469 | <property name="HelpButton">False</property> | ||
470 | <child internal-child="VBox"> | ||
471 | <widget class="Gtk.VBox" id="dialog_VBox"> | ||
472 | <property name="MemberName" /> | ||
473 | <property name="Events">ButtonPressMask</property> | ||
474 | <property name="BorderWidth">2</property> | ||
475 | <child> | ||
476 | <widget class="Gtk.VBox" id="vbox2"> | ||
477 | <property name="MemberName" /> | ||
478 | <child> | ||
479 | <widget class="Gtk.Label" id="label1"> | ||
480 | <property name="MemberName" /> | ||
481 | <property name="LabelProp" translatable="yes">Please type in the grid server IP/hostname and management interface port:</property> | ||
482 | <property name="Wrap">True</property> | ||
483 | <property name="Justify">Center</property> | ||
484 | </widget> | ||
485 | <packing> | ||
486 | <property name="Position">0</property> | ||
487 | <property name="AutoSize">True</property> | ||
488 | <property name="Expand">False</property> | ||
489 | <property name="Fill">False</property> | ||
490 | </packing> | ||
491 | </child> | ||
492 | <child> | ||
493 | <widget class="Gtk.Entry" id="entry1"> | ||
494 | <property name="MemberName" /> | ||
495 | <property name="CanFocus">True</property> | ||
496 | <property name="Text" translatable="yes">gridserver:8001</property> | ||
497 | <property name="IsEditable">True</property> | ||
498 | <property name="MaxLength">255</property> | ||
499 | <property name="InvisibleChar">•</property> | ||
500 | </widget> | ||
501 | <packing> | ||
502 | <property name="Position">1</property> | ||
503 | <property name="AutoSize">True</property> | ||
504 | <property name="Expand">False</property> | ||
505 | <property name="Fill">False</property> | ||
506 | </packing> | ||
507 | </child> | ||
508 | <child> | ||
509 | <placeholder /> | ||
510 | </child> | ||
511 | </widget> | ||
512 | <packing> | ||
513 | <property name="Position">0</property> | ||
514 | <property name="AutoSize">True</property> | ||
515 | </packing> | ||
516 | </child> | ||
517 | </widget> | ||
518 | </child> | ||
519 | <child internal-child="ActionArea"> | ||
520 | <widget class="Gtk.HButtonBox" id="OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea"> | ||
521 | <property name="MemberName" /> | ||
522 | <property name="Events">ButtonPressMask</property> | ||
523 | <property name="Spacing">6</property> | ||
524 | <property name="BorderWidth">5</property> | ||
525 | <property name="Size">2</property> | ||
526 | <property name="LayoutStyle">End</property> | ||
527 | <child> | ||
528 | <widget class="Gtk.Button" id="button2"> | ||
529 | <property name="MemberName" /> | ||
530 | <property name="CanDefault">True</property> | ||
531 | <property name="CanFocus">True</property> | ||
532 | <property name="Type">TextAndIcon</property> | ||
533 | <property name="Icon">stock:gtk-apply Menu</property> | ||
534 | <property name="Label" translatable="yes">Connect</property> | ||
535 | <property name="UseUnderline">True</property> | ||
536 | <property name="IsDialogButton">True</property> | ||
537 | <property name="ResponseId">0</property> | ||
538 | <signal name="Activated" handler="ConnectBtn" /> | ||
539 | </widget> | ||
540 | <packing> | ||
541 | <property name="Expand">False</property> | ||
542 | <property name="Fill">False</property> | ||
543 | </packing> | ||
544 | </child> | ||
545 | <child> | ||
546 | <widget class="Gtk.Button" id="button8"> | ||
547 | <property name="MemberName" /> | ||
548 | <property name="CanDefault">True</property> | ||
549 | <property name="CanFocus">True</property> | ||
550 | <property name="Type">TextAndIcon</property> | ||
551 | <property name="Icon">stock:gtk-cancel Menu</property> | ||
552 | <property name="Label" translatable="yes">Cancel</property> | ||
553 | <property name="UseUnderline">True</property> | ||
554 | <property name="IsDialogButton">True</property> | ||
555 | <property name="ResponseId">0</property> | ||
556 | <signal name="Activated" handler="CancelBtn" /> | ||
557 | </widget> | ||
558 | <packing> | ||
559 | <property name="Position">1</property> | ||
560 | <property name="Expand">False</property> | ||
561 | <property name="Fill">False</property> | ||
562 | </packing> | ||
563 | </child> | ||
564 | </widget> | ||
565 | </child> | ||
566 | </widget> | ||
567 | </stetic-interface> \ No newline at end of file | ||