Bug 97338 [Intro] Internal Browser is not operational
diff --git a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroPartPresentation.java b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroPartPresentation.java
index 12df156..2570878 100644
--- a/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroPartPresentation.java
+++ b/org.eclipse.ui.intro/src/org/eclipse/ui/internal/intro/impl/model/IntroPartPresentation.java
@@ -223,9 +223,9 @@
implementationElement, "kind")); //$NON-NLS-1$
break;
} catch (SWTError e) {
- Log.error("Failed to create Intro UI implementation from: " //$NON-NLS-1$
+ Log.warning("Failed to create Intro UI implementation from: " //$NON-NLS-1$
+ ModelLoaderUtil.getLogString(implementationElement,
- "kind"), e); //$NON-NLS-1$
+ "kind") + e.getMessage()); //$NON-NLS-1$
implementation = null;
implementationElement = null;
} catch (Exception e) {
@@ -242,6 +242,9 @@
implementation = new FormIntroPartImplementation();
try {
implementation.init(introPart, memento);
+ // simply set the presentation kind since all other attributes
+ // will be null.
+ implementationKind = FORMS_IMPL_KIND;
} catch (Exception e) {
// should never be here.
Log.error(e.getMessage(), e);