Title: Support widget groups to resolve #310 by karlduderstadt · Pull Request #428 · scijava/scijava-common · GitHub
Open Graph Title: Support widget groups to resolve #310 by karlduderstadt · Pull Request #428 · scijava/scijava-common
X Title: Support widget groups to resolve #310 by karlduderstadt · Pull Request #428 · scijava/scijava-common
Description: This adds support for widget groups by adding ItemVisibility.GROUP and Parameter annotations group and expanded as well as all related implementations to interfaces and default classes. Intended use is for the value of String Parameters with visibility GROUP to be used to create group labels. All Parameters with a matching group annotation to that value will be added to the widget group. The expanded annotation controls whether the parameters group are showing or not. @Parameter(visibility = ItemVisibility.GROUP) private String basic = "basic"; @Parameter(group = "basic", label = "Number of ducks") private int duckCount = 1; @Parameter(visibility = ItemVisibility.GROUP, expanded = false) private String advanced = "advanced"; @Parameter(group = "advanced", label = "Advanced duck typing") private boolean advancedDuckTyping = true; @Parameter(group = "advanced", label = "Starvation threshold") private int starvationThreshold = 6; and in scripts #@ String (visibility = GROUP, value = "basic") basic #@ Integer (label = "Number of ducks", group = "basic") duckCount #@ String (visibility = GROUP, value = "advanced", expanded = false) advanced #@ Boolean (label = "Advanced duck typing", value = true, group = "advanced") advancedDuckTyping #@ Integer (label = "Starvation threshold", value = 6, group = "advanced") starvationThreshold This PR supports a complete implementation of group labels that is realized in a corresponding PR in scijava-ui-swing - scijava/scijava-ui-swing#60 and resolves issue #310
Open Graph Description: This adds support for widget groups by adding ItemVisibility.GROUP and Parameter annotations group and expanded as well as all related implementations to interfaces and default classes. Intended us...
X Description: This adds support for widget groups by adding ItemVisibility.GROUP and Parameter annotations group and expanded as well as all related implementations to interfaces and default classes. Intended us...
Opengraph URL: https://github.com/scijava/scijava-common/pull/428
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:547276dd-f71d-7250-8560-c53fb86b82d0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E238:15DFF5:2147B7C:2D91AD0:696AC816 |
| html-safe-nonce | 1a2059144edcf80946c61d285d9f25579da9d3331173e546b5716a9b97ed7e7c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjM4OjE1REZGNToyMTQ3QjdDOjJEOTFBRDA6Njk2QUM4MTYiLCJ2aXNpdG9yX2lkIjoiMjM4MTkwNDc4NDU4ODAwMTUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6787e4c3292746737d89f0354675980fc8285d3a27c5c8f593dd6f129b523b7c |
| hovercard-subject-tag | pull_request:702658981 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/scijava/scijava-common/pull/428/files |
| twitter:image | https://avatars.githubusercontent.com/u/17951396?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/17951396?s=400&v=4 |
| og:image:alt | This adds support for widget groups by adding ItemVisibility.GROUP and Parameter annotations group and expanded as well as all related implementations to interfaces and default classes. Intended us... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git |
| octolytics-dimension-user_id | 1262770 |
| octolytics-dimension-user_login | scijava |
| octolytics-dimension-repository_id | 3594497 |
| octolytics-dimension-repository_nwo | scijava/scijava-common |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3594497 |
| octolytics-dimension-repository_network_root_nwo | scijava/scijava-common |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width