public class DiscoverJavaModelFromClassFile extends AbstractModelDiscoverer<IClassFile>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Constructor and Description |
---|
DiscoverJavaModelFromClassFile() |
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicableTo(IClassFile classFile)
To determine if the source object can be handled by the discoverer.
|
discoverElement, getDefaultTargetURI, getTargetModel, getTargetURI, setSerializeTarget, setTargetModel, setTargetURI
isAFolder, isAJavaProject, isAnIFileWithExtension, isAProject, setRefreshSourceBeforeDiscovery
public static final java.lang.String ID
public boolean isApplicableTo(IClassFile classFile)
IDiscoverer
Some usual implementations are proposed on AbstractDiscoverer
.
classFile
- the selected object.true
if the selected object is managed by this
discoverer, false
otherwise.