public interface ILanguageBuilder
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.core.resources.IFile |
createLibrary(IUnoidlProject pUnoProject)
Creates the library containing the component.
|
void |
fillUnoPackage(org.libreoffice.plugin.core.model.UnoPackage pUnoPackage,
IUnoidlProject pPrj)
Adds all the language specific libraries to the UNO package.
|
void |
generateFromTypes(ISdk pSdk,
IOOo pOoo,
org.eclipse.core.resources.IProject pPrj,
java.io.File pTypesFile,
java.io.File pBuildFolder,
java.lang.String pRootModule,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
Generates the language specific interfaces corresponding to the project unoidl specifications.
|
java.lang.String[] |
getBuildEnv(IUnoidlProject pUnoProject)
Computes the environment variables needed to build the library.
|
java.lang.String[] getBuildEnv(IUnoidlProject pUnoProject)
pUnoProject - the UNO project of the libraryNAME=VALUEorg.eclipse.core.resources.IFile createLibrary(IUnoidlProject pUnoProject) throws java.lang.Exception
pUnoProject - the project to build into a libraryjava.lang.Exception - if anything wrong happenedvoid generateFromTypes(ISdk pSdk, IOOo pOoo, org.eclipse.core.resources.IProject pPrj, java.io.File pTypesFile, java.io.File pBuildFolder, java.lang.String pRootModule, org.eclipse.core.runtime.IProgressMonitor pMonitor)
Generates the language specific interfaces corresponding to the project unoidl specifications. This method needs
an OpenOffice.org instance, the project types.rdb path, the build path where to put the generated
files and the root module to avoid massive idl types creation
pSdk - the SDK containing the tools for generationpOoo - the working OpenOffice.org instancepPrj - the project for which to generate the interfacespTypesFile - the project types.rdb pathpBuildFolder - the path to the folder where to the files will be generatedpRootModule - the project root module (eg: foo::bar)pMonitor - the progress monitorvoid fillUnoPackage(org.libreoffice.plugin.core.model.UnoPackage pUnoPackage,
IUnoidlProject pPrj)
pUnoPackage - the UNO package to completepPrj - the project to package