From a5aedc089671fa326285c590a7bdd6414d2ec5f3 Mon Sep 17 00:00:00 2001
From: Tedd Hansen
Date: Wed, 12 Sep 2007 13:27:04 +0000
Subject: GUI: Added placeholders + info on what to be done
---
OpenSim/Tools/OpenSim.GUI/Main.cs | 7 ++
OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj | 10 ++
.../Tools/OpenSim.GUI/frmConfiguration.Designer.cs | 61 ++++++++++
OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs | 18 +++
OpenSim/Tools/OpenSim.GUI/frmConfiguration.resx | 129 +++++++++++++++++++++
5 files changed, 225 insertions(+)
create mode 100644 OpenSim/Tools/OpenSim.GUI/frmConfiguration.Designer.cs
create mode 100644 OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs
create mode 100644 OpenSim/Tools/OpenSim.GUI/frmConfiguration.resx
(limited to 'OpenSim')
diff --git a/OpenSim/Tools/OpenSim.GUI/Main.cs b/OpenSim/Tools/OpenSim.GUI/Main.cs
index fb2cdae..611ddd9 100644
--- a/OpenSim/Tools/OpenSim.GUI/Main.cs
+++ b/OpenSim/Tools/OpenSim.GUI/Main.cs
@@ -92,6 +92,13 @@ namespace OpenSim.GUI
private void btnStart_Click(object sender, EventArgs e)
{
+
+ //
+ // THIS PART NEEDS TO BE MOVED TO A SEPARATE THREAD OR A TIMER OF SOME SORT
+ // should not block on wait
+ // ALSO - IF SOME SERVICES ARE NOT CONFIGURED, POP UP CONFIGURATION BOX FOR THAT SERVICE!
+ //
+
btnStart.Enabled = false;
btnStop.Enabled = false;
diff --git a/OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj b/OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj
index 5228b2b..7ac4290 100644
--- a/OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj
+++ b/OpenSim/Tools/OpenSim.GUI/OpenSim.GUI.csproj
@@ -36,6 +36,12 @@
+
+ Form
+
+
+ frmConfiguration.cs
+
Component
@@ -50,6 +56,10 @@
+
+ Designer
+ frmConfiguration.cs
+
Designer
Main.cs
diff --git a/OpenSim/Tools/OpenSim.GUI/frmConfiguration.Designer.cs b/OpenSim/Tools/OpenSim.GUI/frmConfiguration.Designer.cs
new file mode 100644
index 0000000..1777fbc
--- /dev/null
+++ b/OpenSim/Tools/OpenSim.GUI/frmConfiguration.Designer.cs
@@ -0,0 +1,61 @@
+namespace OpenSim.GUI
+{
+ partial class frmConfiguration
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmConfiguration));
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.SuspendLayout();
+ //
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(12, 12);
+ this.textBox1.Multiline = true;
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(570, 190);
+ this.textBox1.TabIndex = 0;
+ this.textBox1.Text = resources.GetString("textBox1.Text");
+ //
+ // frmConfiguration
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(664, 413);
+ this.Controls.Add(this.textBox1);
+ this.Name = "frmConfiguration";
+ this.Text = "Configuration";
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TextBox textBox1;
+ }
+}
\ No newline at end of file
diff --git a/OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs b/OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs
new file mode 100644
index 0000000..9acf305
--- /dev/null
+++ b/OpenSim/Tools/OpenSim.GUI/frmConfiguration.cs
@@ -0,0 +1,18 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+
+namespace OpenSim.GUI
+{
+ public partial class frmConfiguration : Form
+ {
+ public frmConfiguration()
+ {
+ InitializeComponent();
+ }
+ }
+}
\ No newline at end of file
diff --git a/OpenSim/Tools/OpenSim.GUI/frmConfiguration.resx b/OpenSim/Tools/OpenSim.GUI/frmConfiguration.resx
new file mode 100644
index 0000000..2002e68
--- /dev/null
+++ b/OpenSim/Tools/OpenSim.GUI/frmConfiguration.resx
@@ -0,0 +1,129 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ What I want here:
+* Region configuration add/disable/modify)
+* OpenSim config: what physics/sql/scriptengine modules
+* Configuration for each of the servers
+* An option of what parts the server will run: "Stand Alone, Grid region, Grid Server, Custom"
+Custom = you can enable/disable one or more services, for example if you only run AssetServer on this machine.
+* User manager (add/remove/lockout/modify) -- maybe a separate form for this?
+
+
\ No newline at end of file
--
cgit v1.1