1
2
3
4
5
6
7 package org.xnap.plugin.gift.action;
8
9 import javax.swing.AbstractAction;
10 import javax.swing.Action;
11
12 import org.xnap.XNap;
13 import org.xnap.gui.util.IconHelper;
14
15 /***
16 * @author Tammo
17 *
18 * To change the template for this generated type comment go to
19 * Window>Preferences>Java>Code Generation>Code and Comments
20 */
21 public abstract class AbstractClearSourcesAction extends AbstractAction {
22
23 /***
24 *
25 */
26 public AbstractClearSourcesAction() {
27 putValue(Action.NAME, XNap.tr("Clear inactive sources"));
28 putValue(Action.SHORT_DESCRIPTION,
29 XNap.tr("Clear inactive sources."));
30 putValue(IconHelper.XNAP_ICON, "edittrash.png");
31 }
32
33 public boolean equals(Object o)
34 {
35 return o instanceof AbstractClearSourcesAction;
36 }
37
38 }