DiscoverJspModelFromResource or DiscoverJspModelFromJavaElement
instead, cf. https://bugs.eclipse.org/bugs/show_bug.cgi?id=474894@Deprecated public class DiscoverJspModelFromProject extends DefaultDiscoverer
PARAMETER_SERIALIZE_XMI, PARAMETER_SILENT_MODE, PARAMETER_TARGET_RESOURCE| Constructor and Description |
|---|
DiscoverJspModelFromProject()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
discoverElement(java.lang.Object source,
java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
Deprecated.
This method retrieve the project, list all JSP files in it and create a first model Then it
matches every Node with the Modisco JSP Model
|
Resource |
discoverElement(java.lang.Object source,
URI target)
Deprecated.
Discovers a generic Java Server Pages model and opens the MoDisco editor or default editor.
|
java.util.List<DiscoveryParameter> |
getDiscovererParameters()
Deprecated.
Get a complete list of all parameters available in this discoverer.
|
boolean |
isApplicableTo(java.lang.Object source)
Deprecated.
Method called when the user right click on a file to know whether or not displaying this
discoverer
|
getResourceResult, setResourceResultpublic boolean isApplicableTo(java.lang.Object source)
source - the selected object.true if the selected object is managed by this
discoverer, false otherwise.public void discoverElement(java.lang.Object source,
java.util.Map<DiscoveryParameter,java.lang.Object> parameters)
source - the selected object.parameters - the target URI (can be null)public Resource discoverElement(java.lang.Object source,
URI target)
source - a IFile instance pointing Projecttarget - should be null here.public java.util.List<DiscoveryParameter> getDiscovererParameters()
Discoverer