Skip to content

Commit 5287c93

Browse files
committed
CSSTUDIO-2954 Add informative tooltips to the class PVWidget.
1 parent e747201 commit 5287c93

File tree

1 file changed

+2
-0
lines changed
  • app/display/model/src/main/java/org/csstudio/display/builder/model/widgets

1 file changed

+2
-0
lines changed

app/display/model/src/main/java/org/csstudio/display/builder/model/widgets/PVWidget.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,11 @@ protected void defineProperties (final List<WidgetProperty<?>> properties )
8282
{
8383
super.defineProperties(properties);
8484
properties.add(pv_name = propPVName.createProperty(this, ""));
85+
pv_name.setInformativeTooltip("The name of the PV to display in the widget.");
8586
pv_name.addPropertyListener((property, oldValue, newValue) -> pv_value.setValue(null));
8687
properties.add(pv_value = runtimePropPVValue.createProperty(this, null));
8788
properties.add(alarm_border = propBorderAlarmSensitive.createProperty(this, true));
89+
alarm_border.setInformativeTooltip("Should an alarm border be shown around the widget when the displayed PV signals an alarm?");
8890
}
8991

9092
@Override

0 commit comments

Comments
 (0)