Skip to content

Commit

Permalink
Add java type in preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
nroduit committed Aug 7, 2023
1 parent 348317a commit 2878d7f
Show file tree
Hide file tree
Showing 6 changed files with 107 additions and 25 deletions.
31 changes: 31 additions & 0 deletions weasis-distributions/etc/config/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@
"value": "130",
"description": "The initial start level of the framework upon startup",
"type": "A",
"JavaType": "INT",
"category": "FELIX_CONFIG"
},
{
"code": "felix.startlevel.bundle",
"value": "300",
"description": "The start level of newly installed bundles",
"type": "A",
"JavaType": "INT",
"category": "FELIX_CONFIG"
},
{
Expand Down Expand Up @@ -201,6 +203,7 @@
"value": "1",
"description": "Set the logging levels for OSGI framework 0=None / 1(default)=Error / 2=Warning / 3=Information / 4=Debug",
"type": "A",
"JavaType": "INT",
"category": "LOG"
},
{
Expand All @@ -215,13 +218,15 @@
"value": "false",
"description": "Activation of rolling log files",
"type": "F",
"JavaType": "BOOLEAN",
"category": "LOG"
},
{
"code": "org.apache.sling.commons.log.file.number",
"value": "5",
"description": "The max number of rolling log files",
"type": "F",
"JavaType": "INT",
"category": "LOG"
},
{
Expand All @@ -243,13 +248,15 @@
"value": "5",
"description": "Defines the maximum number of lines for stack trace (0 => NONE, -1 => ALL). Default value is 3",
"type": "F",
"JavaType": "INT",
"category": "LOG"
},
{
"code": "audit.log",
"value": "false",
"description": "Audit log for giving statistics about usage of Weasis",
"type": "A",
"JavaType": "BOOLEAN",
"category": "LOG"
},
{
Expand Down Expand Up @@ -278,6 +285,7 @@
"value": "false",
"description": "If true, the bundle cache is cleared when the weasis version has changed from the previous launch",
"type": "A",
"JavaType": "BOOLEAN",
"category": "LAUNCH"
},
{
Expand Down Expand Up @@ -334,20 +342,23 @@
"value": "true",
"description": "Show a disclaimer at the first launch of Weasis (requires to be accepted to start the application)",
"type": "A",
"JavaType": "BOOLEAN",
"category": "LAUNCH"
},
{
"code": "weasis.show.release",
"value": "true",
"description": "Show a message when the release has changed",
"type": "A",
"JavaType": "BOOLEAN",
"category": "LAUNCH"
},
{
"code": "weasis.update.release",
"value": "true",
"description": "Show a message when a new release is available",
"type": "A",
"JavaType": "BOOLEAN",
"category": "LAUNCH"
},
{
Expand Down Expand Up @@ -397,6 +408,7 @@
"value": "false",
"description": "Show a message of confirmation when closing the application",
"type": "F",
"JavaType": "BOOLEAN",
"category": "GENERAL"
},
{
Expand Down Expand Up @@ -432,48 +444,55 @@
"value": "true",
"description": "Start to download series immediately",
"type": "F",
"JavaType": "BOOLEAN",
"category": "DICOM"
},
{
"code": "download.concurrent.series",
"value": "3",
"description": "The number of concurrently downloaded series",
"type": "A",
"JavaType": "INT",
"category": "DICOM"
},
{
"code": "download.concurrent.series.images",
"value": "4",
"description": "The number of concurrently downloaded images in a series",
"type": "A",
"JavaType": "INT",
"category": "DICOM"
},
{
"code": "weasis.color.wl.apply",
"value": "true",
"description": "Allow applying Window/Level on color images",
"type": "F",
"JavaType": "BOOLEAN",
"category": "VIEWER"
},
{
"code": "weasis.level.inverse",
"value": "true",
"description": "Inverse level direction (moving the cursor down to increase brightness",
"type": "F",
"JavaType": "BOOLEAN",
"category": "VIEWER"
},
{
"code": "weasis.apply.latest.pr",
"value": "false",
"description": "Apply by default the most recent Presentation State to the related image",
"type": "F",
"JavaType": "BOOLEAN",
"category": "VIEWER"
},
{
"code": "weasis.force.3d",
"value": "false",
"description": "Force to detect a graphic card at every launch",
"type": "A",
"JavaType": "BOOLEAN",
"category": "VIEWER"
},
{
Expand Down Expand Up @@ -509,83 +528,95 @@
"value": "true",
"description": "Show the import image toolbar and menu",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.import.dicom",
"value": "true",
"description": "Show the DICOM import menu and dialog",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.import.dicom.qr",
"value": "true",
"description": "Show the DICOM Q/R page in the DICOM Export dialog",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.export.dicom",
"value": "true",
"description": "Show the DICOM export menu and dialog",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.export.dicom.send",
"value": "true",
"description": "Show the send page in the DICOM Export dialog",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.toolbar.mouse.buttons",
"value": "7170",
"description": "Show all mouse buttons. Sum of LEFT=1024 + MIDDLE=2048 + RIGHT=4096 + SCROLL=2. Show all:7170 and show none:0.",
"type": "A",
"JavaType": "INT",
"category": "UI"
},
{
"code": "weasis.all.cinetoolbar.visible",
"value": "false",
"description": "Show all the cine toolbars",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.all.keyobjecttoolbar.visible",
"value": "false",
"description": "Show all the key object toolbars",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis-dicom-viewer2d.all.rotationtoolbar.visible",
"value": "false",
"description": "Show the rotation toolbars in DICOM 2D viewer",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.contextmenu.lutShape",
"value": "false",
"description": "Show LUT Shape in the contextual menu",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.contextmenu.lut",
"value": "false",
"description": "Show LUT in the contextual menu",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.contextmenu.filter",
"value": "false",
"description": "Show Filter in the contextual menu",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
}
]
Expand Down
12 changes: 12 additions & 0 deletions weasis-distributions/etc/config/dicomizer.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"value": "11112",
"description": "Port of DICOM send destination for Dicomizer",
"type": "A",
"JavaType": "INT",
"category": "DICOM"
},
{
Expand Down Expand Up @@ -165,34 +166,39 @@
"value": "false",
"description": "Base thumbnail explorer",
"type": "A",
"JavaType": "BOOLEAN",
"category": "FACTORY"
},
{
"code": "org.weasis.dicom.explorer.MimeSystemAppFactory",
"value": "false",
"description": "Open a file with the default system application",
"type": "A",
"JavaType": "BOOLEAN",
"category": "FACTORY"
},
{
"code": "org.weasis.dicom.explorer.DicomExplorerFactory",
"value": "false",
"description": "DICOM series explorer",
"type": "A",
"JavaType": "BOOLEAN",
"category": "FACTORY"
},
{
"code": "org.weasis.dicom.explorer.pref.download.DicomExplorerPrefFactory",
"value": "false",
"description": "DICOM Explorer preferences",
"type": "A",
"JavaType": "BOOLEAN",
"category": "FACTORY"
},
{
"code": "org.weasis.dicom.explorer.pref.node.DicomNodePrefFactory",
"value": "false",
"description": "DICOM node list preferences",
"type": "A",
"JavaType": "BOOLEAN",
"category": "FACTORY"
},
{
Expand All @@ -204,13 +210,15 @@
"value": "false",
"description": "Show the rotation toolbar with base 2D viewer",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis-base-viewer2d.all.importtoolbar.enable",
"value": "false",
"description": "Show the import toolbar with base 2D viewer",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
Expand All @@ -225,27 +233,31 @@
"value": "false",
"description": "Show the image tool with base 2D viewer",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis-base-viewer2d.all.measuretool.enable",
"value": "false",
"description": "Application",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.toolbar.layout.button",
"value": "false",
"description": "Show the layout toolbar",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
},
{
"code": "weasis.toolbar.synch.button",
"value": "false",
"description": "Show the synch toolbar",
"type": "A",
"JavaType": "BOOLEAN",
"category": "UI"
}
]
Expand Down
Loading

0 comments on commit 2878d7f

Please sign in to comment.