1/*
2 * Copyright 2006, Haiku.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Stephan A��mus <superstippi@gmx.de>
7 */
8
9#ifndef STRING_VALUE_VIEW_H
10#define STRING_VALUE_VIEW_H
11
12#include "OptionProperty.h"
13#include "Property.h"
14#include "TextInputValueView.h"
15
16class StringTextView;
17
18class StringValueView : public TextInputValueView {
19 public:
20								StringValueView(StringProperty* property);
21	virtual						~StringValueView();
22
23	// TextInputValueView interface
24	virtual	InputTextView*		TextView() const;
25
26	// PropertyEditorView interface
27	virtual	void				ValueChanged();
28
29	virtual	bool				AdoptProperty(Property* property);
30	virtual	Property*			GetProperty() const;
31
32 private:
33			StringProperty*		fProperty;
34			StringTextView*		fTextView;
35};
36
37#endif // STRING_VALUE_VIEW_H
38
39
40