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 Summary
Modifier and TypeMethodDescriptionvoid
addCloseCallerFeedback
(IContext context) Adds close caller feedback for this action.void
addLoginFeedback
(IContext context) Adds show login feedback for this action.void
addLogoutFeedback
(IContext context) Adds logout feedback for this action.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.void
addOpenFormFeedback
(IContext context, String formName, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Adds open form feedback for this action.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.void
addOpenFormFeedback
(IContext context, String formName, String title, IFeedback.FormTarget target, IMendixIdentifier currentIdentifier, List<IMendixIdentifier> constraints) Adds open form feedback for this action.void
addRefreshClass
(IContext context, String objectType) Adds refresh class object feedback for this action.void
addRefreshObjectFeedback
(IContext context, IMendixIdentifier id) Adds refresh object feedback for this action.void
addRefreshObjectListFeedback
(IContext context, List<IMendixIdentifier> ids) Adds refresh object list feedback for this action.void
addTextMessageFeedback
(IContext context, IFeedback.MessageType messageType, String message, boolean blocking) Adds text message feedback for this action.
-
Method Details
-
addTextMessageFeedback
void addTextMessageFeedback(IContext context, IFeedback.MessageType messageType, String message, boolean blocking) Adds text message feedback for this action.- Parameters:
context
- the contextmessageType
- the type of messagemessage
- the message contentblocking
- whether the message is blocking (user has to take action before message disappears)
-
addRefreshObjectFeedback
Adds refresh object feedback for this action.- Parameters:
context
- the contextid
- the Mendix identifier of the object to refresh
-
addRefreshObjectListFeedback
Adds refresh object list feedback for this action.- Parameters:
context
- the contextids
- the Mendix identifiers of the objects to refresh
-
addRefreshClass
Adds refresh class object feedback for this action.- Parameters:
context
- the contextobjectType
- 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 contextformName
- qualified name of the form to opentarget
- how the feedback should be presented: content, window (popup) or modal windowcurrentIdentifier
- the currentIdentifierconstraints
- 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 contextformName
- qualified name of the form to opentitle
- the title of the formtarget
- how the feedback should be presented: content, window (popup) or modal windowcurrentIdentifier
- the currentIdentifierconstraints
- 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 contextformName
- qualified name of the form to opentarget
- how the feedback should be presented: 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 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 contextformName
- qualified name of the form to opentitle
- the title of the formtarget
- how the feedback should be presented: 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 objects- Throws:
MendixRuntimeException
- if the form does not exist, or if the form expects multiple parameters.
-
addLoginFeedback
Adds show login feedback for this action.- Parameters:
context
- the context
-
addLogoutFeedback
Adds logout feedback for this action.- Parameters:
context
- the context
-
addCloseCallerFeedback
Adds close caller feedback for this action.- Parameters:
context
- the context
-