Пример #1
0
 @Override
 public void setContent(final String drl, final List<String> fullyQualifiedClassNames) {
   dslConditionsBrowser.setVisible(false);
   dslActionsBrowser.setVisible(false);
   factTypeBrowser.setFullyQualifiedClassNames(fullyQualifiedClassNames);
   factTypeBrowser.setDSLR(false);
   drlEditor.setText(drl);
 }
Пример #2
0
 @Override
 public void setContent(
     final String dslr,
     final List<String> fullyQualifiedClassNames,
     final List<DSLSentence> dslConditions,
     final List<DSLSentence> dslActions) {
   dslConditionsBrowser.setVisible(true);
   dslActionsBrowser.setVisible(true);
   factTypeBrowser.setFullyQualifiedClassNames(fullyQualifiedClassNames);
   factTypeBrowser.setDSLR(true);
   dslConditionsBrowser.setDSLSentences(dslConditions);
   dslActionsBrowser.setDSLSentences(dslActions);
   drlEditor.setText(dslr);
 }