diff options
author | jollytoad | 2005-03-09 12:29:01 +0000 |
---|---|---|
committer | jollytoad | 2005-03-09 12:29:01 +0000 |
commit | 2812fb9536ff814c9895dc703eab392adfb89cc2 (patch) | |
tree | 01d391718fffd995521b47fbfaa2f733535b6ac7 | |
parent | 9761e868d34acbc08fb4a40558399e3869687300 (diff) |
Fixed tree nodes: to show full object prototype, and comment as tooltip.
-rw-r--r-- | aggregates.php | 7 | ||||
-rw-r--r-- | functions.php | 9 | ||||
-rw-r--r-- | opclasses.php | 8 | ||||
-rw-r--r-- | operators.php | 13 |
4 files changed, 27 insertions, 10 deletions
diff --git a/aggregates.php b/aggregates.php index 7e626a08..11296a40 100644 --- a/aggregates.php +++ b/aggregates.php @@ -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 @@ -54,10 +54,13 @@ $aggregates = &$data->getAggregates(); + $proto = concat(field('proname'), ' (', field('proargtypes'), ')'); + $actions = array( 'item' => array( - 'text' => field('proname'), + 'text' => $proto, 'icon' => 'functions', + 'toolTip' => field('aggcomment'), ), ); diff --git a/functions.php b/functions.php index 5ce8d128..d2f89277 100644 --- a/functions.php +++ b/functions.php @@ -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 @@ -538,15 +538,18 @@ $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'), ), ), diff --git a/opclasses.php b/opclasses.php index ebe29784..0845886a 100644 --- a/opclasses.php +++ b/opclasses.php @@ -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 @@ -62,10 +62,14 @@ $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'), ), ); diff --git a/operators.php b/operators.php index 06bfcf48..cd09fbb1 100644 --- a/operators.php +++ b/operators.php @@ -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 @@ -164,15 +164,22 @@ $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'), ), ), |