Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java')
-rw-r--r--bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java
index 540d02b2..4ba2573e 100644
--- a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java
+++ b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java
@@ -53,11 +53,11 @@ public class PDEClassContributionProvider implements IClassContributionProvider
// Perform the search only on the type name
typeName = currentContent.toCharArray();
if( currentContent.startsWith("*") ) {
- typeName = "".toCharArray();
if( ! currentContent.endsWith("*") ) {
currentContent += "*";
}
- packageName = currentContent.toCharArray();
+ typeName = currentContent.toCharArray();
+ packageName = "*".toCharArray();
}
} else if ((index + 1) == currentContent.length()) {
@@ -145,7 +145,7 @@ public class PDEClassContributionProvider implements IClassContributionProvider
packageName,
SearchPattern.R_PATTERN_MATCH,
typeName,
- SearchPattern.R_PREFIX_MATCH | SearchPattern.R_CAMELCASE_MATCH,
+ SearchPattern.R_PATTERN_MATCH | SearchPattern.R_CAMELCASE_MATCH,
IJavaSearchConstants.CLASS,
scope,
req,

Back to the top