1 /*
2 * @(#)$Id: GuiBundleGenerator.java 740 2009-08-14 21:40:55Z kurmannu $
3 *
4 * Author : Ueli Kurmann, igesture@uelikurmann.ch
5 *
6 *
7 * Purpose :
8 *
9 * -----------------------------------------------------------------------
10 *
11 * Revision Information:
12 *
13 * Date Who Reason
14 *
15 * 04.05.2008 ukurmann Initial Release
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.tool.util;
28
29 import java.lang.reflect.Field;
30
31 import org.ximtec.igesture.tool.GestureConstants;
32
33
34
35
36 /**
37 * Comment
38 * @version 1.0 04.05.2008
39 * @author Ueli Kurmann
40 */
41 public class GuiBundleGenerator {
42
43 public static void main(String... args) throws IllegalArgumentException, IllegalAccessException{
44
45 Field[] fields = GestureConstants.class.getDeclaredFields();
46 for(Field field:fields){
47 String prefix = (String)field.get(null);
48 System.out.println(prefix+".Name=");
49 System.out.println(prefix+".MnemonicKey=");
50 System.out.println(prefix+".ShortDescription=");
51 System.out.println(prefix+".LongDescription=");
52 System.out.println(prefix+".AcceleratorKey=");
53 System.out.println(prefix+".Icon=");
54 System.out.println();
55
56 }
57 }
58
59 }