1 /*
2 * @(#)$Id: DefaultDescriptor.java 760 2009-08-25 20:10:41Z kurmannu $
3 *
4 * Author : Ueli Kurmann, igesture@uelikurmann.ch
5 *
6 * Purpose : Default implementation of a descriptor. It implements
7 * the necessary methods and extends the default
8 * implementation of a data object. Normally a new
9 * implementation of a gesture class descriptor will
10 * extend this abstract class to avoid code duplication.
11 *
12 * -----------------------------------------------------------------------
13 *
14 * Revision Information:
15 *
16 * Date Who Reason
17 *
18 * Dec 26, 2006 ukurmann Initial Release
19 * Mar 22, 2007 bsigner Cleanup
20 *
21 * -----------------------------------------------------------------------
22 *
23 * Copyright 1999-2009 ETH Zurich. All Rights Reserved.
24 *
25 * This software is the proprietary information of ETH Zurich.
26 * Use is subject to license terms.
27 *
28 */
29
30
31 package org.ximtec.igesture.core;
32
33 /**
34 * Default implementation of a descriptor. It implements the necessary methods
35 * and extends the default implementation of a data object. Normally a new
36 * implementation of a gesture class descriptor will extend this abstract class
37 * to avoid code duplication.
38 *
39 * @version 1.0, Dec 2006
40 * @author Ueli Kurmann, igesture@uelikurmann.ch
41 * @author Beat Signer, signer@inf.ethz.ch
42 */
43 public abstract class DefaultDescriptor extends DefaultDataObject implements
44 Descriptor {
45
46 public DefaultDescriptor() {
47 super();
48 }
49
50
51 public Class< ? extends Descriptor> getType() {
52 return this.getClass();
53 } // getType
54
55 public abstract String getName();
56
57 }