final String fileName = dialog.open();
LOG.debug("Dialog returned " + fileName);
if (fileName != null) {
Image image = null;
try {
<BUG>image = getGraphControler().createImageForGraph();
</BUG>
imageSaver.saveImage(image, fileName);
} catch (final IllegalArgumentException e) {
ExceptionDialog.openException(parentShell, "Cannot export image", e);

final String fileName = dialog.open();
LOG.debug("Dialog returned " + fileName);
if (fileName != null) {
Image image = null;
try {
image = getGraphController().createImageForGraph();
imageSaver.saveImage(image, fileName);
} catch (final IllegalArgumentException e) {
ExceptionDialog.openException(parentShell, "Cannot export image", e);
