Package Pmv :: Module selectionCommands :: Class MVAddSelectCommand
[hide private]
[frames] | no frames]

Class MVAddSelectCommand

source code

 ViewerFramework.VFCommand.Command --+        
                                     |        
                   mvCommand.MVCommand --+    
                                         |    
ViewerFramework.VFCommand.ICOM --+       |    
                                 |       |    
                  mvCommand.MVICOM --+   |    
                                     |   |    
                  mvCommand.MVAtomICOM --+    
                                         |    
                           MVSelectCommand --+
                                             |
                                            MVAddSelectCommand

This Command adds to the current selection
    
Package : Pmv
    
Module  : selectionCommands
    
Class   : MVAddSelectCommand
    
Command : addselect
    
Synopsis:
 
        currentSelection <--- addselect(nodes, klass=None, **kw)
    
Required Arguments:
       
        nodes --- TreeNodeSet holding the current selection
        
klass --- if specified nodes are converted to a set of that type otherwise
                  and selection level is set to Klass.
    



Instance Methods [hide private]
  __call__(self, nodes, klass=None, **kw)
currentSelection <- addselect(nodes, klass=None, **kw) nodes --- TreeNodeSet holding the current selection klass --- if specified nodes are converted to a set of that type otherwise and selection level is set to Klass.

Inherited from MVSelectCommand: __init__, clear, doit, dump, setLevel, setupUndoBefore, startICOM, updateInfoBar, updateSelectionFeedback, updateSelectionIcons

Inherited from mvCommand.MVCommand: guiCallback, 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, onAddCmdToViewer, onAddNewCmd, onCmdRun, setLastUsedValues, setupUndoAfter, showForm, tkCb, updateGeom, warningMsg

Inherited from mvCommand.MVAtomICOM: getObjects

Inherited from ViewerFramework.VFCommand.ICOM: initICOM, stopICOM


Class Variables [hide private]

Inherited from ViewerFramework.VFCommand.Command: negateKw, objArgOnly


Method Details [hide private]

__call__(self, nodes, klass=None, **kw)
(Call operator)

source code 
currentSelection <- addselect(nodes, klass=None, **kw)
           
nodes --- TreeNodeSet holding the current selection
           
klass --- if specified nodes are converted to a set of that type otherwise
                  and selection level is set to Klass.
        

Overrides: MVSelectCommand.__call__