info.magnolia.ui.vaadin.gwt.client.magnoliashell.shell
Interface MagnoliaShellView

All Superinterfaces:
com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>
All Known Implementing Classes:
MagnoliaShellViewImpl

public interface MagnoliaShellView
extends com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IsWidget

The view interface for MagnoliaShell (implemented by GWT part of MagnoliaShell).


Nested Class Summary
static interface MagnoliaShellView.Presenter
          Presenter for MagnoliaShellView.
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Method Summary
 void closeMessageEager(String id)
           
 boolean hasOverlay(com.google.gwt.user.client.ui.Widget widget)
           
 void hideAllMessages()
           
 void navigateToMessageDetails(String id)
           
 void onAppStarting()
           
 void onShellAppStarting(ShellAppType type)
           
 void openOverlayOnWidget(com.google.gwt.user.client.ui.Widget overlayWidget, com.google.gwt.user.client.ui.Widget overlayParent)
          Add the overlayWidget to the Shell - but the DOM of the widget will be placed over the DOM of the specified overlayParent.
 void setPresenter(MagnoliaShellView.Presenter presenter)
           
 void setShellAppIndication(ShellAppType type, int indication)
           
 void setUserMenu(com.google.gwt.user.client.ui.Widget widget)
           
 void shiftViewportsVertically(int shiftPx, boolean animated)
           
 void showMessage(ShellMessageWidget.MessageType type, String text, String message, String id)
           
 void updateShellDivet()
           
 void updateViewport(ViewportWidget viewport, ViewportType type)
           
 
Methods inherited from interface com.google.gwt.user.client.ui.HasWidgets
add, clear, iterator, remove
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Method Detail

setPresenter

void setPresenter(MagnoliaShellView.Presenter presenter)

updateViewport

void updateViewport(ViewportWidget viewport,
                    ViewportType type)

shiftViewportsVertically

void shiftViewportsVertically(int shiftPx,
                              boolean animated)

setShellAppIndication

void setShellAppIndication(ShellAppType type,
                           int indication)

showMessage

void showMessage(ShellMessageWidget.MessageType type,
                 String text,
                 String message,
                 String id)

hideAllMessages

void hideAllMessages()

closeMessageEager

void closeMessageEager(String id)

navigateToMessageDetails

void navigateToMessageDetails(String id)

updateShellDivet

void updateShellDivet()

hasOverlay

boolean hasOverlay(com.google.gwt.user.client.ui.Widget widget)

openOverlayOnWidget

void openOverlayOnWidget(com.google.gwt.user.client.ui.Widget overlayWidget,
                         com.google.gwt.user.client.ui.Widget overlayParent)
Add the overlayWidget to the Shell - but the DOM of the widget will be placed over the DOM of the specified overlayParent. The overlayWidget gets removed automatically - because the component is no longer returned by MagnoliaShell iterator.


onShellAppStarting

void onShellAppStarting(ShellAppType type)

onAppStarting

void onAppStarting()

setUserMenu

void setUserMenu(com.google.gwt.user.client.ui.Widget widget)


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