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
8
votes
3 answers

How to add a double-click listener to my GEF editor?

I'm using GEF. I have a graphical editor with some "boxes" implemented. Now, I want to add a double-click listener to each box (Rectangle). I tried to add a listener to the GraphicalViewer but it did not work.
jean24
  • 189
  • 3
  • 9
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
  • 585
  • 8
  • 22
5
votes
1 answer

Adding figures using contextual menu - Eclipse GEF

All, I am creating a palette less eclipse plugin where am adding figures to the custom editor through the contextual menu, but am not finding a way to do it. Can anyone please guide me as to how to go about adding figures to editor dynamically…
name_masked
  • 9,544
  • 41
  • 118
  • 172
5
votes
1 answer

How to install GEF/Draw2d source/javadoc for Eclipse PDE?

After installing the Eclipse PDE from the Eclipse downloads site, GEF and Draw2d don't seem to have working javadoc and source code attachments out of the box (The JFace source attachment is working fine). In PDE projects under the "Plugin…
icyitscold
  • 1,151
  • 1
  • 9
  • 19
5
votes
2 answers

Eclipse Contextual Help

Now can I register contextual help in an Eclipse WizardDialog/Editor. 1) I created a help_contexts.xml file.
Jason Kealey
  • 7,988
  • 11
  • 42
  • 55
4
votes
1 answer

Using GEF vs ZEST to draw a graph?

ZEST was included in the GEF library. I am a bit confused about when to use GEF and when to use ZEST. I would like to know when using GEF is better than using ZEST, and the other way around?
halfpad
  • 380
  • 2
  • 11
4
votes
0 answers

In eclipse rcp adding a new gef figure doesn't invoke selection change

I am building an eclipse rcp application with the compatability layer (between version 3 and 4). I am using GEF 3. Now when I create a new GEF figure the SelectionService of eclipse doesn't invoke handleSelectionChanged() method for some reason. The…
whomaniac
  • 1,258
  • 4
  • 15
  • 22
3
votes
2 answers

Why is GEF documentation so outdated?

I am trying to implement an application with Graphical Editing Framework GEF. But somehow it seems that the tutorials and the documentations are all very old and outdated. Is GEF not used anymore or are there good, understandable tutorials out…
Geniedesalpages
  • 418
  • 1
  • 3
  • 15
3
votes
1 answer

How to prevent the Nodes and Edges from overlapping each other in GEF-Zest graph?

I've developed an eclipse plugin for generating Graph using GEF-Zest. I'm using SpringLayoutAlgorithm as the layout algorithm(I've also tried the other layouts), but still the nodes and edges overlap each other which creates a noisy graph. I need…
3
votes
1 answer

Determing size of visible area of a ScrollingGraphicalViewer in Eclipse GEF

I am attempting to create a simple application using Eclipse GEF that displays a diagram inside a ScrollingGraphicalViewer. On start-up I want the diagram to be centered inside the viewer (imagine a star layout where the center of the star is in the…
Simon
  • 706
  • 5
  • 11
3
votes
1 answer

Design Patterns used in Eclipse GEF

Can anyone summarize the design patterns used in Eclipse GEF? I see that someone has done a perfect job on Eclipse platform and JDK. It would be very helpful for learning GEF if design patterns are illustrated. For example, EditPartFactory is a…
3
votes
2 answers

CloverETL / Zest / GEF

Which component was used to create the CLOVER ETL GUI? I have some possibilities: Zest Draw2D GEF I need to create a tool that a user can create a graph. Thanks
p.magalhaes
  • 7,595
  • 10
  • 53
  • 108
3
votes
1 answer

Changing default zoom control in GEF editor (combobox) to slider

I'm working on an Eclipse editor based on GEF. I've added a zoom control for the editor, but I want it to look differently (specifically, I want it to be slider instead of a combobox). Does anyone knows how can I do this? Thanks in advance, Daniel
Daniel L.
  • 5,060
  • 10
  • 36
  • 59
2
votes
1 answer

Eclipse GEF/Draw2d: Bounds vs. Constraints

Can someone explain the difference/relationship between bounds and constraints in Draw2d? I'm trying to set up a GEF editor where instances of the same EditPart class are nested inside each other (I can post a simplified version of the code if…
user1155252
  • 97
  • 1
  • 10
2
votes
1 answer

Draw2D GridLayoutAlgorithm with constant node width?

We're integrating Draw2D/GEF into an application, and are encountering an issue with the standard layouts provided. We have a collection (say 100) of elements that need to be displayed in a grid-like fashion. We implemented our view using a…
Craig Otis
  • 31,257
  • 32
  • 136
  • 234
1
2 3
16 17