Public Member Functions | |
Constructor / Destructor | |
CP_FinderLike_TV_DataBrowser_Doc (CPLAT::CP_ScriptableObject *inContainer, CPLAT::FourCharCode inDocType) | |
Constructor. | |
virtual | ~CP_FinderLike_TV_DataBrowser_Doc () throw () |
FileSystem | |
void | GetListingDirectory () |
Document UI | |
virtual void | HandleCreateDocumentUI (SInt32 inPostCreateFlags=CP_E_Doc_Create_DoNothing) |
Persist | |
virtual void | DoPostCreate (SInt32 inPostCreateFlags=CP_E_Doc_Create_DoNothing) |
Static Public Member Functions | |
Creator | |
static CPLAT::CP_Document_Base * | DocumentCreator (CPLAT::CP_ScriptableObject *inContainer, CPLAT::FourCharCode inDocumentClass) |
Protected Attributes | |
CPLAT::CP_FileSystemSpec | fDirectory |
CP_DataSource_FileSpecs * | fFileSpecsDataSource |
Private Types | |
typedef CPLAT::CP_Document< CPLAT::CP_UndoPolicy_None, CPLAT::CP_PrintPolicy_None > | inherited |
Private Member Functions | |
Slots | |
void | GetDirectory_Callback (CPLAT::CP_FileSystemDialogs_Base *inSendingDialog, const CPLAT::CP_FileSystemSpec &inSelection, bool inOverwrite) |
Misc | |
void | PopulateTable (CPLAT::CP_TV_DataBrowser *inBrowser) |
|
|
|
Constructor.
|
|
Destructor.
|
|
Called when some action has requested we create a new document object. This is usually called from the CP_DocumentFactoryManager when it needs to create a new document.
|
|
Called to ask the user to select the directory to list the files from.
|
|
Called when the document wants to create the main user interface for the document. In this demo we create a window, with a CP_TextView in it.
|
|
Called when the document is created. We use this opportunity to ask the user to select the directory to list the files from.
|
|
Callback from the GetDirectory dialog when the user has selected the directory to list files from.
|
|
Populates the passed in data browser from the files located in the selected directory.
|
|
|
|
|