コード例 #1
0
 protected void setupControlTemplate() {
   final DfLittleAdjustmentProperties littleProp = getLittleAdjustmentProperties();
   final String title;
   final String controlPath;
   if (littleProp.isAlternateSql2EntityControlValid()) {
     title = "alternate control";
     controlPath = littleProp.getAlternateSql2EntityControl();
   } else {
     final DfLanguageDependency lang = getBasicProperties().getLanguageDependency();
     title = lang.getLanguageTitle();
     controlPath = lang.getSql2EntityControl();
   }
   _log.info("");
   _log.info("...Using " + title + " control: " + controlPath);
   setControlTemplate(controlPath);
 }
コード例 #2
0
 protected String resolvePackageNameExceptUtil(String typeName) {
   final DfLanguageDependency lang = getBasicProperties().getLanguageDependency();
   final DfLanguagePropertyPackageResolver resolver = lang.getLanguagePropertyPackageResolver();
   return resolver.resolvePackageNameExceptUtil(typeName);
 }