2 * Copyright 2013, Axel Dörfler, axeld@pinc-software.de.
3 * Copyright 2009-2010, Stephan Aßmus <superstippi@gmx.de>
4 * Copyright 2009, Bryce Groff, brycegroff@gmail.com.
5 * Distributed under the terms of the MIT License.
7 #ifndef _INITIALIZE_PARAMETER_EDITOR
8 #define _INITIALIZE_PARAMETER_EDITOR
11 #include <PartitionParameterEditor.h>
21 class InitializeBFSEditor
: public BPartitionParameterEditor
{
23 InitializeBFSEditor();
24 virtual ~InitializeBFSEditor();
26 virtual void SetTo(BPartition
* partition
);
28 virtual bool ValidateParameters() const;
29 virtual status_t
ParameterChanged(const char* name
,
30 const BVariant
& variant
);
32 virtual BView
* View();
34 virtual status_t
GetParameters(BString
& parameters
);
37 void _CreateViewControls();
41 BTextControl
* fNameControl
;
42 BMenuField
* fBlockSizeMenuField
;
43 BCheckBox
* fUseIndicesCheckBox
;
47 #endif //_INITIALIZE_PARAMETER_EDITOR