<s> from ginga . canvas . CanvasObject import ( CanvasObjectBase , <EOL> register_canvas_types ) <EOL> from ginga . misc . ParamSet import Param <EOL> from ginga import Mixins <EOL> from ginga . misc . log import get_logger <EOL> from . . CompoundMixin import CompoundMixin <EOL> from . . CanvasMixin import CanvasMixin <EOL> from . . DrawingMixin import DrawingMixin <EOL> class CompoundObject ( CompoundMixin , CanvasObjectBase ) : <EOL> """<STR_LIT>""" <EOL> @ classmethod <EOL> def get_params_metadata ( cls ) : <EOL> return [ <EOL> ] <EOL> def __init__ ( self , * objects ) : <EOL> CanvasObjectBase . __init__ ( self ) <EOL> CompoundMixin . __init__ ( self ) <EOL> self . objects = list ( objects ) <EOL> self . logger = get_logger ( '<STR_LIT:foo>' , log_stderr = True , level = <NUM_LIT:10> ) <EOL> self . kind = '<STR_LIT>' <EOL> self . editable = False <EOL> class Canvas ( CanvasMixin , CompoundObject ) : <EOL> @ classmethod <EOL> def get_params_metadata ( cls ) : <EOL> return [ <EOL> ] <EOL> def __init__ ( self , * objects ) : <EOL> CompoundObject . __init__ ( self , * objects ) <EOL> CanvasMixin . __init__ ( self ) <EOL> self . kind = '<STR_LIT>' <EOL> self . editable = False <EOL> class DrawingCanvas ( Mixins . UIMixin , DrawingMixin , Canvas ) : <EOL> def __init__ ( self ) : <EOL> Canvas . __init__ ( self ) <EOL> DrawingMixin . __init__ ( self ) <EOL> Mixins . UIMixin . __init__ ( self ) <EOL> self . kind = '<STR_LIT>' <EOL> self . editable = False <EOL> catalog = dict ( compoundobject = CompoundObject , canvas = Canvas , <EOL> drawingcanvas = DrawingCanvas ) <EOL> register_canvas_types ( catalog ) </s>
