Merge commit 'e6bb1700749980e69b5e913acbfd276f129c24dc'
[fanfix.git] / src / be / nikiroo / fanfix / bundles / UiConfigBundle.java
CommitLineData
b4dc6ab5
NR
1package be.nikiroo.fanfix.bundles;
2
3import java.io.File;
4import java.io.IOException;
5
6import be.nikiroo.utils.resources.Bundle;
7
8/**
9 * This class manages the configuration of UI of the application (colours and
10 * behaviour)
11 *
12 * @author niki
13 */
14public class UiConfigBundle extends Bundle<UiConfig> {
15 public UiConfigBundle() {
ce788468 16 super(UiConfig.class, Target.ui, new UiConfigBundleDesc());
b4dc6ab5
NR
17 }
18
19 /**
20 * Update resource file.
21 *
22 * @param args
23 * not used
24 *
25 * @throws IOException
26 * in case of I/O error
27 */
28 public static void main(String[] args) throws IOException {
29 String path = new File(".").getAbsolutePath()
30 + "/src/be/nikiroo/fanfix/bundles/";
31 new UiConfigBundle().updateFile(path);
32 System.out.println("Path updated: " + path);
33 }
34
35 @Override
36 protected String getBundleDisplayName() {
37 return "UI configuration options";
38 }
39}