@Templated(value="/org/overlord/sramp/ui/client/local/site/artifact-details.html#page") @Page(path="details") @Dependent public class ArtifactDetailsPage extends AbstractPage
| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.errai.databinding.client.api.DataBinder<ArtifactBean> |
artifact |
protected HtmlSnippet |
artifactLoading |
protected ArtifactRpcService |
artifactService |
protected ArtifactBean |
currentArtifact |
protected com.google.gwt.dom.client.Element |
editorWrapper |
protected NotificationService |
notificationService |
protected com.google.gwt.dom.client.Element |
pageContent |
protected boolean |
relationshipsLoaded |
protected boolean |
sourceLoaded |
bus| Constructor and Description |
|---|
ArtifactDetailsPage()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
loadRelationships(ArtifactBean artifact)
Loads the artifact's relationships and displays them in the proper table.
|
protected void |
loadSource(ArtifactBean artifact)
Loads the artifact's source (async) into the source tab's editor control.
|
protected void |
onAddProperty(com.google.gwt.event.dom.client.ClickEvent event)
Called when the user clicks the Add Property button.
|
protected void |
onModifyClassifiers(com.google.gwt.event.dom.client.ClickEvent event)
Called when the user clicks the Add Property button.
|
protected void |
onPageShowing()
Subclasses can implement this to do any work they need done when the page
is about to be shown.
|
protected void |
onPostConstruct()
Called after the widget is constructed.
|
protected void |
pushModelToServer()
Sends the model back up to the server (saves local changes).
|
protected void |
updateArtifactMetaData(ArtifactBean artifact)
Called when the artifact meta data is loaded.
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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@Inject protected ArtifactRpcService artifactService
@Inject protected NotificationService notificationService
protected ArtifactBean currentArtifact
@Inject @AutoBound protected org.jboss.errai.databinding.client.api.DataBinder<ArtifactBean> artifact
protected boolean relationshipsLoaded
protected boolean sourceLoaded
@Inject @DataField(value="artifact-details-loading-spinner") protected HtmlSnippet artifactLoading
protected com.google.gwt.dom.client.Element pageContent
protected com.google.gwt.dom.client.Element editorWrapper
@PostConstruct protected void onPostConstruct()
protected void onPageShowing()
AbstractPageonPageShowing in class AbstractPageAbstractPage.onPageShowing()@EventHandler(value="add-property-button") protected void onAddProperty(com.google.gwt.event.dom.client.ClickEvent event)
event - @EventHandler(value="modify-classifiers-button") protected void onModifyClassifiers(com.google.gwt.event.dom.client.ClickEvent event)
event - protected void loadRelationships(ArtifactBean artifact)
artifact - protected void loadSource(ArtifactBean artifact)
artifact - protected void updateArtifactMetaData(ArtifactBean artifact)
artifact - protected void pushModelToServer()
Copyright © 2012-2013 JBoss, a division of Red Hat. All Rights Reserved.