public ExportAction(Environment environment) {
    super("Export to SVG", null);
    this.environment = environment;
    putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke
         (KeyEvent.VK_E, MAIN_MENU_MASK));
    }