PaletteDrawer drawer = new PaletteDrawer("", IntegrationImages.BADGE_SI_JPA); //$NON-NLS-1$
List<PaletteEntry> entries = new ArrayList<PaletteEntry>();
CombinedTemplateCreationEntry entry = new CombinedTemplateCreationEntry(
IntJpaSchemaConstants.ELEM_INBOUND_CHANNEL_ADAPTER, Messages.IntJpaPaletteFactory_INBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION,
new ModelElementCreationFactory(InboundChannelAdapterModelElement.class, diagram, namespaceUri),
IntegrationImages.INBOUND_ADAPTER_SMALL, IntegrationImages.INBOUND_ADAPTER);
entries.add(entry);
entry = new CombinedTemplateCreationEntry(IntJpaSchemaConstants.ELEM_OUTBOUND_CHANNEL_ADAPTER,
Messages.IntJpaPaletteFactory_OUTBOUND_CHANNEL_ADAPTER_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
OutboundChannelAdapterModelElement.class, diagram, namespaceUri),
IntegrationImages.OUTBOUND_ADAPTER_SMALL, IntegrationImages.OUTBOUND_ADAPTER);
entries.add(entry);
entry = new CombinedTemplateCreationEntry(IntJpaSchemaConstants.ELEM_RETRIEVING_OUTBOUND_GATEWAY,
Messages.IntJpaPaletteFactory_RETRIEVING_OUTBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
RetrievingOutboundGatewayModelElement.class, diagram, namespaceUri),
IntegrationImages.OUTBOUND_GATEWAY_SMALL, IntegrationImages.OUTBOUND_GATEWAY);
entries.add(entry);
entry = new CombinedTemplateCreationEntry(IntJpaSchemaConstants.ELEM_UPDATING_OUTBOUND_GATEWAY,
Messages.IntJpaPaletteFactory_UPDATING_OUTBOUND_GATEWAY_COMPONENT_DESCRIPTION, new ModelElementCreationFactory(
UpdatingOutboundGatewayModelElement.class, diagram, namespaceUri),
IntegrationImages.OUTBOUND_GATEWAY_SMALL, IntegrationImages.OUTBOUND_GATEWAY);
entries.add(entry);
drawer.addAll(entries);