ujhelyiz / xtext-reflective Goto Github PK
View Code? Open in Web Editor NEWReflective Editor for Xtext models
Home Page: http://cubussapiens.hu
License: Eclipse Public License 1.0
Reflective Editor for Xtext models
Home Page: http://cubussapiens.hu
License: Eclipse Public License 1.0
The new EMF 2.9 changed its internal editor, so the Reflective Editor for Xtext does not compile (and work) over EMF 2.9.
When the save button is pressed in the reflective editor, the editor tries to save the inferred model files together with classpath resources, however, those resources do not support these operations, this it results in errors in the user interface.
As those resources are inferred from the main model, there is no need to save them, so the editor could be smarter to avoid these issues.
According to a comment (https://www.eclipse.org/forums/index.php?t=rview&goto=1726704#msg_1726704) the MWE fragment is not compatible with the new generator of Xtext 2.9. Either a new fragment should be provided, or the existing fragment should implement both generator fragment APIs.
For details about the new generator see http://typefox.io/xtexts-new-generator and http://typefox.io/xtexts-new-generator-migration
Hi, I have created a xtext grammar from an existing ecore model. I am able to instantiate my grammar and write the model dsl for the gramar. The problem comes when I do the following “Open With -> Sample Reflective Ecore Model”. So I downloaded your plug-ins with the hope that it would work. Unfortunately, I am still not able to get the ecore model. The error that I am getting is as follows :
org.eclipse.emf.ecore.xmi.XMIException: org.xml.sax.SAXParseExceptionpublicId: platform:/resource/mnc.test/src/mnc.mncspec; systemId: platform:/resource/mnc.test/src/mnc.mncspec; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. (platform:/resource/mnc.test/src/mnc.mncspec, 1, 1)
!SESSION 2014-11-14 10:43:57.833 -----------------------------------------------
eclipse.buildId=4.3.2.M20140221-1700
java.version=1.7.0_45
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IN
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data C:\SRL\Technologies\workspace_eclipse_kepler_xtext\workspace_MnC_Xtext_GMF_Test/../runtime-MnC -dev file:C:/SRL/Technologies/workspace_eclipse_kepler_xtext/workspace_MnC_Xtext_GMF_Test/.metadata/.plugins/org.eclipse.pde.core/MnC/dev.properties -os win32 -ws win32 -arch x86 -consoleLog
Xtext Version : Xtext SDK 2.6.2.v201407030533 org.eclipse.xtext.sdk.feature.group Eclipse Modeling Project
Thanks in Advance.
According to a comment EMF Reflective Tree Editor allows synchronized editing with the text file, while the xtext reflective tree editor does not. We should check.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.