Gui::TaskView::TaskWatcherCommandsEmptyDoc Class Reference

Special watcher class for showing commands when active document is empty. More...

#include <TaskWatcher.h>

Inheritance diagram for Gui::TaskView::TaskWatcherCommandsEmptyDoc:
Gui::TaskView::TaskWatcherCommands Gui::TaskView::TaskWatcher Gui::SelectionFilter

List of all members.

Public Member Functions

virtual bool shouldShow (void)
 is called wenn the document or the Selection changes.
 TaskWatcherCommandsEmptyDoc (const char *commands[], const char *name, const char *pixmap)
 ~TaskWatcherCommandsEmptyDoc ()

Detailed Description

Special watcher class for showing commands when active document is empty.

Definition at line 86 of file Gui/TaskView/TaskWatcher.h.


Constructor & Destructor Documentation

TaskWatcherCommandsEmptyDoc::TaskWatcherCommandsEmptyDoc ( const char *  commands[],
const char *  name,
const char *  pixmap 
)

Definition at line 124 of file Gui/TaskView/TaskWatcher.cpp.

TaskWatcherCommandsEmptyDoc::~TaskWatcherCommandsEmptyDoc (  ) 

Definition at line 131 of file Gui/TaskView/TaskWatcher.cpp.


Member Function Documentation

bool TaskWatcherCommandsEmptyDoc::shouldShow ( void   )  [virtual]

is called wenn the document or the Selection changes.

Reimplemented from Gui::TaskView::TaskWatcherCommands.

Definition at line 140 of file Gui/TaskView/TaskWatcher.cpp.

References App::Document::countObjects(), App::Application::getActiveDocument(), and App::GetApplication().


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

Generated on Wed Nov 23 19:02:12 2011 for FreeCAD by  doxygen 1.6.1