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;
005    
006    import java.awt.*;
007    
008    /**
009     * Author: Azin Azadi
010     * Email :
011     */
012    public interface GBasicCellEditor<t> {
013        public void setEditingFinishedListener(EditingFinishedListener listener);
014    
015        public Component getEditorComponent(t value);
016    
017        public void cancelEditing();
018    
019        public Object getEditorValue();
020    }