Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365293 - [ModelExplorer] Navigation algorithms in the ModelExplorer should be improved
Summary: [ModelExplorer] Navigation algorithms in the ModelExplorer should be improved
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 0.9.0   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 06:01 EST by Camille Letavernier CLA
Modified: 2017-02-23 16:07 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2011-12-01 06:01:09 EST
The ModelExplorer is an infinite Tree based on the EMF Facet customizable tree. Thus, the traditional exploration algorithms cannot browse correctly this tree.

We should define a specific navigation strategy, and reuse it in each implementation of the ModelExplorer.

Moreover, the navigation strategy should not rely on a ViewerFilter.

There are two distinct cases :

- Display the Tree to let the user browse it : The Tree is infinite.
- Automatically search for an element in the Tree : We should have an Heuristic to find the most pertinent location (As the same element may be displayed more than once). Containment references, specific "import" references (For external resources), Facet references...

In some cases, we want to display the Tree as a finite Tree. In this case, we should be able to reuse the automatic search algorithm to display the Tree.

In all cases, we want to be able to remove some elements from the tree (For example when we are only interested in some specific EClasses). In such a case, the tree pruning should not rely on a ViewerFilter.
Comment 1 Vincent Lorenzo CLA 2017-02-23 16:07:25 EST
In Eclipse Papyrus Oxygen:
  - we have now a filter included into the browser
  - the tree is filtered using facets (Papyrus EMFFacet)

I think this bug can now be marked as closed fixed.