UMLImageUpdateProcedure
New Centralized Images Folder
The images for the UML module have been centralized for easier maintenance. All images for all UML modules are now located in the UML Core module in the folder (package): org.netbeans.modules.uml.resources.images. Images placed anywhere else should be moved to the new images folder and be deleted from its current folder.
Adding or Modifying Images
If you find a need to modify an image (change its name or its look) or you need to add an image (new or old) to the new images folder, then you must follow some rules before you commit to CVS.
- Name must be all lowercase, dashes used as word delimiter: my-new-image.png.
- If larger than 16x16, then add the size to the end of the filename: my-new-image-32.png.
- Perform a clean-build on UML Core. The build will copy only new/modified images to the javahelp images folder.
- Commit both copies of the image (core and javahelp folders) into CVS.
Deleting or Renaming an Images
- Do due diligence to make sure the image is no longer being referenced. This is not always easy to do because of the many indirections and mappings from type names to image files. Here are some places to check:
- CommonResourceManage.java and the Bundle.properties in this class' package
- PaletteItemDefinition of the UML Palette module
- You must also delete the image from the javahelp folder: org.netbeans.modules.uml.docs.images.resources.images
- Don't forget that javahelp's online docs refer to these images. Search the javahelp module for uses of the old image filename and correct as necessary. Speak with docs team if you need more assistance.
New Images Might Need FaceLift
The image you moved into the new central directory may be using an older color scheme and in need of being redesigned. If in question, send the image files (zipped) to Ondrej.Langr (standard Sun's e-mail address). Just let him know that the image needs to be reviewed for possible redesign to current NetBeans L+F conventions.

