public interface ISdk
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.core.runtime.IPath |
getBinPath() |
java.lang.String |
getHome()
Returns the SDK home directory.
|
java.lang.String |
getId()
Returns the SDK build id without the parenthesized string.
|
org.eclipse.core.runtime.IPath |
getIncludePath() |
org.eclipse.core.runtime.IPath |
getLibPath() |
java.lang.Process |
runTool(IUnoidlProject pProject,
java.lang.String pShellCommand,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
Create a process for the given shell command.
|
java.lang.Process |
runToolWithEnv(org.eclipse.core.resources.IProject pProject,
IOOo pOOo,
java.lang.String pShellCommand,
java.lang.String[] pEnv,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
Create a process for the given shell command.
|
void |
setHome(java.lang.String pHome)
Set the new SDK Home after having checked for the existence of the idl and settings directory.
|
void setHome(java.lang.String pHome)
throws InvalidConfigException
pHome - path to the new sdk homeInvalidConfigException -
This exception is thrown when the following errors are encountered with the
InvalidConfigException.INVALID_SDK_HOMEerror code:
java.lang.String getHome()
java.lang.String getId()
680m92(Build:8896), the result will be: 680m92.
If the builid is null, the return will beorg.eclipse.core.runtime.IPath getBinPath()
org.eclipse.core.runtime.IPath getIncludePath()
org.eclipse.core.runtime.IPath getLibPath()
java.lang.Process runTool(IUnoidlProject pProject, java.lang.String pShellCommand, org.eclipse.core.runtime.IProgressMonitor pMonitor)
pProject - the UNO project on which to run the toolpShellCommand - the shell command to execute the toolpMonitor - a process monitor to watch the tool launchingjava.lang.Process runToolWithEnv(org.eclipse.core.resources.IProject pProject,
IOOo pOOo,
java.lang.String pShellCommand,
java.lang.String[] pEnv,
org.eclipse.core.runtime.IProgressMonitor pMonitor)
pProject - the folder from which to run the commandpOOo - the ooo instance to run the toolpShellCommand - the shell command to execute the toolpEnv - tool environment variablepMonitor - a process monitor to watch the tool launching