org.overlord.sramp.ui.client.views
Class ArtifactView

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.overlord.sramp.ui.client.views.AbstractView<IArtifactActivity>
                  extended by org.overlord.sramp.ui.client.views.ArtifactView
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, IArtifactView, IView<IArtifactActivity>

public class ArtifactView
extends AbstractView<IArtifactActivity>
implements IArtifactView

Artifact view concrete implementation.

Author:
eric.wittmann@redhat.com

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ArtifactView()
          Constructor.
 
Method Summary
 void onArtifactLoaded(ArtifactDetails artifact)
          Called by the activity when the artifact download completes.
 void onArtifactLoadError(RemoteServiceException error)
          Called by the activity when the download of the full artifact details fails for some reason.
 void onArtifactLoading(ArtifactPlace currentPlace)
          Called by the activity when it begins downloading the artifact.
 
Methods inherited from class org.overlord.sramp.ui.client.views.AbstractView
getActivity, getService, growl, i18n, setActivity
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.overlord.sramp.ui.client.views.IView
getActivity, setActivity
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 

Constructor Detail

ArtifactView

public ArtifactView()
Constructor.

Method Detail

onArtifactLoading

public void onArtifactLoading(ArtifactPlace currentPlace)
Description copied from interface: IArtifactView
Called by the activity when it begins downloading the artifact.

Specified by:
onArtifactLoading in interface IArtifactView
See Also:
IArtifactView.onArtifactLoading(org.overlord.sramp.ui.client.places.ArtifactPlace)

onArtifactLoaded

public void onArtifactLoaded(ArtifactDetails artifact)
Description copied from interface: IArtifactView
Called by the activity when the artifact download completes.

Specified by:
onArtifactLoaded in interface IArtifactView
See Also:
IArtifactView.onArtifactLoaded(org.overlord.sramp.ui.shared.beans.ArtifactDetails)

onArtifactLoadError

public void onArtifactLoadError(RemoteServiceException error)
Description copied from interface: IArtifactView
Called by the activity when the download of the full artifact details fails for some reason.

Specified by:
onArtifactLoadError in interface IArtifactView
See Also:
IArtifactView.onArtifactLoadError(org.overlord.sramp.ui.shared.rsvcs.RemoteServiceException)


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