A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse.ui / src / net / sourceforge / phpeclipse / ui / preferences / PreferenceDescriptor.java
1 /*
2  * Copyright (c) 2002-2004 Widespace, OU and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://solareclipse.sourceforge.net/legal/cpl-v10.html
7  * 
8  * Contributors:
9  *     Igor Malinin - initial contribution
10  * 
11  * $Id: PreferenceDescriptor.java,v 1.2 2006-10-21 23:13:54 pombredanne Exp $
12  */
13
14 package net.sourceforge.phpeclipse.ui.preferences;
15
16 /**
17  * Preference descriptor.
18  * 
19  * @author Igor Malinin
20  */
21 public final class PreferenceDescriptor {
22         public static final Type BOOLEAN = new Type();
23
24         public static final Type DOUBLE = new Type();
25
26         public static final Type FLOAT = new Type();
27
28         public static final Type INT = new Type();
29
30         public static final Type LONG = new Type();
31
32         public static final Type STRING = new Type();
33
34         public static final class Type {
35                 Type() {
36                 }
37         }
38
39         public final Type type;
40
41         public final String key;
42
43         public PreferenceDescriptor(Type type, String key) {
44                 this.type = type;
45                 this.key = key;
46         }
47 }