Skip to content

Conversation

@ptziegler
Copy link
Contributor

By wrapping the tool-tip string in a Label, it is possible to use the setToolTip() method specified by the IFigure interface, thus avoiding an additional setToolTipText() method.

This Label then needs to be unwrapped in our EventManager, as figures are not yet supported here, until the manager has been harmonized with the SWTEventDispatcher.

The tool-tip handling has also been improved so that it is only shown for non-empty strings.

@ptziegler ptziegler added this to the 1.21.0 milestone Jun 14, 2025
@ptziegler ptziegler force-pushed the draw2d-tooltip-handling branch 3 times, most recently from e545a96 to 08857c7 Compare June 14, 2025 13:00
By wrapping the tool-tip string in a Label, it is possible to use the
setToolTip() method specified by the IFigure interface, thus avoiding an
additional setToolTipText() method.

This Label then needs to be unwrapped in our EventManager, as figures
are not yet supported here, until the manager has been harmonized with
the SWTEventDispatcher.

The tool-tip handling has also been improved so that it is only shown
for non-empty strings.
@ptziegler ptziegler force-pushed the draw2d-tooltip-handling branch from 08857c7 to aba95d0 Compare June 14, 2025 13:39
@ptziegler ptziegler merged commit be09a33 into eclipse-windowbuilder:master Jun 14, 2025
8 checks passed
@ptziegler ptziegler deleted the draw2d-tooltip-handling branch June 14, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant