public class FeedbackHelper
extends java.lang.Object
Constructor and Description |
---|
FeedbackHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addCloseCallerFeedback(IContext context)
Add close caller feedback to context
|
static void |
addLoginFeedback(IContext context)
Add show login feedback to context
|
static void |
addLogoutFeedback(IContext context)
Add logout feedback to context
|
static void |
addOpenFormFeedback(IContext context,
java.lang.String formName,
IFeedback.FormTarget target)
Add open form feedback to context
|
static void |
addOpenFormFeedback(IContext context,
java.lang.String formName,
IFeedback.FormTarget target,
boolean isResizable,
int width,
int height)
Add open form feedback to context
|
static void |
addOpenFormFeedback(IContext context,
java.lang.String formName,
IFeedback.FormTarget target,
boolean isResizable,
int width,
int height,
IMendixIdentifier currentIdentifier,
java.util.List<IMendixIdentifier> constraints)
Add open form feedback to context
|
static void |
addOpenFormFeedback(IContext context,
java.lang.String formName,
IFeedback.FormTarget target,
IMendixIdentifier currentIdentifier,
java.util.List<IMendixIdentifier> constraints)
Add open form feedback to context
|
static void |
addOpenFormFeedback(IContext context,
java.lang.String formName,
java.lang.String title,
IFeedback.FormTarget target)
Add open form feedback to context
|
static void |
addOpenFormFeedback(IContext context,
java.lang.String formName,
java.lang.String title,
IFeedback.FormTarget target,
java.lang.Boolean isResizable,
int width,
int height)
Add open form feedback to context
|
static void |
addOpenFormFeedback(IContext context,
java.lang.String formName,
java.lang.String title,
IFeedback.FormTarget target,
boolean isResizable,
int width,
int height,
IMendixIdentifier currentIdentifier,
java.util.List<IMendixIdentifier> constraints)
Add open form feedback to context
|
static void |
addOpenFormFeedback(IContext context,
java.lang.String formName,
java.lang.String title,
IFeedback.FormTarget target,
IMendixIdentifier currentIdentifier,
java.util.List<IMendixIdentifier> constraints)
Add open form feedback to context
|
static void |
addRefreshClass(IContext context,
java.lang.String objectClass)
Add refresh class object feedback to context
|
static void |
addRefreshObjectFeedback(IContext context,
IMendixIdentifier id)
Add refresh object feedback to context
|
static void |
addRefreshObjectListFeedback(IContext context,
java.util.List<IMendixIdentifier> ids)
Add refresh object list feedback to context
|
static void |
addTextMessageFeedback(IContext context,
IFeedback.MessageType messageType,
java.lang.String message,
boolean blocking)
Add text message feedback to context
|
public static void addTextMessageFeedback(IContext context, IFeedback.MessageType messageType, java.lang.String message, boolean blocking)
context
- the context to add this feedback tomessage
- the message contentblocking
- whether the message is blocking (user has to take action before message disappears)public static void addRefreshObjectFeedback(IContext context, IMendixIdentifier id)
context
- the context to add this feedback toid
- the id of the object to refreshpublic static void addRefreshObjectListFeedback(IContext context, java.util.List<IMendixIdentifier> ids)
context
- the context to add this feedback toids
- the ids of the objects to refreshpublic static void addRefreshClass(IContext context, java.lang.String objectClass)
context
- the context to add this feedback toobjectClass
- the name of the class to refreshpublic static void addOpenFormFeedback(IContext context, java.lang.String formName, IFeedback.FormTarget target)
context
- the context to add this feedback toformName
- path to the form to opentarget
- is target content, window (popup) or modal windowpublic static void addOpenFormFeedback(IContext context, java.lang.String formName, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, java.util.List<IMendixIdentifier> constraints)
context
- the context to add this feedback toformName
- path to the form to opentarget
- is target content, window (popup) or modal windowcurrentIdentifier
- the currentIdentifierconstraints
- the context objectspublic static void addOpenFormFeedback(IContext context, java.lang.String formName, java.lang.String title, IFeedback.FormTarget target)
context
- the context to add this feedback toformName
- path to the form to opentitle
- the title of the formtarget
- is target content, window (popup) or modal windowpublic static void addOpenFormFeedback(IContext context, java.lang.String formName, java.lang.String title, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, java.util.List<IMendixIdentifier> constraints)
context
- the context to add this feedback toformName
- path to the form to opentitle
- the title of the formtarget
- is target content, window (popup) or modal windowcurrentIdentifier
- the currentIdentifierconstraints
- the context objectspublic static void addOpenFormFeedback(IContext context, java.lang.String formName, java.lang.String title, IFeedback.FormTarget target, java.lang.Boolean isResizable, int width, int height)
context
- the context to add this feedback toformName
- path to the form to opentitle
- the title of the formtarget
- is target content, window (popup) or modal windowisResizable
- whether the form is resizeable or notwidth
- the width of the formheight
- the height of the formpublic static void addOpenFormFeedback(IContext context, java.lang.String formName, IFeedback.FormTarget target, boolean isResizable, int width, int height)
context
- the context to add this feedback toformName
- path to the form to opentarget
- is target content, window (popup) or modal windowisResizable
- whether the form is resizeable or notwidth
- the width of the formheight
- the height of the formpublic static void addOpenFormFeedback(IContext context, java.lang.String formName, IFeedback.FormTarget target, boolean isResizable, int width, int height, IMendixIdentifier currentIdentifier, java.util.List<IMendixIdentifier> constraints)
context
- the context to add this feedback toformName
- path to the form to opentarget
- is target content, window (popup) or modal windowisResizable
- whether the form is resizeable or notwidth
- the width of the formheight
- the height of the formcurrentIdentifier
- the currentIdentifierconstraints
- the context objectspublic static void addOpenFormFeedback(IContext context, java.lang.String formName, java.lang.String title, IFeedback.FormTarget target, boolean isResizable, int width, int height, IMendixIdentifier currentIdentifier, java.util.List<IMendixIdentifier> constraints)
context
- the context to add this feedback toformName
- path to the form to opentitle
- the title of the formtarget
- is target content, window (popup) or modal windowisResizable
- whether the form is resizeable or notwidth
- the width of the formheight
- the height of the formcurrentIdentifier
- the currentIdentifierconstraints
- the context objectspublic static void addLoginFeedback(IContext context)
context
- the context to add this feedback topublic static void addLogoutFeedback(IContext context)
context
- the context to add this feedback topublic static void addCloseCallerFeedback(IContext context)
context
- the context to add this feedback to