Interface IClientWorkflowAPI
public interface IClientWorkflowAPI
Main API. Can be obtained simply by
TranslationStudio.get(@NotNull GuiScriptContext pContext);
- Author:
- Phillip Austerfield
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Form Factory which uses the workflow context (cannot be manipulated manually)static interface
Operation Factory -
Method Summary
Modifier and TypeMethodDescriptiongetGenericTranslationRequestForm
(de.espirit.firstspirit.access.project.Project pProject) Create a generic request formgetGenericTranslationRequestFormComplete
(de.espirit.firstspirit.access.project.Project pProject) Create a generic request formRequest the Form Factory to use forms in scriptsRequest a registration operation factory to submit translation requests to TranslationStudiode.espirit.firstspirit.access.store.contentstore.Content2
void
showMessage
(String sMessage) Display a messagevoid
showMessage
(String sMessage, String sTitle) Display a Message in a message box
-
Method Details
-
showMessage
Display a Message in a message box- Parameters:
sMessage
- MessagesTitle
- Title
-
showMessage
Display a message- Parameters:
sMessage
- Message
-
requestFormFactory
IClientWorkflowAPI.FormFactory requestFormFactory()Request the Form Factory to use forms in scripts- Returns:
- Form Factory Instance
-
selectContent2FromScriptForm
@Nullable de.espirit.firstspirit.access.store.contentstore.Content2 selectContent2FromScriptForm() -
requestRegisterOperationFactory
IClientWorkflowAPI.RegisterOperationFactory requestRegisterOperationFactory()Request a registration operation factory to submit translation requests to TranslationStudio- Returns:
-
getGenericTranslationRequestForm
@NotNull ITranslationRequestFormSpecific getGenericTranslationRequestForm(@NotNull de.espirit.firstspirit.access.project.Project pProject) Create a generic request form- Parameters:
pProject
-- Returns:
-
getGenericTranslationRequestFormComplete
@NotNull ITranslationRequestFormSpecificFull getGenericTranslationRequestFormComplete(@NotNull de.espirit.firstspirit.access.project.Project pProject) Create a generic request form- Parameters:
pProject
-- Returns:
-