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

java.lang.Object
  extended by com.google.gwt.activity.shared.AbstractActivity
      extended by org.overlord.sramp.ui.client.activities.AbstractActivity<ArtifactPlace,IArtifactView>
          extended by org.overlord.sramp.ui.client.activities.ArtifactActivity
All Implemented Interfaces:
com.google.gwt.activity.shared.Activity, IActivity, IArtifactActivity

public class ArtifactActivity
extends AbstractActivity<ArtifactPlace,IArtifactView>
implements IArtifactActivity

Concrete implementation of the artifact activity.

Author:
eric.wittmann@redhat.com

Constructor Summary
ArtifactActivity(ArtifactPlace place, IClientFactory clientFactory)
          Constructor.
 
Method Summary
protected  IArtifactView 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

ArtifactActivity

public ArtifactActivity(ArtifactPlace place,
                        IClientFactory clientFactory)
Constructor.

Method Detail

createView

protected IArtifactView 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<ArtifactPlace,IArtifactView>
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<ArtifactPlace,IArtifactView>
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<ArtifactPlace,IArtifactView>
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.