public class MessagesMainSubApp extends BaseSubApp<MessagesView> implements MessagesView.Listener
Constructor and Description |
---|
MessagesMainSubApp(SubAppContext subAppContext,
MessagesView view) |
Modifier and Type | Method and Description |
---|---|
void |
handleGlobalMessage(MessageType type,
String subject,
String message) |
void |
handleGroupMessage(String group,
MessageType type,
String subject,
String message) |
void |
handleLocalMessage(MessageType type,
String subject,
String message) |
void |
handleUserMessage(String user,
MessageType type,
String subject,
String message) |
void |
locationChanged(Location location) |
void |
showConfirmationMessage(String message) |
getAppContext, getCaption, getCurrentLocation, getIcon, getSubAppContext, getSubAppId, getView, isCloseable, onSubAppStart, onSubAppStop, start, stop, supportsLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCaption, getIcon, getSubAppId, getView, isCloseable, start, stop, supportsLocation
@Inject public MessagesMainSubApp(SubAppContext subAppContext, MessagesView view)
public void locationChanged(Location location)
locationChanged
in interface SubApp
locationChanged
in class BaseSubApp<MessagesView>
public void showConfirmationMessage(String message)
showConfirmationMessage
in interface MessagesView.Listener
public void handleUserMessage(String user, MessageType type, String subject, String message)
handleUserMessage
in interface MessagesView.Listener
public void handleGroupMessage(String group, MessageType type, String subject, String message)
handleGroupMessage
in interface MessagesView.Listener
public void handleLocalMessage(MessageType type, String subject, String message)
handleLocalMessage
in interface MessagesView.Listener
public void handleGlobalMessage(MessageType type, String subject, String message)
handleGlobalMessage
in interface MessagesView.Listener
Copyright © 2017 Magnolia International Ltd.. All rights reserved.