Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF support in a stack of e4 application
GMF support in a stack of e4 application [message #1097865] Fri, 30 August 2013 05:02 Go to next message
Eclipse UserFriend
Hey guys,

I'm trying to get a running graph editor in a composite of a stack. How is this possible? I'm able to create an editor as a normal RCP plugin but not in an e4 Application and I can find only the old tutorial from Lars Vogel.

Kind regards,
Johannes
Re: GMF support in a stack of e4 application [message #1097933 is a reply to message #1097865] Fri, 30 August 2013 07:10 Go to previous message
Eclipse UserFriend
Additional remarks:

The Graph himself extends a Figure Canvas.
public class Graph extends FigureCanvas implements IContainer { ... }


I tried to extend my GraphEditor from a composite to add it directly as one element of the parent Composite of the part.

public class GraphEditor extends Composite {

	Graph graph = null;

	public GraphEditor(Composite parent, int style) {
		super(parent, style);
		// Graph will hold all other objects
		graph = new Graph(parent, SWT.NONE);
...

and how its called:
Composite graphEditor = new GraphEditor(parent, 1);
		graphEditor.setLayoutData(fd_compositeEditorArea);


Neither a graph is displayed nor any exception or error message appears Sad

Maybe my idea is totally wrong or I'm missing just some things.

Any ideas out there?

Kind regards,
Johannes
Previous Topic:Adding values to the links and summing them up
Next Topic:Read Only Properties
Goto Forum:
  


Current Time: Tue Jul 22 19:16:39 EDT 2025

Powered by FUDForum. Page generated in 0.02710 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top