public class TypesBuilder
extends org.eclipse.core.resources.IncrementalProjectBuilder
Main builder of the UNO-IDL projects, it computes the language specific type files and types registry from the
idl files. In order to split the work, the different tasks have been split into several builders:
RegmergeBuilder merging the urd files into the types registryILanguageBuilder#generateFromTypes( ISdk, org.libreoffice.ide.eclipse.core.preferences.IOOo, IProject, File, File, String, IProgressMonitor)
generating the language specific type files| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BUILDER_ID
The builder ID as set in the
plugin.xml file. |
static int |
COMPLETED_STATE |
static int |
GENERATE_TYPES_STATE |
static int |
IDLC_STATE |
static int |
NOT_STARTED_STATE |
static int |
REGMERGE_STATE |
| Constructor and Description |
|---|
TypesBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.core.resources.IProject[] |
build(int pKind,
java.util.Map pArgs,
org.eclipse.core.runtime.IProgressMonitor pMonitor) |
static void |
build(org.eclipse.core.resources.IProject pPrj,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
Build the types of a project.
|
static void |
buildIdl(IUnoidlProject pProject,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
Runs the idl files compilation.
|
public static final java.lang.String BUILDER_ID
plugin.xml file.public static final int IDLC_STATE
public static final int REGMERGE_STATE
public static final int GENERATE_TYPES_STATE
public static final int COMPLETED_STATE
public static final int NOT_STARTED_STATE
protected org.eclipse.core.resources.IProject[] build(int pKind,
java.util.Map pArgs,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
throws org.eclipse.core.runtime.CoreException
build in class org.eclipse.core.resources.IncrementalProjectBuilderorg.eclipse.core.runtime.CoreExceptionpublic static void build(org.eclipse.core.resources.IProject pPrj,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
throws java.lang.Exception
pPrj - the project to buildpMonitor - a monitor to report the build progressjava.lang.Exception - if anything wrong happens during the buildpublic static void buildIdl(IUnoidlProject pProject, org.eclipse.core.runtime.IProgressMonitor pMonitor) throws java.lang.Exception
pProject - the uno project to buildpMonitor - a monitor to watch the progressjava.lang.Exception - if anything wrong happened