X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fi18n%2Fgui%2FI18nAction.java;h=502ba69b19ab5c897194ef47da06c8694970c43b;hb=c63257e8cc0ba1a5aca9364b22171abe7279d479;hp=d83cd7fb7f9111edf6b64903b592f041bef28bfb;hpb=0ceb28cb15a4c79029d98c6e94fc1fc94b317c60;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java b/src/net/pterodactylus/jsite/i18n/gui/I18nAction.java index d83cd7f..502ba69 100644 --- 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; @@ -11,10 +10,10 @@ import net.pterodactylus.jsite.i18n.I18nable; /** * Helper class that initializes actions with values from {@link I18n}. - * + * * @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; @@ -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}. - * + * * @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. - * + * * @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}. - * + * * @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. - * + * * @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")); } -} +} \ No newline at end of file