From 78884719823fb73d268bf9767189e85e7f916e41 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sun, 23 Oct 2011 21:45:01 +0200 Subject: Statemachine for installation wizard (WIP) --- .../essentials/update/UpdatesDownloader.java | 23 +++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java') diff --git a/EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java b/EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java index 28ffdfe3c..717163726 100644 --- a/EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java +++ b/EssentialsUpdate/src/com/earth2me/essentials/update/UpdatesDownloader.java @@ -1,19 +1,28 @@ package com.earth2me.essentials.update; -import java.io.File; +import org.bukkit.plugin.Plugin; -public class UpdatesDownloader +public class UpdatesDownloader extends WorkListener { + public UpdatesDownloader(final Plugin plugin, final VersionInfo newVersionInfo) + { + super(plugin, newVersionInfo); + } + + public void start() + { + } - UpdatesDownloader() + @Override + public void onWorkAbort(String message) { - + throw new UnsupportedOperationException("Not supported yet."); } - void start(File updateFolderFile, VersionInfo newVersion) + @Override + public void onWorkDone(String message) { - + throw new UnsupportedOperationException("Not supported yet."); } - } -- cgit v1.2.3