def __init__(self, commandSequencer, struct=None): """ Constructor for DnaDuplex_EditCommand """ glpane = commandSequencer State_preMixin.__init__(self, glpane) EditCommand.__init__(self, commandSequencer) self.struct = struct #Graphics handles for editing the structure . self.handles = [] self.grabbedHandle = None
def __init__(self, commandSequencer, struct = None): """ Constructor for DnaDuplex_EditCommand """ glpane = commandSequencer State_preMixin.__init__(self, glpane) EditCommand.__init__(self, commandSequencer) self.struct = struct #Graphics handles for editing the structure . self.handles = [] self.grabbedHandle = None
def __init__(self, commandSequencer, struct = None): """ Constructor for DnaDuplex_EditCommand """ glpane = commandSequencer State_preMixin.__init__(self, glpane) EditCommand.__init__(self, commandSequencer) self.struct = struct #Graphics handles for editing the structure . self.handles = [] self.grabbedHandle = None #Initialize DEBUG preference pref_nt_segment_resize_by_recreating_nanotube() return
def __init__(self, commandSequencer, struct = None): """ Constructor for DnaDuplex_EditCommand """ glpane = commandSequencer State_preMixin.__init__(self, glpane) EditCommand.__init__(self, commandSequencer) self.struct = struct #DnaSegment object to which this strand belongs self._parentDnaSegment = None #It uses BuildDna_EditCommand.flyoutToolbar ( in other words, that #toolbar is still accessible and not changes while in this command) flyoutToolbar = None #Graphics handles for editing the structure . self.handles = [] self.grabbedHandle = None #This is used for comarison purpose in model_changed method to decide #whether to update the sequence. self._previousNumberOfBases = None