/bundles/plugins-trunk/CommonControls/common/gui/actions/Cancel.java
# · Java · 28 lines · 14 code · 5 blank · 9 comment · 0 complexity · 331b921cf527ba5f1a0fc45b3885b1c5 MD5 · raw file
- package common.gui.actions;
- import java.awt.event.*;
- import javax.swing.*;
- /**
- * An old class that probably shouldn't be used anymore.
- *
- * @author mace
- * @created May 28, 2003
- * @modified $Date: 2012-03-13 17:07:11 +0100 (Tue, 13 Mar 2012) $ by $Author: ezust $
- * @version $Revision: 21349 $
- * @deprecated
- */
- @Deprecated
- class Cancel extends CustomAction {
- private JDialog _dialog;
- public Cancel(JDialog d) {
- super("Cancel");
- _dialog = d;
- }
- public void actionPerformed(ActionEvent e) {
- _dialog.dispose();
- }
- }