org.overlord.sramp.ui.client.activities
Class DashboardActivity

java.lang.Object
  extended by com.google.gwt.activity.shared.AbstractActivity
      extended by org.overlord.sramp.ui.client.activities.AbstractActivity<DashboardPlace,IDashboardView>
          extended by org.overlord.sramp.ui.client.activities.DashboardActivity
All Implemented Interfaces:
com.google.gwt.activity.shared.Activity, IActivity, IDashboardActivity

public class DashboardActivity
extends AbstractActivity<DashboardPlace,IDashboardView>
implements IDashboardActivity

Concrete implementation of the dashboard activity.

Author:
eric.wittmann@redhat.com

Constructor Summary
DashboardActivity(DashboardPlace place, IClientFactory clientFactory)
          Constructor.
 
Method Summary
protected  IDashboardView createView(com.google.gwt.event.shared.EventBus eventBus)
          Called to create/get the view.
protected  void doStart(com.google.gwt.user.client.ui.AcceptsOneWidget panel, com.google.gwt.event.shared.EventBus eventBus)
          Start the activity.
protected  void updateBreadcrumb(BreadcrumbPanel breadcrumbPanel)
          Called to update the breadcrumb panel.
 
Methods inherited from class org.overlord.sramp.ui.client.activities.AbstractActivity
getClientFactory, getPlace, getService, getView, goTo, i18n, setClientFactory, setPlace, setView, start
 
Methods inherited from class com.google.gwt.activity.shared.AbstractActivity
mayStop, onCancel, onStop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.overlord.sramp.ui.client.activities.IActivity
goTo
 

Constructor Detail

DashboardActivity

public DashboardActivity(DashboardPlace place,
                         IClientFactory clientFactory)
Constructor.

Method Detail

createView

protected IDashboardView createView(com.google.gwt.event.shared.EventBus eventBus)
Description copied from class: AbstractActivity
Called to create/get the view.

Specified by:
createView in class AbstractActivity<DashboardPlace,IDashboardView>
See Also:
AbstractActivity.createView(com.google.gwt.event.shared.EventBus)

doStart

protected void doStart(com.google.gwt.user.client.ui.AcceptsOneWidget panel,
                       com.google.gwt.event.shared.EventBus eventBus)
Description copied from class: AbstractActivity
Start the activity.

Overrides:
doStart in class AbstractActivity<DashboardPlace,IDashboardView>
See Also:
AbstractActivity.doStart(com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.event.shared.EventBus)

updateBreadcrumb

protected void updateBreadcrumb(BreadcrumbPanel breadcrumbPanel)
Description copied from class: AbstractActivity
Called to update the breadcrumb panel. Must be implemented by subclasses.

Specified by:
updateBreadcrumb in class AbstractActivity<DashboardPlace,IDashboardView>
Parameters:
breadcrumbPanel - the breadcrumb panel
See Also:
AbstractActivity.updateBreadcrumb(org.overlord.sramp.ui.client.widgets.BreadcrumbPanel)


Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.