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
public final class MessageTab extends AbstractTab
- Since:
- 10.0.132
-
-
Field Summary
-
Fields inherited from class com.novomind.ecom.api.iagent.frontend.tab.AbstractTab
displayName, name, url
-
-
Constructor Summary
Constructors Constructor Description MessageTab(java.lang.String displayName, java.lang.String url)
Initializes a newly createdMessageTab
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class com.novomind.ecom.api.iagent.frontend.tab.AbstractTab
getDisplayName, getName, getUrl
-
-
-
-
Constructor Detail
-
MessageTab
public MessageTab(java.lang.String displayName, java.lang.String url)
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 Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractTab
- Since:
- 10.0.132
-
-