This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 14662 - Bad help mapping for [Property Editor:form position]
Summary: Bad help mapping for [Property Editor:form position]
Status: CLOSED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: All All
: P4 blocker (vote)
Assignee: Tomas Pavek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-22 10:51 UTC by Marian Mirilovic
Modified: 2003-06-30 18:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2001-08-22 10:51:10 UTC
[pilsen](010817)

There is a wrong mapping of Help in Property Editor : form position :
- open form (Frame)
- select top-component
- in Component Inspector select tab Code Generation
- select form position or form size and invoke Property Editor "..."
- there push "Help"

- > help with title "Finding Information About the IDE" will be shown instead
"Modifying Code Generation for a Form"
Comment 1 Patrick Keegan 2001-08-22 11:19:44 UTC
reassigned
Comment 2 Brenda Bowden 2001-11-22 00:29:52 UTC
Per the email below from Tomas Pavek, I'm reassigning this to the
owner of Form Editor.  It looks like two things should be done:

* Since specific help can't be assigned to these property editors,
  we should remove the Help button from the general dimensions 
  property editor. 

* Tooltips need to be updated for the form generation properties.
  Also, the properties need to use headline caps.  (For example,
  the property "form size" should be "Form Size".)

  I looked at the resource bundle and would have made these updates
  myself, but I can't tell in
  src/org/netbeans/modules/form/Bundle.properties
  what is the property and what is the tooltip.  It looks like 
  the same message string is being used for both?  I think I need 
  to let the engineers handle this one. 

Here are my suggested tooltips:

Form Position
  Sets the screen position where the form opens.
  
Form Size
  Sets the initial size of the form.
  
Form Size Policy
  Sets the policy for the generation of resize code.
  
Generate Center
  If True, generates code that positions the form at the center of the
screen.
  
Generate Position
  If True, generates code that positions the form as specified by the
Form Position property.
  
Generate Size
  If True, generates code that sets the size of the form as specified
by the Form Size property.
  
Menu Bar
  If your form has multiple menu bars, sets the menu bar to be
displayed.


>Hi Brenda,
>
>I'm afraid there's no way how to fix this. The MapID cannot be 
>set here
>because of using a *general* property editor for Dimension objects.
>So you can have a help describing how to enter dimensions, 
>but there's
>no mechanism how to attach a specific MapID for it (according to what
>the dimension is good for). This is possible only for specific
>(one-purpose)
>property editor classes (the MapID is defined in the source
>statically).
>
>I think it should be enough to have understandable tooltips for all
>the
>form "Code Generation" properties, which is however not the current
>state...
>I guess you can close the bug as WONTFIX, or probably better reassign
>it to
>Form Editor with the note about the tooltips (would be nice if you
>suggested
>some...).
>
>  - Tomas


Comment 3 Tomas Pavek 2001-11-22 16:18:05 UTC
Tooltips and property names done.
Comment 4 Marian Mirilovic 2001-11-23 09:38:29 UTC
verified in [nb_dev](20011123)
Comment 5 Brenda Bowden 2001-12-05 00:18:52 UTC
I am reopening this because we still need to get the Help button 
off of the dimensions property editor.  Since no real valuable help
can be displayed (see my Nov 21 comments), the Help button should
be removed.  

Should the bug be reassigned for this?

The tooltips and fixes to property names look great. Thanks!
Comment 6 Tomas Pavek 2001-12-05 10:27:15 UTC
Sorry, I forgot...

SO I've removed help map ID from DimensionCustomEditor, 
InsetsCustomEditor, PointCustomEditor and RectangleCustomEditor (in 
branch release33, it's too late for release330 now) which should hide 
the Help button. I guess you should remove mappings from help map 
file in usersguide module.
Comment 7 Marian Mirilovic 2001-12-06 12:37:43 UTC
verified in [nb_release33](200112060331)
Help button was removed from DimensionCustomEditor,
InsetsCustomEditor, PointCustomEditor and RectangleCustomEditor.
Comment 8 Quality Engineering 2003-06-30 18:31:34 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.