IntroDescriptor introDescriptor = workbench.getIntroDescriptor();
if (introDescriptor == null) {
return false;
}
try {
IntroContentDetector contentDetector = introDescriptor
.getIntroContentDetector();
if (contentDetector != null) {
return contentDetector.isNewContentAvailable();
}
} catch (CoreException ex) {
WorkbenchPlugin.log(new Status(IStatus.WARNING,
WorkbenchPlugin.PI_WORKBENCH, IStatus.WARNING,
"Could not load intro content detector", ex)); //$NON-NLS-1$