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

Class SplitNodesGUICommand

source code

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

This class presents GUI for SplitNodesCommand 
    
Package:Pmv
    
Module :editCommands
    
Class:SplitNodesGUICommand
    
Command:splitNodesGC
    
Synopsis:

        None<---splitNodesGC(nodes, levelToSplit, top, renumber=1, **kw)
    
Required Arguments:

        nodes --- TreeNodeSet holding the current selection

        levelToSplit --- splitting level

        top --- 

        renumber --- default is 1

    



Instance Methods [hide private]
  onAddCmdToViewer(self)
method called when an instance of this command is added to the viewer.
  __call__(self, nodes, levelToSplit, top, renumber=1, **kw)
None<---splitNodesGC(nodes, levelToSplit, top, renumber=1, **kw)
  fixIDS(self, chains)
  doit(self, nodes, levelToSplit, top, **kw)
virtual method.
  guiCallback(self)

Inherited from mvCommand.MVCommand: __init__, 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]

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, levelToSplit, top, renumber=1, **kw)
(Call operator)

source code 

None<---splitNodesGC(nodes, levelToSplit, top, renumber=1, **kw)

nodes --- TreeNodeSet holding the current selection

levelToSplit --- splitting level

top ---

renumber --- default is 1
Overrides: ViewerFramework.VFCommand.Command.__call__

fixIDS(self, chains)

source code 
None

doit(self, nodes, levelToSplit, top, **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