|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILanguageBuilder
Interface defining a set of methods for to do the language specific tasks to build UNO projects.
Method Summary | |
---|---|
org.eclipse.core.resources.IFile |
createLibrary(IUnoidlProject pUnoProject)
Creates the library containing the component. |
void |
fillUnoPackage(org.openoffice.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. |
Method Detail |
---|
java.lang.String[] getBuildEnv(IUnoidlProject pUnoProject)
pUnoProject
- the UNO project of the library
NAME=VALUE
org.eclipse.core.resources.IFile createLibrary(IUnoidlProject pUnoProject) throws java.lang.Exception
pUnoProject
- the project to build into a library
java.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.openoffice.plugin.core.model.UnoPackage pUnoPackage, IUnoidlProject pPrj)
pUnoPackage
- the UNO package to completepPrj
- the project to package
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |