Skip to content

Commit c1679ce

Browse files
author
kasemir
committed
Probe: Show description
1 parent 0518d3c commit c1679ce

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

app/probe/src/main/java/org/phoebus/applications/probe/Messages.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public class Messages
2323
public static String ControlRange;
2424
public static String Copy;
2525
public static String CopyWithValue;
26+
public static String Description;
2627
public static String DisplayRange;
2728
public static String EnumLbls;
2829
public static String Format;

app/probe/src/main/java/org/phoebus/applications/probe/view/ProbeController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ private void setMetadata(final VType value)
345345
else if (value instanceof VNumber)
346346
{
347347
final Display dis = ((VNumber) value).getDisplay();
348+
buf.append(Messages.Description).append(dis.getDescription()).append("\n");
348349
buf.append(Messages.Units).append(dis.getUnit()).append("\n");
349350
buf.append(Messages.Format).append(dis.getFormat().format(0.123456789)).append("\n");
350351
buf.append(Messages.DisplayRange).append(dis.getDisplayRange().getMinimum()).append(" .. ").append(dis.getDisplayRange().getMaximum()).append("\n");

app/probe/src/main/resources/org/phoebus/applications/probe/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Alarms=Alarms:
33
ControlRange=Control Range:
44
Copy=Copy PV to Clipboard
55
CopyWithValue=Copy PV to Clipboard with Value
6+
Description=Description:
67
DisplayRange=Display Range:
78
EnumLbls=Enumeration Labels:
89
Format=Format:

app/probe/src/main/resources/org/phoebus/applications/probe/messages_fr.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Alarms=Alarmes :
33
ControlRange=Plage de contr\u00F4le :
44
Copy=Copier le PV dans le presse-papiers
55
CopyWithValue=Copier la valeur du PV dans le presse-papiers
6+
Description=Description:
67
DisplayRange=Plage d\u0027affichage :
78
EnumLbls=\u00C9tiquettes d\u0027\u00E9num\u00E9ration :
89
Format=Format :

0 commit comments

Comments
 (0)