public SubsystemSection() { LHSNavTree navigation = new LHSNavTree("profiles"); navigation.getElement().setAttribute("aria-label", "Profile Tasks"); subsysTree = new LHSTreeSection(Console.CONSTANTS.common_label_subsystems()); navigation.addItem(subsysTree); layout = new VerticalPanel(); layout.setStyleName("fill-layout-width"); // ------------ profileSelector = new ProfileSelector(); Widget selectorWidget = profileSelector.asWidget(); layout.add(selectorWidget); layout.add(navigation); }
public void setProfiles(List<String> profileNames) { profileSelector.setProfiles(profileNames); }