Package Pmv :: Module picker :: Class AtomPicker
[hide private]
[frames] | no frames]

Class AtomPicker

source code

ViewerFramework.picker.Picker --+
                                |
                               AtomPicker

This objects can be used to prompt the user for selecting a set of atoms or starting a picker that will call a callback function after a user- defined number of atoms have been selected

Instance Methods [hide private]
  removeAlreadySelected(self, objects)
remove for objects the ones already in self.objects
  getObjects(self, pick)
to be implemented by sub-class
  clear(self)
clear AtomSet of selected objects
  updateGUI(self, atom)
to be implemented by sub-class
  buildInputFormDescr(self)
to be implemented by sub-class

Inherited from ViewerFramework.picker.Picker: __init__, addCallback, allChoices, callCallback, getSelectedObjects, go, pickObject_cb, removeCallback, stop


Method Details [hide private]

removeAlreadySelected(self, objects)

source code 
remove for objects the ones already in self.objects
Overrides: ViewerFramework.picker.Picker.removeAlreadySelected

getObjects(self, pick)

source code 
to be implemented by sub-class
Overrides: ViewerFramework.picker.Picker.getObjects

clear(self)

source code 
clear AtomSet of selected objects
Overrides: ViewerFramework.picker.Picker.clear

updateGUI(self, atom)

source code 
to be implemented by sub-class
Overrides: ViewerFramework.picker.Picker.updateGUI
(inherited documentation)

buildInputFormDescr(self)

source code 
to be implemented by sub-class
Overrides: ViewerFramework.picker.Picker.buildInputFormDescr