示例#1
0
  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);
  }
示例#2
0
 public void setProfiles(List<String> profileNames) {
   profileSelector.setProfiles(profileNames);
 }