/** Whether the debug mode is activated. */
private static boolean debug = false;
+ /** The URL for update checks. */
+ private static final String UPDATE_KEY = "USK@e3myoFyp5avg6WYN16ImHri6J7Nj8980Fm~aQe4EX1U,QvbWT0ImE0TwLODTl7EoJx2NBnwDxTbLTE6zkB-eGPs,AQACAAE/jSite/0/currentVersion.txt";
+
/** The configuration. */
private Configuration configuration;
/** The “manage nodes” action. */
private Action manageNodeAction;
+ /** The “check for updates” action. */
+ private Action checkForUpdatesAction;
+
/** The “about jSite” action. */
private Action aboutAction;
wizard.setNextName(I18n.getMessage("jsite.wizard.next"));
}
};
+ checkForUpdatesAction = new AbstractAction(I18n.getMessage("jsite.menu.help.check-for-updates")) {
+
+ /**
+ * {@inheritDoc}
+ */
+ @SuppressWarnings("synthetic-access")
+ public void actionPerformed(ActionEvent actionEvent) {
+ checkForUpdates();
+ }
+ };
aboutAction = new AbstractAction(I18n.getMessage("jsite.menu.help.about")) {
@SuppressWarnings("synthetic-access")
configuration.setLocale(supportedLocale);
}
+ /**
+ * Checks for updates of jSite.
+ */
+ private void checkForUpdates() {
+
+ }
+
//
// INTERFACE ListSelectionListener
//