001    // GraphLab Project: http://graphlab.sharif.edu
002    // Copyright (C) 2008 Mathematical Science Department of Sharif University of Technology
003    // Distributed under the terms of the GNU General Public License (GPL): http://www.gnu.org/licenses/
004    package graphlab.ui.components.gpropertyeditor.editors.inplace;
005    
006    /**
007     * a simple combo editor, with specific values
008     */
009    public class GSimpleComboEditor extends GComboEditor {
010        ValueSet x;
011    
012        public GSimpleComboEditor(ValueSet x) {
013            this.x = x;
014        }
015    
016        public Object[] getValues() {
017            return x.getValues();
018        }
019    }