Community
Participate
Working Groups
partService.showPart(part, PartState.CREATE);
}
CompatibilityPart compatibilityPart = (CompatibilityPart) part.getObject();
// check if we were actually created, it is insufficient to check
if (compatibilityPart != null) {
// whether the 'object' feature is valid or not because it is one of
legacyPart = compatibilityPart.getPart();
// the last things to be unset during the teardown process, this
addPropertyListeners();
// means we may return a valid workbench part even if it is actually
// in the process of being destroyed, see bug 328944
if (part.getWidget() != null) {
return legacyPart;