Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ConfigurationEditor::LoadSettings Class Reference

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

#include <ConfigurationEditor.h>

Inheritance diagram for ConfigurationEditor::LoadSettings:

Detailed Description

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

Definition at line 69 of file ConfigurationEditor.h.

List of all members.

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  ) 

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 72 of file ConfigurationEditor.h.

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

not supported


Member Function Documentation

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

not supported

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 145 of file ConfigurationEditor.cc.

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

assigns rootcol

Definition at line 74 of file ConfigurationEditor.h.

Referenced by ConfigurationEditor::setRootCollection().


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 77 of file ConfigurationEditor.h.

Referenced by selectedFile(), and setRootCollection().


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:06 2016 by Doxygen 1.6.3