|DiagramComposite in Eclipse 4 [message #1328641]
||Fri, 02 May 2014 20:10
| Fayçal Benaziz
Registered: December 2013
I would like to know if there is a way to use the diagram composite in a Eclipse 4 RCP, inside a MPart. I can display a diagram but when I want to call an AddFeature, I can't use : Graphiti.getPeCreateService().createContainerShape(ContainerShape cs, boolean active).
Indeed, when I use this method, I have an NPE error because the IWorkbenchPart can't be found.
But in the DiagramComposite constructors, there is a constructeur with the IWorkbenchPart in parameter and another without the IWorkbenchPart in parameter. Maybe is it a mistake ?
Powered by FUDForum
. Page generated in 0.05555 seconds