Questions tagged [eclipse-emf]

Use this tag for questions about the Eclipse Modeling Framework Project (EMF)

The Eclipse EMF project is a modeling framework and code generation facility for building tools and other applications based on a structured data model. From a model specification described in XMI, EMF provides tools and runtime support to produce a set of Java classes for the model, along with a set of adapter classes that enable viewing and command-based editing of the model, and a basic editor.

http://www.eclipse.org/modeling/emf/

489 questions
0
votes
1 answer

How to convert xsd's library (more than one xsd) to ecore (EMF)

How to convert xsd's library (more than one xsd) to ecore (EMF) During the XML Schema import, when i browse the file system for Model URI, Eclipse gives me option to select one xsd at a time, What if i have multiple XSD's
Hari
  • 1
  • 1
0
votes
1 answer

EMF: How to create model instance programmatically without using eclipse instance

With EMF I can import an ecore file (metamodel), generate the code then debug the project as a new eclipse instance to play with my model instance. My purpose is to create my instance without loading a new eclipse instance, for example I would like…
TheCyberXP
  • 915
  • 1
  • 12
  • 24
0
votes
1 answer

Generate Tomcat web.xml configuration from UML digram

I would like to find the best way to parse an UML Diagram that detail the security tomcat configuration for a web application, then generate the concerned file (web.xml). For the beginning, I have a Metamodel and his instance created with Magic…
TheCyberXP
  • 915
  • 1
  • 12
  • 24
0
votes
1 answer

GMF Editor - Phantom Nodes

I'm new to GMF developement and I've got a problem. I want to program a plugin for eclipse. Therefore I use the GMF dashboard view. At first I create an ecore-file which represents the diagram shown below. Then I generate a genmodel file, with which…
-1
votes
1 answer

reading the eobjects from the ecore file in eclipse

I have the ecore file which contains the class eobjects.Now i want to read that ecore file and get all the class eobjects from that ecore file.
NVN
  • 107
  • 1
  • 13
-1
votes
1 answer

How could I define list variables in my ecore model?

I have a class named File and another named Folder in GMF (Graphical Modeling Framework). In class definition, Folder has a method that returns List, so how could I define in my ecore model?
m1911star
  • 1
  • 1
-1
votes
1 answer

Is there any XML.ecore file available to use

I am looking to see if there is any ready to use xml.ecore file. By this, I mean an ecore metamodel of xml documents.
qartal
  • 2,024
  • 19
  • 31
-1
votes
1 answer

Create File Browser

I am trying to create a file browser when the user clicks on a button at the property I have generated. The following code I use,it fetches the whole files at my workspace. However,I need to browse over all my PC. IFile[] files =…
Echo
  • 2,959
  • 15
  • 52
  • 65
-2
votes
3 answers

How to sort elements of List?

I want to sort EObject elements in List wrt to the name in ascending order. I tried using the below code but I am getting compiler error. I tried: List list = new ArrayList(); list.sort(Comparator.naturalOrder());
georgek
  • 1
  • 3
1 2 3
32
33