*/
public interface ImageWriterI
{
- void exportImage(Graphics g)
- throws Exception;
+ void exportImage(Graphics g) throws Exception;
}
private IProgressIndicator messageBoard;
String type = imageType.getName();
try
{
-// setStatus(
-// MessageManager.formatMessage(
-// "status.exporting_alignment_as_x_file", type),
-// messageId);
+ // setStatus(
+ // MessageManager.formatMessage(
+ // "status.exporting_alignment_as_x_file", type),
+ // messageId);
ImageMaker im = new ImageMaker(imageType, width, height, chosenFile,
title, asLineart);
imageWriter.exportImage(im.getGraphics());
messageId);
} catch (Exception e)
{
- System.out
- .println(String.format("Error creating %s file: %s", type,
- e.toString()));
+ System.out.println(String.format("Error creating %s file: %s", type,
+ e.toString()));
setStatus(MessageManager.formatMessage("info.error_creating_file",
type), messageId);
}