|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.ui.text.java.ClasspathFixProcessor
public abstract class ClasspathFixProcessor
Class to be implemented by contributors to the extension point
org.eclipse.jdt.ui.classpathFixProcessors
.
Nested Class Summary | |
---|---|
static class |
ClasspathFixProcessor.ClasspathFixProposal
A proposal to fix a class path issue. |
Constructor Summary | |
---|---|
ClasspathFixProcessor()
|
Method Summary | |
---|---|
static ClasspathFixProcessor.ClasspathFixProposal[] |
getContributedFixImportProposals(IJavaProject project,
String name,
MultiStatus status)
Evaluates all contributed proposals that can fix non-resolvable imports. |
abstract ClasspathFixProcessor.ClasspathFixProposal[] |
getFixImportProposals(IJavaProject project,
String name)
Returns proposal that can fix non-resolvable imports. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClasspathFixProcessor()
Method Detail |
---|
public abstract ClasspathFixProcessor.ClasspathFixProposal[] getFixImportProposals(IJavaProject project, String name) throws CoreException
junit.framework.TestCase
is requested, it makes sense to import the full JUnit library, not just fixing the missing type.
project
- the current projectname
- the missing type to be added to the class path. The entries can be either a
null
or the empty array can be returned. If null
is returned, also the processors
overridden by this processor are asked. If a non null result is returned, all overridden processors are skipped.
CoreException
- thrown when the creation of the proposals failspublic static ClasspathFixProcessor.ClasspathFixProposal[] getContributedFixImportProposals(IJavaProject project, String name, MultiStatus status)
project
- the current projectname
- the missing type to be added to the class path. The entries can be either a
status
- a MultiStatus
to collect the resulting status or null
to not collect status.
|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.