|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISdk
Interface defining an OpenOffice.org SDK.
Method Summary | |
---|---|
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. |
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(IUnoidlProject pProject,
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. |
Method Detail |
---|
void setHome(java.lang.String pHome) throws InvalidConfigException
pHome
- path to the new sdk home
InvalidConfigException
- This exception is thrown when the
following errors are encountered with the
InvalidConfigException.INVALID_SDK_HOME
error 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 be
org.eclipse.core.runtime.IPath getBinPath()
java.lang.Process runTool(IUnoidlProject pProject, java.lang.String pShellCommand, org.eclipse.core.runtime.IProgressMonitor pMonitor)
pProject
- the UNO-IDL project on which to run the toolpShellCommand
- the shell command to execute the toolpMonitor
- a process monitor to watch the tool launching
java.lang.Process runToolWithEnv(IUnoidlProject pProject, java.lang.String pShellCommand, java.lang.String[] pEnv, org.eclipse.core.runtime.IProgressMonitor pMonitor)
pProject
- the UNO-IDL project on which to run the toolpShellCommand
- the shell command to execute the toolpEnv
- tool environement variablepMonitor
- a process monitor to watch the tool launching
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |