Gui::ControlSingleton Class Reference

The control class. More...

#include <Control.h>

List of all members.

Public Member Functions

bool isAllowedAlterDocument (void) const
bool isAllowedAlterSelection (void) const
bool isAllowedAlterView (void) const
dialog handling

this methods are used to control the TaskDialog stuff.



Gui::TaskView::TaskDialogactiveDialog () const
void closeDialog ()
void showDialog (Gui::TaskView::TaskDialog *dlg)
 This method start an Task dialog in the TaskView.
task view handling



void showTaskView ()
Gui::TaskView::TaskViewtaskPanel () const

Static Public Member Functions

static void destruct (void)
static ControlSingletoninstance (void)

Detailed Description

The control class.

Definition at line 52 of file Control.h.


Member Function Documentation

Gui::TaskView::TaskDialog * ControlSingleton::activeDialog (  )  const
void ControlSingleton::closeDialog (  ) 
void ControlSingleton::destruct ( void   )  [static]

Definition at line 185 of file Control.cpp.

ControlSingleton & ControlSingleton::instance ( void   )  [static]

Definition at line 178 of file Control.cpp.

Referenced by closeDialog(), Gui::Control(), showDialog(), showTaskView(), and taskPanel().

bool ControlSingleton::isAllowedAlterDocument ( void   )  const
bool ControlSingleton::isAllowedAlterSelection ( void   )  const
bool ControlSingleton::isAllowedAlterView ( void   )  const
void ControlSingleton::showDialog ( Gui::TaskView::TaskDialog dlg  ) 
void ControlSingleton::showTaskView (  ) 

Definition at line 74 of file Control.cpp.

References _taskPanel, instance(), and Gui::DockWnd::CombiView::showTaskView().

Gui::TaskView::TaskView * ControlSingleton::taskPanel (  )  const

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

Generated on Wed Nov 23 19:01:59 2011 for FreeCAD by  doxygen 1.6.1