Fixed tree nodes: to show full object prototype, and comment as tooltip.
authorjollytoad <jollytoad>
Wed, 9 Mar 2005 12:29:01 +0000 (12:29 +0000)
committerjollytoad <jollytoad>
Wed, 9 Mar 2005 12:29:01 +0000 (12:29 +0000)
aggregates.php
functions.php
opclasses.php
operators.php

index 7e626a08d3eebe08a1dccce311b932065c195384..11296a40ec08a57f5a5c4dcd46db60027b5dca3b 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage aggregates in a database
         *
-        * $Id: aggregates.php,v 1.10.4.1 2005/03/01 10:47:02 jollytoad Exp $
+        * $Id: aggregates.php,v 1.10.4.2 2005/03/09 12:29:01 jollytoad Exp $
         */
 
        // Include application functions
                
                $aggregates = &$data->getAggregates();
                
+               $proto = concat(field('proname'), ' (', field('proargtypes'), ')');
+               
                $actions = array(
                        'item' => array(
-                               'text'    => field('proname'),
+                               'text'    => $proto,
                                'icon'    => 'functions',
+                               'toolTip' => field('aggcomment'),
                        ),
                );
                
index 5ce8d1284a4198fef8bdf1cc32682efd6a2e163c..d2f892779170c1852a1ca581388c6b79ecff379f 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage functions in a database
         *
-        * $Id: functions.php,v 1.47.4.1 2005/03/01 10:47:03 jollytoad Exp $
+        * $Id: functions.php,v 1.47.4.2 2005/03/09 12:29:01 jollytoad Exp $
         */
 
        // Include application functions
                
                $funcs = &$data->getFunctions();
                
+               $proto = concat(field('proname'),' (',field('proarguments'),')');
+               
                $actions = array(
                        'item' => array(
-                               'text'    => field('proname'),
+                               'text'    => $proto,
                                'icon'    => 'functions',
+                               'toolTip' => field('procomment'),
                                'url'     => 'redirect.php',
                                'urlvars' => array(
                                                'subject' => 'function',
                                                'action' => 'properties',
-                                               'function' => field('proproto'),
+                                               'function' => $proto,
                                                'function_oid' => field('prooid'),
                                        ),
                        ),
index ebe297840d58dad23234f38859ee84e44080ce92..0845886a6867d2240a5cdc5f87932c5a38931b25 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage opclasss in a database
         *
-        * $Id: opclasses.php,v 1.6.4.1 2005/03/01 10:47:03 jollytoad Exp $
+        * $Id: opclasses.php,v 1.6.4.2 2005/03/09 12:29:01 jollytoad Exp $
         */
 
        // Include application functions
                
                $opclasses = &$data->getOpClasses();
                
+               // OpClass prototype: "op_class/access_method"
+               $proto = concat(field('opcname'),'/',field('amname'));
+               
                $actions = array(
                        'item' => array(
-                               'text'    => field('amname'),
+                               'text'    => $proto,
                                'icon'    => 'operators',
+                               'toolTip' => field('opccomment'),
                        ),
                );
                
index 06bfcf4870822fe57cd7e13abefb39f9a233afca..cd09fbb16570099a22cee70a02b43f829fa6c168 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage operators in a database
         *
-        * $Id: operators.php,v 1.17.4.1 2005/03/01 10:47:03 jollytoad Exp $
+        * $Id: operators.php,v 1.17.4.2 2005/03/09 12:29:01 jollytoad Exp $
         */
 
        // Include application functions
                
                $operators = &$data->getOperators();
                
+               // Operator prototype: "type operator type"
+               $proto = concat(field('oprleftname'), ' ', field('oprname'), ' ', field('oprrightname'));
+               
+               // Alternative prototype: "operator (type,type)"
+               #$proto = concat(field('oprname'), ' (', field('oprleftname','NONE'), ',', field('oprrightname','NONE'), ')');
+               
                $actions = array(
                        'item' => array(
-                               'text'    => field('oprname'),
+                               'text' => $proto,
                                'icon'    => 'operators',
+                               'toolTip' => field('oprcomment'),
                                'url'     => 'operators.php',
                                'urlvars' => array(
                                                'subject' => 'operator',
                                                'action'  => 'properties',
-                                               'operator' => field('oprname'),
+                                               'operator' => $proto,
                                                'operator_oid' => field('oid'),
                                        ),
                        ),