X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fbundles%2FUiConfigBundle.java;fp=src%2Fbe%2Fnikiroo%2Ffanfix%2Fbundles%2FUiConfigBundle.java;h=2c31d097c56bc8e8a23533847262cc9d4e9b0a41;hb=b4dc6ab518ded2dd92e4cbb02ac615b1d57e8e6d;hp=0000000000000000000000000000000000000000;hpb=3d247bc3bb955a9b85686f0db431157cb9dc4a10;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/bundles/UiConfigBundle.java b/src/be/nikiroo/fanfix/bundles/UiConfigBundle.java new file mode 100644 index 0000000..2c31d09 --- /dev/null +++ b/src/be/nikiroo/fanfix/bundles/UiConfigBundle.java @@ -0,0 +1,39 @@ +package be.nikiroo.fanfix.bundles; + +import java.io.File; +import java.io.IOException; + +import be.nikiroo.utils.resources.Bundle; + +/** + * This class manages the configuration of UI of the application (colours and + * behaviour) + * + * @author niki + */ +public class UiConfigBundle extends Bundle { + public UiConfigBundle() { + super(UiConfig.class, Target.ui); + } + + /** + * Update resource file. + * + * @param args + * not used + * + * @throws IOException + * in case of I/O error + */ + public static void main(String[] args) throws IOException { + String path = new File(".").getAbsolutePath() + + "/src/be/nikiroo/fanfix/bundles/"; + new UiConfigBundle().updateFile(path); + System.out.println("Path updated: " + path); + } + + @Override + protected String getBundleDisplayName() { + return "UI configuration options"; + } +}