Good evening ,
I want to generate react native code from the sirius but I do not know how and is it possible to use acceleo for that ??
Thanks for helping me .
Yes, they Sirius enables the editing of EMF models and Acceleo can read those EMF models and generate text based on your templates. They both share the same underlying technology and are commonly used that way:
- with a sirius based modeler to edit a domain specific model
- and Acceleo templates to generate text or code
Related
I have designed a meta model for my systems, and I want to create a graphical editor to facilitate the creation of a model. For this, I'm using the GEF editor. I have failed to come across any easy to understand tutorial on how to draw diagrams using draw2d and then implement then using editparts etc from the GEF.
Can anyone suggest me any useful resources for the same. Video tutorials would ofcourse be welcome.
GEF is the graphical framework developed on top of draw2d and SWT Tree .
Here is Step by Step tutorial creation of graphical editor on a POJO model and same can be used for EMF model or any other domain model
Url : http://www.inf.ed.ac.uk/teaching/courses/ip/resources/GEF/GEF_Tutorial_2up.pdf
List of resources for GEF : Tutorials
Hope this is helpful !!
My php project using Zend framework. i want to generate class diagram for that php(zendframwork). i try to generate class diagram using Bouml project.
I go through this link Boumal java reverse engineering video
but problem is when i drag and drop every php class but that don't show relationship between class
You could give UML Lab (http://uml-lab.com) a try (Note: I'm biased as I'm working for Yatta Solutions ;) ). There is a tutorial explaining how to reverse engineer existing source code: http://www.uml-lab.com/en/uml-lab/tutorials/reverse-engineering-tutorial/. Basically, just create a new Model and Class Diagram and all available PHP source files are imported automatically. Otherwise you can import a PHP file by dragging it onto the diagram editor.
The tool supports Java and PHP, and has build-in support for Zend Framework. It may not understand each PHP source file - but files containing a class should work fine. If there is something the tool doesn't understand you'll be notified and can directly file a bug.
It's a commercial tool, but there is a 30 days trial and a free academic edition. If you have any questions don't hesitate asking them in the forum, bug tracker or by mail.
each time you add a class in a class diagram the relations with the already present classes are shown, except of course if you modified the "drawing settings" to not draw automatically the relations.
but this supposes there are relations to draw ;-)
Php is a not typed language, so the reverse can only create inheritances, the types of the attributes are unknown contrarily to C++ or Java
I am working with GWT2.3 version.I also found ExtJs4 framework very good and want to club the some of component of ExtJs4 in my application(GWT2.3).So I just want to know it is possible to club components of ExtJs4 with GWT application
Thanks in Adcance
Yes it is. Just add .js source to your public folder in /src. Then you can write custom JavaScript as native methods via JSNI. See more in the docs.
Why not use the GWT compatible project? http://www.sencha.com/products/extgwt/
It has the same widget library (afaik) and integrates quite nicely w/ GWT
I want to creating a graphical editor which a physician can use to create user interfaces to define state-based interactive dialogue based diagnosis systems for simple diseases. Each screen consists of simple UI elements like a textarea,button and these are in a container to make up the state. Once he defines many screens with text and buttons or photos/videos, he wants to save the configuration in a XML file. How can I use the Eclipse modeling technologies to create a graphical editor to do this task
Example below:
I think the GMF tutorial is a good place to start: http://wiki.eclipse.org/GMF_Tutorial
in my RCP - Project i'm using eclipse databinding to connect the ui with the backend. I want every change in an open editor to be undoable. My Domainmodell and UI are seperated in two different plugins.
My current approach is to implement my own UpdateValueStrategy class for the databinding. I extend the normal UpdateValueStrategy and override the doSet Methode.
From there i get the OperationHistory and the Global UndoContext, then i create a new Operation. I have various Operations like "ChangeCustomerName" and "ChangeCustomerNote".
Questions:
Do i need to implement the undo/redo - logic by my own, or is the framework somehow supporting my with this?
Is there a better place or way to create the undoable Operation then the doSet() of the UpdateValue - Strategy class. To access the textfield, which was changed is not to easy.
The answer you will get mostly is: Use EMF.Edit, it includes it out of the box with org.eclipse.emf.databinding.edit and there's an excellent tutorial on the net.
There is an open feature request in the Eclipse bugtracker about including undo/redo also in JFace databinding without EMF but it's not finished yet. It has also be discussed in the eclipse forum.