Bug 377 - [Chameleon] Widget Names should not be <CWC2 Type=*Widget...
: [Chameleon] Widget Names should not be <CWC2 Type=*Widget...
Status: RESOLVED FIXED
: Chameleon
Widget
: 1.99
: PC Windows 2000
: P2 normal
: 1.99 beta 4
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-05-10 15:10 by
Modified: 2004-12-02 21:29 (History)


Attachments


Note

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


Description From 2004-05-10 15:10:25
To follow proper naming conventions. Widget names should not have the word
widget in there name.

The only widget that could have the word widget in its name is the CWCWidget,
since it is used as a developers tool to create new widgets.

Here are a list of widget names that could be changed:

MapDHTMLWidget -> MapDHTML
PrintWidget -> PrintPopup
HelpWidget -> HelpPopup
------- Comment #1 From 2004-05-20 22:19:52 -------
do we have a formal set of naming conventions :)

I agree with the MapDHTML and PrintPopup changes, but the HelpWidget is not
actually a Popup, it just displays the help text for a particular widget at the
location in the template that you put it.

There are likely other widgets that should have their name changed.

I propose that the product group does a thorough review of all the widget names,
if we are going to change any then I'd like it to be soon because it will break
existing applications.
------- Comment #2 From 2004-05-21 10:10:27 -------
Set Target Milestone to 1.99 RC
------- Comment #3 From 2004-11-03 15:19:47 -------
accepted - but we need a mechanism for supporting deprecated widget names
through several versions.  Suggestion is to silently ignore in current version,
warn in next version and throw error in subsequent versions.

------- Comment #4 From 2004-11-11 22:14:25 -------
MapDHTML was covered in bug 632.  HelpWidget is no longer applicable
(EmbeddedHelp).  For PrintWidget, I would like to find a different name.  I am
thinking of MapProduction ... any problems with this?
------- Comment #5 From 2004-11-12 08:26:37 -------
That sounds good for me.
------- Comment #6 From 2004-11-16 11:08:49 -------
completed by renaming PrintWidget to PrintProduction.