So, my aim is to create graphical DSL. I created a ecore model using Eclipse Modeling Framework, after that I've used Sirius to create graphical modeling tool and I have problems with the last step which is generating Java code. I would like to use Xtend to generate it. Any suggestions what would be the best way to do it, or some helpful links ?
Generating Java code using Xtend and Sirius
499 Views Asked by user777 At
1
There are 1 best solutions below
Related Questions in EMF
- Acceleo M2T (Cannot access to the my matamodele attributes , references .. )
- GenerateDsl.mwe2 error if changing the Target Platform
- I'm trying to deserialize an XML and getting null for some of the attributes
- Retrieving the "match of value" in an ADD Diff computed by EMF Compare
- EMF: External Interface as Supertype in Model
- EMF resource load - SAXParser reading map twice
- Aquiring EMF Editing Domain
- How to copy a generic list with Eclipse EMF?
- How to use generated EMF model code in other Gradle subproject?
- How to refer two different meta models (like autosar422 and 446)in one project
- Can I reference java.ecore in project.ecore without relative path? but use module references instead?
- Eclipse EMF Compare for XML files
- How to customize ArrangeAll action or is it better to wright our own
- How to generate code from custom scoping through instances?
- How to save an EMF Model
Related Questions in XTEND
- Inconsistency between pop and peek in a Stack: looking for an explanation
- Command line compilation Xtend file has Error The method from the type refers missing object
- Rename-Refactoring XText Resource
- Attach java object to Xtext Resource
- Creation of box at edge of the Knode using KLighD
- pugin-developent : Platform.getbundle("") is not accessible from xtend class
- Disabling the incremental project builder while using LSP
- cannot convert from Iterable<Iterable<Integer>> to int[][]
- xtext to xtend and xtend to xtext transformation
- conversion .xtend to .java
- Xtend - saved files contain repeated data
- How do I write static blocks in Xtend?
- Xtext - eCore model, serializer can't find the model to import
- Increment index without show its value on xtend
- How do I get the version of Xtend at runtime
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
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)
Popular # Hahtags
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?
There are two aspects:
.airdor.odesignfiles from Sirius) and produce whatever you want. I can't help on this aspect.Assuming you know how to programatically invoke the Xtend generator, there are several ways to trigger it from inside Sirius. For example you can use the Popup Menu type of tool to add an entry to the context menu of your modeler, which can then call any Java code you want, and launch the generator from there.
This is what Ecore Tools does to launch the EMF GenModel code gen: it declares the popup menu which invokes this Java class to perform the actual generation.