protected void OnAddConnection ()
		{
			DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog ();
			if (dlg.Run () == (int)ResponseType.Ok)
				ConnectionContextService.AddDatabaseConnectionContext (dlg.ConnectionSettings);
			dlg.Destroy ();
		}
		protected void OnEditConnection ()
		{
			DatabaseConnectionContext context = (DatabaseConnectionContext) CurrentNode.DataItem;
			DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog (context.ConnectionSettings);

			if (dlg.Run () == (int)ResponseType.Ok) {
				ConnectionContextService.EditDatabaseConnectionContext (context);
				OnRefreshConnection ();
			}
			dlg.Destroy ();
		}
		protected virtual void NewClicked (object sender, System.EventArgs e)
		{
			DatabaseConnectionSettingsDialog dlg = new DatabaseConnectionSettingsDialog (true);
			if (dlg.Run () == (int)ResponseType.Ok) {
				DatabaseConnectionContext context = new DatabaseConnectionContext (dlg.ConnectionSettings, true);
				context.IsTemporary = true;
				comboConnections.AddDatabaseConnectionContext (context);
				comboConnections.DatabaseConnection = context;
			}
		}