Class MessageTab
java.lang.Object
com.novomind.ecom.api.iagent.frontend.tab.AbstractTab
com.novomind.ecom.api.imail.common.frontend.message.MessageTab
- All Implemented Interfaces:
Tab
,com.novomind.ecom.common.api.attribute.DisplayNamed
,com.novomind.ecom.common.api.attribute.Named
- Since:
- 10.0.132
-
Field Summary
Fields inherited from class com.novomind.ecom.api.iagent.frontend.tab.AbstractTab
displayName, name, url
-
Constructor Summary
ConstructorsConstructorDescriptionMessageTab
(String displayName, String url) Initializes a newly createdMessageTab
-
Method Summary
Methods inherited from class com.novomind.ecom.api.iagent.frontend.tab.AbstractTab
getDisplayName, getName, getUrl
-
Constructor Details
-
MessageTab
Initializes a newly createdMessageTab
- Parameters:
displayName
- The name to be displayed at the top of the message taburl
- The url to be loaded and displayed within the iframe of the message tab (Please note that relative URLs must be provided as result ofMessageViewContext.getViewUrl(String url)
) Example:public class HelloWorldMessageTab implements MessageTabProvider { @Override public MessageTab getMessageTab(IncomingMessageViewContext context) { return new MessageTab(displayName, context.getViewUrl("/message/helloworld/helloWorld.xhtml")); } }
- Since:
- 10.0.132
-
-
Method Details
-
toString
- Overrides:
toString
in classAbstractTab
- Since:
- 10.0.132
-