Package com.mendix.webui
Class FeedbackHelper
java.lang.Object
com.mendix.webui.FeedbackHelper
Provides helper methods for providing action feedback.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidaddCloseCallerFeedback(IContext context) Add close caller feedback to context.static voidaddLoginFeedback(IContext context) Add show login feedback to context.static voidaddLogoutFeedback(IContext context) Add logout feedback to context.static voidaddOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target) Add open form feedback to context.static voidaddOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target, boolean isResizable, int width, int height) Add open form feedback to context.static voidaddOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target, boolean isResizable, int width, int height, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Add open form feedback to context.static voidaddOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Add open form feedback to context.static voidaddOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target) Add open form feedback to context.static voidaddOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target, boolean isResizable, int width, int height, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Add open form feedback to context.static voidaddOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Add open form feedback to context.static voidaddOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target, Boolean isResizable, int width, int height) Add open form feedback to context.static voidaddRefreshClass(IContext context, String objectClass) Add refresh class object feedback to context.static voidaddRefreshObjectFeedback(IContext context, IMendixIdentifier id) Add refresh object feedback to context.static voidaddRefreshObjectListFeedback(IContext context, List<IMendixIdentifier> ids) Add refresh object list feedback to context.static voidaddTextMessageFeedback(IContext context, IFeedback.MessageType messageType, String message, boolean blocking) Add text message feedback to context.
- 
Constructor Details- 
FeedbackHelperpublic FeedbackHelper()
 
- 
- 
Method Details- 
addTextMessageFeedbackpublic static void addTextMessageFeedback(IContext context, IFeedback.MessageType messageType, String message, boolean blocking) Add text message feedback to context.- Parameters:
- context- the context to add this feedback to
- messageType- the message type
- message- the message content
- blocking- whether the message is blocking (user has to take action before message disappears)
 
- 
addRefreshObjectFeedbackAdd refresh object feedback to context.- Parameters:
- context- the context to add this feedback to
- id- the id of the object to refresh
 
- 
addRefreshObjectListFeedbackAdd refresh object list feedback to context.- Parameters:
- context- the context to add this feedback to
- ids- the ids of the objects to refresh
 
- 
addRefreshClassAdd refresh class object feedback to context.- Parameters:
- context- the context to add this feedback to
- objectClass- the name of the class to refresh
 
- 
addOpenFormFeedbackpublic static void addOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target) Add open form feedback to context.- Parameters:
- context- the context to add this feedback to
- formName- path to the form to open
- target- is target content, window (popup) or modal window
- Throws:
- MendixRuntimeException- if the form does not exist, or if the form expects multiple parameters.
 
- 
addOpenFormFeedbackpublic static void addOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Add open form feedback to context.- Parameters:
- context- the context to add this feedback to
- formName- path to the form to open
- target- is target content, window (popup) or modal window
- currentIdentifier- the currentIdentifier
- constraints- the context objects
- Throws:
- MendixRuntimeException- if the form does not exist, or if the form expects multiple parameters.
 
- 
addOpenFormFeedbackpublic static void addOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target) Add open form feedback to context.- Parameters:
- context- the context to add this feedback to
- formName- path to the form to open
- title- the title of the form
- target- is target content, window (popup) or modal window
- Throws:
- MendixRuntimeException- if the form does not exist, or if the form expects multiple parameters.
 
- 
addOpenFormFeedbackpublic static void addOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Add open form feedback to context.- Parameters:
- context- the context to add this feedback to
- formName- path to the form to open
- title- the title of the form
- target- is target content, window (popup) or modal window
- currentIdentifier- the currentIdentifier
- constraints- the context objects
- Throws:
- MendixRuntimeException- if the form does not exist, or if the form expects multiple parameters.
 
- 
addOpenFormFeedbackpublic static void addOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target, Boolean isResizable, int width, int height) Add open form feedback to context.- Parameters:
- context- the context to add this feedback to
- formName- path to the form to open
- title- the title of the form
- target- is target content, window (popup) or modal window
- isResizable- whether the form is resizeable or not
- width- the width of the form
- height- the height of the form
- Throws:
- MendixRuntimeException- if the form does not exist, or if the form expects multiple parameters.
 
- 
addOpenFormFeedbackpublic static void addOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target, boolean isResizable, int width, int height) Add open form feedback to context.- Parameters:
- context- the context to add this feedback to
- formName- path to the form to open
- target- is target content, window (popup) or modal window
- isResizable- whether the form is resizeable or not
- width- the width of the form
- height- the height of the form
- Throws:
- MendixRuntimeException- if the form does not exist, or if the form expects multiple parameters.
 
- 
addOpenFormFeedbackpublic static void addOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target, boolean isResizable, int width, int height, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Add open form feedback to context.- Parameters:
- context- the context to add this feedback to
- formName- path to the form to open
- target- is target content, window (popup) or modal window
- isResizable- whether the form is resizeable or not
- width- the width of the form
- height- the height of the form
- currentIdentifier- the currentIdentifier
- constraints- the context objects
- Throws:
- MendixRuntimeException- if the form does not exist, or if the form expects multiple parameters.
 
- 
addOpenFormFeedbackpublic static void addOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target, boolean isResizable, int width, int height, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Add open form feedback to context.- Parameters:
- context- the context to add this feedback to
- formName- path to the form to open
- title- the title of the form
- target- is target content, window (popup) or modal window
- isResizable- whether the form is resizeable or not
- width- the width of the form
- height- the height of the form
- currentIdentifier- the currentIdentifier
- constraints- the context objects
- Throws:
- MendixRuntimeException- if the form does not exist, or if the form expects multiple parameters.
 
- 
addLoginFeedbackAdd show login feedback to context.- Parameters:
- context- the context to add this feedback to
 
- 
addLogoutFeedbackAdd logout feedback to context.- Parameters:
- context- the context to add this feedback to
 
- 
addCloseCallerFeedbackAdd close caller feedback to context.- Parameters:
- context- the context to add this feedback to
 
 
-