Example #1
0
 protected String getResoureName(FVResourceNode resource) {
   if (resource == null) {
     return "";
   }
   if (resource.isPort()) {
     return resource.getParent().getName() + ":" + resource.getName();
   } else {
     return resource.getName();
   }
 }