info.magnolia.ui.vaadin.gwt.client.magnoliashell.shell
Class MagnoliaShellConnector

java.lang.Object
  extended by com.vaadin.client.ui.AbstractConnector
      extended by com.vaadin.client.ui.AbstractComponentConnector
          extended by com.vaadin.client.ui.AbstractHasComponentsConnector
              extended by com.vaadin.client.ui.AbstractComponentContainerConnector
                  extended by com.vaadin.client.ui.AbstractLayoutConnector
                      extended by info.magnolia.ui.vaadin.gwt.client.magnoliashell.shell.MagnoliaShellConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ComponentConnector, com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler, com.vaadin.client.HasComponentsConnector, com.vaadin.client.ServerConnector, com.vaadin.shared.Connector, MagnoliaShellView.Presenter, ShellAppLauncher.Listener, Serializable

public class MagnoliaShellConnector
extends com.vaadin.client.ui.AbstractLayoutConnector
implements MagnoliaShellView.Presenter

MagnoliaShellConnector.

See Also:
Serialized Form

Constructor Summary
MagnoliaShellConnector()
           
 
Method Summary
 void activateShellApp(Fragment f)
           
 void closeCurrentApp()
           
protected  com.google.gwt.user.client.ui.Widget createWidget()
           
 MagnoliaShellState getState()
           
protected  void init()
           
 void initHistory()
           
 void loadApp(String appName)
           
 void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent event)
           
 void onHideShellAppsRequested()
           
 void removeMessage(String id)
           
 void showShellApp(ShellAppType shellAppType)
           
 void updateCaption(com.vaadin.client.ComponentConnector connector)
           
 void updateViewportLayout(ViewportWidget activeViewport)
           
 
Methods inherited from class com.vaadin.client.ui.AbstractHasComponentsConnector
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents
 
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
delegateCaptionHandling, flush, getIcon, getLayoutManager, getTooltipInfo, getWidget, hasTooltip, isReadOnly, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetStyleNames
 
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, unregisterRpc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, updateEnabledState
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 

Constructor Detail

MagnoliaShellConnector

public MagnoliaShellConnector()
Method Detail

init

protected void init()
Overrides:
init in class com.vaadin.client.ui.AbstractConnector

activateShellApp

public void activateShellApp(Fragment f)
Specified by:
activateShellApp in interface MagnoliaShellView.Presenter

closeCurrentApp

public void closeCurrentApp()
Specified by:
closeCurrentApp in interface MagnoliaShellView.Presenter

removeMessage

public void removeMessage(String id)
Specified by:
removeMessage in interface MagnoliaShellView.Presenter

loadApp

public void loadApp(String appName)
Specified by:
loadApp in interface MagnoliaShellView.Presenter

showShellApp

public void showShellApp(ShellAppType shellAppType)
Specified by:
showShellApp in interface ShellAppLauncher.Listener

onHideShellAppsRequested

public void onHideShellAppsRequested()
Specified by:
onHideShellAppsRequested in interface ShellAppLauncher.Listener

updateCaption

public void updateCaption(com.vaadin.client.ComponentConnector connector)
Specified by:
updateCaption in interface com.vaadin.client.HasComponentsConnector

onConnectorHierarchyChange

public void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent event)
Specified by:
onConnectorHierarchyChange in interface com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler

createWidget

protected com.google.gwt.user.client.ui.Widget createWidget()
Overrides:
createWidget in class com.vaadin.client.ui.AbstractComponentConnector

getState

public MagnoliaShellState getState()
Specified by:
getState in interface com.vaadin.client.ComponentConnector
Specified by:
getState in interface com.vaadin.client.ServerConnector
Overrides:
getState in class com.vaadin.client.ui.AbstractLayoutConnector

updateViewportLayout

public void updateViewportLayout(ViewportWidget activeViewport)
Specified by:
updateViewportLayout in interface MagnoliaShellView.Presenter

initHistory

public void initHistory()
Specified by:
initHistory in interface MagnoliaShellView.Presenter


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