Deleting a part from a model [message #1067452] |
Mon, 08 July 2013 15:03  |
Eclipse User |
|
|
|
I have a situation where I use the PartService's createPart() method to create a part from a PartDescriptor. The PartDescriptor indicates that the part is "multiple", "closeable", and "dirtyable".
My problem is that when I then close the part, I see in the workbench.xmi that there is still an entry for the part, with toBeRendered="false". That orphaned entry isn't really doing me any good because I don't want to retrieve it again.
Is there a way I can tell the model to remove the part entirely when it is closed? I'm sure there must be, but I can't find the API in either the EPartService or EModelService.
Thank you.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07203 seconds