concepts and features in models. In the EMF meta-model ecore and EMF code generator, generics is currently fully supported, "paternostro said." Other important Java 5 language features are also supported, including enumeration types, comments, and enhancement loops. Developers can still choose to generate code compatible with 1.4, And the generated code can be run in EMF 2.2 runtime."Its important and long-awaited features include ecore model verification, ant's support for generating code base
Development Environment:To use the Eclipse UML2 Tools plug-in, the configuration of the environment is important and my development environment is as follows: L jdk1.5.0_01 l Eclipse 3.3m6 l emf-sdo-xsd-sdk-2.3.0 M6 l EMFT-QUERY-SDK-1.1M6 l EMFT-TRANSACTION-SDK-1.1M6 l EMFT-VALIDATION-SDK-1.1M6 L gef-a LL-3.3M6 l GMF-SDK-2.0M6 l MDT-OCL-SDK-1.1M6 l MDT-UML2-SDK-2
Development Environment:To use eclipse UML2 tools plug-in, Environment configuration is very important, my development environment is as follows: l jdk1.5.0 _ 01l eclipse 3.3m6l emf-sdo-xsd-SDK-2.3.0M6l emft-query-SDK-1.1M6l emft-transaction-SDK-1.1M6l emft-validation-SDK-1.1M6l GEF-ALL-3.3M6l GMF-sdk-2.0M6l mdt-ocl-SDK-1.1M6l mdt-uml2-SDK-2.1M6l
IntroductionThis
How to master the best practices of experts and improve your model-driven development progress
Introduction: Creating Templates to make best practices code (that is, generating artifacts) is a powerful concept that saves you countless times and reduces tedious coding. This article describes the code generation framework JET, which is an Eclipse technology project.
Code generation is not a new concept. It has been there for some time, and as a way to increase productivity, it has become popular
EMF is a modeling framework launched by the Eclipse organization. It can help us transform models (UML, XSD, etc.) into robust and rich Java code. By using EMF, the program we write can get a robust model layer for free, which is usually more robust than our own hand-written model layer. In fact, there are many commercial products that use EMF as their model layer. Because of the widespread use of EMF, the ECLIPSE organization has launched numerous peripheral modules for it.
1 Introduction
Bec
)
Development model
Http://www.eclipse.org/emf
Eclipse Modeling Framework Technologies (EMFT)
Useful programs for assisting with model development
Http://www.eclipse.org/emft
Eclipse Packaging Project (EPP)
Build the installation program
Http://www.eclipse.org/epp
Graphical Editing Framework (GEF)
Developing graphical applications
express these conditions in the ecore file, in addition, Java code does not even need to be re-generated and compiled. This article on the eclipse websiteArticle"Implementing Model integrity in EMF with emft OCL" has implemented this function through a custom jet template. If you are interested, try it.
Download this project
Add another method for EMF to generate the validate code: Create an eannotation under eclass that needs to be verified in t
issues. (Select this link to start the default Usenet news reader application and open eclipse. Platform .)
Eclipse newsgroups provides a lot of references for those who are interested in using and expanding eclipse.
Join the developerworks community by joining developerworks blogs.
Author Profile
Chris aniszczyk is a software engineer at IBM Lotus and is dedicated to osgi-related development. He is an open-source enth
information for modifying the attribute operation, including the target object, attribute name, and new attribute value. Because the GetModel () method of editpart in GMF is not an element in the business model, but a view object. You need to call view # getelement () to obtain the element in the business model, in the code, we use viewutil # resolvesemanticelement () to directly obtain the activity object. In addition, GMF uses the transaction project of e
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.