aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs')
-rw-r--r--OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs250
1 files changed, 0 insertions, 250 deletions
diff --git a/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs
deleted file mode 100644
index 0476081..0000000
--- a/OpenSim/Grid/Manager/OpenGridServices.Manager/gtk-gui/OpenGridServices.Manager.MainWindow.cs
+++ /dev/null
@@ -1,250 +0,0 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSimulator Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28// ------------------------------------------------------------------------------
29// <autogenerated>
30// This code was generated by a tool.
31// Mono Runtime Version: 2.0.50727.42
32//
33// Changes to this file may cause incorrect behavior and will be lost if
34// the code is regenerated.
35// </autogenerated>
36// ------------------------------------------------------------------------------
37
38namespace OpenGridServices.Manager
39{
40 public partial class MainWindow
41 {
42 private Gtk.Action Grid;
43 private Gtk.Action User;
44 private Gtk.Action Asset;
45 private Gtk.Action Region;
46 private Gtk.Action Services;
47 private Gtk.Action ConnectToGridserver;
48 private Gtk.Action RestartWholeGrid;
49 private Gtk.Action ShutdownWholeGrid;
50 private Gtk.Action ExitGridManager;
51 private Gtk.Action ConnectToUserserver;
52 private Gtk.Action AccountManagment;
53 private Gtk.Action GlobalNotice;
54 private Gtk.Action DisableAllLogins;
55 private Gtk.Action DisableNonGodUsersOnly;
56 private Gtk.Action ShutdownUserServer;
57 private Gtk.Action ShutdownGridserverOnly;
58 private Gtk.Action RestartGridserverOnly;
59 private Gtk.Action DefaultLocalGridUserserver;
60 private Gtk.Action CustomUserserver;
61 private Gtk.Action RemoteGridDefaultUserserver;
62 private Gtk.Action DisconnectFromGridServer;
63 private Gtk.Action UploadAsset;
64 private Gtk.Action AssetManagement;
65 private Gtk.Action ConnectToAssetServer;
66 private Gtk.Action ConnectToDefaultAssetServerForGrid;
67 private Gtk.Action DefaultForLocalGrid;
68 private Gtk.Action DefaultForRemoteGrid;
69 private Gtk.Action CustomAssetServer;
70 private Gtk.VBox vbox1;
71 private Gtk.MenuBar menubar2;
72 private Gtk.HBox hbox1;
73 private Gtk.ScrolledWindow scrolledwindow1;
74 private Gtk.DrawingArea drawingarea1;
75 private Gtk.TreeView treeview1;
76 private Gtk.Statusbar statusbar1;
77
78 protected virtual void Build()
79 {
80 Stetic.Gui.Initialize();
81 // Widget OpenGridServices.Manager.MainWindow
82 Gtk.UIManager w1 = new Gtk.UIManager();
83 Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
84 this.Grid = new Gtk.Action("Grid", Mono.Unix.Catalog.GetString("Grid"), null, null);
85 this.Grid.HideIfEmpty = false;
86 this.Grid.ShortLabel = Mono.Unix.Catalog.GetString("Grid");
87 w2.Add(this.Grid, "<Alt><Mod2>g");
88 this.User = new Gtk.Action("User", Mono.Unix.Catalog.GetString("User"), null, null);
89 this.User.HideIfEmpty = false;
90 this.User.ShortLabel = Mono.Unix.Catalog.GetString("User");
91 w2.Add(this.User, null);
92 this.Asset = new Gtk.Action("Asset", Mono.Unix.Catalog.GetString("Asset"), null, null);
93 this.Asset.HideIfEmpty = false;
94 this.Asset.ShortLabel = Mono.Unix.Catalog.GetString("Asset");
95 w2.Add(this.Asset, null);
96 this.Region = new Gtk.Action("Region", Mono.Unix.Catalog.GetString("Region"), null, null);
97 this.Region.ShortLabel = Mono.Unix.Catalog.GetString("Region");
98 w2.Add(this.Region, null);
99 this.Services = new Gtk.Action("Services", Mono.Unix.Catalog.GetString("Services"), null, null);
100 this.Services.ShortLabel = Mono.Unix.Catalog.GetString("Services");
101 w2.Add(this.Services, null);
102 this.ConnectToGridserver = new Gtk.Action("ConnectToGridserver", Mono.Unix.Catalog.GetString("Connect to gridserver..."), null, "gtk-connect");
103 this.ConnectToGridserver.HideIfEmpty = false;
104 this.ConnectToGridserver.ShortLabel = Mono.Unix.Catalog.GetString("Connect to gridserver");
105 w2.Add(this.ConnectToGridserver, null);
106 this.RestartWholeGrid = new Gtk.Action("RestartWholeGrid", Mono.Unix.Catalog.GetString("Restart whole grid"), null, "gtk-refresh");
107 this.RestartWholeGrid.ShortLabel = Mono.Unix.Catalog.GetString("Restart whole grid");
108 w2.Add(this.RestartWholeGrid, null);
109 this.ShutdownWholeGrid = new Gtk.Action("ShutdownWholeGrid", Mono.Unix.Catalog.GetString("Shutdown whole grid"), null, "gtk-stop");
110 this.ShutdownWholeGrid.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown whole grid");
111 w2.Add(this.ShutdownWholeGrid, null);
112 this.ExitGridManager = new Gtk.Action("ExitGridManager", Mono.Unix.Catalog.GetString("Exit grid manager"), null, "gtk-close");
113 this.ExitGridManager.ShortLabel = Mono.Unix.Catalog.GetString("Exit grid manager");
114 w2.Add(this.ExitGridManager, null);
115 this.ConnectToUserserver = new Gtk.Action("ConnectToUserserver", Mono.Unix.Catalog.GetString("Connect to userserver"), null, "gtk-connect");
116 this.ConnectToUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Connect to userserver");
117 w2.Add(this.ConnectToUserserver, null);
118 this.AccountManagment = new Gtk.Action("AccountManagment", Mono.Unix.Catalog.GetString("Account managment"), null, "gtk-properties");
119 this.AccountManagment.ShortLabel = Mono.Unix.Catalog.GetString("Account managment");
120 w2.Add(this.AccountManagment, null);
121 this.GlobalNotice = new Gtk.Action("GlobalNotice", Mono.Unix.Catalog.GetString("Global notice"), null, "gtk-network");
122 this.GlobalNotice.ShortLabel = Mono.Unix.Catalog.GetString("Global notice");
123 w2.Add(this.GlobalNotice, null);
124 this.DisableAllLogins = new Gtk.Action("DisableAllLogins", Mono.Unix.Catalog.GetString("Disable all logins"), null, "gtk-no");
125 this.DisableAllLogins.ShortLabel = Mono.Unix.Catalog.GetString("Disable all logins");
126 w2.Add(this.DisableAllLogins, null);
127 this.DisableNonGodUsersOnly = new Gtk.Action("DisableNonGodUsersOnly", Mono.Unix.Catalog.GetString("Disable non-god users only"), null, "gtk-no");
128 this.DisableNonGodUsersOnly.ShortLabel = Mono.Unix.Catalog.GetString("Disable non-god users only");
129 w2.Add(this.DisableNonGodUsersOnly, null);
130 this.ShutdownUserServer = new Gtk.Action("ShutdownUserServer", Mono.Unix.Catalog.GetString("Shutdown user server"), null, "gtk-stop");
131 this.ShutdownUserServer.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown user server");
132 w2.Add(this.ShutdownUserServer, null);
133 this.ShutdownGridserverOnly = new Gtk.Action("ShutdownGridserverOnly", Mono.Unix.Catalog.GetString("Shutdown gridserver only"), null, "gtk-stop");
134 this.ShutdownGridserverOnly.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown gridserver only");
135 w2.Add(this.ShutdownGridserverOnly, null);
136 this.RestartGridserverOnly = new Gtk.Action("RestartGridserverOnly", Mono.Unix.Catalog.GetString("Restart gridserver only"), null, "gtk-refresh");
137 this.RestartGridserverOnly.ShortLabel = Mono.Unix.Catalog.GetString("Restart gridserver only");
138 w2.Add(this.RestartGridserverOnly, null);
139 this.DefaultLocalGridUserserver = new Gtk.Action("DefaultLocalGridUserserver", Mono.Unix.Catalog.GetString("Default local grid userserver"), null, null);
140 this.DefaultLocalGridUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Default local grid userserver");
141 w2.Add(this.DefaultLocalGridUserserver, null);
142 this.CustomUserserver = new Gtk.Action("CustomUserserver", Mono.Unix.Catalog.GetString("Custom userserver..."), null, null);
143 this.CustomUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Custom userserver");
144 w2.Add(this.CustomUserserver, null);
145 this.RemoteGridDefaultUserserver = new Gtk.Action("RemoteGridDefaultUserserver", Mono.Unix.Catalog.GetString("Remote grid default userserver..."), null, null);
146 this.RemoteGridDefaultUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Remote grid default userserver");
147 w2.Add(this.RemoteGridDefaultUserserver, null);
148 this.DisconnectFromGridServer = new Gtk.Action("DisconnectFromGridServer", Mono.Unix.Catalog.GetString("Disconnect from grid server"), null, "gtk-disconnect");
149 this.DisconnectFromGridServer.ShortLabel = Mono.Unix.Catalog.GetString("Disconnect from grid server");
150 this.DisconnectFromGridServer.Visible = false;
151 w2.Add(this.DisconnectFromGridServer, null);
152 this.UploadAsset = new Gtk.Action("UploadAsset", Mono.Unix.Catalog.GetString("Upload asset"), null, null);
153 this.UploadAsset.ShortLabel = Mono.Unix.Catalog.GetString("Upload asset");
154 w2.Add(this.UploadAsset, null);
155 this.AssetManagement = new Gtk.Action("AssetManagement", Mono.Unix.Catalog.GetString("Asset management"), null, null);
156 this.AssetManagement.ShortLabel = Mono.Unix.Catalog.GetString("Asset management");
157 w2.Add(this.AssetManagement, null);
158 this.ConnectToAssetServer = new Gtk.Action("ConnectToAssetServer", Mono.Unix.Catalog.GetString("Connect to asset server"), null, null);
159 this.ConnectToAssetServer.ShortLabel = Mono.Unix.Catalog.GetString("Connect to asset server");
160 w2.Add(this.ConnectToAssetServer, null);
161 this.ConnectToDefaultAssetServerForGrid = new Gtk.Action("ConnectToDefaultAssetServerForGrid", Mono.Unix.Catalog.GetString("Connect to default asset server for grid"), null, null);
162 this.ConnectToDefaultAssetServerForGrid.ShortLabel = Mono.Unix.Catalog.GetString("Connect to default asset server for grid");
163 w2.Add(this.ConnectToDefaultAssetServerForGrid, null);
164 this.DefaultForLocalGrid = new Gtk.Action("DefaultForLocalGrid", Mono.Unix.Catalog.GetString("Default for local grid"), null, null);
165 this.DefaultForLocalGrid.ShortLabel = Mono.Unix.Catalog.GetString("Default for local grid");
166 w2.Add(this.DefaultForLocalGrid, null);
167 this.DefaultForRemoteGrid = new Gtk.Action("DefaultForRemoteGrid", Mono.Unix.Catalog.GetString("Default for remote grid..."), null, null);
168 this.DefaultForRemoteGrid.ShortLabel = Mono.Unix.Catalog.GetString("Default for remote grid...");
169 w2.Add(this.DefaultForRemoteGrid, null);
170 this.CustomAssetServer = new Gtk.Action("CustomAssetServer", Mono.Unix.Catalog.GetString("Custom asset server..."), null, null);
171 this.CustomAssetServer.ShortLabel = Mono.Unix.Catalog.GetString("Custom asset server...");
172 w2.Add(this.CustomAssetServer, null);
173 w1.InsertActionGroup(w2, 0);
174 this.AddAccelGroup(w1.AccelGroup);
175 this.WidthRequest = 800;
176 this.HeightRequest = 600;
177 this.Name = "OpenGridServices.Manager.MainWindow";
178 this.Title = Mono.Unix.Catalog.GetString("Open Grid Services Manager");
179 this.Icon = Gtk.IconTheme.Default.LoadIcon("gtk-network", 48, 0);
180 // Container child OpenGridServices.Manager.MainWindow.Gtk.Container+ContainerChild
181 this.vbox1 = new Gtk.VBox();
182 this.vbox1.Name = "vbox1";
183 // Container child vbox1.Gtk.Box+BoxChild
184 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>");
185 this.menubar2 = ((Gtk.MenuBar)(w1.GetWidget("/menubar2")));
186 this.menubar2.HeightRequest = 25;
187 this.menubar2.Name = "menubar2";
188 this.vbox1.Add(this.menubar2);
189 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar2]));
190 w3.Position = 0;
191 w3.Expand = false;
192 w3.Fill = false;
193 // Container child vbox1.Gtk.Box+BoxChild
194 this.hbox1 = new Gtk.HBox();
195 this.hbox1.Name = "hbox1";
196 // Container child hbox1.Gtk.Box+BoxChild
197 this.scrolledwindow1 = new Gtk.ScrolledWindow();
198 this.scrolledwindow1.CanFocus = true;
199 this.scrolledwindow1.Name = "scrolledwindow1";
200 this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1));
201 this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1));
202 // Container child scrolledwindow1.Gtk.Container+ContainerChild
203 Gtk.Viewport w4 = new Gtk.Viewport();
204 w4.Name = "GtkViewport";
205 w4.ShadowType = ((Gtk.ShadowType)(0));
206 // Container child GtkViewport.Gtk.Container+ContainerChild
207 this.drawingarea1 = new Gtk.DrawingArea();
208 this.drawingarea1.Name = "drawingarea1";
209 w4.Add(this.drawingarea1);
210 this.scrolledwindow1.Add(w4);
211 this.hbox1.Add(this.scrolledwindow1);
212 Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1]));
213 w7.Position = 1;
214 // Container child hbox1.Gtk.Box+BoxChild
215 this.treeview1 = new Gtk.TreeView();
216 this.treeview1.CanFocus = true;
217 this.treeview1.Name = "treeview1";
218 this.hbox1.Add(this.treeview1);
219 Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox1[this.treeview1]));
220 w8.Position = 2;
221 this.vbox1.Add(this.hbox1);
222 Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
223 w9.Position = 1;
224 // Container child vbox1.Gtk.Box+BoxChild
225 this.statusbar1 = new Gtk.Statusbar();
226 this.statusbar1.Name = "statusbar1";
227 this.statusbar1.Spacing = 5;
228 this.vbox1.Add(this.statusbar1);
229 Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
230 w10.PackType = ((Gtk.PackType)(1));
231 w10.Position = 2;
232 w10.Expand = false;
233 w10.Fill = false;
234 this.Add(this.vbox1);
235 if (this.Child != null)
236 {
237 this.Child.ShowAll();
238 }
239 this.DefaultWidth = 800;
240 this.DefaultHeight = 800;
241 this.Show();
242 this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
243 this.ConnectToGridserver.Activated += new System.EventHandler(this.ConnectToGridServerMenu);
244 this.ExitGridManager.Activated += new System.EventHandler(this.QuitMenu);
245 this.ShutdownGridserverOnly.Activated += new System.EventHandler(this.ShutdownGridserverMenu);
246 this.RestartGridserverOnly.Activated += new System.EventHandler(this.RestartGridserverMenu);
247 this.DisconnectFromGridServer.Activated += new System.EventHandler(this.DisconnectGridServerMenu);
248 }
249 }
250}