Class UserManagementPanel.PySaveContext
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.components.UserManagementPanel.PySaveContext
-
- Enclosing class:
- UserManagementPanel
public static class UserManagementPanel.PySaveContext extends java.lang.Object
This is available to the user as the saveContext variable passed in on certain extension functions. The user can call rejectSave() within the extension function to abort the save for any reason. The class is static due to the need for global access by the Jython scripting engine.
-
-
Constructor Summary
Constructors Constructor Description PySaveContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReason()
boolean
isReject()
void
rejectSave(java.lang.String reason)
-