View Javadoc

1   /*
2    * @(#)$Id: Constant.java 689 2009-07-22 00:10:27Z bsigner $
3    *
4    * Author       :   Michele Croci, mcroci@gmail.com
5    *
6    * Purpose      :   Some constants for the geco application.
7    *
8    * -----------------------------------------------------------------------
9    *
10   * Revision Information:
11   *
12   * Date             Who         Reason
13   *
14   * Nov 15, 2007     crocimi     Initial Release
15   * Jan 20, 2008     bsigner     Externalised all strings.
16   *
17   * -----------------------------------------------------------------------
18   *
19   * Copyright 1999-2009 ETH Zurich. All Rights Reserved.
20   *
21   * This software is the proprietary information of ETH Zurich.
22   * Use is subject to license terms.
23   * 
24   */
25  
26  
27  package org.ximtec.igesture.geco.util;
28  
29  /**
30   * Some constants for the geco application.
31   * 
32   * @version 0.9, Nov 15, 2007
33   * @author Michele Croci, mcroci@gmail.com
34   * @author Beat Signer, signer@inf.ethz.ch
35   */
36  public class Constant extends org.sigtec.util.Constant {
37  
38     public static final String INITIALISING = GuiBundleTool.getBundle()
39           .getString("StringInitialising");
40  
41     public static final String INITIALISED = GuiBundleTool.getBundle().getString(
42           "StringInitialised");
43  
44     public static final String PROJECT_PROPERTIES_TEXT_FIELD = "ProjectPropertiesTextField";
45  
46     public static final String PROJECT_PROPERTIES_STRING = "ProjectPropertiesString";
47  
48     public static final String CLOSE_ABOUT_BUTTON = "CloseAboutButton";
49     public static final String CREATE_PROJECT_BUTTON = "CreateProjectButton";
50  
51     public static final String HELP_MENU = "HelpMenu";
52  
53     public static final String SHOW_APPLICATION_MENU_ITEM = "ShowApplicationMenuItem";
54  
55     public static final String SETTINGS = "Settings";
56  
57     public static final String SETTINGS_ATTRIBUTE_MAPPINGS = "MappingsLocation";
58  
59     /*
60      * GUI
61      */
62  
63     // public static final String GECO_TITLE = "Geco";
64     public static final String FILE_MENU = "FileMenu";
65  
66     public static final String GESTURE_MAPPING_TITLE = "GestureMappingTitle";
67  
68     public static final String USER_DEFINED_MAPPING = "User-defined mappings";
69  
70     public static final String GESTURE_SET = "Gesture set";
71  
72     public static final String GESTURE = "Gesture";
73  
74     public static final String HOTKEY = "Hotkey";
75  
76     public static final String COMMAND = "Command";
77  
78     public static final String OPEN_FILE = "OpenFile";
79  
80     public static final String SAVE_DIALOG_TITLE = "Would you like to save the changes before closing?";
81  
82     public static final String OVERWRITE_FILE = "File already exists. Do you want to overwrite it?";
83  
84     public static final String LOAD_GESTURE_SET_CONFIRMATION = "Loading another gesture set will delete all existing mapping. Do you want to continue?";
85  
86     public static final String SELECT_INPUT_DEVICE = "Select input device";
87  
88     public static final String PROJECT_NAME = "ProjectName";
89  
90     public static final String PROJECT_LOCATION = "ProjectLocation";
91  
92     public static final String PROJECT_FILE_TEXT_FIELD = "ProjectNameTextField";
93  
94     public static final String INPUT_DEVICE = "Input Device";
95  
96     public static final String STARTUP = "Startup";
97  
98     public static final String MINIMIZE_STARTUP = "Minimize at Startup";
99  
100    public static final String GESTURE_SET_NOT_FOUND = "Gesture set file not found! \n Project could not be loaded";
101 
102    /*
103     * Commands
104     */
105 
106    public static final String SAVE = "SAVE";
107 
108    public static final String ADD = "ADD";
109 
110    public static final String CANCEL = "CANCEL";
111 
112    public static final String EXIT = "EXIT";
113 
114    public static final String EDIT = "EDIT";
115 
116    public static final String BROWSE = "BROWSE";
117 
118 }