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.
It is on the EPartService. I currently don't know if this is documented
in the wiki else this should be done there. Naturally also the tooling
should know the tags available - you should file a bug against it unless
there's already one.
On 09.07.13 10:08, Phill Perryman wrote:
> I put removeOnHide into eclipse help (F1) but it finds no matches. Is
> there a list of these tags somewhere. I am assuming I just add it to the
> Tags on the supplementary tag of the part descriptor.