Interface MessageTabProvider
public interface MessageTabProvider
A
MessageTabProvider
is used to build a custom message tab.
************************ !!! IMPORTANT NOTE !!! ******************************
Please note that the methods of this interface will be called very frequently
triggered by user interactions in the frontend, that keep blocking until the
method returns.
The implementation must guarantee high performance and avoid heap garbage.
Please do not implement any long term operations like web service calls or
database lookups within the method implementations of this interface.
Please keep in mind that the methods may be called multiple times concurrently
and avoid any kind of bottle necks or synchronized code.
******************************************************************************- Since:
- 10.0.132
-
Method Summary
Modifier and TypeMethodDescriptiondefault MessageTab
getMessageTab
(IncomingMessageViewContext context) The method is called on plugins implementing this interface on message views displaying incoming messages.default MessageTab
getMessageTab
(SentMessageViewContext context) The method is called on plugins implementing this interface on all message views displaying sent messages.
-
Method Details
-
getMessageTab
The method is called on plugins implementing this interface on message views displaying incoming messages. If the return value isnull
the default message tab will be displayed for that request.- Parameters:
context
- TheIncomingMessageViewContext
associated with the request to the view component- Returns:
- The
MessageTab
instance containing the information to display the message tab view. - Since:
- 10.0.132
-
getMessageTab
The method is called on plugins implementing this interface on all message views displaying sent messages. If the return value isnull
the default message tab will be displayed for that request.- Parameters:
context
- TheSentMessageViewContext
associated with the request to the view component- Returns:
- The
MessageTab
instance containing the information to display the message tab view. - Since:
- 10.0.132
-