CmdDrawingNewPage Class Reference

Inheritance diagram for CmdDrawingNewPage:
Gui::Command Gui::CommandBase

List of all members.

Public Member Functions

virtual const char * className () const
 The C++ class name is needed as context for the translation framework.
 CmdDrawingNewPage ()
virtual void languageChange ()
 Translate command.
virtual ~CmdDrawingNewPage ()

Protected Member Functions

virtual void activated (int iMsg)
 Methods which gets called when activated, needs to be reimplemented!
virtual Gui::ActioncreateAction (void)
 Creates the used Action.
virtual bool isActive (void)
 Overite this method if your Cmd is not always active.

Detailed Description

Definition at line 75 of file Mod/Drawing/Gui/Command.cpp.


Constructor & Destructor Documentation

CmdDrawingNewPage::CmdDrawingNewPage (  ) 
virtual CmdDrawingNewPage::~CmdDrawingNewPage (  )  [inline, virtual]

Definition at line 75 of file Mod/Drawing/Gui/Command.cpp.


Member Function Documentation

void CmdDrawingNewPage::activated ( int  iMsg  )  [protected, virtual]

Methods which gets called when activated, needs to be reimplemented!

Implements Gui::Command.

Definition at line 88 of file Mod/Drawing/Gui/Command.cpp.

References Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), Gui::getMainWindow(), Gui::Command::getUniqueObjectName(), and Gui::Command::openCommand().

virtual const char* CmdDrawingNewPage::className (  )  const [inline, virtual]

The C++ class name is needed as context for the translation framework.

Implements Gui::CommandBase.

Definition at line 75 of file Mod/Drawing/Gui/Command.cpp.

Gui::Action * CmdDrawingNewPage::createAction ( void   )  [protected, virtual]
bool CmdDrawingNewPage::isActive ( void   )  [protected, virtual]

Overite this method if your Cmd is not always active.

Reimplemented from Gui::Command.

Definition at line 179 of file Mod/Drawing/Gui/Command.cpp.

References Gui::Command::getActiveGuiDocument().

void CmdDrawingNewPage::languageChange (  )  [virtual]

Translate command.

Reimplemented from Gui::Command.

Definition at line 134 of file Mod/Drawing/Gui/Command.cpp.

References Gui::CommandBase::_pcAction, Gui::ActionGroup::actions(), and draftGui::translate().

Referenced by createAction().


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

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