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:
parent
77551f602a
commit
126d969695
1 changed files with 8 additions and 8 deletions
|
@ -10,7 +10,6 @@ import java.util.ArrayList;
|
|||
import java.util.MissingResourceException;
|
||||
import java.util.ResourceBundle;
|
||||
|
||||
import org.eclipse.cdt.core.builder.ICBuilder;
|
||||
import org.eclipse.cdt.core.index.IndexModel;
|
||||
import org.eclipse.cdt.core.model.CoreModel;
|
||||
import org.eclipse.cdt.core.resources.IConsole;
|
||||
|
@ -371,12 +370,13 @@ public class CCorePlugin extends Plugin {
|
|||
this.convertProjectToCC(projectHandle, monitor, projectID, true);
|
||||
}
|
||||
|
||||
public ICBuilder[] getBuilders(IProject project) throws CoreException {
|
||||
ICExtension extensions[] = fDescriptorManager.createExtensions(BUILDER_MODEL_ID, project);
|
||||
ICBuilder builders[] = new ICBuilder[extensions.length];
|
||||
System.arraycopy(extensions, 0, builders, 0, extensions.length);
|
||||
return builders;
|
||||
}
|
||||
// Extract the builder from the .cdtproject.
|
||||
// public ICBuilder[] getBuilders(IProject project) throws CoreException {
|
||||
// ICExtension extensions[] = fDescriptorManager.createExtensions(BUILDER_MODEL_ID, project);
|
||||
// ICBuilder builders[] = new ICBuilder[extensions.length];
|
||||
// System.arraycopy(extensions, 0, builders, 0, extensions.length);
|
||||
// return builders;
|
||||
// }
|
||||
|
||||
public IProcessList getProcessList() {
|
||||
IExtensionPoint extension = getDescriptor().getExtensionPoint("ProcessList");
|
||||
|
|
Loading…
Add table
Reference in a new issue