<s> from ginga . misc import Bunch <EOL> class PluginError ( Exception ) : <EOL> pass <EOL> class GlobalPlugin ( object ) : <EOL> def __init__ ( self , fv ) : <EOL> super ( GlobalPlugin , self ) . __init__ ( ) <EOL> self . fv = fv <EOL> self . logger = fv . logger <EOL> self . w = Bunch . Bunch ( ) <EOL> def initialize ( self , container ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def start ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def stop ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def redo ( self , channel , image ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> class LocalPlugin ( object ) : <EOL> def __init__ ( self , fv , fitsimage ) : <EOL> super ( LocalPlugin , self ) . __init__ ( ) <EOL> self . fv = fv <EOL> self . logger = fv . logger <EOL> self . fitsimage = fitsimage <EOL> if self . fitsimage is not None : <EOL> self . chname = self . fv . get_channelName ( self . fitsimage ) <EOL> self . chinfo = self . fv . get_channelInfo ( self . chname ) <EOL> self . w = Bunch . Bunch ( ) <EOL> def modes_off ( self ) : <EOL> bm = self . fitsimage . get_bindmap ( ) <EOL> bm . reset_mode ( self . fitsimage ) <EOL> def start ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def stop ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def pause ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def resume ( self ) : <EOL> """<STR_LIT>""" <EOL> pass <EOL> def redo ( self ) : <EOL> """<STR_LIT>""" <EOL> pass </s>
