Skip to main content

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: Sat Dec 05 01:03:16 GMT 2020

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

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

Back to the top