Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2007-04-11 13:34:40 +0000
committeratikhomirov2007-04-11 13:34:40 +0000
commit5212f3f04a82f6f86b0d81cfd8378160537e8dc9 (patch)
treec084393e91dbb7d949df212416ac4569d543dc58
parent8ecbaa18fa967046f435818d80e97dbfc42b335e (diff)
downloadorg.eclipse.gmf-tooling-5212f3f04a82f6f86b0d81cfd8378160537e8dc9.tar.gz
org.eclipse.gmf-tooling-5212f3f04a82f6f86b0d81cfd8378160537e8dc9.tar.xz
org.eclipse.gmf-tooling-5212f3f04a82f6f86b0d81cfd8378160537e8dc9.zip
recognize URI as classname
-rw-r--r--plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/PackageReferencesCollector.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/PackageReferencesCollector.java b/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/PackageReferencesCollector.java
index 1fc509d5c..753705548 100644
--- a/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/PackageReferencesCollector.java
+++ b/plugins/org.eclipse.gmf.common/src/org/eclipse/gmf/internal/common/codegen/PackageReferencesCollector.java
@@ -17,6 +17,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.ListIterator;
+import org.eclipse.emf.common.util.URI;
import org.eclipse.jdt.core.dom.ASTNode;
import org.eclipse.jdt.core.dom.ASTVisitor;
import org.eclipse.jdt.core.dom.ImportDeclaration;
@@ -138,6 +139,7 @@ class PackageReferencesCollector extends ASTVisitor {
protected void initializeDefaultHardcodedTypes(Collection<String> container) {
container.add(SWT.class.getCanonicalName());
container.add(NLS.class.getCanonicalName());
+ container.add(URI.class.getCanonicalName());
}
public boolean visit(ImportDeclaration node) {

Back to the top