Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrussell2014-10-06 13:28:35 +0000
committermrussell2014-10-06 13:28:35 +0000
commitb27cb7d9267a1f608d4b47697d08e0ff9a59b7f0 (patch)
treec99f1fb1e7bef2dd6fca702d1c564b1af41ecfd9
parent58a062a5e78e7f807b775e44964312b9c6d5f80a (diff)
downloadorg.eclipse.windowbuilder-b27cb7d9267a1f608d4b47697d08e0ff9a59b7f0.tar.gz
org.eclipse.windowbuilder-b27cb7d9267a1f608d4b47697d08e0ff9a59b7f0.tar.xz
org.eclipse.windowbuilder-b27cb7d9267a1f608d4b47697d08e0ff9a59b7f0.zip
Fix error in Mars see https://bugs.eclipse.org/bugs/show_bug.cgi?id=444592
-rw-r--r--org.eclipse.wb.rcp/src/org/eclipse/wb/internal/rcp/RcpDescriptionVersionsProviderFactory.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/org.eclipse.wb.rcp/src/org/eclipse/wb/internal/rcp/RcpDescriptionVersionsProviderFactory.java b/org.eclipse.wb.rcp/src/org/eclipse/wb/internal/rcp/RcpDescriptionVersionsProviderFactory.java
index ee122aed..eba7ff3f 100644
--- a/org.eclipse.wb.rcp/src/org/eclipse/wb/internal/rcp/RcpDescriptionVersionsProviderFactory.java
+++ b/org.eclipse.wb.rcp/src/org/eclipse/wb/internal/rcp/RcpDescriptionVersionsProviderFactory.java
@@ -10,23 +10,20 @@
*******************************************************************************/
package org.eclipse.wb.internal.rcp;
-import com.google.common.collect.ImmutableList;
-import com.google.common.collect.ImmutableMap;
-
import org.eclipse.wb.internal.core.model.description.resource.FromListDescriptionVersionsProvider;
import org.eclipse.wb.internal.core.model.description.resource.IDescriptionVersionsProvider;
import org.eclipse.wb.internal.core.model.description.resource.IDescriptionVersionsProviderFactory;
+import org.eclipse.core.internal.preferences.ImmutableMap;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaModelException;
-import org.eclipse.swt.SWT;
import java.util.List;
import java.util.Map;
/**
* {@link IDescriptionVersionsProviderFactory} for RCP.
- *
+ *
* @author scheglov_ke
* @coverage rcp
*/
@@ -66,8 +63,7 @@ public final class RcpDescriptionVersionsProviderFactory
}
// OK, RCP project
String version = getSWTVersion();
- List<String> allVersions =
- ImmutableList.of("3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.8", "4.2", "4.3", "4.4");
+ List<String> allVersions = ImmutableList.of("3.8", "4.2", "4.3", "4.4", "4.5");
return new FromListDescriptionVersionsProvider(allVersions, version) {
@Override
protected boolean validate(Class<?> componentClass) throws Exception {

Back to the top