I am using my own resource which is not of type XMI Resource.If I create Eobjects in Sirius diagram editor it is reflecting in Xtext editor but vice versa is not working .If I try to edit any elements short name in Xtext editor Sirius diagram is lost. I feel my diagram is lost due to Resource is not able to get the updated element based on URI fragment. Plaese help me how i can get the updated element URI fragment so that diagram should not get lost.
Related Questions in XTEXT
- QuickFix in Custom Language(Xtext) using Language Server Protocol
- How to use dynamic file names in Eclipse editor extension point="org.eclipse.ui.editors"?
- Xtext : not reading new line in case of MacOS
- Ambiguous rules and predicate behavior in Xtext
- Xtext define a syntax with subpakages in the ecore file
- Per-rule hidden terminals are not captured in the internal.tokens file generated by Xtext
- Porting Xtext Eclipse project to Maven
- xtext and ace web editor code generation failed communication
- Rename-Refactoring XText Resource
- Custom messages in xtext based language server
- java.lang.NoSuchMethodError: 'boolean org.eclipse.xtext.xbase.lib.ArrayExtensions.contains(java.lang.Object[], java.lang.Object)'
- Add commons-math3 dependency to xtext maven project
- Attach java object to Xtext Resource
- Xtext integration in Maven program returning error - using injector and MyDslStandaloneSetup
- Eclipse not showing 'Domainmodel Content-Type' in Preferences
Related Questions in ECLIPSE-SIRIUS
- Broken view of src folder for package explorer with modelling nature in Eclipse
- Cannot drag and drop Annotation
- Eclipse too slow and unresponsive
- Can not be loaded because it comes from a more recent Sirius release
- how to hide something that i don't want to look in Xtext
- Running Acceleo from within Sirius
- How to always show Sirius Label in foreground
- Is there similar product to eclipse sirius for Visual Studio and .Net?
- Can I invoke an Ecore Operation from Sirius
- Difference between eclipse sirius and epsilon
- How to go from DSL defined in Xtext to Sirius?
- How to access the model explorer programmatically in eclipse?
- How to link the selections in Nattable shown in a custom editor view to the sirius property view in eclipse?
- Exporting diagram/node from odesign Sirius file
- How to realise a 'sequence diagram' without using uml sequence diagram metamodel
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
When you save your Xtext editor, it triggers a reload of the resource by Sirius (they do not share the same editing domain or resourceSet).
During the load, your resource creates a new model in memory. The elements previously known by Sirius cannot be retrieved: you modified an attribute which impact the URI fragment. The Sirius graphical elements reference the old elements.
If you launch a refresh (from the tool bar of the diagram), it might retrieve some content but the layout will be lost as the (re)loaded model is a new set of objects.
You mid find some hints in the following resources: