View Javadoc

1   /*
2    * @(#)$Id: GuiBundleTool.java 689 2009-07-22 00:10:27Z bsigner $
3    *
4    * Author		:	Beat Signer, signer@inf.ethz.ch
5    *
6    * Purpose		: 
7    *
8    * -----------------------------------------------------------------------
9    *
10   * Revision Information:
11   *
12   * Date				Who			Reason
13   *
14   * 					bsigner		Initial Release
15   *
16   * -----------------------------------------------------------------------
17   *
18   * Copyright 1999-2009 ETH Zurich. All Rights Reserved.
19   *
20   * This software is the proprietary information of ETH Zurich.
21   * Use is subject to license terms.
22   * 
23   */
24  
25  
26  package org.ximtec.igesture.geco.util;
27  
28  import org.sigtec.graphix.GuiBundle;
29  import org.sigtec.graphix.GuiTool;
30  
31  
32  /**
33   * Comment
34   * @version 1.0 25.06.2008
35   * @author Beat Signer, signer@inf.ethz.ch
36   */
37  public class GuiBundleTool {
38  
39     /**
40      * The key used to retrieve information from the resource bundle.
41      */
42     public static final String KEY = "Geco";
43  
44     private static final String GUI_BUNDLE_FILE = "geco";
45  
46     static {
47        GuiTool.addBundle(KEY, GUI_BUNDLE_FILE);
48     }
49  
50  
51     public static final GuiBundle getBundle() {
52        return GuiTool.getBundle(KEY);
53     } // getBundle
54  
55  }