|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteNotesUITools
Collection of helper function that deal with the Notes UI
Method Summary | |
---|---|
java.util.Date |
createDTDate(java.lang.String localDate,
java.lang.String localTime)
Helper function to convert a DateTime string for date and time into a Java Date |
void |
executeFormulaInUI(java.lang.String formula,
boolean runOnUIContext,
boolean block,
java.util.Map<java.lang.String,java.lang.Object> nonUICtxParams)
Method to execute a piece of formula code in the Notes UI thread |
void |
executeLotusScriptInUI(LotusScriptProgram program,
boolean runOnUIContext,
boolean block,
java.util.Map<java.lang.String,java.lang.Object> nonUICtxParams)
Method to execute a piece of Lotusscript in the Notes UI thread |
java.lang.String |
getDTString(java.util.Calendar cal)
Helper function to convert a Calendar object into Domino's Date strings |
IRemoteNotesUIWorkspace |
getNotesUIWorkspace()
Method to access a wrapper for the NotesUIWorkspace |
java.lang.String |
getTempDbPath()
Method returns the filepath to the local database in which temporary documents are created |
Method Detail |
---|
java.lang.String getTempDbPath() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteNotesUIWorkspace getNotesUIWorkspace() throws RemoteEclipseAPIException
RemoteEclipseAPIException
java.util.Date createDTDate(java.lang.String localDate, java.lang.String localTime) throws RemoteEclipseAPIException
Date
localDate
- date in string format, can be null
localTime
- time in string format, can be null
RemoteEclipseAPIException
java.lang.String getDTString(java.util.Calendar cal) throws RemoteEclipseAPIException
Calendar
object into Domino's Date strings
cal
- calendar object
RemoteEclipseAPIException
void executeFormulaInUI(java.lang.String formula, boolean runOnUIContext, boolean block, java.util.Map<java.lang.String,java.lang.Object> nonUICtxParams) throws RemoteEclipseAPIException
formula
- formula coderunOnUIContext
- true
to execute the code on the current NSF viewpartblock
- true
to wait for the execution to finish; freezes the Notes client when the method is called from the Notes/SWT UI threadnonUICtxParams
- parameter map is used to initialize the temporary document that the macro is working on with runOnUIContext=false
RemoteEclipseAPIException
void executeLotusScriptInUI(LotusScriptProgram program, boolean runOnUIContext, boolean block, java.util.Map<java.lang.String,java.lang.Object> nonUICtxParams) throws RemoteEclipseAPIException
program
- LotusScript programrunOnUIContext
- true
to execute the code on the current NSF viewpartblock
- true
to wait for the execution to finish; freezes the Notes client when the method is called from the Notes/SWT UI threadnonUICtxParams
- parameter map is used to initialize the temporary document that the macro is working on with runOnUIContext=false
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |