Exemplo n.º 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;
 }
Exemplo n.º 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();
   }
 }