1/* 2 * Copyright 2015, Rene Gollent, rene@gollent.com. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef TABLE_CELL_ENUMERATION_EDITOR_H 6#define TABLE_CELL_ENUMERATION_EDITOR_H 7 8#include <TextControl.h> 9 10#include "TableCellOptionPopUpEditor.h" 11 12 13class TableCellEnumerationEditor : public TableCellOptionPopUpEditor { 14public: 15 TableCellEnumerationEditor( 16 ::Value* initialValue, 17 ValueFormatter* formatter); 18 virtual ~TableCellEnumerationEditor(); 19 20 virtual status_t ConfigureOptions(); 21 22protected: 23 virtual status_t GetSelectedValue(::Value*& _value) const; 24}; 25 26#endif // TABLE_CELL_ENUMERATION_EDITOR_H 27