Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 420748

Summary: Alt + moveMouseOver -> clickNavigate does not work for types
Product: [Modeling] Papyrus Reporter: Toni Siljamäki <toni.siljamaki>
Component: DiagramAssignee: Camille Letavernier <cletavernier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cletavernier, papyrus-bugs
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 421392    
Bug Blocks:    

Description Toni Siljamäki CLA 2013-10-30 14:01:35 EDT
The (Alt + mouseOver) for navigating to nested diagrams works fine.

If you have e.g an Boolean operation in a class, make a (Alt + mouseOver)
for that operation a "Go to return Type (Boolean)" menu pops up.

When clicking on that menu nothing happens.
It would be nice if this also was supported for parameters.
(haven't tested if a menu pops up also for parameters)
Comment 1 Camille Letavernier CLA 2013-11-04 09:25:04 EST
The expected behavior is:

- If the type is displayed on the current diagram, select & display it
- Else, display the type in the ModelExplorer

However, there is a bug for imported types (e.g. UML Primitive types), which cannot be selected in the ModelExplorer (See bug 360092). This bug is not directly related to the navigation.

Can you please confirm that this is the same issue, i.e. it works properly for non-imported types?
Comment 2 Toni Siljamäki CLA 2013-11-07 08:06:40 EST
The (Alt + mouseOver) for navigating to an operation return type declared
in the same diagram works fine (tested for class diagram), even if the
datatype is declared off-screen. The data type get selected/highlighted.

The (Alt + mouseOver) for navigating to an operation return type
declared only in Model Explorer (or some other diagram) does not work,
at least not in the same way = it does not get selected/highlighted.
If the Model Explorer is collapsed it will however expand the Model Explorer
and show the data type in the view, but it does not get highlighted.

Perhaps this has to do with that the "Link with Editor" suddenly does
not work either, that it, selecting the element selected in a diagram
by also selecting/highlighting it in Model Explorer.

"Link with Editor" will also expand the model in Model Explorer and
show the selected element in the view, but not highlight it.

I'm quite sure that "Link with Editor" has worked before.
Comment 3 Camille Letavernier CLA 2014-02-27 08:56:53 EST
This one is fixed (It depends Bug 421392, Bug 360092 which are fixed)