info.magnolia.ui.framework.app.embedded
Class EmbeddedPageSubApp

java.lang.Object
  extended by info.magnolia.ui.framework.app.BaseSubApp
      extended by info.magnolia.ui.framework.app.embedded.EmbeddedPageSubApp
All Implemented Interfaces:
SubApp

public class EmbeddedPageSubApp
extends BaseSubApp

Sub app for the main tab in an embedded page app.


Constructor Summary
EmbeddedPageSubApp(SubAppContext subAppContext, EmbeddedPageView pageView)
           
 
Method Summary
 EmbeddedPageView getView()
           
 void locationChanged(Location location)
          Check whether the url has changed, if so update the view to display the new location.
 View start(Location location)
           
 
Methods inherited from class info.magnolia.ui.framework.app.BaseSubApp
getAppContext, getCaption, getCurrentLocation, getSubAppContext, getSubAppId, isCloseable, onSubAppStart, onSubAppStop, stop, supportsLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedPageSubApp

@Inject
public EmbeddedPageSubApp(SubAppContext subAppContext,
                                 EmbeddedPageView pageView)
Method Detail

start

public View start(Location location)
Specified by:
start in interface SubApp
Overrides:
start in class BaseSubApp

locationChanged

public void locationChanged(Location location)
Check whether the url has changed, if so update the view to display the new location.

Specified by:
locationChanged in interface SubApp
Overrides:
locationChanged in class BaseSubApp

getView

public EmbeddedPageView getView()
Specified by:
getView in interface SubApp
Overrides:
getView in class BaseSubApp


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.