Questions tagged [emf]

For questions about the Eclipse Modeling Framework (EMF) project. EMF is a modeling framework and code generation facility for building tools and other applications based on a structured data model.

Eclipse EMF site: https://eclipse.org/modeling/emf/

433 questions
0
votes
2 answers

Building and importing EMF Compare 2

Im trying to use EMF Compare in a standalone Java application. In the Eclipse foruns, I was suggested to use the version in the git. I cloned the repository. Then, I imported all projects in a workspace. I read that I just need the main EMF Compare…
Pedro Dusso
  • 2,100
  • 9
  • 34
  • 64
0
votes
1 answer

Where can I find resources for how to Model for Java in Eclipse that is easy to understand?

I have used eclipse to work on C++ in the past, and I am new to Java, and I get the basics there for the most part. As for Java, I kept seeing all these tutorials and things about how useful UML is to Object Oriented Design, and how you should…
Quade2002
  • 615
  • 2
  • 7
  • 23
0
votes
1 answer

Eclipse GMF/GEF different Figures

I using GEF/GMF and now I tried Eugenia. I want to create a special model, with special forms. In an example there are some figures called "ellipse", "rectangle" and "rounded". These are the only figures I know, I can´t find any list with all the…
Dotana
  • 13
  • 4
0
votes
3 answers

Can Eclipse GMF (Graphical Modeling Framework) be used to create a standalone modeling IDE?

I want to create a graphical modeling application. I've been working on all the drag and drop functionality and then I thought about GMF/EMF, but it is used to create Eclipse plugins, at least from what I've seen…
kibou
  • 5
  • 4
0
votes
1 answer

EMF: How to map a group of XML elements with unique names to a Map

I have an existing XML format for which I would like to create an Ecore based model that I can use to load and save files in that XML format (without writing my own serializer/deserializer). The XML contains elements with the following…
Andreas Veithen
  • 8,868
  • 3
  • 25
  • 28
0
votes
1 answer

Using XCore generated classes in a war aggregating multiple Maven projects

I have a maven project called myproject.app. I also have another project using vaadin and gwt called myproject.ui and another project, which is an Xcore-Project converted to Maven called myproject.model. I want to aggregate them all in a war. For…
thertweck
  • 1,120
  • 8
  • 24
0
votes
2 answers

Xtext/EMF how to do model-to-model transform?

I have a DSL in Xtext, and I would like to reuse the rules, terminals, etc. defined in my .xtext file to generate a configuration file for some other tool involved in the project. The config file uses syntax similar to BNF, so it is very similar to…
mirosval
  • 6,671
  • 3
  • 32
  • 46
0
votes
1 answer

How to translate "consists of" into an EMF model?

I specified a model, by writing it down: A consists of B. Each B has a name and points. In B there is C assigned if its points are not fulfilled. How to translate this example into emf? UPDATE Ok I tried a solution: A is a class and is connected…
maximus
  • 11,264
  • 30
  • 93
  • 124
0
votes
0 answers

Generating Maven artifacts for Eclipse EMF jars

I've got a project that was generator using EMF and depends on some EMF 2.5.0 jars. Specifically the Maven dependencies: org.eclipse.emf.ecore:xmi:jar:2.5.0 org.eclipse.emf:common:jar:2.5.0 org.eclipse.emf:ecore:jar:2.5.0 I've tried running the…
DeadPassive
  • 877
  • 3
  • 8
  • 22
0
votes
1 answer

XText: first and last character truncated in custom STRING terminals

I have redefined the STRING terminal this way terminal STRING : ('.'|'+'|'('|')'|'a'..'z'|'A'..'Z'|'_'|'0'..'9')*; because I have to recognize STRING not delimited by " or ' the problem is that, though the generated parser works, it truncates the…
Andrea Sindico
  • 7,358
  • 6
  • 47
  • 84
0
votes
1 answer

Integrating EMF and view in plugin project

I created an EMF project and tested using <>.editor project generated by .genmodel file by creating a new project and a file through "Example EMF Model Creation Wizards". Is there any way that a view (in plugin project) can be created directly…
0
votes
1 answer

writing files to be imported as EMF models into Eclipse

I'd like to generate an Eclipse EMF model in a custom tool (entirely outside of eclipse) and then save it to a format that eclipse can import and use as an EMF model. I'm looking for recommendations of what format might be a good candiate. It…
Joe
  • 4,367
  • 7
  • 33
  • 52
0
votes
1 answer

Eclipse Modeling Framework - cannot load plugin.xml

I have been following this tutorial: http://www.vogella.com/articles/EclipseEMF/article.html I cannot deal with Step 5.2. Run your plugins I'm trying to open plugin.xml file but it gives me an error: Unsupported Content in Editor
javaGirl
  • 195
  • 1
  • 4
  • 13
0
votes
1 answer

Applying stereotype to property as association end throws IllegalArgumentException

The same question I have asked at http://www.eclipse.org/forums/index.php/t/367608/ I want to apply a stereotype which is defined for UML-Property to a property used in an association. The problem I have is that an IllegalArgumentException is thrown…
martin
  • 2,957
  • 3
  • 25
  • 46
0
votes
1 answer

How to save an EMF model to a hierarchy of folders and files

I am implementing a commercial RCP application where the user can create projects for example of this format: Project1 SubElement1 SubElement2 SubSubElement1 Project2 .... etc. I am using EMF to model the data domain and I want to save the…
user847988
  • 984
  • 1
  • 16
  • 30
1 2 3
28
29