summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorszarnekow2009-02-04 07:59:09 (EST)
committer sefftinge2009-02-04 07:59:09 (EST)
commit8687c0d512732ac16d460e5dc8d0b833699ec314 (patch)
treec7e3f146036208f7f6f6a407a252cf76634f56fb
parent239a6aedc795d70e80569f03bf4b38e16692ae63 (diff)
downloadorg.eclipse.xtext-8687c0d512732ac16d460e5dc8d0b833699ec314.zip
org.eclipse.xtext-8687c0d512732ac16d460e5dc8d0b833699ec314.tar.gz
org.eclipse.xtext-8687c0d512732ac16d460e5dc8d0b833699ec314.tar.bz2
Minor fix: NewXtextProjectWizard shows Progressbar, added copyrightinfo
-rw-r--r--plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/BundleClasspathUriResolver.java7
-rw-r--r--plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java10
-rw-r--r--plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/WorkspaceClasspathUriResolver.java7
3 files changed, 21 insertions, 3 deletions
diff --git a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/BundleClasspathUriResolver.java b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/BundleClasspathUriResolver.java
index c843dfc..db8bcd1 100644
--- a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/BundleClasspathUriResolver.java
+++ b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/BundleClasspathUriResolver.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
package org.eclipse.xtext.ui.core.util;
import java.io.IOException;
diff --git a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java
index a2bc962..6ecf1e9 100644
--- a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java
+++ b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/JdtClasspathUriResolver.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
package org.eclipse.xtext.ui.core.util;
import java.util.zip.ZipEntry;
@@ -49,9 +56,6 @@ public class JdtClasspathUriResolver implements IClasspathUriResolver {
if (javaProject.exists()) {
IPackageFragmentRoot[] allPackageFragmentRoots = javaProject.getAllPackageFragmentRoots();
for (IPackageFragmentRoot packageFragmentRoot : allPackageFragmentRoots) {
- // prevents MalFormedURIException after executing the NewXtextProjectWizard
- if (!packageFragmentRoot.isOpen())
- packageFragmentRoot.open(null);
IResource correspondingResource = packageFragmentRoot.getCorrespondingResource();
if ((correspondingResource != null && correspondingResource instanceof IFile)
|| packageFragmentRoot instanceof JarPackageFragmentRoot) {
diff --git a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/WorkspaceClasspathUriResolver.java b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/WorkspaceClasspathUriResolver.java
index f29f8d7..ab8044c 100644
--- a/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/WorkspaceClasspathUriResolver.java
+++ b/plugins/org.eclipse.xtext.ui.core/src/org/eclipse/xtext/ui/core/util/WorkspaceClasspathUriResolver.java
@@ -1,3 +1,10 @@
+/*******************************************************************************
+ * Copyright (c) 2008 itemis AG (http://www.itemis.eu) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *******************************************************************************/
package org.eclipse.xtext.ui.core.util;
import org.eclipse.core.resources.IProject;