| Summary: | Default rules are ignoring/pruning some elements in Ecore from the UI | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Cedric Brun <cedric.brun> |
| Component: | Properties | Assignee: | Project Inbox <sirius.properties-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | pierre-charles.david, steve.monnier |
| Version: | 4.1.1 | Keywords: | triaged |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/92077 https://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git/commit/?id=a5c96e35aeba2363497a09b5a797ac19bd333bb7 |
||
| Whiteboard: | |||
|
Description
Cedric Brun
New Gerrit change created: https://git.eclipse.org/r/92077 (In reply to Eclipse Genie from comment #1) > New Gerrit change created: https://git.eclipse.org/r/92077 I'll disable the default rules in the context of EcoreTools so that the problem is worked-around starting from Neon.3 (In reply to Eclipse Genie from comment #1) > New Gerrit change created: https://git.eclipse.org/r/92077 I'll disable the default rules in the context of EcoreTools so that the problem is worked-around starting from Neon.3 Gerrit change https://git.eclipse.org/r/92077 was merged to [master]. Commit: http://git.eclipse.org/c/ecoretools/org.eclipse.ecoretools.git/commit/?id=a5c96e35aeba2363497a09b5a797ac19bd333bb7 Digging further: It seems that the method :
private void initializeInput() {
this.eObjectTreeViewer.setInput(this.editingContextAdapter.getEditingDomain().getResourceSet());
}
in EEFExtEObjectSelectionPage means anything outside the resourceset will not be selectable.
I'm still wondering what is the best option here. In ecore tools we might need to select EDatatypes from Ecore.ecore (which is not in the resourceset)
For the record: I worked-around this bug by using another widget: a Label+button trigerring a SelectModelElement wizard. This is more convenient for the end user anyway... Considering this bug only happens if one has to rely on a resource which is not part of the resourceset (or have no resource) which is a situation which is not really supposed to work anyway I'm not sure this is very worthy to fix. This was highly specific to the Ecore Tools case, and Cédric used a different (and better) approach, so closing as WONTFIX. |