Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ConfigurationEditor::LoadSettings Class Reference

#include <ConfigurationEditor.h>

Inheritance diagram for ConfigurationEditor::LoadSettings:

Inheritance graph
[legend]
List of all members.

Detailed Description

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

Definition at line 68 of file ConfigurationEditor.h.

Public Member Functions

 LoadSettings (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

 LoadSettings (const LoadSettings &)
 not supported
LoadSettingsoperator= (const LoadSettings &)
 not supported


Member Function Documentation

ControlBase * ConfigurationEditor::LoadSettings::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 131 of file ConfigurationEditor.cc.


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

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