@Templated public class LibraryView extends Object implements LibraryScreen.View, org.jboss.errai.ui.client.local.api.IsElement
| Constructor and Description |
|---|
LibraryView() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(com.google.gwt.event.dom.client.ClickEvent event) |
void |
init(LibraryScreen presenter) |
boolean |
isContributorsTabActive() |
boolean |
isMetricsTabActive() |
boolean |
isProjectsTabActive() |
boolean |
isSettingsTabActive() |
void |
setContributorsCount(int count) |
void |
setProjectsCount(int count) |
void |
setTitle(String title) |
void |
showContributors(com.google.gwt.event.dom.client.ClickEvent event) |
void |
showMetrics(com.google.gwt.event.dom.client.ClickEvent event) |
void |
showProjects(com.google.gwt.event.dom.client.ClickEvent event) |
void |
showSettings(com.google.gwt.event.dom.client.ClickEvent event) |
void |
showSettingsTab(boolean isVisible) |
void |
updateContent(org.jboss.errai.common.client.dom.HTMLElement content) |
public void init(LibraryScreen presenter)
init in interface org.uberfire.client.mvp.HasPresenter<LibraryScreen>@EventHandler(value="delete-project") public void delete(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="projects-tab") public void showProjects(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="contributors-tab") public void showContributors(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="metrics-tab") public void showMetrics(com.google.gwt.event.dom.client.ClickEvent event)
@EventHandler(value="settings-tab") public void showSettings(com.google.gwt.event.dom.client.ClickEvent event)
public void setTitle(String title)
setTitle in interface LibraryScreen.Viewpublic void setProjectsCount(int count)
setProjectsCount in interface LibraryScreen.Viewpublic void setContributorsCount(int count)
setContributorsCount in interface LibraryScreen.Viewpublic void updateContent(org.jboss.errai.common.client.dom.HTMLElement content)
updateContent in interface LibraryScreen.Viewpublic boolean isProjectsTabActive()
isProjectsTabActive in interface LibraryScreen.Viewpublic boolean isContributorsTabActive()
isContributorsTabActive in interface LibraryScreen.Viewpublic boolean isMetricsTabActive()
isMetricsTabActive in interface LibraryScreen.Viewpublic boolean isSettingsTabActive()
isSettingsTabActive in interface LibraryScreen.Viewpublic void showSettingsTab(boolean isVisible)
showSettingsTab in interface LibraryScreen.ViewCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.