1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

comment out the getBuilders method.

This commit is contained in:
Alain Magloire 2003-02-14 01:16:19 +00:00
parent 77551f602a
commit 126d969695

View file

@ -10,7 +10,6 @@ import java.util.ArrayList;
import java.util.MissingResourceException; import java.util.MissingResourceException;
import java.util.ResourceBundle; import java.util.ResourceBundle;
import org.eclipse.cdt.core.builder.ICBuilder;
import org.eclipse.cdt.core.index.IndexModel; import org.eclipse.cdt.core.index.IndexModel;
import org.eclipse.cdt.core.model.CoreModel; import org.eclipse.cdt.core.model.CoreModel;
import org.eclipse.cdt.core.resources.IConsole; import org.eclipse.cdt.core.resources.IConsole;
@ -371,12 +370,13 @@ public class CCorePlugin extends Plugin {
this.convertProjectToCC(projectHandle, monitor, projectID, true); this.convertProjectToCC(projectHandle, monitor, projectID, true);
} }
public ICBuilder[] getBuilders(IProject project) throws CoreException { // Extract the builder from the .cdtproject.
ICExtension extensions[] = fDescriptorManager.createExtensions(BUILDER_MODEL_ID, project); // public ICBuilder[] getBuilders(IProject project) throws CoreException {
ICBuilder builders[] = new ICBuilder[extensions.length]; // ICExtension extensions[] = fDescriptorManager.createExtensions(BUILDER_MODEL_ID, project);
System.arraycopy(extensions, 0, builders, 0, extensions.length); // ICBuilder builders[] = new ICBuilder[extensions.length];
return builders; // System.arraycopy(extensions, 0, builders, 0, extensions.length);
} // return builders;
// }
public IProcessList getProcessList() { public IProcessList getProcessList() {
IExtensionPoint extension = getDescriptor().getExtensionPoint("ProcessList"); IExtensionPoint extension = getDescriptor().getExtensionPoint("ProcessList");