info.magnolia.ui.framework.app.embedded
Class EmbeddedPageSubApp
java.lang.Object
info.magnolia.ui.framework.app.BaseSubApp<EmbeddedPageView>
info.magnolia.ui.framework.app.embedded.EmbeddedPageSubApp
- All Implemented Interfaces:
- info.magnolia.ui.api.app.SubApp
public class EmbeddedPageSubApp
- extends BaseSubApp<EmbeddedPageView>
Sub app for the main tab in an embedded page app.
Method Summary |
void |
locationChanged(info.magnolia.ui.api.location.Location location)
Check whether the url has changed, if so update the view to display the new location. |
EmbeddedPageView |
start(info.magnolia.ui.api.location.Location location)
|
protected String |
updateUrl(String url)
Add the context path to internal urls. |
Methods inherited from class info.magnolia.ui.framework.app.BaseSubApp |
getAppContext, getCaption, getCurrentLocation, getSubAppContext, getSubAppId, getView, isCloseable, onSubAppStart, onSubAppStop, stop, supportsLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedPageSubApp
@Inject
public EmbeddedPageSubApp(info.magnolia.ui.api.app.SubAppContext subAppContext,
EmbeddedPageView pageView)
start
public EmbeddedPageView start(info.magnolia.ui.api.location.Location location)
- Specified by:
start
in interface info.magnolia.ui.api.app.SubApp
- Overrides:
start
in class BaseSubApp<EmbeddedPageView>
locationChanged
public void locationChanged(info.magnolia.ui.api.location.Location location)
- Check whether the url has changed, if so update the view to display the new location.
- Specified by:
locationChanged
in interface info.magnolia.ui.api.app.SubApp
- Overrides:
locationChanged
in class BaseSubApp<EmbeddedPageView>
updateUrl
protected String updateUrl(String url)
- Add the context path to internal urls.
Copyright © 2014 Magnolia International Ltd.. All Rights Reserved.