org.eclipse.modisco.usecase.simpletransformationschain
Class DiscoverUmlModelWithBidirectionalAssociationsFromJavaProject

java.lang.Object
  extended by org.eclipse.modisco.infra.discovery.core.AbstractDiscoverer<T>
      extended by org.eclipse.modisco.infra.discovery.core.AbstractModelDiscoverer<IJavaProject>
          extended by org.eclipse.modisco.usecase.simpletransformationschain.DiscoverUmlModelWithBidirectionalAssociationsFromJavaProject
All Implemented Interfaces:
IDiscoverer<IJavaProject>

public class DiscoverUmlModelWithBidirectionalAssociationsFromJavaProject
extends AbstractModelDiscoverer<IJavaProject>


Constructor Summary
DiscoverUmlModelWithBidirectionalAssociationsFromJavaProject()
           
 
Method Summary
 boolean isApplicableTo(IJavaProject source)
          To determine if the source object can be handled by the discoverer.
 void setCustomTransformation(java.net.URL customTransformation)
           
 
Methods inherited from class org.eclipse.modisco.infra.discovery.core.AbstractModelDiscoverer
discoverElement, getDefaultTargetURI, getTargetModel, getTargetURI, setSerializeTarget, setTargetModel, setTargetURI
 
Methods inherited from class org.eclipse.modisco.infra.discovery.core.AbstractDiscoverer
isAFolder, isAJavaProject, isAnIFileWithExtension, isAProject, setRefreshSourceBeforeDiscovery
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoverUmlModelWithBidirectionalAssociationsFromJavaProject

public DiscoverUmlModelWithBidirectionalAssociationsFromJavaProject()
Method Detail

setCustomTransformation

@Parameter(name="CUSTOM_TRANSFORMATION",
           description="A URL pointing to an ATL transformation that will be used instead of the default one.")
public void setCustomTransformation(java.net.URL customTransformation)

isApplicableTo

public boolean isApplicableTo(IJavaProject source)
Description copied from interface: IDiscoverer
To determine if the source object can be handled by the discoverer. Each discoverer has to implement this method with its own criteria to filter the selected object.

Some usual implementations are proposed on AbstractDiscoverer.

Parameters:
source - the selected object.
Returns:
true if the selected object is managed by this discoverer, false otherwise.