|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtl.ide.ui.builders.MTLProject
public class MTLProject
A MTL project represents a view of a project resource in terms of MTL elements. Each MTL project has a classpath, defining which folders contain source code and where templates are located. Each MTL project also has an output location. The extension of a template is '.mtl' and the extension of an output file is '.emtl'.
| Constructor Summary | |
|---|---|
MTLProject(org.eclipse.core.resources.IProject project)
Constructor. |
|
| Method Summary | |
|---|---|
java.util.List<org.eclipse.emf.common.util.URI> |
getAccessibleOutputFiles()
Gets all the accessible output files (EMTL) of this project. |
org.eclipse.core.runtime.IPath |
getOutputFilePath(org.eclipse.core.resources.IFile fileMTL)
Gets the output file path (EMTL) for the given MTL file. |
java.lang.String |
getPackageName(org.eclipse.core.resources.IFile fileMTL)
Gets the full name of the package which contains the MTL file. |
java.util.List<org.eclipse.core.runtime.IPath> |
getResolvedClasspath()
This is a helper method returning the resolved classpath for the project as a list of simple classpath entries. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MTLProject(org.eclipse.core.resources.IProject project)
project - is the project| Method Detail |
|---|
public org.eclipse.core.runtime.IPath getOutputFilePath(org.eclipse.core.resources.IFile fileMTL)
fileMTL - is the MTL file
public java.util.List<org.eclipse.core.runtime.IPath> getResolvedClasspath()
public java.lang.String getPackageName(org.eclipse.core.resources.IFile fileMTL)
fileMTL - is the MTL file
public java.util.List<org.eclipse.emf.common.util.URI> getAccessibleOutputFiles()
|
Copyright 2008 Obeo All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||