/**
* @generated
*/
private Image getImage(String key, IElementType elementType) {
ImageRegistry imageRegistry = eu.admire.visual.pmml.neuralnetwork._40.diagram.part.PMMLDiagramEditorPlugin
.getInstance().getImageRegistry();
Image image = imageRegistry.get(key);
if (image == null
&& elementType != null
&& eu.admire.visual.pmml.neuralnetwork._40.diagram.providers.PMMLElementTypes
.isKnownElementType(elementType)) {
image = eu.admire.visual.pmml.neuralnetwork._40.diagram.providers.PMMLElementTypes
.getImage(elementType);
imageRegistry.put(key, image);
}
if (image == null) {
image = imageRegistry.get("Navigator?ImageNotFound"); //$NON-NLS-1$
imageRegistry.put(key, image);
}
return image;
}