1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
This commit is contained in:
Alain Magloire 2004-08-12 19:43:22 +00:00
parent 55bd838834
commit 2b19fdf07e

View file

@ -31,10 +31,7 @@ import org.eclipse.cdt.ui.CUIPlugin;
import org.eclipse.cdt.ui.ICCompletionContributor; import org.eclipse.cdt.ui.ICCompletionContributor;
/** /**
* @author alain * CCompletionContributorDescriptor
*
* To change the template for this generated type comment go to
* Window - Preferences - Java - Code Generation - Code and Comments
*/ */
public class CCompletionContributorDescriptor { public class CCompletionContributorDescriptor {
private IConfigurationElement fConfigurationElement; private IConfigurationElement fConfigurationElement;
@ -62,7 +59,7 @@ public class CCompletionContributorDescriptor {
String id= fConfigurationElement.getAttribute(ID); String id= fConfigurationElement.getAttribute(ID);
return new StatusInfo(IStatus.ERROR, "Only one <enablement> element allowed. Disabling " + id); //$NON-NLS-1$ return new StatusInfo(IStatus.ERROR, "Only one <enablement> element allowed. Disabling " + id); //$NON-NLS-1$
} }
return new StatusInfo(IStatus.OK, "Syntactically correct quick assist/fix processor"); //$NON-NLS-1$ return new StatusInfo(IStatus.OK, "Syntactically correct completion contributor"); //$NON-NLS-1$
} }
private boolean matches(ITranslationUnit unit) { private boolean matches(ITranslationUnit unit) {