| java.lang.Object org.eclipse.jdt.ui.text.java.ClasspathFixProcessor
All known Subclasses: org.eclipse.jdt.internal.ui.text.correction.DefaultClasspathFixProcessor,
ClasspathFixProcessor | abstract public class ClasspathFixProcessor (Code) | | Class to be implemented by contributors to the extension point
org.eclipse.jdt.ui.classpathFixProcessors .
EXPERIMENTAL This class or interface has been added as part
of a work in progress. We are interested in feedback (bug 196141) . This API may still change.
since: 3.4 |
Inner Class :abstract public static class ClasspathFixProposal | |
Method Summary | |
public static ClasspathFixProposal[] | getContributedFixImportProposals(IJavaProject project, String name, MultiStatus status) Evaluates all contributed proposals that can fix non-resolvable imports.
Parameters: project - the current project Parameters: name - the missing type to be added to the class path. | abstract public ClasspathFixProposal[] | getFixImportProposals(IJavaProject project, String name) Returns proposal that can fix non-resolvable imports.
Parameters: project - the current project Parameters: name - the missing type to be added to the class path. |
getContributedFixImportProposals | public static ClasspathFixProposal[] getContributedFixImportProposals(IJavaProject project, String name, MultiStatus status)(Code) | | Evaluates all contributed proposals that can fix non-resolvable imports.
Parameters: project - the current project Parameters: name - the missing type to be added to the class path. The entries can be either a- qualified type name, like 'junit.framework.Test'
- simple type name, like 'TestCase'
- on demand import name, like 'org.junit.*'
Parameters: status - a MultiStatus to collect the resulting status or null to not collect status. returns proposals to fix the class path so that the missing types are found. |
getFixImportProposals | abstract public ClasspathFixProposal[] getFixImportProposals(IJavaProject project, String name) throws CoreException(Code) | | Returns proposal that can fix non-resolvable imports.
Parameters: project - the current project Parameters: name - the missing type to be added to the class path. The entries can be either a- qualified type name, like 'junit.framework.Test'
- simple type name, like 'TestCase'
- on demand import name, like 'org.junit.*'
returns proposals to fix the class path so that the missing types are found. If no proposals can be offered,either null or the empty array can be returned. If null is returned, also the processorsoverridden by this processor are asked. If a non null result is returned, all overridden processors are skipped. throws: CoreException - thrown when the creation of the proposals fails |
|
|