Bug 36 - [Chameleon] XMLThemeLegend-> Collapsible tree menu legend ability
: [Chameleon] XMLThemeLegend-> Collapsible tree menu legend ability
Status: NEW
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P4 enhancement
: FUTURE
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2003-08-11 16:19 by
Modified: 2005-08-31 07:31 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-08-11 16:19:26
[Chameleon] XMLThemeLegend-> Collapsible tree menu legend ability

To make the XMLThemeLend widget complete, we should allow the XML file to define
a tree menu collapsible like legend, enabled parameter. 

Functionality Options:
----------------------
i) Where the legend could be configured to collapse groups to the theme level.
ii) Where the legend could be configured to collapse multiple themes from one
XML file.
iii) Eventually multiple XML files could potential be used different legend
sets. Like in the ContextSelector in Chameleon 1.0.
iv) There should also be another parameter that is defined in each individual
<theme>’s to defines the initial visual state of that theme. For example,
weather the theme is fully collapsed or not collapsed. 

v) Functionality Option (iv) could also be applied to <themes>’s for multiple
XML legend definitions.

This would give the users the most flexibility in defining their legend template.
------- Comment #1 From 2004-04-07 12:24:24 -------
I disagree with this.  The structure of the widget is sufficiently flexible to
enable the integration of a javascript-based menu system in the renderer file. 
Any attempt to provide a menuing system in the widget itself would likely only
satisfy the requirements of one project, others would want it to be different in
various ways that would require lots of changes.

Instead, one of the sample applications should demonstrate how the
XMLThemeLegend widget can be used to generate collapsible menus and then it is
up to the application designer to provide their own solution.

Assigning to Fred to incorporate an example in the sample templates, then to Jay
to implement.
------- Comment #2 From 2004-04-08 08:39:21 -------
updated version to 1.99
------- Comment #3 From 2004-04-14 10:35:42 -------
So you are saying that it is unrealistic to have an XMLThemeLegend parameter to
change the kind of XML Legend from non-collapsible to a Java script collapsible
tree menu? I think think this would be a good enhancement.
------- Comment #4 From 2004-04-14 14:41:02 -------
Paul, I agree with you completely, but chris I see your point.

We can produce many different kinds of javascript driven systems for navigating
layers in a mapfile, but they are as unique as any legend template (or in this
case renderer file)

Creating a sample app(s) with a tree like (or tab like) legend interface is a
cool idea.  That way you'll have the basic javascript you need (or at least a
really good start) to make really snazzy layer controls without bloating a
streamlined and flexible widget.
------- Comment #5 From 2004-06-24 10:32:41 -------
changing target to "-", since "1.99 beta release" is no longer valid.

Paul and Darren should decide at which point during the beta release cycle  this
should be resolved.
------- Comment #6 From 2004-07-05 14:34:56 -------
this has no target within my scope for releasing Chameleon, I do not believe
that it is essential.  If Fred has time, that's great, if not, it can come in
some later version AFAIC.
------- Comment #7 From 2004-07-07 17:11:13 -------
Changed target to 2.1.
------- Comment #8 From 2004-08-10 16:04:02 -------
Changed Target Milestone to FUTURE. (Enhancements may be moved from this target 
to specific "versioned" targets after product design review cycles.)
------- Comment #9 From 2005-08-30 11:28:55 -------
Was this implemented? can you confirm?
------- Comment #10 From 2005-08-31 07:31:39 -------
unfortunately not yet.