/**
  * Returns an image name to be used for the given type
  *
  * @param type Type string
  * @return Image name to be used for this type
  */
 protected String getImageNameForType(OutlineElement element) {
   if (element instanceof VerilogOutlineElement) {
     VerilogOutlineElement verilogElement = (VerilogOutlineElement) element;
     return verilogElement.GetImageName();
   }
   // default
   return OBJ_IMAGE;
 }
 /**
  * Converts a name to a string using the type string
  *
  * @param name element's name
  * @param Type element's type
  * @return
  */
 protected String convertToString(OutlineElement element) {
   if (element instanceof VerilogOutlineElement) {
     VerilogOutlineElement verilogElement = (VerilogOutlineElement) element;
     return verilogElement.getLongName();
   }
   // something very wrong
   return element.toString();
 }