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 interfaceForm Factory which uses the workflow context (cannot be manipulated manually)static interfaceOperation Factory -
Method Summary
Modifier and TypeMethodDescriptionbooleanconfirmDialog(String sQuestion) Show a confirmation dialoggetGenericTranslationRequestForm(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.Content2voidshowMessage(String sMessage) Display a messagevoidshowMessage(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
-
confirmDialog
Show a confirmation dialog- Parameters:
sQuestion-- Returns:
-
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:
-