-
Stop the app server.
-
Extract the mapping file, emxEngineeringCentralMappingFile.properties, from /WEB-INF/lib/engineering.jar into the /WEB-INF/classes directory.
-
In the mapping file, add the subtype-to-bean mapping. For example:
If you create a new subtype of drawing called Drawing Print Minor , add the following line to the mapping file:
type_DrawingPrintMinor=com.matrixone.framework.beans.DrawingPrint
This key is the symbolic name of the new subtype and the value is the bean to use as an
interface to the new subtype.
-
Save the changes to emxEngineeringCentralMappingFile.properties. In addition, replace the
original mapping file in engineering.jar with the updated file, respecting the original path
information.
-
Specify icons for the new subtypes as follows:
-
In /WEB-INF/classes/emxSystem.properties, add a line such as:
emxFramework.smallIcon.type_DrawingPrintMinor =
iconSmallDrawingPrint.gif
-
In /WEB-INF/classes/emxEngineeringCentral.properties, add lines such as
type_DrawingPrintMinor.SmallIcon = iconSmallDrawingPrint.gif
type_DrawingPrintMinor.LargeIcon = iconLargeDrawingPrint.gif
-
Restart the app server.
|