public class RepositoryItemViewImpl extends com.google.gwt.user.client.ui.Composite implements RepositoryItemView
Modifier and Type | Field and Description |
---|---|
org.gwtbootstrap3.extras.select.client.ui.Select |
branchesDropdown |
org.gwtbootstrap3.client.ui.Button |
btnChangeBranch |
org.gwtbootstrap3.client.ui.TextBox |
gitDaemonURI |
org.gwtbootstrap3.client.ui.html.Paragraph |
linksPanel |
CopyRepositoryUrlBtn |
myGitCopyButton |
org.gwtbootstrap3.client.ui.html.Paragraph |
repoDesc |
org.gwtbootstrap3.client.ui.Heading |
repoName |
Constructor and Description |
---|
RepositoryItemViewImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addBranch(String branch) |
void |
addProtocol(String protocol) |
void |
clearBranches() |
String |
getSelectedBranch() |
static void |
glueCopy(com.google.gwt.user.client.Element element) |
void |
onUpdateRepository(com.google.gwt.event.dom.client.ClickEvent event) |
void |
refresh() |
void |
setDaemonURI(String uri) |
void |
setPresenter(RepositoryItemPresenter presenter) |
void |
setRepositoryDescription(String description) |
void |
setRepositoryName(String repositoryName) |
void |
setSelectedBranch(String currentBranch) |
void |
setUriId(String uriId) |
void |
showAvailableProtocols() |
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
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
@UiField public org.gwtbootstrap3.client.ui.Heading repoName
@UiField public org.gwtbootstrap3.client.ui.html.Paragraph repoDesc
@UiField public org.gwtbootstrap3.client.ui.TextBox gitDaemonURI
@UiField public CopyRepositoryUrlBtn myGitCopyButton
@UiField public org.gwtbootstrap3.client.ui.html.Paragraph linksPanel
@UiField public org.gwtbootstrap3.extras.select.client.ui.Select branchesDropdown
@UiField public org.gwtbootstrap3.client.ui.Button btnChangeBranch
public static void glueCopy(com.google.gwt.user.client.Element element)
public void setRepositoryName(String repositoryName)
setRepositoryName
in interface RepositoryItemView
public void setRepositoryDescription(String description)
setRepositoryDescription
in interface RepositoryItemView
public void showAvailableProtocols()
showAvailableProtocols
in interface RepositoryItemView
public void setDaemonURI(String uri)
setDaemonURI
in interface RepositoryItemView
public void addProtocol(String protocol)
addProtocol
in interface RepositoryItemView
public void setPresenter(RepositoryItemPresenter presenter)
setPresenter
in interface RepositoryItemView
public void setUriId(String uriId)
setUriId
in interface RepositoryItemView
public void clearBranches()
clearBranches
in interface RepositoryItemView
public void addBranch(String branch)
addBranch
in interface RepositoryItemView
public void setSelectedBranch(String currentBranch)
setSelectedBranch
in interface RepositoryItemView
public String getSelectedBranch()
getSelectedBranch
in interface RepositoryItemView
public void refresh()
refresh
in interface RepositoryItemView
@UiHandler(value="btnChangeBranch") public void onUpdateRepository(com.google.gwt.event.dom.client.ClickEvent event)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.