Bug 959 - LegendTemplate: need a more generic way to plugin new popups
: LegendTemplate: need a more generic way to plugin new popups
Status: NEW
: Chameleon
Widget
: 2.0
: PC Windows XP
: P2 normal
: ---
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-02-16 06:09 by
Modified: 2005-02-16 06:09 (History)


Attachments


Note

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


Description From 2005-02-16 06:09:51
The current mechanism for defining new popups which emerge from the
LegendTemplate requires changing the LegendTemplate.widget.php file.

We have added two popups to the LegendTemplate:

    var $moMetadataPopup;  // Popup object for Metadata dialog
    var $moScalesPopup;    // Popup object for Scales info

Could a more generic plugin mechanism be developed through which third-parties
can more easily plugin their popups to the LegendTemplate, without maintaining a
separate version of the widget?

Any thoughts on this?