public class SampleEditorSubApp extends BaseSubApp<SampleEditorView> implements SampleEditorView.Listener
Constructor and Description |
---|
SampleEditorSubApp(SubAppContext subAppContext,
SampleEditorView view,
info.magnolia.event.EventBus subAppEventBus,
info.magnolia.i18nsystem.SimpleTranslator i18n) |
Modifier and Type | Method and Description |
---|---|
String |
getCaption()
This method will try to determine the current sub app caption, the one usually displayed in the tab where the subapp opens.
|
SampleEditorView |
start(Location location) |
boolean |
supportsLocation(Location location)
Overwrite supportsLocation to implement custom handling of subApp opening.
|
destroy, getAppContext, getCurrentLocation, getCurrentViewReference, getIcon, getSubAppContext, getSubAppId, getView, isCloseable, locationChanged, onSubAppStart, onSubAppStop, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessViewBeanStore, asVaadinComponent, bindContext, bindInstance, create, create, create, create, getComponentProvider
@Inject public SampleEditorSubApp(SubAppContext subAppContext, SampleEditorView view, @Named(value="subapp") info.magnolia.event.EventBus subAppEventBus, info.magnolia.i18nsystem.SimpleTranslator i18n)
public String getCaption()
BaseSubApp
getCaption
in interface SubApp
getCaption
in class BaseSubApp<SampleEditorView>
public SampleEditorView start(Location location)
start
in interface SubApp
start
in class BaseSubApp<SampleEditorView>
public boolean supportsLocation(Location location)
supportsLocation
in interface SubApp
supportsLocation
in class BaseSubApp<SampleEditorView>
location
- the new locationCopyright © 2021 Magnolia International Ltd.. All rights reserved.