Bug 9556 Welcome Tab > Opens as a view in the Carbide perspective rather than a maximized tab
--- a/project/com.nokia.carbide.cpp.project.core/src/com/nokia/carbide/cpp/internal/project/core/updater/UpdateTrigger.java Tue Aug 11 12:02:39 2009 -0500
+++ b/project/com.nokia.carbide.cpp.project.core/src/com/nokia/carbide/cpp/internal/project/core/updater/UpdateTrigger.java Tue Aug 11 12:09:14 2009 -0500
@@ -34,24 +34,6 @@
// use the version of Carbide updating to as the trigger property
private static final String TRIGGER_PROPERTY = "1.2.0"; //$NON-NLS-1$
private static final String SYMBIAN_PERSPECTIVE_ID = "com.symbian.cdt.SymbianPerspective"; //$NON-NLS-1$
- private static final String PROBLEM_VIEW_ID = "org.eclipse.ui.views.ProblemView"; //$NON-NLS-1$
-
- private void resetProblemView() {
- // Evidently, hiding and then reshowing the ProblemView seems to fix up the columns
- IWorkbenchWindow window = PlatformUI.getWorkbench().getActiveWorkbenchWindow();
- if (window != null) {
- IWorkbenchPage page = window.getActivePage();
- IViewPart part = page.findView(PROBLEM_VIEW_ID);
- if (part != null) {
- page.hideView(part);
-
- try {
- page.showView(PROBLEM_VIEW_ID);
- } catch (PartInitException e) {
- }
- }
- }
- }
@Override
protected String getLocalKey() {
@@ -89,7 +71,6 @@
break;
}
}
- resetProblemView();
}
});
}