Opened 6 years ago
Closed 6 years ago
#18283 closed enhancement (fixed)
[PATCH] JOSM Remote Control handlers made by third parties should be able to register a preference
| Reported by: | taylor.smock | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 19.11 |
| Component: | Core remotecontrol | Version: | |
| Keywords: | plugin | Cc: |
Description
It would be nice for plugins that add a remote control action to be able to show a preference in Remote Control Preferences (to enable/disable it).
Attachments (1)
Change History (6)
by , 6 years ago
| Attachment: | 18283.patch added |
|---|
comment:1 by , 6 years ago
| Milestone: | → 19.11 |
|---|
comment:2 by , 6 years ago
Why did you change the order of static initializations? Also, why are the PermissionPrefWithDefault.addPermissionPref in the middle of addRequestHandlerClass calls, and not before or after?
comment:3 by , 6 years ago
I changed the order in order to keep the pre-existing order in the Permitted actions: section of the remote control preferences.
The keeping the pre-existing order of actions doesn't matter, then I can change the order to be more readable.



Don't hardcode PermissionPrefWithDefault values for getPermissionPrefs