Heat Map Basic Edit Example
Assume that you have a manager who has been under a lot of stress lately and has started issuing some unusual orders. This week, he has stated that tolerances that begin with “C” (circularity, concentricity, and cylindricity) are exceptionally important and under-appreciated tolerances. To rectify this situation, he wants them to have their own grouping in the heat map Criterion drop-down menu. Further, he declares that they should have “Tolerance” appended to their names in the menu to give them the proper respect to which they are entitled.
Here is how the typical heat map drop-down menu appears, compared to how the manager wants to see it:
Here’s how to make this change:
1 Go to <apriori_install>\ext\project-management-plugin\macro\app\ConfigureHeatMap and make a back-up copy of configHeatMap.xml.
2 Open configHeatMap.xml in an editor and scroll down to these lines:
<HeatMapToolSpec name="circularity">
<GroupingSpecs>
<GroupingSpec name="i18n(gtol)"/>
</GroupingSpecs>
</HeatMapToolSpec>
<HeatMapToolSpec name="concentricity">
<GroupingSpecs>
<GroupingSpec name="i18n(gtol)"/>
</GroupingSpecs>
</HeatMapToolSpec>
<HeatMapToolSpec name="cylindricity">
<GroupingSpecs>
<GroupingSpec name="i18n(gtol)"/>
</GroupingSpecs>
</HeatMapToolSpec>
3 Modify these lines as shown in bold (don’t miss the “_c” after “gtol”):
<HeatMapToolSpec name="circularity" displayName="i18nMsg(circularity)">
<GroupingSpecs>
<GroupingSpec name="i18n(gtol_c)"/>
</GroupingSpecs>
</HeatMapToolSpec>
<HeatMapToolSpec name="concentricity" displayName="i18nMsg(concentricity)">
<GroupingSpecs>
<GroupingSpec name="i18n(gtol_c)"/>
</GroupingSpecs>
</HeatMapToolSpec>
<HeatMapToolSpec name="cylindricity" displayName="i18nMsg(cylindricity)">
<GroupingSpecs>
<GroupingSpec name="i18n(gtol_c)"/>
</GroupingSpecs>
</HeatMapToolSpec>
 
Save this file when done.
4 Go to <apriori_install>\ext\project-management-plugin\macro\app\ConfigureHeatMap\Messages and make a back-up copy of macroMessages.properties.
5 Open macroMessages.properties in an editor and scroll down to this line:
HeatMap.gtol=Tolerances
6 Make copy of this line and edit it so that you end up with two lines as follows:
HeatMap.gtol=Tolerances
HeatMap.gtol_c=Tolerances Starting with C
7 Add the following lines at the end of the file:
HeatMap.circularity=Circularity Tolerance
HeatMap.concentricity=Concentricity Tolerance
HeatMap.cylindricity=Cylindricity Tolerance
Save the file when done.
8 Restart aPriori. The Criterion menu should now reflect the changes requested.