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;
 }
 /**
  * Return a command ID for a {@link CommandContributionItemParameter} in the form of <code>
  * "&lt;<em>command ID</em>&gt;.&lt;<em>mapping key</em>&gt;"</code> (e.g. <code>
  * "org.eclipse.jpt.jpa.core.ui.persistentTypeMapAs.entity"</code>)
  */
 protected String buildCommandContributionItemParameterID(
     MappingUiDefinition mappingUiDefinition) {
   return this.getCommandID() + '.' + mappingUiDefinition.getKey();
 }