Пример #1
0
 /** @see com.odcgroup.page.ui.snippet.controls.FilterSetControl#getTargetDataset() */
 public String getTargetDataset() {
   IQuery query = SnippetUtil.getSnippetFactory().adaptQuerySnippet(event.getSnippets());
   if (query != null) {
     return query.getSearchModuleDomainEntity();
   }
   return null;
 }
Пример #2
0
 /**
  * @see
  *     com.odcgroup.page.ui.snippet.controls.FilterSetControl#setReflectiveInput(java.lang.Object)
  */
 public void setReflectiveInput(Event parent) {
   this.event = parent;
   if (event != null) {
     ISnippetFactory factory = SnippetUtil.getSnippetFactory();
     filterSet = factory.adaptFilterSetSnippet(event.getSnippets(), index);
     if (filterSet == null) {
       filterSet = factory.createFilterSet();
       addFilterSet(event, filterSet);
     }
     updateDatasetControls();
   }
 }