Is it possible to generate XML file from Shape example in GEF,Same as its getting generated in GMF? Like in GMF if we select GMF Design page and open it with XML file,it provides all external information about model figures,same like i want to generate with GEF.
Is it possible to generate XML file in gef
542 views Asked by Eshika At
2
There are 2 answers
0
execc
On
There is really no connections between the GEF and the way of persistance of it's domain model.
Here is two possible solutions: 1. If you domain model are plain java objects (POJOs) try using JAXB, and annotate them with JAXB annotations.Then use JAXB to persist them. 2. Switch to using EMF (which will provide you XML serrialization out of the box) and probably to GMF.
For just Shapes Example - there is a EMF - driven Shapes Example which will serrialize model to XMI, but that can be easily changed to XML.
Related Questions in ECLIPSE-PLUGIN
- Problems setting up product with plugins using AspectJ on Eclipse version 2024-03
- How to make my own custom checkstyle checks available in eclipse checkstyle plug-in
- Is it possible to set the default initial startup size of an Eclipse RCP application?
- How can I download the raw metamodels from my EMF registry?
- Eclipse plug in not discovered from the site where i uploaded my 'update site project' directory
- org.apache.httpcomponents.httpclient thows Unresolved requirement error when my eclipse RCP is lauched
- Creating an Eclipse RCP application installer using InstallShield
- How to implement custom hover for the IMarker in Eclipse plugin development?
- Exclude specific jar from p2 repo in my eclipse plugin build
- How to Resolve Conflicting Lifecycle Mapping in Eclipse for Tycho and PDE
- Link a Acceleo query to a Java generic function
- Eclipse is using https instead of http
- Description Resource Path Location Type make: *** [main.o] Error -1073741502 taha C/C++ Problem
- How to programmatically remove the "Detach" context menu item from an Eclipse RCP view toolbar?
- remote debugging application code(eclipse-test-plugin) in eclipse IDE via maven build not working
Related Questions in ECLIPSE-EMF
- How can I download the raw metamodels from my EMF registry?
- Is there a way to check the Mac version using Platform.OS on Windows?
- How to build Windows and Mac plugins simultaneously in Eclipse
- What is the difference between weaving models and mapping models in MDE?
- Implementation Issues with Log4j in Eclipse EMF RCP Using Java 17 and not OSG
- Is there any documentation/release note available for each eclipse sphinx version released
- "The import org.eclipse cannot be resolved" using EMF
- Eclipse Epsilon EMF Eugenia not appearing
- Xtext define a syntax with subpakages in the ecore file
- What files should be commited in the case of an Eclipse modeling project?
- How to get relative paths in the traces model when executing ATL transformation programmatically through EMFTVM?
- Get UUID from a EMF/XMI resource using PyEcore
- Xtext integration in Maven program returning error - using injector and MyDslStandaloneSetup
- Eclipse not showing 'Domainmodel Content-Type' in Preferences
- Add an ad-hoc primitive tag/annotation to an EObject instance
Related Questions in ECLIPSE-GEF
- Eclipse GEF - Not able to use classes from javafx control
- Running GEF5 with Open JDK 17 and Open JavaFX 17 on Eclipse 4.25
- eclipse GEF DnD issue
- Eclipse plugin make property value readonly
- How to implement a copy participant in eclipse to generate a new file along with other related files with same name within the same directory?
- Adding label to PolylineConnection in Draw2D
- Redraw problems when scrolling with ScrollGraphicalViewer
- Eclipse Oxygen report errors when I click "Sync Graphviz Export" , a button of GEF DOT plug_in
- how to draw a image inside Rectangular Figure in GEF editor
- How to prevent the Nodes and Edges from overlapping each other in GEF-Zest graph?
- How can I get directed arrows (for an edge) in a graph generated with GEF for an Eclipse plugin?
- Eclipse GEF Edtor
- Eclipse compat RCP: Emulate "Open with" behaviour via E4 model
- Heap Space Error in while Printing a GMF Diagram
- GEF 5 without Eclipse Platform
Related Questions in ECLIPSE-GMF
- eclipse plug-in development
- Eclipse Epsilon EMF Eugenia not appearing
- Eclipse automatically imports superclass for a subclass statement
- Unable to update p2 repository with Eclipse 2019-12 & JDK 11
- How to customize ArrangeAll action or is it better to wright our own
- Context Sensitive help for AbstractGraphicalEditPart(GMF)
- Where can one find the native GMF XML format documentation?
- How to add Combo Feature in a ContainerShape Graphiti
- Use EMF Forms for properties window
- Can't generate Diagram Editor in Eclipse
- Heap Space Error in while Printing a GMF Diagram
- Change Eclipse EMF EAttribute Value
- Export GMF RCP Application with Product Configuration
- Generate GMF diagram from EMF resource programmatically
- Generating notation model from domain model
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?
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)
In GMF you get automatic XML serialization since GMF is build on top EMF and GMF, using EMF as the model and GEF as the MVC framework. Editors that use GEF only must take care of serialization however they like.