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.
Summary: | Proxy button in Tools->Plugins assumes "General" option is present | ||
---|---|---|---|
Product: | platform | Reporter: | tdanard |
Component: | Plugin Manager | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.1.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
tdanard
2012-07-11 20:44:41 UTC
Right. It's a correct using Options API - http://bits.netbeans.org/7.1.2/javadoc/org-netbeans-modules-options-api/org/netbeans/api/options/OptionsDisplayer.html#open(java.lang.String) File it as ENHANCEMENT against platform/Options&Settings if you need enhance this API for your application. The patch will be welcome. Thanks Reopened as enhancement request I worked around this issue by changing my registration to: <folder name="OptionsDialog"> <folder name="Advanced_hidden"/> <file name="Advanced.instance_hidden"/> <file name="General.instance"> <attr methodvalue="org.netbeans.spi.options.OptionsCategory.createCategory" name="instanceCreate"/> <attr name="controller" newvalue="org.netbeans.core.ui.options.general.GeneralOptionsPanelController"/> <attr stringvalue="Proxy" name="categoryName"/> <attr intvalue="300" name="position"/> <attr name="iconBase" stringvalue="com/something/ProxyOption.png"/> <attr stringvalue="Proxy" name="keywords"/> <attr name="keywordsCategory" stringvalue="Proxy"/> </file> <file name="Keymaps.instance_hidden"/> </folder> The only difference is that to open the "Proxy" options dialog, I have to call OptionsDisplayer.getDefault().open(OptionsDisplayer.GENERAL) instead of OptionsDisplayer.getDefault().open("Proxy") |