-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1077] Fix explorer in case of non-sysml domain #1071
base: main
Are you sure you want to change the base?
[1077] Fix explorer in case of non-sysml domain #1071
Conversation
ee6db2e
to
0b4050f
Compare
Could you please create a bug describing the issue?
Regards, |
done 🙂 Regards, |
ca14ddf
to
5210b43
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please add an integration test or a cypress test?
An also add
Bug: https://github.com/eclipse-syson/syson/issues/1077
just above the signed-off-by line? (see other commits for examples)
Thank you!
public SysONDefaultExplorerServices(IIdentityService identityService, IContentService contentService, IRepresentationMetadataSearchService representationMetadataSearchService, IExplorerServices explorerServices, | ||
ISysONExplorerFilterService filterService) { | ||
ISysONExplorerFilterService filterService, ExplorerServices siriuswebExplorerService) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need ExplorerServices
from Sirius Web.
There is already a IExplorerServices explorerServices
variable that gives you access to hasChildren
method.
We don't have any implementation of IExplorerServices
in SysON so the only implementation returned by IExplorerServices explorerServices
is the one coming from Sirius Web.
CHANGELOG.adoc
Outdated
@@ -63,6 +65,7 @@ Export to textual SysMLv2 is not fully implemented yet so there are still unhand | |||
- https://github.com/eclipse-syson/syson/issues/1020[#1020] [general-view] The multiplicity should not be displayed on edges. | |||
- https://github.com/eclipse-syson/syson/issues/1009[#1009] [metamodel] Fix an issue where the diagram direct edit on graphical nodes could raise a backend error on unsettable enum attributes. | |||
- https://github.com/eclipse-syson/syson/issues/1052[#1052] [general-view] Fix an issue where the execution of "New Port In/Inout/Out" tools was failing. | |||
- https://github.com/eclipse-syson/syson/issues/1077[#1077] [explorer] Fix navigation in case of project containing both sysml and non-sysml model elements |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've added the entry twice in the changelog
2039a04
to
2b1bbab
Compare
I've applied your suggestions. the default Syson application doesn't propose any additional metamodel (not even Domain) so I don't know how to use the default UI to do that. note: creating model conformant to domain added using sirius web studio doesn't work, but for another reason I haven't investigated : the create object of the explorer show the elements it can create but does nothing without raising any error |
Fix behavior of hasChildren management of syson explorer when handling model elements from non-sysml domains. It now falls back to SiriusWeb implementation when necessary. Bug: eclipse-syson#1077 Signed-off-by: Didier Vojtisek <[email protected]>
2b1bbab
to
c71da9e
Compare
I added a spring test note: it uses mockito (that is already imported by |
Fix behavior of hasChildren management of syson explorer when handling model elements from non-sysml domains.
It now falls back to SiriusWeb implementation when necessary.
PLEASE READ ALL ITEMS AND CHECK ONLY RELEVANT CHECKBOXES BELOW
Project management
priority:
andpr:
labels been added to the pull request? (In case of doubt, start with the labelspriority: low
andpr: to review later
)area:
,type:
)Changelog and release notes
CHANGELOG.adoc
+doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc
been updated to reference the relevant issues?CHANGELOG.adoc
+doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc
?doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc
?Key highlights
section indoc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc
?CHANGELOG.adoc
+doc/content/modules/user-manual/pages/release-notes/YYYY.MM.0.adoc
?Documentation
Tests