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 14:51
keersbulik Missing name is currently offline keersbulik Missing nameFriend
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 14:52]

Report message to a moderator

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

Current Time: Wed Nov 25 10:22:42 GMT 2015

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

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