Skip to main content



      Home
Home » Eclipse Projects » Sirius » Decoration Tooltip not showing, error or bug ?
Decoration Tooltip not showing, error or bug ? [message #1819351] Mon, 13 January 2020 11:33 Go to next message
Eclipse UserFriend
I have defined a function in my service which return a string to be used as the decoration tooltip. This function is trigerred when I hover the decoration icon in my diagram node (debugger is stopping and the string is printed with System.out), however this tooltip is never displayed. The node in question is just a container square (LogicalComponent) and the decoration is a generic one, rendering a .ico file.

As I can't see any error in the console, I guess it could be a bug but I also may be missing something. I'm working with Sirius 6.3.0 in Capella Studio 1.4.0

Best regards
Re: Decoration Tooltip not showing, error or bug ? [message #1819582 is a reply to message #1819351] Fri, 17 January 2020 10:02 Go to previous messageGo to next message
Eclipse UserFriend
Hello Medhi,

Indeed it's a bug. I reproduced the problem.
Can you report this bug on https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius ?
I join you a use case to reproduce. It's important to add this use case to the bugzilia issue.

Thank you very much!

Regards,
Re: Decoration Tooltip not showing, error or bug ? [message #1821466 is a reply to message #1819351] Thu, 13 February 2020 07:44 Go to previous message
Eclipse UserFriend
See here for corresponding ticket.

A workaround was kindly provided (I have not tested it yet).

Quote:

There is a bug in org.eclipse.sirius.diagram.ui.tools.internal.decoration.DescribedDecorationDescriptorProvider.DecorationDescriptorWithLazyTooltip.getTooltipAsString() which use the DDiagramElement instead of the semantic element as parameter.

A possible workaround is changing the service signature with DSemanticDecorator as parameter type and it should works

[Updated on: Thu, 13 February 2020 07:44] by Moderator

Previous Topic:Filter variable filter
Next Topic:Support for svg shapes
Goto Forum:
  


Current Time: Tue Jun 24 19:58:02 EDT 2025

Powered by FUDForum. Page generated in 0.04173 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top