Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ConfigurationEditor::SaveSettings Class Reference

#include <ConfigurationEditor.h>

Inheritance diagram for ConfigurationEditor::SaveSettings:

Inheritance graph
[legend]
List of all members.

Detailed Description

provides a file browser to save a plist from the file system

Definition at line 84 of file ConfigurationEditor.h.

Public Member Functions

 SaveSettings (plist::Collection *rootCollection)
 constructor, if rootCollection is NULL, you must call setRootCollection() with a non-NULL value at some point before user tries to activate the control
virtual void setRootCollection (plist::Collection *rootCollection)
 assigns rootcol

Protected Member Functions

virtual ControlBaseselectedFile (const std::string &f)
 the big money function - by default calls the parent if it exists, otherwise nothing

Protected Attributes

plist::Collectionrootcol
 the collection to be saved (generally the top level of the collection, even if currently editing within a sub-collection)

Private Member Functions

 SaveSettings (const SaveSettings &)
 not supported
SaveSettingsoperator= (const SaveSettings &)
 not supported


Member Function Documentation

ControlBase * ConfigurationEditor::SaveSettings::selectedFile ( const std::string &  f  )  [protected, virtual]

the big money function - by default calls the parent if it exists, otherwise nothing

returning NULL means deactivate, this (default) to stay put, or a different Control if you want a submenu

Reimplemented from FileInputControl.

Definition at line 139 of file ConfigurationEditor.cc.


The documentation for this class was generated from the following files:

Tekkotsu v3.0
Generated Fri May 11 20:07:58 2007 by Doxygen 1.4.7