Class FeedbackHelper

java.lang.Object
com.mendix.webui.FeedbackHelper

public class FeedbackHelper extends Object
  • Constructor Details

    • FeedbackHelper

      public FeedbackHelper()
  • Method Details

    • addTextMessageFeedback

      public 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
      message - the message content
      blocking - whether the message is blocking (user has to take action before message disappears)
    • addRefreshObjectFeedback

      public static void addRefreshObjectFeedback(IContext context, IMendixIdentifier id)
      Add refresh object feedback to context.
      Parameters:
      context - the context to add this feedback to
      id - the id of the object to refresh
    • addRefreshObjectListFeedback

      public static void addRefreshObjectListFeedback(IContext context, List<IMendixIdentifier> ids)
      Add refresh object list feedback to context.
      Parameters:
      context - the context to add this feedback to
      ids - the ids of the objects to refresh
    • addRefreshClass

      public static void addRefreshClass(IContext context, String objectClass)
      Add refresh class object feedback to context.
      Parameters:
      context - the context to add this feedback to
      objectClass - the name of the class to refresh
    • addOpenFormFeedback

      public 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
    • addOpenFormFeedback

      public 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
    • addOpenFormFeedback

      public 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
    • addOpenFormFeedback

      public 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
    • addOpenFormFeedback

      public 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
    • addOpenFormFeedback

      public 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
    • addOpenFormFeedback

      public 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
    • addOpenFormFeedback

      public 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
    • addLoginFeedback

      public static void addLoginFeedback(IContext context)
      Add show login feedback to context.
      Parameters:
      context - the context to add this feedback to
    • addLogoutFeedback

      public static void addLogoutFeedback(IContext context)
      Add logout feedback to context.
      Parameters:
      context - the context to add this feedback to
    • addCloseCallerFeedback

      public static void addCloseCallerFeedback(IContext context)
      Add close caller feedback to context.
      Parameters:
      context - the context to add this feedback to