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

Updating GEF Model from a background thread

i'm trying to update a Model for GEF and have the changes shown in the view i've created. Currently no change I make is being reflected in the view, i'm using the following approach to update the model and am wondering if its the right approach to…
Paul Johnson
  • 1,329
  • 1
  • 12
  • 25
0
votes
1 answer

GEF - How to open GEF application on ViewPart application

I am newbe in GEF development. I had created one GEF application using Draw2D apis. Application contains Two tree viewers. I need to draw connection to connect children of these trees. I also want to keep control on these connection so that I can…
Mandy
  • 1,087
  • 1
  • 10
  • 14
0
votes
2 answers

How to remove eclipse editor's default context menu actions?

I would like to remove (or make invisible) the default context menu actions from my custom GEF editor. I have some custom actions (IAction) which I register (using createActions()) that I can see and run, however I would like to see only them on my…
akaspi
  • 275
  • 1
  • 3
  • 12
0
votes
1 answer

Want to develop a WYSIWYG editor for GUI in eclipse

I want to develop a WYSIWYG editor for developing Mobile Apps (Hybrid). Looked into the following link. Develop a WYSIWYG editor in eclipse plugin I have read about GEF. But some of my friends told me that GEF is outdated and there are some…
SurRam
  • 306
  • 3
  • 13
0
votes
2 answers

Eclipse GEF graphical editor without header

I am developing RCP plug-in with GEF framework. I've created basic graphical editor (GraphicalEditor and IEditorInput) IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); page.openEditor(new TEditorInput("T"),…
user1658192
  • 221
  • 1
  • 4
  • 10
0
votes
1 answer

add different plugins to different tab on multipage editor

I'm developing two GEF plugin and one RCP eclipse plugin, I have the next problem: I have one plugin with multitab editor and i would like to open the editor of plugin on first tab and open the editor of second plugin on second tab. I mean if I…
Alexandre Pinheiro
  • 370
  • 2
  • 6
  • 16
0
votes
1 answer

How to insert a Part into another plug-in's PartStack in Eclipse 4 RCP?

I'd like to practice Eclipse 4 RCP application development, and my current goal is a graph modeling application. As far as I know GEF (Graphical Editing Framework) is the most reliable graphical framework, but it is Eclipse 3.x only. So I decided to…
nosferat
  • 933
  • 13
  • 30
0
votes
1 answer

how to open a different plugin, when open a different perspective to the same file on GEF

I'm develop an project with RCP + GEF, which creates a file based on GEF Logic example . I have two plugins: one for design and edit the network one for visualize in real time the network operation.. how can I do for when i choose the…
Alexandre Pinheiro
  • 370
  • 2
  • 6
  • 16
0
votes
2 answers

Why GEF Editor Part doesn't show up?

I followed every step of this tutorial until I had to run the application for the first time, but the Graphical Editor Part doesn't show up. The only difference between the tutorial and my project is that on the Extensions tab of the plugins.xml…
nosferat
  • 933
  • 13
  • 30
0
votes
1 answer

How to calculate figure's size including all sub figures (that have separate edit parts) in GEF?

I'm trying to draw diagram that contains a single entity which holds multiple elements inside. My MVC structure looks something like this: Model: contains EntityModel.java and ElementModel.java which represents my model objects. View:…
akaspi
  • 275
  • 1
  • 3
  • 12
0
votes
1 answer

How to create two figures on a single Drag and drop in GEF?

I like to create two figure on a single drag and drop form the palette i.e At a single drag and drop two figures should be created both have separate EditPart and Model class. Thanks in advance
Anbu
  • 953
  • 3
  • 10
  • 16
0
votes
2 answers

draw2d imports not resolved

I am doing an eclipse plugin using gef. When I restart eclipse after a plugin installation I got a lot of errors regarding draw2d imports. For example in one of my classes I had: import org.eclipse.draw2d.ImageFigure; import…
Kyriakos
  • 757
  • 8
  • 23
0
votes
1 answer

Scrolling distance of FigureCanvas

I am doing an eclipse plug-in using GEF for drawing graphs. I am using a FigureCanvas to display the graphs. When I am scrolling canvas is there any way to get the distance that the canvas was scrolled?
Kyriakos
  • 757
  • 8
  • 23
0
votes
1 answer

Draw2D figure with get position at offset

I am looking for a way to get the position coordinates for an offset of a Draw2D TextFlow. For example SWT's StyledText supports that directly (getLocationAtOffset), but none of the Draw2D text figures supports this. Any ideas how I could calculate…
medihack
  • 16,045
  • 21
  • 90
  • 134
0
votes
1 answer

GEF: How to pass selections to a Command

I have a GEF Editor with a Command to create a new node. I want to pass the current selection of nodes in the editor to this command, in order to let the command create a new node and create connections from the new node to the selected nodes in the…
QueNuevo
  • 105
  • 12
1 2 3
16
17