Questions tagged [eclipse-gmf]

The Eclipse Graphical Modeling Project

The Eclipse Graphical Modeling Project (GMP) provides a set of generative components and runtime infrastructures for developing graphical editors based on EMF () and GEF ().

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

97 questions
14
votes
4 answers

How to get the project name in eclipse?

How do I get the name of the current eclipse project? I'm in a GMF view and need the projectname when some submenu of the popup menu ist used.
Alexander Stolz
  • 7,116
  • 11
  • 54
  • 63
7
votes
3 answers

Does anyone have any experiences with Eclipse GMF?

I've just started to play around with Eclipse GMF. Has anyone used the framework? Any good or bad experiences you had using it? Any alternatives for graphical modeling you could suggest? EDIT: What good examples are available?
Peter Lang
  • 50,721
  • 26
  • 139
  • 153
7
votes
3 answers

Relationship between GEF and GMF?

I'm working on summary on the eclipse modeling project and its various sub - projects. It is not going to get published, it's sole purpose is to help my colleagues and above all my boss to get an overall impression of the topic. For better…
Patrick
  • 573
  • 6
  • 19
4
votes
2 answers

Create nodes programmatically in Eclipse GMF

I'm developing an editor to design user Interfaces based on eclipse GMF. Up to now I have developed an editor with a palette. The user can drag and drop UI elements from pallet and design the UI on canvas. I need to implement the facility to group…
pavithraCS
  • 606
  • 6
  • 22
4
votes
2 answers

EMF/GMF/Papyrus - Set excplicit an ElementImpl - Property out of code

I have an EMF-model and the generated editor. In the model/editor, it is possible to connect Element "Unit"(U) with "Specification"(S). Now, I want to have a specialized CSS-style for S if at least one U satisfies S. But (to the best of my…
Shounbourgh
  • 258
  • 2
  • 14
4
votes
1 answer

Xtext Integration with GMF

I see xtex can be integrated with gmf, but I can't find any tutorial, explanation or example code. Is there any explanation about how to do this? And I want to ask... Can I create an xtext project and then with same metamodel (ecore) can I create a…
gezgin
  • 207
  • 4
  • 10
4
votes
1 answer

Manually control the EditorPart lifecycle to embed it in a ViewPart

I have an Eclipse RCP application which uses Views to allow edition of an EMF Resource. The resource and EditingDomain is contained in the Page input. We are now trying to integrate Eclipse GMF. This generates a DiagramEditor which works…
parasietje
  • 1,499
  • 8
  • 35
3
votes
2 answers

EMF generate non-Java Code

Is there a way to generate from a ECore model code that is not Java? I have a meta-model that represent a html layout (forms, inputs, buttons) and I want to generate the html. How can I do this? What other tools must I use? A link to a tutorial…
AdrianS
  • 1,780
  • 7
  • 26
  • 48
3
votes
1 answer

Xtext and GMF integration

First of all, I have seen many links on stackoverflow of integrating XText with GMF. The most consistent tutorial I've seen so far was: http://www.eclipse.org/forums/index.php/mv/msg/472225/1036564/#msg_1036564 ..But not even generate a textual…
Joer Sakt
  • 31
  • 2
2
votes
2 answers

Saving UI design in XML format

We are developing an IDE (based on Eclipse GMF) to design user interfaces. Those Designs will be then saved in XML format. Is there any opensource tool available to do the same thing?
pavithraCS
  • 606
  • 6
  • 22
2
votes
0 answers

How to add Combo Feature in a ContainerShape Graphiti

I want to add a drop down combo box filter inside a container in the Graphiti Editor. It appears if I override this method: public IDirectEditingFeature getDirectEditingFeature(IDirectEditingContext context) ...as shown in the figure…
Alok
  • 839
  • 8
  • 24
2
votes
0 answers

Can't generate Diagram Editor in Eclipse

This is an image of Eclipse GMF: a graphical editor for EMF models: When I click 'Generate Diagram Editor' the problem occurs: An internal error occurred during: "Execute Templates". …
Hansa Tharuka
  • 129
  • 1
  • 5
2
votes
1 answer

GMF runtime notation convert to EditPart

How can I receive from org.eclipse.gmf.runtime.notation.impl.ShapeImpl Object the corresponding EditPart? Or how can I receive from ShapeImpl(emf.ecore not runtime) the corresponding EditPart?
Le_Coeur
  • 2,007
  • 5
  • 28
  • 42
2
votes
1 answer

Eclipse: Xtext and integration with Epsilon/GMF/Graphiti

I want to create a DSL with graphical support in Eclipse. For the DSL I use Xtext, but cannot find good example on how to integrate the graphical part. I have not decided on one of the technologies to prove a graphical part and are prepared to use…
Johan
  • 553
  • 5
  • 18
2
votes
1 answer

Migrate EMF / GMF based eclipse 3 plugins to RCP

Some time ago I created a graphical editor with GMF ( xsd->ecore->emf->gmf). Additionally I created plugins with different views, launchers (debugger) and more. All those plugins were created with Eclipse Helios. Now, I would like to create a RCP…
SuiTheDoc
  • 159
  • 2
  • 8
1
2 3 4 5 6 7