Unix Technical Forum

SVN Commit by andreas: r4597 - in trunk/pgadmin3/src: dlg slony slony/include

This is a discussion on SVN Commit by andreas: r4597 - in trunk/pgadmin3/src: dlg slony slony/include within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> Author: andreas Date: 2005-10-23 16:48:48 +0100 (Sun, 23 Oct 2005) New Revision: 4597 Modified: trunk/pgadmin3/src/dlg/dlgProperty.cpp trunk/pgadmin3/src/slony/dlgRepCluster.cpp trunk/pgadmin3/src/slony/include/dlgRepCluster.h trunk/pgadmin3/src/slony/include/dlgRepListen.h trunk/pgadmin3/src/slony/include/dlgRepNode.h ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 06:38 PM
svn@pgadmin.org
 
Posts: n/a
Default SVN Commit by andreas: r4597 - in trunk/pgadmin3/src: dlg slony slony/include

Author: andreas
Date: 2005-10-23 16:48:48 +0100 (Sun, 23 Oct 2005)
New Revision: 4597

Modified:
trunk/pgadmin3/src/dlg/dlgProperty.cpp
trunk/pgadmin3/src/slony/dlgRepCluster.cpp
trunk/pgadmin3/src/slony/include/dlgRepCluster.h
trunk/pgadmin3/src/slony/include/dlgRepListen.h
trunk/pgadmin3/src/slony/include/dlgRepNode.h
trunk/pgadmin3/src/slony/include/dlgRepPath.h
trunk/pgadmin3/src/slony/include/dlgRepSequence.h
trunk/pgadmin3/src/slony/include/dlgRepSet.h
trunk/pgadmin3/src/slony/include/dlgRepSubscription.h
trunk/pgadmin3/src/slony/include/dlgRepTable.h
Log:
adding adding hooks


