Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:02 Go to next message
Johannes Spreemann is currently offline Johannes SpreemannFriend
Messages: 19
Registered: August 2013
Location: Germany/Netherlands
Junior Member
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 11:10 Go to previous message
Johannes Spreemann is currently offline Johannes SpreemannFriend
Messages: 19
Registered: August 2013
Location: Germany/Netherlands
Junior Member
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: Thu Apr 25 11:35:49 GMT 2024

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

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

Back to the top