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, 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,
                                      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 © 2013 Magnolia International Ltd.. All Rights Reserved.