Package Pmv :: Module sdCommands :: Class SelectVertex
[hide private]
[frames] | no frames]

Class SelectVertex

source code

ViewerFramework.VFCommand.Command --+
                                    |
   ViewerFramework.VFCommand.ICOM --+
                                    |
                                   SelectVertex

This command allows a user to pick a vertex.

Instance Methods [hide private]
  __init__(self, func=None)
  setupUndoBefore(self, obj)
This method builds the self.undoCmds string.
  doit(self, objects)
virtual method.
  __call__(self, nodes, **kw)
None <- commandName( *args, **kw)

Inherited from ViewerFramework.VFCommand.Command: __repr__, addCallbackAfter, addCallbackBefore, addUndoCall, afterDoit, beforeDoit, buildFormDescr, buildLogArgList, checkDependencies, cleanup, customizeGUI, doitWrapper, getArguments, getHelp, getLastUsedValues, getLogArgs, getValNamedArgs, guiCallback, log, logString, onAddCmdToViewer, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, showForm, strArg, tkCb, updateGeom, warningMsg

Inherited from ViewerFramework.VFCommand.Command (private): _strArg

Inherited from ViewerFramework.VFCommand.ICOM: getObjects, initICOM, startICOM, stopICOM


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

__init__(self, func=None)
(Constructor)

source code 
None
Overrides: ViewerFramework.VFCommand.Command.__init__

setupUndoBefore(self, obj)

source code 
This method builds the self.undoCmds string. This method should have the same signature than the __call__. When this string is executed it should undo the actions of this command. This string will be appended to the undoCmdStack list if the command is successfuly carried out. This method handles only commands with the negateKw. Other commands have to overwrite it.
Overrides: ViewerFramework.VFCommand.Command.setupUndoBefore
(inherited documentation)

doit(self, objects)

source code 
virtual method. Has to be implemented by the sub classes
Overrides: ViewerFramework.VFCommand.Command.doit
(inherited documentation)

__call__(self, nodes, **kw)
(Call operator)

source code 
None <- commandName( *args, **kw)
Overrides: ViewerFramework.VFCommand.Command.__call__
(inherited documentation)