public interface IProjectHandler
| Modifier and Type | Method and Description |
|---|---|
void |
addOOoDependencies(IOOo pOoo,
org.eclipse.core.resources.IProject pProject)
Adds the language specific OpenOffice.org dependencies to the project.
|
void |
addProjectNature(org.eclipse.core.resources.IProject pProject)
Add a language specific language nature.
|
void |
configureProject(UnoFactoryData pData,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
Adds the language specific things of the UNO project.
|
org.eclipse.core.resources.IFolder[] |
getBinFolders(IUnoidlProject pUnoidlProject) |
org.eclipse.core.runtime.IPath |
getImplementationFile(java.lang.String pImplementationName)
Computes the implementation file path from the implementation name.
|
java.lang.String |
getImplementationName(IUnoidlProject pPrj,
java.lang.String pService)
Extracts the Implementation name of the class that will be generated by the
uno-skeletonmaker. |
java.lang.String |
getLibraryPath(IUnoidlProject pPrj) |
java.lang.String |
getSkeletonMakerLanguage(UnoFactoryData pData)
Extracts the language option name to give to the
uno-skeletonmaker: --java5 for Java
1.5 for example. |
void |
removeOOoDependencies(IOOo pOoo,
org.eclipse.core.resources.IProject pProject)
Removes the language specific OpenOffice.org dependencies from the project.
|
void configureProject(UnoFactoryData pData, org.eclipse.core.runtime.IProgressMonitor pMonitor) throws java.lang.Exception
pData - the data describing the project to configurepMonitor - the monitor reporting the progressjava.lang.Exception - if anything wrong happens.void addProjectNature(org.eclipse.core.resources.IProject pProject)
pProject - the project on which to add the nature. Must not be null, otherwise the nature won't be addedvoid addOOoDependencies(IOOo pOoo, org.eclipse.core.resources.IProject pProject)
pOoo - the OpenOffice.org instancepProject - the project on which to add the dependenciesvoid removeOOoDependencies(IOOo pOoo, org.eclipse.core.resources.IProject pProject)
pOoo - the OpenOffice.org instancepProject - the project from which to remove the dependenciesjava.lang.String getSkeletonMakerLanguage(UnoFactoryData pData) throws java.lang.Exception
uno-skeletonmaker: --java5 for Java
1.5 for example. To know the correct language name, please refer to the uno-skeletonmaker help.pData - the UNO factory data from where to extract the valuenull if the uno-skeletonmaker utility doesn't support the
language.java.lang.Exception - is thrown if anything wrong happensjava.lang.String getImplementationName(IUnoidlProject pPrj, java.lang.String pService) throws java.lang.Exception
uno-skeletonmaker. It
should never return a null value.pPrj - the project to work onpService - the service for which to get the implementationjava.lang.Exception - if anything wrong happens.org.eclipse.core.runtime.IPath getImplementationFile(java.lang.String pImplementationName)
pImplementationName - the implementation name returned by the project handler.uno-skeletonmaker.java.lang.String getLibraryPath(IUnoidlProject pPrj)
pPrj - the UNO project from which to get the library pathFile class constructor.org.eclipse.core.resources.IFolder[] getBinFolders(IUnoidlProject pUnoidlProject)
pUnoidlProject - the UNO project from which to get the binary folders