Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageTab​(java.lang.String displayName, java.lang.String url)
      Initializes a newly created MessageTab
    • Constructor Detail

      • MessageTab

        public MessageTab​(java.lang.String displayName,
                          java.lang.String url)
        Initializes a newly created MessageTab
        Parameters:
        displayName - The name to be displayed at the top of the message tab
        url - The url to be loaded and displayed within the iframe of the message tab (Please note that relative URLs must be provided as result of MessageViewContext.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 class AbstractTab
        Since:
        10.0.132