protected CommandContributionItemParameter buildContributionItemParameter(
     MappingUiDefinition mappingUiDefinition) {
   CommandContributionItemParameter parameter =
       new CommandContributionItemParameter(
           this.serviceLocator,
           this.buildCommandContributionItemParameterID(mappingUiDefinition),
           this.getCommandID(),
           CommandContributionItem.STYLE_CHECK);
   parameter.label = mappingUiDefinition.getLabel();
   Map<String, String> parameters = new HashMap<String, String>(1);
   parameters.put(this.getCommandParameterID(), mappingUiDefinition.getKey());
   parameter.parameters = parameters;
   parameter.icon = mappingUiDefinition.getImageDescriptor();
   parameter.visibleEnabled = true;
   return parameter;
 }
 @Override
 public int compare(MappingUiDefinition def1, MappingUiDefinition def2) {
   return Collator.getInstance().compare(def1.getLabel(), def2.getLabel());
 }