projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add NodeListener support class.
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
i18n
/
gui
/
I18nAction.java
diff --git
a/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java
b/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java
index
d83cd7f
..
502ba69
100644
(file)
--- a/
src/net/pterodactylus/jsite/i18n/gui/I18nAction.java
+++ b/
src/net/pterodactylus/jsite/i18n/gui/I18nAction.java
@@
-1,6
+1,5
@@
-package net.pterodactylus.jsite.i18n.gui;
-
import java.awt.event.ActionListener
;
+
package net.pterodactylus.jsite.i18n.gui
;
import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.AbstractAction;
import javax.swing.Action;
@@
-11,10
+10,10
@@
import net.pterodactylus.jsite.i18n.I18nable;
/**
* Helper class that initializes actions with values from {@link I18n}.
/**
* Helper class that initializes actions with values from {@link I18n}.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
*/
-public abstract class I18nAction extends AbstractAction implements I18nable
, ActionListener
{
+public abstract class I18nAction extends AbstractAction implements I18nable {
/** The I18n basename. */
private final String i18nName;
/** The I18n basename. */
private final String i18nName;
@@
-22,7
+21,7
@@
public abstract class I18nAction extends AbstractAction implements I18nable, Act
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n}.
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n}.
- *
+ *
* @param i18nName
* The base name of the action
*/
* @param i18nName
* The base name of the action
*/
@@
-33,7
+32,7
@@
public abstract class I18nAction extends AbstractAction implements I18nable, Act
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n} and the given icon.
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n} and the given icon.
- *
+ *
* @param i18nName
* The base name of the action
* @param icon
* @param i18nName
* The base name of the action
* @param icon
@@
-46,7
+45,7
@@
public abstract class I18nAction extends AbstractAction implements I18nable, Act
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n}.
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n}.
- *
+ *
* @param i18nName
* The base name of the action
* @param enabled
* @param i18nName
* The base name of the action
* @param enabled
@@
-59,7
+58,7
@@
public abstract class I18nAction extends AbstractAction implements I18nable, Act
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n} and the given icon.
/**
* Creates a new action that uses the given name as base name to get values
* from {@link I18n} and the given icon.
- *
+ *
* @param i18nName
* The base name of the action
* @param enabled
* @param i18nName
* The base name of the action
* @param enabled
@@
-87,4
+86,4
@@
public abstract class I18nAction extends AbstractAction implements I18nable, Act
putValue(Action.LONG_DESCRIPTION, I18n.get(i18nName + ".longDescription"));
}
putValue(Action.LONG_DESCRIPTION, I18n.get(i18nName + ".longDescription"));
}
-}
+}
\ No newline at end of file