Skip to content

Commit bf7cc7d

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

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/VisibleWidget.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ protected void defineProperties(final List<WidgetProperty<?>> properties)
5757
{
5858
super.defineProperties(properties);
5959
properties.add(visible = propVisible.createProperty(this, true));
60+
visible.setInformativeTooltip("Should the widget be visible?");
6061
properties.add(tooltip = propTooltip.createProperty(this, getInitialTooltip()));
62+
tooltip.setInformativeTooltip("Text to display in the tooltip of the widget when hovering with the mouse over the widget.");
6163
// Start 'connected', assuming there are no PVs
6264
properties.add(connected = runtimePropConnected.createProperty(this, true));
6365
}

0 commit comments

Comments
 (0)