Questions tagged [eclipse-gef]

For questions about the Eclipse Graphical Editing Framework.

The Eclipse Graphical Editing Framework (GEF) provides technology to create rich graphical editors and views for the Eclipse Workbench UI.

See http://www.eclipse.org/gef/

252 questions
2
votes
1 answer

How to generate code as Eclipse Visual Editor Does

I want to create an editor which should be drag and drop and it should generate source code accordingly.I found Visual Editor is doing almost the same what I wanted to achieve. I already went through GEF but I was expecting is there any source code…
Abhishek Choudhary
  • 8,255
  • 19
  • 69
  • 128
2
votes
1 answer

How can I get directed arrows (for an edge) in a graph generated with GEF for an Eclipse plugin?

I'm developing an Eclipse plugin for which I'm playing with GEF and Zest for generating a graph in view. I've extended the org.eclipse.gef.zest.fx.ui.parts.ZestFxUiView which is already available in the GEF plugin. Graph is successfully generated…
2
votes
1 answer

GEF 5 without Eclipse Platform

Is it possible to integrate GEF 5 in a normal Javafx Project? No Eclipse RCP Platform. No Eclipse Plugin Project. Just a simple Java(Fx) Project - adding the dependencies and start it like a normal JavaFx Application?
huidube
  • 390
  • 3
  • 15
2
votes
2 answers

How are child figures made selectable in GEF?

I implemented adding ports as children to a rectangle Figure/EditPart/Model using the Logic example as a reference. The port Figures display as expected, and debugging shows that the EditParts and Models are created and added to the parent, but the…
Chris
  • 23
  • 3
2
votes
1 answer

Eclipse 4 based GEF editor

Currently, I am creating Eclipse 4 based RCP application which has parts (view and editor). I want to add a GEF-based graphical editor. But didn't find any tutorial for Eclipse 4 and GEF. Currently, I saw GEF4 too but its rendering engine is…
Shashwat
  • 2,342
  • 1
  • 17
  • 33
2
votes
1 answer

Question about Eclipse GEF and RootEditPart

I am working on a eclipse based design editor. It's GEF based. When I am adding root editpart to the editor , it's coming over top of my domain figures. If I remove the rooteditpart , I am able to see my figures. Any idea , what I may be missing…
Jijoy
  • 12,386
  • 14
  • 41
  • 48
2
votes
0 answers

Beginner woes: Learning how to create an RCP in Eclipse

I'm trying to visualise a binary tree which I wrote. In order to do so, I have been attempting to use Eclipse's GEF (Graphical Editing Framework), and followed steps found…
umop apisdn
  • 653
  • 9
  • 20
2
votes
1 answer

How do I get access to my java source model (from JDT) from a GEF editor?

I have a basic GEF editor where I want to use the model from the currently open/selected java source editor to display extra information, but I can't figure out how to get access to java model from inside my editor. Any ideas? I'm finding the…
Sam Washburn
  • 1,817
  • 3
  • 25
  • 43
2
votes
1 answer

How to use injectors to create a GEF4 FXView/FXEditor

I am trying to create a GEF4 FXView (or FXEditor) in my eclipse rcp app that uses GEF4. I want to build a view that look likes the GEF4 MVC Logo Example, that is why I create my view that extends FXView : import java.util.List; import…
Bibix
  • 335
  • 2
  • 4
  • 13
2
votes
2 answers

Old Version of gef4?

I'm working with a softwareproject, which needs the following packages: import org.eclipse.gef4.zest.layouts.LayoutAlgorithm; import org.eclipse.gef4.zest.layouts.dataStructures.DisplayIndependentRectangle; import…
Studiosus
  • 143
  • 1
  • 11
2
votes
1 answer

How do I copy part of Zest Graph to SWT Canvas

I am developing a new Eclipse plug-in, using the GEF (Draw2d 3.9, Zest 1.5.0) with custom figures in order to represent some data. I am now trying to develop an adjustable lens view. The desired functionality is that the mouse will be dragged on the…
2
votes
1 answer

How to implement custom FlowLayout in a GEF editor?

I'm implementing a GEF editor and am facing the following problem. There are two types of EditPart: 1) GraphEditPart, 2) NodeEditPart. My editor extends GraphicalEditor, as I'm not needing a palette at all. I use SimpleRootEditPart for the…
QueNuevo
  • 105
  • 12
2
votes
1 answer

Ordering of nested figures in GEF by getChildren()

I have a figure with a ToolBar Layout. I have added a Label in it(Draw 2D). I have to add another figure in it dynamically. But when I do add it, the Label moves down and the newly added figure comes at the top. I have tried adding the label by…
nullpointer
  • 490
  • 2
  • 4
  • 20
2
votes
2 answers

Create miniature outline view from GEF editor

I am trying to display a miniature view of the graph contained in my GEF editor in the eclipse outline view, but in the outline it says "An outline is not available". This is the ContentOutlinePage I created: import…
user2035039
  • 961
  • 3
  • 16
  • 30
2
votes
1 answer

what is the use of Eclipse Modelling Frameowrk and Eclipse Graphical Editing Framework?

May be this question is easy but it created me a bit of confusion with their purpose. Just exploring the Eclipse Modelling Frameowrk and Eclipse Graphical Editing Framework. Basically The Graphical Editing Framework (GEF) provides a framework for…
Bhavesh Shah
  • 3,299
  • 11
  • 49
  • 73
1
2
3
16 17