| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
package org.homeunix.thecave.buddi.view.menu.items; |
| 5 | |
|
| 6 | |
import java.awt.event.ActionEvent; |
| 7 | |
|
| 8 | |
import org.homeunix.thecave.buddi.Buddi; |
| 9 | |
import org.homeunix.thecave.buddi.i18n.keys.MenuKeys; |
| 10 | |
import org.homeunix.thecave.buddi.plugin.api.util.TextFormatter; |
| 11 | |
|
| 12 | |
import ca.digitalcave.moss.swing.MossFrame; |
| 13 | |
import ca.digitalcave.moss.swing.MossMenuItem; |
| 14 | |
|
| 15 | |
public class HelpCheckForUpdates extends MossMenuItem { |
| 16 | |
public static final long serialVersionUID = 0; |
| 17 | |
|
| 18 | |
public HelpCheckForUpdates(MossFrame frame) { |
| 19 | 5975 | super(frame, TextFormatter.getTranslation(MenuKeys.MENU_HELP_CHECK_FOR_UPDATES)); |
| 20 | 5975 | } |
| 21 | |
|
| 22 | |
public void actionPerformed(ActionEvent e) { |
| 23 | 18 | Buddi.doUpdateCheck(getFrame()); |
| 24 | 18 | } |
| 25 | |
} |