Interface CustomJavaActionDelegate


public interface CustomJavaActionDelegate
Provides an interface for providing feedback to a custom Java action. This is an internal class that is not to be used and may change at any time.
  • Method Details

    • addTextMessageFeedback

      void addTextMessageFeedback(IContext context, IFeedback.MessageType messageType, String message, boolean blocking)
      Adds text message feedback for this action.
      Parameters:
      context - the context
      messageType - the type of message
      message - the message content
      blocking - whether the message is blocking (user has to take action before message disappears)
    • addRefreshObjectFeedback

      void addRefreshObjectFeedback(IContext context, IMendixIdentifier id)
      Adds refresh object feedback for this action.
      Parameters:
      context - the context
      id - the Mendix identifier of the object to refresh
    • addRefreshObjectListFeedback

      void addRefreshObjectListFeedback(IContext context, List<IMendixIdentifier> ids)
      Adds refresh object list feedback for this action.
      Parameters:
      context - the context
      ids - the Mendix identifiers of the objects to refresh
    • addRefreshClass

      void addRefreshClass(IContext context, String objectType)
      Adds refresh class object feedback for this action.
      Parameters:
      context - the context
      objectType - the (qualified) name of the entity to refresh
    • addOpenFormFeedback

      void addOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints)
      Adds open form feedback for this action.
      Parameters:
      context - the context
      formName - qualified name of the form to open
      target - how the feedback should be presented: 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.
    • addOpenFormFeedback

      void addOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints)
      Adds open form feedback for this action.
      Parameters:
      context - the context
      formName - qualified name of the form to open
      title - the title of the form
      target - how the feedback should be presented: 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.
    • addOpenFormFeedback

      void addOpenFormFeedback(IContext context, String formName, IFeedback.FormTarget target, boolean isResizable, int width, int height, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints)
      Adds open form feedback for this action.
      Parameters:
      context - the context
      formName - qualified name of the form to open
      target - how the feedback should be presented: 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.
    • addOpenFormFeedback

      void addOpenFormFeedback(IContext context, String formName, String title, IFeedback.FormTarget target, boolean isResizable, int width, int height, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints)
      Adds open form feedback for this action.
      Parameters:
      context - the context
      formName - qualified name of the form to open
      title - the title of the form
      target - how the feedback should be presented: 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.
    • addLoginFeedback

      void addLoginFeedback(IContext context)
      Adds show login feedback for this action.
      Parameters:
      context - the context
    • addLogoutFeedback

      void addLogoutFeedback(IContext context)
      Adds logout feedback for this action.
      Parameters:
      context - the context
    • addCloseCallerFeedback

      void addCloseCallerFeedback(IContext context)
      Adds close caller feedback for this action.
      Parameters:
      context - the context