Author: snjeza
Date: 2012-03-17 13:56:54 -0400 (Sat, 17 Mar 2012)
New Revision: 39600
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java
Log:
JBIDE-11300 Refreshing the Project Examples section of JBoss Central (Getting Started tab)
makes the whole left column wider
Modified:
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java
===================================================================
---
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java 2012-03-17
17:50:17 UTC (rev 39599)
+++
trunk/central/plugins/org.jboss.tools.central/src/org/jboss/tools/central/editors/GettingStartedPage.java 2012-03-17
17:56:54 UTC (rev 39600)
@@ -21,6 +21,7 @@
import java.util.Set;
import org.apache.commons.lang.StringEscapeUtils;
+import org.eclipse.core.resources.WorkspaceJob;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.IContributor;
@@ -160,7 +161,6 @@
private ToolBarManager newsToolBarManager;
private ToolBarManager blogsToolBarManager;
private Action blogsWarning;
- private boolean newProjectsInitialized;
public GettingStartedPage(FormEditor editor) {
super(editor, ID, "Getting Started");
@@ -782,7 +782,9 @@
setBusyIndicator(composite, true);
form.reflow(true);
form.redraw();
- recomputeScrollComposite(scrolledComposite, pageBook);
+ if (pageBook != tutorialPageBook) {
+ recomputeScrollComposite(scrolledComposite, pageBook);
+ }
}
});
return true;