fixed bug #1263858
[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.1 2004-09-02 18:26:30 jsurfer 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         public static final Type DOUBLE  = new Type();
24         public static final Type FLOAT   = new Type();
25         public static final Type INT     = new Type();
26         public static final Type LONG    = new Type();
27         public static final Type STRING  = new Type();
28
29         public static final class Type {
30                 Type() {}
31         }
32
33         public final Type  type;
34         public final String key;
35
36         public PreferenceDescriptor(Type type, String key) {
37                 this.type = type;
38                 this.key = key;
39         }
40 }