/* Copyright (C) 2005-2011 Fabio Riccardi */

package com.lightcrafts.app.menu;

import com.lightcrafts.app.ComboFrame;

import java.awt.event.ActionEvent;

final class CloseDocMenuItem extends DocumentMenuItem {

    CloseDocMenuItem(ComboFrame frame) {
        super(frame, "CloseDoc");
    }

    public void actionPerformed(ActionEvent event) {
        performPreAction( event );
        final ComboFrame frame = getComboFrame();
        frame.showBrowserPerspective();
    }
}
