Read ~/.sfi/sfi_config
[sfa-gui.git] / InstancePanel.py
1 from pyjamas.ui.VerticalPanel import VerticalPanel
2 from pyjamas.ui.HorizontalPanel import HorizontalPanel
3 from pyjamas.ui.Button import Button
4 from pyjamas.ui.HTML import HTML
5 from pyjamas.ui import HasAlignment
6
7 class InstancePanel(VerticalPanel):
8     def __init__(self, sfadata):
9         VerticalPanel.__init__(self)
10         self.sfadata = sfadata
11         self.setStyleName("ks-layouts")
12         
13     def refresh(self):
14         pass
15                     
16     def apply(self, sender):
17         self.sfadata.applyRSpec()
18
19     def reset(self, sender):
20         self.sfadata.refreshRSpec()
21         
22
23