The BPMN palettes contain template objects that the user of the
modeler can use to create BPMN objects with predefined tags and
properties in XML. These palettes are specified by XML files
located in <installdir>/jviews-diagrammer89/samples/diagrammer/bpmnmodeler/resources/palettes.
Each XML file contains the description of the template objects for
a palette.
To create a BPMN palette as a Swing toolbar from a palette XML
file, you use an IlvDiagrammerPaletteBar object as shown in
the following code example.
Creating a BPMN palette toolbar
new IlvDiagrammerPaletteBar( new URL(getBaseURL(),"resources/palettes/"+filename), getStyleSheetURL(), JToolBar.HORIZONTAL);