com.ibm.pdp.maf.rpp.service
Class MAFSourceService

java.lang.Object
  extended by com.ibm.pdp.maf.rpp.service.MAFSourceService

public class MAFSourceService
extends java.lang.Object

This class defines convenient methods to access source code structure.


Field Summary
static java.lang.String copyright
           
 
Method Summary
 boolean checkDesynchronizationWithDesigns(java.lang.String sourceFileName)
          Returns true if the source file name is not synchronized with it models.
 com.ibm.pdp.framework.interfaces.IGenResult generate(java.lang.String designId, java.lang.String patternId, org.eclipse.core.runtime.IProgressMonitor monitor)
          Generates the following designId according to the patternId.
 IEditTree getEditTree(java.lang.String sourceFileName)
          Returns the edit tree of the source file name.
static MAFSourceService getInstance()
          Returns the singleton instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright
See Also:
Constant Field Values
Method Detail

checkDesynchronizationWithDesigns

public boolean checkDesynchronizationWithDesigns(java.lang.String sourceFileName)
Returns true if the source file name is not synchronized with it models.

Parameters:
sourceFileName - The eclipse path to the source file name. example : "/Project/rpp/Source.cbl"
Returns:

generate

public com.ibm.pdp.framework.interfaces.IGenResult generate(java.lang.String designId,
                                                            java.lang.String patternId,
                                                            org.eclipse.core.runtime.IProgressMonitor monitor)
Generates the following designId according to the patternId.

Parameters:
designId - - The Radical Element designId
patternId - - The pattern identifier
monitor - - The monitor.
Returns:

getEditTree

public IEditTree getEditTree(java.lang.String sourceFileName)
Returns the edit tree of the source file name.

Parameters:
sourceFileName - The eclipse path to the source file name. example : "/Project/rpp/Source.cbl"
Returns:

getInstance

public static MAFSourceService getInstance()
Returns the singleton instance.

Returns: