org.openoffice.ide.eclipse.core.builders
Class RegmergeBuilder

java.lang.Object
  extended by org.openoffice.ide.eclipse.core.builders.RegmergeBuilder

public class RegmergeBuilder
extends java.lang.Object

Builder for the URD files generating the types.rdb registry.

This builder should not be associated directly to a UNO project: the right builder for this is TypesBuilder. This builder doesn't make any difference between full and incremental builds.

Author:
cedricbosdo

Field Summary
static java.lang.String TYPE_ROOT_KEY
          Root of the generated types, used by regmerge and javamaker.
 
Constructor Summary
RegmergeBuilder()
           
 
Method Summary
static void build(IUnoidlProject pUnoprj, org.eclipse.core.runtime.IProgressMonitor pMonitor)
          Computes the full build of all the urd files into a single types.rdb file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_ROOT_KEY

public static final java.lang.String TYPE_ROOT_KEY
Root of the generated types, used by regmerge and javamaker. UCR is chosen for OpenOffice.org compatibility

See Also:
Constant Field Values
Constructor Detail

RegmergeBuilder

public RegmergeBuilder()
Method Detail

build

public static void build(IUnoidlProject pUnoprj,
                         org.eclipse.core.runtime.IProgressMonitor pMonitor)
                  throws java.lang.Exception
Computes the full build of all the urd files into a single types.rdb file. This resulting file is given by IUnoidlProject.getTypesPath(). This methods simply launches the RegmergeBuildVisitor on the urd folder.

Parameters:
pUnoprj - the project to build
pMonitor - a monitor to watch the build progress
Throws:
java.lang.Exception - is thrown is anything wrong happens