Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Graphiti and E4
Graphiti and E4 [message #730527] Wed, 28 September 2011 10:51
keersbulik Missing name is currently offline keersbulik Missing name
Messages: 6
Registered: May 2011
Junior Member

I try to integrate graphiti in an E4 application.
I use compatibility layer.

i wrote an E4 handler to open a diagram in my editor.

public class MyHandler {

	public void openEditor(EPartService partService,
			MApplication application, EModelService modelService) {

		MInputPart part = MBasicFactory.INSTANCE.createInputPart();
		part.setInputURI("my diagram path");
		List<MPartStack> stacks = modelService.findElements(application, null, MPartStack.class, null);
		partService.showPart(part, PartState.ACTIVATE);


When i perform the action a part is open, but the tab is empty.
Does anyone already try to do that ?


[Updated on: Wed, 28 September 2011 10:52]

Report message to a moderator

Previous Topic:CVS or GIT?
Next Topic:Connections and Bendpoints within Containershapes?
Goto Forum:

Current Time: Thu Aug 21 16:13:29 EDT 2014

Powered by FUDForum. Page generated in 0.03089 seconds