예제 #1
0
 /**
  * setEDPData
  *
  * @param data EDPCellData
  */
 public void setCellData(EDPCellData data) {
   m_data = data;
   paramKeys = data.getPlugin().getPrintfDescrs(!m_isCrawlRuleEditor);
   data.getPlugin().addParamListener(this);
   setTemplate((PrintfTemplate) data.getData());
   m_isCrawlRuleEditor = data.getKey().equals(DefinableArchivalUnit.KEY_AU_CRAWL_RULES);
   // initialize the combobox
   updateParams(data);
   if (m_isCrawlRuleEditor) {
     matchPanel.setVisible(true);
   } else {
     matchPanel.setVisible(false);
   }
 }
예제 #2
0
 /** notifiyParamsChanged */
 public void notifiyParamsChanged() {
   updateParams(m_data);
 }