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

GMF - Compartment expand/collapse programmatically

I have a class called EntitiesContainer that holds multiple compartments. What I did is basically, when you right click on the compartment or compartmentName to listen to this event through a double click listener that is applied to both the…
nmargaritis
  • 859
  • 7
  • 21
0
votes
2 answers

Comparing Performance Eclipse GMF & MS Modeling SDK

I am working currently with the GMF-Framework, created an ecore-Model and a GMF-Editor based on the model. The created editor was integrated in Papyrus (v1.0). Based on my own DSL I created a model with (round about) 1.750 elements, which are…
Shounbourgh
  • 258
  • 2
  • 14
0
votes
2 answers

Customizing Editor Workbench by Adding Title Eclipse GMF

I want to add a title at the top of the canvas in my editor, that I generated using GMF in Eclipse. Can someone please direct me as to what changes I need to make to the generated code so as to achieve that? Thanks
Asher
  • 811
  • 3
  • 10
  • 19
0
votes
1 answer

Additional Options on Creation GMF Eclipse

I need to add functionality to an editor created using GMF in Eclipse wherein on selection of an item in the palette, a box pops up with options to create another different item. The second item cannot be created without selecting the first one. Can…
Asher
  • 811
  • 3
  • 10
  • 19
0
votes
2 answers

Extending GMF Editors for Customization

I need to customize the generated code for an editor I created using GMF. For example, I need to add a pop up box on selection of a node in the editor, I need to add text too the blank space used as the canvas for the editor. I understand that these…
Asher
  • 811
  • 3
  • 10
  • 19
0
votes
0 answers

Eclipse EMF - Synchronize common model data

I would like to know how to synchronize data of model elements (attributes, references, etc) which are common to several meta-models. Basically, I am building a DSL editor using Eclipse Graphiti that consists of several meta-models which can be…
0
votes
1 answer

Create GMF diagram programmatically

I trying to create one simple diagram using EMF & GMF in Eclipse plug-ins. I have created one Ecore with two node & connection. I am able to generate GMF out of that. When I run my application I am getting the palate and with the help of that I am…
0
votes
1 answer

GMF add a button to its toolbar

So I have a GMF editor that I'm doing some stuff there. When I'm using the GMF editor a toolbar is provided by the GMF (right above the editor). How can I add a button to that toolbar? (not to the menu!) Only things that I found until now and seems…
Edwin
  • 2,146
  • 20
  • 26
0
votes
1 answer

Printing GMF diagrams using PDFCreator not able to open the generated pdf

I have implemented a direct printing to files of some GMF diagrams. The diagrams are opened, printed to file and the diagrams then closed. The issue I am facing is withing the following point: private static void printDiagrams(IEditorPart…
0
votes
1 answer

GMF - model a Class that can contain a component of itself

since two days i am testing a little with EMF and GMF for the eclipse IDE. My aim is to model a diagram with a class, that can contain instances of itself (in the generated editor). In my *.ecore file for testing i have a class DivisionDiagram which…
Shounbourgh
  • 258
  • 2
  • 14
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
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

restrict a project to have only one file type in eclipse

I am writing a eclipse plugin. I am in the need of restricting a file with a specific extension (not creating more than one) in a project. Through a wizard i am creating a file with extension "file.extension". I have restricted in the wizard level…
Logan
  • 1,331
  • 3
  • 18
  • 41
0
votes
1 answer

How can i customize a dialog box in GMF?

Hi, I am doing a project in GMF. I want to customize a dialog box with a set of default values under the "Choices" column. This is a dialog box which contains a set of values on the left side (Choices), that can be selected to the right side…
Beschi
  • 185
  • 1
  • 3
0
votes
1 answer

Programmatically rearrange diagram

I am trying to rearrange (auto-layout) a UML2 diagram programmatically. However, I am unable to do so based on a Diagram instance. My code so far looks like: Diagram diagram = /*...*/; EditPart editPart = new…
Matthias
  • 12,053
  • 4
  • 49
  • 91