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
1 answer

ACCELEO: creating file in path depending on the model structure

In an Acceleo Model to Text transformation I would like to create a file for a UML class coherent with the packages of containing the class (the class namespace in the UML model). The problem I am facing is that I have to do that in line as the…
Andrea Sindico
  • 7,358
  • 6
  • 47
  • 84
0
votes
0 answers

Edit domain of Eclipse not providing the child nodes when product is exported

I am developing a RCP application which deals with EMF resources. Actually, I am having a XML file for which I am creating a model. At a particular instant, I am having the root node of the XML file and when I try to get the children of the node…
0
votes
2 answers

No Content Assist in Eclipse QVT Operational editor

I'm writing a QVT model to model transformation from ecore to a DDS model. I've Ecplise 3.7.2 and the last QVT Operational plugin 3.1.0v2. The problem is that the content assist doesn't show me the properties of the meta-model entities. For example…
s7eve
  • 11
  • 2
0
votes
2 answers

Display all enums from an EMF model in a CheckBoxTable ?

I am trying to display a CheckBoxTable in an Eclipse page which enables the user to select any one of a number of items - the items that are available come from an EMF model and are enums. I've got the content provider and the label provider set up…
bodger
  • 1,112
  • 6
  • 24
0
votes
3 answers

OSGi - Activator can't access internal packages of the Bundle

I'm trying to run a small EMF-based application on Apache Felix. Felix is running on a Android Device. I'm using Eclipse but without bnd and without maven. I got a EMF Bundle that exports the packages…
Rob Anderson
  • 2,377
  • 3
  • 22
  • 31
-1
votes
1 answer

GenerateDsl.mwe2 error if changing the Target Platform

I have a XText project where I have a gramair (DLS.xtext file). I copied my XTExt project to an Eclipse workspace where I have changed the target platform, but I have included in this target platform the XText, XTend plugins). After changing the…
georgiana_e
  • 1,809
  • 10
  • 35
  • 54
-1
votes
1 answer

I'm trying to deserialize an XML and getting null for some of the attributes

I'm trying to deserialize the below XML to an object, but one of the values (Required)is returning null. - - -
Lisha
  • 49
  • 9
-1
votes
1 answer

EMF recursive subproperties

As you can see, the metamodel has a Test, which has properties. These can also have subproperties. I want now to code a method, which gives back the properties as well as all other subproperties. Here is the naive approach without recursion. Please…
-1
votes
1 answer

How to get the xml line number of an object parsed using eclipse emf modeling

I am developing some tool using eclipse emf modeling and I would like to know how to get the xml line number of an parsed object. I need this in order to create file problem markers during data validation. I read some topics about this but I…
L. B.
  • 1
-1
votes
1 answer

Log method calls while running program

I am working with EMF (Eclipse Modeling Framework) and have an automatic generated context menu with some actions. When I execute an action over the context menu in the program I have no idea which method in which class is called in the source…
Hammelkeule
  • 197
  • 5
  • 17
-1
votes
1 answer

RCP - How to add a Minimize button to a cell of a GRID?

I'm working on an RCP application. It uses EMF. As per the requirement I got, i'm supposed to add a minimize and maximize button to a cell of a Grid. Requirement: The table includes three columns with multiple rows. The first column gives…
PG0437
  • 1
  • 1
-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
1 answer

init of an EList

To avoid adding problem with which value should I init the value of rule_prio ? ...1) rule_prio.add(int x , Rule r) doesn't work too; 2)initializing it with an existing EList doesn't work too 3) is temp.remove(int) is really deleting the value or…
Arvel
  • 19
  • 1
  • 2
1 2 3
28
29