@Override public void setOptions(final Set<Option> options) { if (options.contains(Option.TREE_NAVIGATOR)) { explorer.setNavType(Explorer.NavType.TREE, businessOptions); } else { explorer.setNavType(Explorer.NavType.BREADCRUMB, businessOptions); } }
@Override public void setContent( final Set<OrganizationalUnit> organizationalUnits, final OrganizationalUnit organizationalUnit, final Set<Repository> repositories, final Repository repository, final Set<Project> projects, final Project project, final FolderListing folderListing, final Map<FolderItem, List<FolderItem>> siblings) { explorer.setupHeader( organizationalUnits, organizationalUnit, repositories, repository, projects, project); explorer.loadContent(folderListing, siblings); setItems(folderListing); }
@Override public void init(final ViewPresenter presenter) { this.presenter = presenter; explorer.init(Explorer.Mode.COLLAPSED, businessOptions, Explorer.NavType.TREE, presenter); }