|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAadlProject
Represent an AADL project. This object mirrors an Eclipse project.
This interface provides methods for finding files in projects.
This interface is not intended to be implemented by clients.
Field Summary |
---|
Fields inherited from interface edu.cmu.sei.osate.workspace.IAadlElement |
---|
AADL_PACKAGE, AADL_PROPERTYSET, AADL_SPECIFICATION |
Method Summary | |
---|---|
void |
cleanAllAADLTextFiles(org.eclipse.core.runtime.IProgressMonitor monitor)
clean all AADL Text files |
void |
cleanAllDeclarativeModelFiles(org.eclipse.core.runtime.IProgressMonitor monitor)
clean all declarative AADL (XML) files |
void |
deleteAllInstanceModelFiles(org.eclipse.core.runtime.IProgressMonitor monitor)
delete all instance files |
org.eclipse.core.resources.IFile |
findAadlModelFile(java.lang.String name)
Look up a package or property set XML model by name in all projects in the workspace. |
org.eclipse.core.resources.IFile |
findAadlSourceFile(java.lang.String name)
Look up a package or property set by name in this project |
IAadlElement |
findElement(org.eclipse.core.runtime.IPath element)
|
org.eclipse.core.resources.IFile |
getAadlFile(org.eclipse.core.resources.IFile aaxlFile)
get the aadl file for the aaxl file, or null |
org.eclipse.core.runtime.IPath |
getAadlPath(org.eclipse.core.resources.IFile file)
return the path to the AADL text file that corresponds to the specified aaxl model file |
org.eclipse.core.resources.IFile |
getAaxlFile(org.eclipse.core.resources.IFile aadlFile)
get the output (model) file for the specified file, or null |
org.eclipse.core.runtime.IPath |
getAaxlPath(org.eclipse.core.resources.IFile aadlFile)
Create the path of the XML ouput file for a given AADL source file in this project. |
org.eclipse.emf.common.util.EList<org.eclipse.core.resources.IFile> |
getAllInstanceModelFiles(org.eclipse.core.runtime.IProgressMonitor monitor)
get all instance model files |
org.eclipse.emf.common.util.EList<org.eclipse.core.resources.IFile> |
getAllModelFiles()
Get all the model files in the project, both declarative and instance. |
org.eclipse.emf.common.util.EList<org.eclipse.core.resources.IFile> |
getAllSourceFiles()
get all source files |
org.eclipse.core.resources.IFolder |
getComplementFolder(org.eclipse.core.resources.IFolder folder)
return the Aadl folder corresponding to the aaxl folder |
org.eclipse.core.resources.IProject |
getProject()
|
org.eclipse.core.resources.IFile |
getRecentAaxlFile(org.eclipse.core.resources.IFile file)
return recent aaxl file. return null if there are syntax errors, or the aaxl filedoes not exist or is out of date |
Methods inherited from interface edu.cmu.sei.osate.workspace.IAadlElement |
---|
getAadlProject, getParent |
Method Detail |
---|
IAadlElement findElement(org.eclipse.core.runtime.IPath element)
org.eclipse.core.resources.IProject getProject()
org.eclipse.core.resources.IFile findAadlSourceFile(java.lang.String name)
name
- the name of the package to find
org.eclipse.core.resources.IFile findAadlModelFile(java.lang.String name)
name
- the name of the package to find
org.eclipse.core.runtime.IPath getAaxlPath(org.eclipse.core.resources.IFile aadlFile)
aadlFile
- the AADL source file
org.eclipse.core.runtime.IPath getAadlPath(org.eclipse.core.resources.IFile file)
file
-
org.eclipse.core.resources.IFile getRecentAaxlFile(org.eclipse.core.resources.IFile file)
file
- IFile aadl text file
void cleanAllDeclarativeModelFiles(org.eclipse.core.runtime.IProgressMonitor monitor)
void cleanAllAADLTextFiles(org.eclipse.core.runtime.IProgressMonitor monitor)
org.eclipse.core.resources.IFile getAaxlFile(org.eclipse.core.resources.IFile aadlFile)
aadlFile
-
org.eclipse.core.resources.IFile getAadlFile(org.eclipse.core.resources.IFile aaxlFile)
aaxlFile
- XML aadl file
org.eclipse.core.resources.IFolder getComplementFolder(org.eclipse.core.resources.IFolder folder)
folder
- org.eclipse.emf.common.util.EList<org.eclipse.core.resources.IFile> getAllSourceFiles()
void deleteAllInstanceModelFiles(org.eclipse.core.runtime.IProgressMonitor monitor)
org.eclipse.emf.common.util.EList<org.eclipse.core.resources.IFile> getAllInstanceModelFiles(org.eclipse.core.runtime.IProgressMonitor monitor)
org.eclipse.emf.common.util.EList<org.eclipse.core.resources.IFile> getAllModelFiles()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |