Merge branch 'master' into subtree
[nikiroo-utils.git] / bundles / UiConfigBundleDesc.java
CommitLineData
ce788468
NR
1package be.nikiroo.fanfix.bundles;
2
3import java.io.File;
4import java.io.IOException;
5
6import be.nikiroo.utils.resources.TransBundle;
7
8/**
9 * This class manages the configuration of UI of the application (colours and
10 * behaviour)
11 *
12 * @author niki
13 */
14public class UiConfigBundleDesc extends TransBundle<UiConfig> {
15 public UiConfigBundleDesc() {
16 super(UiConfig.class, Target.ui_description);
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 UiConfigBundleDesc().updateFile(path);
32 System.out.println("Path updated: " + path);
33 }
34
35 @Override
36 protected String getBundleDisplayName() {
37 return "UI configuration options description";
38 }
39}