Exemple #1
0
  @Override
  public void onOntologyHierarchySelectionChanged(OntologyHierarchySelectionChangedEvent event) {
    setHeadingText(Joiner.on(" >> ").join(event.getPath()));

    if (event.getSelectedHierarchy() != null) {
      // Reset Search
      acm.setSearchRegexPattern("");
    }
  }
Exemple #2
0
  @Override
  public void onAppCategorySelectionChanged(AppCategorySelectionChangedEvent event) {
    // FIXME Move to appearance
    setHeadingText(Joiner.on(" >> ").join(event.getGroupHierarchy()));

    if (!event.getAppCategorySelection().isEmpty()) {
      // Reset Search
      acm.setSearchRegexPattern("");
    }
  }
Exemple #3
0
 @Override
 public void setSearchPattern(final String searchPattern) {
   this.searchRegexPattern = searchPattern;
   acm.setSearchRegexPattern(searchRegexPattern);
 }