info.magnolia.sample.app.main
Class ContentDisplayPresenter

java.lang.Object
  extended by info.magnolia.sample.app.main.ContentDisplayPresenter
All Implemented Interfaces:
ContentDisplayView.Listener

public class ContentDisplayPresenter
extends Object
implements ContentDisplayView.Listener

Presenter for the content display.


Constructor Summary
ContentDisplayPresenter(ContentDisplayView view, info.magnolia.ui.api.location.LocationController locationController)
           
 
Method Summary
 void onOpenInNewEditor()
           
 void setResourceToDisplay(String name)
           
 ContentDisplayView start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentDisplayPresenter

@Inject
public ContentDisplayPresenter(ContentDisplayView view,
                                      info.magnolia.ui.api.location.LocationController locationController)
Method Detail

start

public ContentDisplayView start()

setResourceToDisplay

public void setResourceToDisplay(String name)

onOpenInNewEditor

public void onOpenInNewEditor()
Specified by:
onOpenInNewEditor in interface ContentDisplayView.Listener


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