FileManagerView Class Reference

Class providing some file system GUI views. More...

#include <fileManagerView.hpp>

List of all members.

Public Member Functions

 FileManagerView ()
 Constructor.
virtual ~FileManagerView ()
wxString openFileChoose (wxWindow *parent, wxString message, wxString wildcard)
 Shows an open file dialog.
wxString saveFileChoose (wxWindow *parent, wxString message, wxString wildcard)
 Shows a save file dialog.

Private Member Functions

wxString fileChoose (wxWindow *parent, wxString message, wxString wildcard, long style)
 Shows a file dialog.


Detailed Description

Class providing some file system GUI views.

This class provides some views for interacting with the file system, such as open or save file dialogs.

Author:
Bernat Ràfales Mulet <the_bell@users.sourceforge.net>
Version:
Revision
1.4

Definition at line 35 of file fileManagerView.hpp.


Constructor & Destructor Documentation

FileManagerView::FileManagerView  ) 
 

Constructor.

Default constructor, it does not take any parameter.

Definition at line 28 of file fileManagerView.cpp.

FileManagerView::~FileManagerView  )  [virtual]
 

Definition at line 32 of file fileManagerView.cpp.


Member Function Documentation

wxString FileManagerView::fileChoose wxWindow *  parent,
wxString  message,
wxString  wildcard,
long  style
[private]
 

Shows a file dialog.

Parameters:
parent the parent window.
message the window title.
wildcard the extension(s) to filter files.
style style to show on the dialog, to determine if it's an open dialog or a save one.
Returns:
The full path of the file chosen or wxEmptyString if the user cancels.

Definition at line 76 of file fileManagerView.cpp.

Referenced by openFileChoose(), and saveFileChoose().

wxString FileManagerView::openFileChoose wxWindow *  parent,
wxString  message,
wxString  wildcard
 

Shows an open file dialog.

Parameters:
parent the parent window.
message the window title.
wildcard the extension(s) to filter files.
Returns:
The full path of the file chosen or wxEmptyString if the user cancels.

Definition at line 43 of file fileManagerView.cpp.

References fileChoose().

Referenced by ForbiddenPatternManager::appendFPs(), RuleManager::appendRules(), and TruthTableManager::appendTables().

Here is the call graph for this function:

wxString FileManagerView::saveFileChoose wxWindow *  parent,
wxString  message,
wxString  wildcard
 

Shows a save file dialog.

Parameters:
parent the parent window.
message the window title.
wildcard the extension(s) to filter files.
Returns:
The full path of the file chosen or wxEmptyString if the user cancels.

Definition at line 59 of file fileManagerView.cpp.

References fileChoose().

Referenced by MainController::save(), MainController::saveAs(), TruthTableManager::saveFile(), RuleManager::saveFile(), LayoutManager::saveFile(), ForbiddenPatternManager::saveFile(), TruthTableManager::saveFileAs(), RuleManager::saveFileAs(), LayoutManager::saveFileAs(), and ForbiddenPatternManager::saveFileAs().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Fri Sep 1 23:56:39 2006 for NanoComp by  doxygen 1.4.6