StdCmdDrawStyle Class Reference

Inheritance diagram for StdCmdDrawStyle:
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.
virtual void languageChange ()
 Translate command.
 StdCmdDrawStyle ()
virtual ~StdCmdDrawStyle ()

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 505 of file CommandView.cpp.


Constructor & Destructor Documentation

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

Definition at line 505 of file CommandView.cpp.


Member Function Documentation

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

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

Implements Gui::Command.

Definition at line 554 of file CommandView.cpp.

References Gui::MainWindow::activeWindow(), Gui::getMainWindow(), and Gui::View3DInventor::getViewer().

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

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

Implements Gui::CommandBase.

Definition at line 505 of file CommandView.cpp.

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

Overite this method if your Cmd is not always active.

Reimplemented from Gui::Command.

Definition at line 567 of file CommandView.cpp.

References Gui::Application::activeDocument(), and Gui::Application::Instance.

void StdCmdDrawStyle::languageChange (  )  [virtual]

Translate command.

Reimplemented from Gui::Command.

Definition at line 530 of file CommandView.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:39 2011 for FreeCAD by  doxygen 1.6.1