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 56836 - Help not mapped for individual print settings
Summary: Help not mapped for individual print settings
Status: CLOSED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: Editor (show other bugs)
Version: 4.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 09:43 UTC by Roman Strobl
Modified: 2007-11-05 13:39 UTC (History)
1 user (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 Roman Strobl 2005-03-23 09:43:05 UTC
[NetBeans 200503221900; JDS R3; JDK 1.5.0_02]

None of the settings under the Print Settings node in Tools->Options have mapped
help for them. Only the main Print Settings node has help mapped correctly.
Perhaps we should point to the help page "Setting Fonts and Colors in the Source
Editor" for all children of Print Settings.
Comment 1 Martin Roskanin 2005-03-23 10:09:07 UTC
In the main Print Settings node, the help already contains info about setting
Fonts and Colors... I would simply bind the all children of Print Settings to
"Setting Fonts and Colors in the Source
Editor" directly as Roman suggested. Patrick, what do you think? Is it sufficient?
Comment 2 Patrick Keegan 2005-03-23 15:12:30 UTC
Sounds right to me. I'll have a look
Comment 3 Patrick Keegan 2005-03-23 16:02:18 UTC
Switching back to editor. I just looked at the ID used, and it's
org.openide.options.SystemOption for both the nodes for each editor types and
also for their property sheets. We need a better ID, since
org.openide.options.SystemOption is used for lots of different options, not just
printing ones
Comment 4 Martin Roskanin 2005-03-24 14:06:31 UTC
partially fixed in [maintrunk]

Patrick, I have a question. I have added help IDs to fonts and colors
customizer. I used a value used in help documents - "editing.fontsandcolor"
Help button appeared in Fonts And Color Customizer. 
However, still there is no help bound to Print Settings. I mean this (?) mark.
If you open options/IDE Configuration/System/Print Settings/java Editor/ and
select Print Fonts and Colors in the right property panel a label next to (?)
changed to "Print Fonts and Colors" and its tooltip but (?) is still not context
sensitive. <b>Where to declare ID for that (?) mark?</b> 

I looked at Standard Editor Settings. Source Editor properties page is display
after clicking (?) mark, if some of the editor or its property in right panel is
selected. The ID of this page is "editing.editor-props", but I haven't found its
declaration in any java file all over the IDE, so I assume this needs to be
declared somewhere in usersguide module?

/cvs/editor/src/org/netbeans/modules/editor/options/ColoringArrayEditor.java,v 
<--  ColoringArrayEditor.java
new revision: 1.22; previous revision: 1.21

/cvs/editor/src/org/netbeans/modules/editor/options/ColoringEditor.java,v  <-- 
ColoringEditor.java
new revision: 1.18; previous revision: 1.17

Comment 5 Patrick Keegan 2005-03-24 16:58:32 UTC
I think you would need to set the IDE on the child nodes for Print Settings. The
ID for the fonts and colors works only for the prop editor, not for the prop sheet. 
Comment 6 Martin Roskanin 2005-03-30 13:42:11 UTC
fixed in [maintrunk]

"editing.printing" ID was removed due to issue #54893 and causes that there was
no valid ID for the node

/cvs/editor/src/org/netbeans/modules/editor/options/BasePrintOptions.java,v  <--
 BasePrintOptions.java
new revision: 1.32; previous revision: 1.31

Comment 7 Martin Roskanin 2005-03-30 13:43:00 UTC
Patrick, thanks for the help
Comment 8 Patrick Keegan 2005-03-30 16:27:12 UTC
verified in continuous build 20050330-1422