Package net.sf.gridarta.updater
Class Updater
- java.lang.Object
-
- net.sf.gridarta.updater.Updater
-
- All Implemented Interfaces:
java.lang.Runnable
public class Updater extends java.lang.Object implements java.lang.RunnableThis class handles updating the map editor.- Todo:
- move the updater to JAPI
- Fixme:
- the updater fails on windows, the user is notified of this but still it isn't nice. The updater should be a separate application.
-
-
Field Summary
Fields Modifier and Type Field Description static @NotNull java.lang.StringLAST_UPDATE_KEYThe preferences key for last update.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()
-
-
-
Field Detail
-
LAST_UPDATE_KEY
@NotNull public static final @NotNull java.lang.String LAST_UPDATE_KEY
The preferences key for last update.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Updater
public Updater(@Nullable @Nullable java.awt.Component parentComponent, @NotNull @NotNull Exiter exiter, @NotNull @NotNull java.lang.String updateFileName)Creates a new instance.- Parameters:
parentComponent- the parent component to show dialogs onexiter- the exiter for terminating the applicationupdateFileName- the file to update
-
-