@Dependent public class ProjectBranchBreadcrumb extends Object implements org.uberfire.ext.widgets.common.client.breadcrumbs.widget.BreadcrumbPresenter
| Modifier and Type | Class and Description |
|---|---|
static interface |
ProjectBranchBreadcrumb.View |
| Modifier and Type | Field and Description |
|---|---|
static Comparator<org.guvnor.structure.repositories.Branch> |
BRANCH_ALPHABETICAL_ORDER_COMPARATOR |
| Constructor and Description |
|---|
ProjectBranchBreadcrumb(ProjectBranchBreadcrumb.View view,
LibraryPlaces libraryPlaces) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
List<org.guvnor.structure.repositories.Branch> |
getBranches() |
org.guvnor.structure.repositories.Branch |
getCurrentBranch() |
org.uberfire.client.mvp.UberElemental<? extends org.uberfire.ext.widgets.common.client.breadcrumbs.widget.BreadcrumbPresenter> |
getView() |
void |
newBranchEvent(org.guvnor.structure.repositories.NewBranchEvent newBranchEvent) |
void |
onBranchChanged(org.guvnor.structure.repositories.Branch branch) |
ProjectBranchBreadcrumb |
setup(Collection<org.guvnor.structure.repositories.Branch> branches) |
public static final Comparator<org.guvnor.structure.repositories.Branch> BRANCH_ALPHABETICAL_ORDER_COMPARATOR
@Inject public ProjectBranchBreadcrumb(ProjectBranchBreadcrumb.View view, LibraryPlaces libraryPlaces)
public ProjectBranchBreadcrumb setup(Collection<org.guvnor.structure.repositories.Branch> branches)
public void activate()
activate in interface org.uberfire.ext.widgets.common.client.breadcrumbs.widget.BreadcrumbPresenterpublic void deactivate()
deactivate in interface org.uberfire.ext.widgets.common.client.breadcrumbs.widget.BreadcrumbPresenterpublic org.guvnor.structure.repositories.Branch getCurrentBranch()
public List<org.guvnor.structure.repositories.Branch> getBranches()
public org.uberfire.client.mvp.UberElemental<? extends org.uberfire.ext.widgets.common.client.breadcrumbs.widget.BreadcrumbPresenter> getView()
getView in interface org.uberfire.ext.widgets.common.client.breadcrumbs.widget.BreadcrumbPresenterpublic void onBranchChanged(org.guvnor.structure.repositories.Branch branch)
public void newBranchEvent(@Observes
org.guvnor.structure.repositories.NewBranchEvent newBranchEvent)
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.