info.magnolia.ui.vaadin.magnoliashell
Class BaseMagnoliaShell
java.lang.Object
com.vaadin.ui.AbstractComponent
info.magnolia.ui.vaadin.magnoliashell.BaseMagnoliaShell
- All Implemented Interfaces:
- com.vaadin.event.MethodEventSource, com.vaadin.terminal.Paintable, com.vaadin.terminal.Sizeable, com.vaadin.terminal.VariableOwner, com.vaadin.ui.Component, com.vaadin.ui.ComponentContainer, Serializable, EventListener, org.vaadin.rpc.ServerSideHandler
public abstract class BaseMagnoliaShell
- extends com.vaadin.ui.AbstractComponent
- implements com.vaadin.ui.ComponentContainer, org.vaadin.rpc.ServerSideHandler
Server side implementation of the MagnoliaShell container.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class com.vaadin.ui.AbstractComponent |
com.vaadin.ui.AbstractComponent.ComponentErrorEvent, com.vaadin.ui.AbstractComponent.ComponentErrorHandler |
Nested classes/interfaces inherited from interface com.vaadin.ui.ComponentContainer |
com.vaadin.ui.ComponentContainer.ComponentAttachEvent, com.vaadin.ui.ComponentContainer.ComponentAttachListener, com.vaadin.ui.ComponentContainer.ComponentDetachEvent, com.vaadin.ui.ComponentContainer.ComponentDetachListener |
Nested classes/interfaces inherited from interface com.vaadin.ui.Component |
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.ErrorListener, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.Listener |
Nested classes/interfaces inherited from interface com.vaadin.terminal.Paintable |
com.vaadin.terminal.Paintable.RepaintRequestEvent, com.vaadin.terminal.Paintable.RepaintRequestListener |
Field Summary |
protected org.vaadin.rpc.ServerSideProxy |
proxy
|
Fields inherited from interface com.vaadin.terminal.Sizeable |
SIZE_UNDEFINED, UNIT_SYMBOLS, UNITS_CM, UNITS_EM, UNITS_EX, UNITS_INCH, UNITS_MM, UNITS_PERCENTAGE, UNITS_PICAS, UNITS_PIXELS, UNITS_POINTS |
Method Summary |
void |
addComponent(com.vaadin.ui.Component c)
|
void |
addDialog(com.vaadin.ui.Component dialog)
|
void |
addFragmentChangedHanlder(info.magnolia.ui.framework.shell.FragmentChangedHandler handler)
|
void |
addListener(com.vaadin.ui.ComponentContainer.ComponentAttachListener listener)
|
void |
addListener(com.vaadin.ui.ComponentContainer.ComponentDetachListener listener)
|
void |
attach()
|
void |
callFromClient(String method,
Object[] params)
|
void |
changeVariables(Object source,
Map<String,Object> variables)
|
void |
closeCurrentApp()
|
abstract void |
closeCurrentShellApp()
|
void |
detach()
|
void |
doNavigateWithinViewport(ShellViewport viewport,
String appType,
String appId,
String subAppId,
String parameter)
|
protected void |
doRegisterApps(List<String> appNames)
|
ShellViewport |
getActiveViewport()
|
ShellViewport |
getAppViewport()
|
Iterator<com.vaadin.ui.Component> |
getComponentIterator()
|
ShellViewport |
getDialogViewport()
|
protected org.vaadin.artur.icepush.ICEPush |
getPusher()
|
ShellViewport |
getShellAppViewport()
|
void |
hideAllMessages()
|
Object[] |
initRequestFromClient()
|
void |
moveComponentsFrom(com.vaadin.ui.ComponentContainer source)
|
void |
navigateToApp(String appId,
String subAppId,
String parameter)
|
void |
navigateToShellApp(String shellAppId,
String parameter)
|
protected void |
onAppStarted(String appName)
|
protected void |
onAppStopped(String appName)
|
void |
paintContent(com.vaadin.terminal.PaintTarget target)
|
void |
removeAllComponents()
|
void |
removeComponent(com.vaadin.ui.Component c)
|
void |
removeDialog(com.vaadin.ui.Component dialog)
|
void |
removeFragmentChangedHanlder(info.magnolia.ui.framework.shell.FragmentChangedHandler handler)
|
void |
removeListener(com.vaadin.ui.ComponentContainer.ComponentAttachListener listener)
|
void |
removeListener(com.vaadin.ui.ComponentContainer.ComponentDetachListener listener)
|
void |
removeMessage(String messageId)
|
void |
replaceComponent(com.vaadin.ui.Component oldComponent,
com.vaadin.ui.Component newComponent)
|
void |
requestRepaintAll()
|
void |
setActiveViewport(ShellViewport activeViewport)
|
void |
setIndication(VMainLauncher.ShellAppType type,
int indication)
|
void |
showError(info.magnolia.ui.framework.message.Message message)
|
void |
showInfo(info.magnolia.ui.framework.message.Message message)
|
void |
showWarning(info.magnolia.ui.framework.message.Message message)
|
void |
updateShellAppIndication(VMainLauncher.ShellAppType type,
int increment)
|
Methods inherited from class com.vaadin.ui.AbstractComponent |
addListener, addListener, addListener, addListener, addListener, addStyleName, childRequestedRepaint, fireComponentErrorEvent, fireComponentEvent, fireEvent, focus, getApplication, getCaption, getComponentError, getData, getDebugId, getDescription, getErrorHandler, getErrorMessage, getHeight, getHeightUnits, getIcon, getListeners, getLocale, getParent, getStyle, getStyleName, getWidth, getWidthUnits, getWindow, handleError, hasListeners, isEnabled, isImmediate, isReadOnly, isVisible, paint, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeStyleName, requestRepaint, requestRepaintRequests, setCaption, setComponentError, setData, setDebugId, setDescription, setEnabled, setErrorHandler, setHeight, setHeight, setHeight, setHeightUnits, setIcon, setImmediate, setLocale, setParent, setReadOnly, setSizeFull, setSizeUndefined, setStyle, setStyleName, setVisible, setWidth, setWidth, setWidth, setWidthUnits |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.vaadin.ui.Component |
addListener, addStyleName, childRequestedRepaint, getApplication, getCaption, getIcon, getLocale, getParent, getStyleName, getWindow, isEnabled, isReadOnly, isVisible, removeListener, removeStyleName, setCaption, setEnabled, setIcon, setParent, setReadOnly, setStyleName, setVisible |
Methods inherited from interface com.vaadin.terminal.Paintable |
addListener, getDebugId, paint, removeListener, requestRepaint, requestRepaintRequests, setDebugId |
Methods inherited from interface com.vaadin.terminal.VariableOwner |
isImmediate |
Methods inherited from interface com.vaadin.terminal.Sizeable |
getHeight, getHeightUnits, getWidth, getWidthUnits, setHeight, setHeight, setHeight, setHeightUnits, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidth, setWidthUnits |
Methods inherited from interface org.vaadin.rpc.ServerSideHandler |
requestRepaint |
proxy
protected org.vaadin.rpc.ServerSideProxy proxy
BaseMagnoliaShell
public BaseMagnoliaShell()
navigateToApp
public void navigateToApp(String appId,
String subAppId,
String parameter)
navigateToShellApp
public void navigateToShellApp(String shellAppId,
String parameter)
doNavigateWithinViewport
public void doNavigateWithinViewport(ShellViewport viewport,
String appType,
String appId,
String subAppId,
String parameter)
showInfo
public void showInfo(info.magnolia.ui.framework.message.Message message)
showError
public void showError(info.magnolia.ui.framework.message.Message message)
showWarning
public void showWarning(info.magnolia.ui.framework.message.Message message)
hideAllMessages
public void hideAllMessages()
updateShellAppIndication
public void updateShellAppIndication(VMainLauncher.ShellAppType type,
int increment)
setIndication
public void setIndication(VMainLauncher.ShellAppType type,
int indication)
removeDialog
public void removeDialog(com.vaadin.ui.Component dialog)
addDialog
public void addDialog(com.vaadin.ui.Component dialog)
closeCurrentShellApp
public abstract void closeCurrentShellApp()
removeMessage
public void removeMessage(String messageId)
closeCurrentApp
public void closeCurrentApp()
setActiveViewport
public void setActiveViewport(ShellViewport activeViewport)
getAppViewport
public ShellViewport getAppViewport()
getShellAppViewport
public ShellViewport getShellAppViewport()
getDialogViewport
public ShellViewport getDialogViewport()
getActiveViewport
public ShellViewport getActiveViewport()
paintContent
public void paintContent(com.vaadin.terminal.PaintTarget target)
throws com.vaadin.terminal.PaintException
- Overrides:
paintContent
in class com.vaadin.ui.AbstractComponent
- Throws:
com.vaadin.terminal.PaintException
changeVariables
public void changeVariables(Object source,
Map<String,Object> variables)
- Specified by:
changeVariables
in interface com.vaadin.terminal.VariableOwner
- Overrides:
changeVariables
in class com.vaadin.ui.AbstractComponent
attach
public void attach()
- Specified by:
attach
in interface com.vaadin.ui.Component
- Overrides:
attach
in class com.vaadin.ui.AbstractComponent
detach
public void detach()
- Specified by:
detach
in interface com.vaadin.ui.Component
- Overrides:
detach
in class com.vaadin.ui.AbstractComponent
initRequestFromClient
public Object[] initRequestFromClient()
- Specified by:
initRequestFromClient
in interface org.vaadin.rpc.ServerSideHandler
callFromClient
public void callFromClient(String method,
Object[] params)
- Specified by:
callFromClient
in interface org.vaadin.rpc.ServerSideHandler
addFragmentChangedHanlder
public void addFragmentChangedHanlder(info.magnolia.ui.framework.shell.FragmentChangedHandler handler)
removeFragmentChangedHanlder
public void removeFragmentChangedHanlder(info.magnolia.ui.framework.shell.FragmentChangedHandler handler)
getPusher
protected org.vaadin.artur.icepush.ICEPush getPusher()
doRegisterApps
protected void doRegisterApps(List<String> appNames)
onAppStarted
protected void onAppStarted(String appName)
onAppStopped
protected void onAppStopped(String appName)
addComponent
public void addComponent(com.vaadin.ui.Component c)
- Specified by:
addComponent
in interface com.vaadin.ui.ComponentContainer
removeComponent
public void removeComponent(com.vaadin.ui.Component c)
- Specified by:
removeComponent
in interface com.vaadin.ui.ComponentContainer
removeAllComponents
public void removeAllComponents()
- Specified by:
removeAllComponents
in interface com.vaadin.ui.ComponentContainer
replaceComponent
public void replaceComponent(com.vaadin.ui.Component oldComponent,
com.vaadin.ui.Component newComponent)
- Specified by:
replaceComponent
in interface com.vaadin.ui.ComponentContainer
getComponentIterator
public Iterator<com.vaadin.ui.Component> getComponentIterator()
- Specified by:
getComponentIterator
in interface com.vaadin.ui.ComponentContainer
requestRepaintAll
public void requestRepaintAll()
- Specified by:
requestRepaintAll
in interface com.vaadin.ui.ComponentContainer
moveComponentsFrom
public void moveComponentsFrom(com.vaadin.ui.ComponentContainer source)
- Specified by:
moveComponentsFrom
in interface com.vaadin.ui.ComponentContainer
addListener
public void addListener(com.vaadin.ui.ComponentContainer.ComponentAttachListener listener)
- Specified by:
addListener
in interface com.vaadin.ui.ComponentContainer
removeListener
public void removeListener(com.vaadin.ui.ComponentContainer.ComponentAttachListener listener)
- Specified by:
removeListener
in interface com.vaadin.ui.ComponentContainer
addListener
public void addListener(com.vaadin.ui.ComponentContainer.ComponentDetachListener listener)
- Specified by:
addListener
in interface com.vaadin.ui.ComponentContainer
removeListener
public void removeListener(com.vaadin.ui.ComponentContainer.ComponentDetachListener listener)
- Specified by:
removeListener
in interface com.vaadin.ui.ComponentContainer
Copyright © 2012 Magnolia International Ltd.. All Rights Reserved.