コード例 #1
0
 @Override
 protected void constructSubViews(
     TreeNodeWithView root, ImportationSC entity, Map<String, Object> request) {
   TreeNodeWithView nodeAddedFees =
       new TreeNodeWithView(ControlConfigUtils.getString("JTree.SubMenu.ImportationSC.addedFee"));
   Map<String, Object> listRequest = new HashMap<>();
   listRequest.put(PARAM_PARENT_ID, entity.getId());
   listRequest.put(PARAM_PARENT_CLASS, entity.getClass());
   ListAddedSCFeeView itemsView = new ListAddedSCFeeView(listRequest);
   nodeAddedFees.setView(itemsView);
   root.add(nodeAddedFees);
 }
コード例 #2
0
 @Override
 protected String getDefaultTitle(ImportationSC entity) {
   return entity.getCode();
 }