Modified: trunk/pgadmin3/src/dlg/dlgProperty.cpp
================================================== =================
--- trunk/pgadmin3/src/dlg/dlgProperty.cpp 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/dlg/dlgProperty.cpp 2005-10-23 15:48:48 UTC (rev 4597)
@@ -138,7 +138,7 @@
{
wxString page;

- pgObject *obj=0; //GetObject();
+ pgObject *obj=((dlgProperty*)this)->GetObject();
if (obj)
page=obj->GetHelpPage(false);
else

Modified: trunk/pgadmin3/src/slony/dlgRepCluster.cpp
================================================== =================
--- trunk/pgadmin3/src/slony/dlgRepCluster.cpp 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/slony/dlgRepCluster.cpp 2005-10-23 15:48:48 UTC (rev 4597)
@@ -226,6 +226,16 @@



+wxString dlgRepCluster::GetHelpPage() const
+{
+ wxString page=wxT("slony-install");
+ if (chkJoinCluster->GetValue())
+ page += wxT("#join");
+
+ return page;
+}
+
+
int dlgRepCluster::Go(bool modal)
{
chkJoinCluster->SetValue(false);

Modified: trunk/pgadmin3/src/slony/include/dlgRepCluster.h
================================================== =================
--- trunk/pgadmin3/src/slony/include/dlgRepCluster.h 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/slony/include/dlgRepCluster.h 2005-10-23 15:48:48 UTC (rev 4597)
@@ -52,6 +52,7 @@
public:
dlgRepCluster(pgaFactory *factory, frmMain *frame, slCluster *cl, pgDatabase *obj);
int Go(bool modal);
+ wxString GetHelpPage() const;

void CheckChange();
wxString GetSql();
@@ -80,7 +81,9 @@
public:
dlgRepClusterUpgrade(pgaFactory *factory, frmMain *frame, slCluster *cl);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-install#upgrade"); }

+
void CheckChange();
wxString GetSql();
pgObject *CreateObject(pgCollection *collection);

Modified: trunk/pgadmin3/src/slony/include/dlgRepListen.h
================================================== =================
--- trunk/pgadmin3/src/slony/include/dlgRepListen.h 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/slony/include/dlgRepListen.h 2005-10-23 15:48:48 UTC (rev 4597)
@@ -23,6 +23,7 @@
public:
dlgRepListen(pgaFactory *factory, frmMain *frame, slListen *l, slNode *n);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-path#listen"); }

void CheckChange();
wxString GetSql();

Modified: trunk/pgadmin3/src/slony/include/dlgRepNode.h
================================================== =================
--- trunk/pgadmin3/src/slony/include/dlgRepNode.h 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/slony/include/dlgRepNode.h 2005-10-23 15:48:48 UTC (rev 4597)
@@ -24,6 +24,7 @@
public:
dlgRepNode(pgaFactory *factory, frmMain *frame, slNode *node, slCluster *c);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-install#node"); }

void CheckChange();
wxString GetSql();

Modified: trunk/pgadmin3/src/slony/include/dlgRepPath.h
================================================== =================
--- trunk/pgadmin3/src/slony/include/dlgRepPath.h 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/slony/include/dlgRepPath.h 2005-10-23 15:48:48 UTC (rev 4597)
@@ -23,6 +23,7 @@
public:
dlgRepPath(pgaFactory *factory, frmMain *frame, slPath *p, slNode *n);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-path"); }

void CheckChange();
wxString GetSql();

Modified: trunk/pgadmin3/src/slony/include/dlgRepSequence.h
================================================== =================
--- trunk/pgadmin3/src/slony/include/dlgRepSequence.h 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/slony/include/dlgRepSequence.h 2005-10-23 15:48:48 UTC (rev 4597)
@@ -23,6 +23,7 @@
public:
dlgRepSequence(pgaFactory *factory, frmMain *frame, slSequence *tab, slSet *s);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-set#sequence"); }

void CheckChange();
wxString GetSql();

Modified: trunk/pgadmin3/src/slony/include/dlgRepSet.h
================================================== =================
--- trunk/pgadmin3/src/slony/include/dlgRepSet.h 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/slony/include/dlgRepSet.h 2005-10-23 15:48:48 UTC (rev 4597)
@@ -23,6 +23,7 @@
public:
dlgRepSet(pgaFactory *factory, frmMain *frame, slSet *set, slCluster *c);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-set"); }

void CheckChange();
wxString GetSql();
@@ -41,6 +42,7 @@
public:
dlgRepSetMerge(pgaFactory *factory, frmMain *frame, slSet *set);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-functions"); }

void CheckChange();
wxString GetSql();
@@ -58,6 +60,7 @@
public:
dlgRepSetMove(pgaFactory *f, frmMain *frame, slSet *set);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-functions"); }

void CheckChange();
wxString GetSql();

Modified: trunk/pgadmin3/src/slony/include/dlgRepSubscription.h
================================================== =================
--- trunk/pgadmin3/src/slony/include/dlgRepSubscription.h 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/slony/include/dlgRepSubscription.h 2005-10-23 15:48:48 UTC (rev 4597)
@@ -23,6 +23,7 @@
public:
dlgRepSubscription(pgaFactory *factory, frmMain *frame, slSubscription *sub, slSet *s);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-set#subscription"); }

void CheckChange();
wxString GetSql();

Modified: trunk/pgadmin3/src/slony/include/dlgRepTable.h
================================================== =================
--- trunk/pgadmin3/src/slony/include/dlgRepTable.h 2005-10-23 15:48:06 UTC (rev 4596)
+++ trunk/pgadmin3/src/slony/include/dlgRepTable.h 2005-10-23 15:48:48 UTC (rev 4597)
@@ -23,6 +23,7 @@
public:
dlgRepTable(pgaFactory *factory, frmMain *frame, slTable *tab, slSet *s);
int Go(bool modal);
+ wxString GetHelpPage() const { return wxT("slony-set#table"); }

void CheckChange();
wxString GetSql();


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com