public class ContentBrowserSubApp extends BaseSubApp<ContentBrowserSubApp.RootView>
Modifier and Type | Class and Description |
---|---|
static class |
ContentBrowserSubApp.BrowserLocation
Location used in ContentSubApps.
|
static class |
ContentBrowserSubApp.RootView
Root view.
|
Constructor and Description |
---|
ContentBrowserSubApp(SubAppContext subAppContext,
ViewProvider viewProvider) |
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(Location location) |
void |
locationChanged(Location location) |
ContentBrowserSubApp.RootView |
start(Location location) |
void |
stop() |
getAppContext, getCurrentLocation, getSubAppContext, getSubAppId, getView, isCloseable, onSubAppStart, onSubAppStop, supportsLocation
@Inject public ContentBrowserSubApp(SubAppContext subAppContext, ViewProvider viewProvider)
public ContentBrowserSubApp.RootView start(Location location)
start
in interface SubApp
start
in class BaseSubApp<ContentBrowserSubApp.RootView>
public void locationChanged(Location location)
locationChanged
in interface SubApp
locationChanged
in class BaseSubApp<ContentBrowserSubApp.RootView>
public void stop()
stop
in interface SubApp
stop
in class BaseSubApp<ContentBrowserSubApp.RootView>
public String getCaption()
BaseSubApp
getCaption
in interface SubApp
getCaption
in class BaseSubApp<ContentBrowserSubApp.RootView>
public String getIcon(Location location)
getIcon
in interface SubApp
getIcon
in class BaseSubApp<ContentBrowserSubApp.RootView>
Copyright © 2018 Magnolia International Ltd.. All rights reserved.