Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 395297
Collapse All | Expand All

(-)a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/PDEClassContributionProvider.java (-3 / +3 lines)
Lines 53-63 Link Here
53
			// Perform the search only on the type name
53
			// Perform the search only on the type name
54
			typeName = currentContent.toCharArray();
54
			typeName = currentContent.toCharArray();
55
			if( currentContent.startsWith("*") ) {
55
			if( currentContent.startsWith("*") ) {
56
				typeName = "".toCharArray();
57
				if( ! currentContent.endsWith("*") ) {
56
				if( ! currentContent.endsWith("*") ) {
58
					currentContent += "*";
57
					currentContent += "*";
59
				}
58
				}
60
				packageName = currentContent.toCharArray();
59
				typeName = currentContent.toCharArray();
60
				packageName = "*".toCharArray();
61
			}
61
			}
62
			
62
			
63
		} else if ((index + 1) == currentContent.length()) {
63
		} else if ((index + 1) == currentContent.length()) {
Lines 145-151 Link Here
145
					packageName, 
145
					packageName, 
146
					SearchPattern.R_PATTERN_MATCH, 
146
					SearchPattern.R_PATTERN_MATCH, 
147
					typeName, 
147
					typeName, 
148
					SearchPattern.R_PREFIX_MATCH | SearchPattern.R_CAMELCASE_MATCH, 
148
					SearchPattern.R_PATTERN_MATCH | SearchPattern.R_CAMELCASE_MATCH, 
149
					IJavaSearchConstants.CLASS, 
149
					IJavaSearchConstants.CLASS, 
150
					scope, 
150
					scope, 
151
					req, 
151
					req, 

Return to bug 395297