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: | Should have programmatic option to remove Keymap "Show as HTML" | ||
---|---|---|---|
Product: | editor | Reporter: | tdanard |
Component: | Key bindings | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
tdanard
2015-06-19 23:03:55 UTC
My workaround has been to add the following modules to my app: "External Execution API" "External Execution Implementations" "External HTML Browser" re-assigning to proper component. Please evaluate. Thank you Adding a dependency on "IDE" modules came with their own issues. The solution I actually ended up using is to make the button invisible using reflection, and plugging my own options controller. Enhancement; I slightly improved URL generation, so it could work in your app. If not, you may use -J-Dorg.netbeans.modules.options.keymap.ExportShortcutsAction.disable=true to remove the button from the dialog layout. Implemented in jet-main#f2bb697b5054 Integrated into 'main-silver', will be available in build *201508050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f2bb697b5054 User: Svata Dedic <sdedic@netbeans.org> Log: #253085: URL changed to EXTERNAL using URLMapper since external browser is opened anyway. Show as HTML can be disabled by system property |