Mercurial > libervia-web
comparison browser_side/base_widget.py @ 323:0b7934e75e76
misc: reorganization of the file panels.py + clean the modules import:
- some existing modules were not found during JS runtime (panels.py was too large?)
- the *Panel classes of panels.py that do not reference "host" have been moved to base_panels.py
- cleaned the import in various files
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 04 Jan 2014 00:17:46 +0100 |
parents | a0ded7df30f7 |
children | 9c6be29c714a |
comparison
equal
deleted
inserted
replaced
322:971e3812903a | 323:0b7934e75e76 |
---|---|
34 from pyjamas.ui.Widget import Widget | 34 from pyjamas.ui.Widget import Widget |
35 from pyjamas.ui.DropWidget import DropWidget | 35 from pyjamas.ui.DropWidget import DropWidget |
36 from pyjamas.ui.ClickListener import ClickHandler | 36 from pyjamas.ui.ClickListener import ClickHandler |
37 from pyjamas.ui import HasAlignment | 37 from pyjamas.ui import HasAlignment |
38 from pyjamas import DOM | 38 from pyjamas import DOM |
39 from pyjamas import Window | |
40 from __pyjamas__ import doc | |
41 | |
39 import dialog | 42 import dialog |
40 import logging | 43 import logging |
41 from tools import LiberviaDragWidget | 44 from tools import LiberviaDragWidget |
42 from pyjamas import Window | |
43 from __pyjamas__ import doc | |
44 | 45 |
45 | 46 |
46 class DropCell(DropWidget): | 47 class DropCell(DropWidget): |
47 """Cell in the middle grid which replace itself with the dropped widget on DnD""" | 48 """Cell in the middle grid which replace itself with the dropped widget on DnD""" |
48 drop_keys = {} | 49 drop_keys = {} |