String function ( String arg0 ) { if ( arg0 . equals ( IMarker . PROBLEM ) ) { return "srini_string" ; } if ( arg0 . equals ( IMarker . TASK ) ) { return "srini_string" ; } if ( arg0 . equals ( "srini_string" ) ) { return "srini_string" ; } return arg0 ; }
returns the label for the given marker type . workaround until we have labels in xml . concode_field_sep HashMap<String,MarkerType> types concode_elem_sep MarkerTypesModel instance concode_field_sep MarkerType getType concode_elem_sep HashMap<String,MarkerType> readTypes concode_elem_sep MarkerTypesModel getInstance concode_elem_sep MarkerType[] getTypes