public class ContentBrowserSubApp extends BaseSubApp<ContentBrowserSubApp.RootView>
Modifier and Type | Class and Description |
---|---|
static class |
ContentBrowserSubApp.BrowserLocation
Location used in ContentSubApps.
|
static interface |
ContentBrowserSubApp.LocationContext
LocationContext.
|
static class |
ContentBrowserSubApp.RootView
Root view.
|
Constructor and Description |
---|
ContentBrowserSubApp(info.magnolia.ui.api.app.SubAppContext subAppContext,
BrowserDescriptor browserDescriptor) |
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.
|
String |
getIcon(info.magnolia.ui.api.location.Location location) |
void |
locationChanged(info.magnolia.ui.api.location.Location location) |
ContentBrowserSubApp.RootView |
start(info.magnolia.ui.api.location.Location location) |
destroy, getAppContext, getCurrentLocation, getCurrentViewReference, getSubAppContext, getSubAppId, getView, isCloseable, onSubAppStart, onSubAppStop, stop, supportsLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accessViewBeanStore, asVaadinComponent, bindContext, bindInstance, create, create, create, create, getComponentProvider
@Inject public ContentBrowserSubApp(info.magnolia.ui.api.app.SubAppContext subAppContext, BrowserDescriptor browserDescriptor)
public ContentBrowserSubApp.RootView start(info.magnolia.ui.api.location.Location location)
start
in interface info.magnolia.ui.api.app.SubApp
start
in class BaseSubApp<ContentBrowserSubApp.RootView>
public void locationChanged(info.magnolia.ui.api.location.Location location)
locationChanged
in interface info.magnolia.ui.api.app.SubApp
locationChanged
in class BaseSubApp<ContentBrowserSubApp.RootView>
public String getCaption()
BaseSubApp
getCaption
in interface info.magnolia.ui.api.app.SubApp
getCaption
in class BaseSubApp<ContentBrowserSubApp.RootView>
public String getIcon(info.magnolia.ui.api.location.Location location)
getIcon
in interface info.magnolia.ui.api.app.SubApp
getIcon
in class BaseSubApp<ContentBrowserSubApp.RootView>
Copyright © 2020 Magnolia International Ltd.. All rights reserved.