Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ConfigurationEditor::LoadSettings Class Reference

#include <ConfigurationEditor.h>

Inheritance diagram for ConfigurationEditor::LoadSettings:

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

Constructor & Destructor Documentation

ConfigurationEditor::LoadSettings::LoadSettings ( plist::Collection rootCollection  )  [inline]

constructor, if rootCollection is NULL, you must call setRootCollection() with a non-NULL value at some point before user tries to activate the control

Definition at line 71 of file ConfigurationEditor.h.

ConfigurationEditor::LoadSettings::LoadSettings ( const LoadSettings  )  [private]

not supported


Member Function Documentation

virtual void ConfigurationEditor::LoadSettings::setRootCollection ( plist::Collection rootCollection  )  [inline, virtual]

assigns rootcol

Definition at line 73 of file ConfigurationEditor.h.

Referenced by ConfigurationEditor::setRootCollection().

ControlBase * ConfigurationEditor::LoadSettings::selectedFile ( const std::string &   )  [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.

LoadSettings& ConfigurationEditor::LoadSettings::operator= ( const LoadSettings  )  [private]

not supported


Member Data Documentation

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

Definition at line 76 of file ConfigurationEditor.h.

Referenced by selectedFile(), and setRootCollection().


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

Tekkotsu v4.0
Generated Thu Nov 22 00:58:15 2007 by Doxygen 1.5.4