<NewIconFile>
Section:
Class
Required:
No
Value type:
Path and image file name
Default:
The image specified by <IconFile> or <WriteableIconFile>
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
The path name to the GIF or JPG image file to display for a new instance of the class. The image should be 16x16 pixels. This icon is returned from the getIcon() method of a WMDBObject if the instance is new.
If you use an absolute path (i.e., the path begins with a /), the icon is expected to be in a JAR file. If the file is not found in the JAR file, or if the path is relative, the file is expected to be in a directory relative from where the application is run.
Example
This example shows the new icon file configured as a GIF image in a JAR file:
<NewIconFile>/com/mydomain/myIcons/new_icon.gif</NewIconFile>
Was this helpful?