| Summary: | Have tooltip on decorations | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Esteban DUGUEPEROUX <esteban.dugueperoux> |
| Component: | Core | Assignee: | Project inbox <sirius.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | Florian Barbin <florian.barbin> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | florian.barbin, laurent.redor, maxime.porhel |
| Version: | 2.0.0 | Keywords: | triaged |
| Target Milestone: | 3.1.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: |
https://git.eclipse.org/r/42040 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=bbce07fde3952d2189c088df686e3a4871b1d115 https://git.eclipse.org/r/56827 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=4fa8dd13236f17f3d3e7dfc16e1487b9f7d69bec |
||
| Whiteboard: | |||
|
Description
Esteban DUGUEPEROUX
Note that in Diagram dialect, the specifier has the possibility to define the tooltip in the VSM New Gerrit change created: https://git.eclipse.org/r/42040 For diagram, we will not collide with tooltip expression of odesign because the tooltip will be displayed only on decorations. Gerrit change https://git.eclipse.org/r/42040 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=bbce07fde3952d2189c088df686e3a4871b1d115 Fixed. I have a case (not reproductible) with this stack : org.eclipse.core.runtime.AssertionFailedException: null argument: at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:85) at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:73) at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:296) at org.eclipse.sirius.diagram.ui.tools.api.decorators.AbstractSiriusDecorator.getToolTipText(AbstractSiriusDecorator.java:112) at org.eclipse.sirius.diagram.ui.tools.api.decorators.AbstractSiriusDecorator.refreshTooltip(AbstractSiriusDecorator.java:101) at org.eclipse.sirius.diagram.ui.tools.api.decorators.AbstractSiriusDecorator.addDecoration(AbstractSiriusDecorator.java:239) at org.eclipse.sirius.diagram.ui.tools.api.decorators.AbstractSiriusDecorator.refresh(AbstractSiriusDecorator.java:90) at org.eclipse.gmf.runtime.diagram.ui.editpolicies.DecorationEditPolicy.refresh(DecorationEditPolicy.java:189) A check (!= null) must probably be added somewhere. New Gerrit change created: https://git.eclipse.org/r/56827 Gerrit change https://git.eclipse.org/r/56827 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=4fa8dd13236f17f3d3e7dfc16e1487b9f7d69bec The problem of comment 6 has been resolved with above commit. Verified on Sirius 3.1.0.201510081411 Available in Sirius 3.1.0. |