@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,
javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent,
org.guvnor.common.services.project.client.security.ProjectController projectController,
org.uberfire.client.promise.Promises promises) |
| 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) |
void |
repositoryUpdatedEvent(org.guvnor.structure.repositories.RepositoryUpdatedEvent event) |
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, javax.enterprise.event.Event<org.uberfire.workbench.events.NotificationEvent> notificationEvent, org.guvnor.common.services.project.client.security.ProjectController projectController, org.uberfire.client.promise.Promises promises)
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)
public void repositoryUpdatedEvent(@Observes
org.guvnor.structure.repositories.RepositoryUpdatedEvent event)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.