Package Pmv :: Module editCommands :: Class MergeNPHsGUICommand
[hide private]
[frames] | no frames]

Class MergeNPHsGUICommand

source code

ViewerFramework.VFCommand.Command --+    
                                    |    
                  mvCommand.MVCommand --+
                                        |
                                       MergeNPHsGUICommand

This class implements GUICommand for MergeNPHsCommand below
    
Package:Pmv
    
Module :editCommands
    
Class:MergeNPHsGUICommand
    
Command:mergeNPHSGC
    
Synopsis:

        None<---mergeNPHSGC(nodes, **kw)
    
Required Arguments:

        nodes --- TreeNodeSet holding the current selection
    



Instance Methods [hide private]
  __init__(self, func=None)
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, nodes, **kw)
None <- mergeNPHSGC(nodes, **kw)
  doit(self, nodes, **kw)
virtual method.
  guiCallback(self)
  cont_cb(self, sel)
  cancel_cb(self, event=None)

Inherited from mvCommand.MVCommand: strArg

Inherited from mvCommand.MVCommand (private): _strArg

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


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

__init__(self, func=None)
(Constructor)

source code 
None
Overrides: mvCommand.MVCommand.__init__

onAddCmdToViewer(self)

source code 
method called when an instance of this command is added to the viewer. This enable viewer-addition time initializations
Overrides: ViewerFramework.VFCommand.Command.onAddCmdToViewer
(inherited documentation)

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

source code 

None <- mergeNPHSGC(nodes, **kw)

nodes --- TreeNodeSet holding the current selection
Overrides: ViewerFramework.VFCommand.Command.__call__

doit(self, nodes, **kw)

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

guiCallback(self)

source code 
None
Overrides: mvCommand.MVCommand.guiCallback

cont_cb(self, sel)

source code 
None

cancel_cb(self, event=None)

source code 
None