Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ConfigurationEditor::SaveSettings Class Reference

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

#include <ConfigurationEditor.h>

Inheritance diagram for ConfigurationEditor::SaveSettings:

Detailed Description

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

Definition at line 85 of file ConfigurationEditor.h.

List of all members.

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

Constructor & Destructor Documentation

ConfigurationEditor::SaveSettings::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

Definition at line 88 of file ConfigurationEditor.h.

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

not supported


Member Function Documentation

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

not supported

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

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

assigns rootcol

Definition at line 90 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 93 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