X-Git-Url: http://git.onelab.eu/?p=sfa-gui.git;a=blobdiff_plain;f=RequestPanel.py;fp=RequestPanel.py;h=b01189995c39fb1325eb74ddcf1948f0dd422e7c;hp=0000000000000000000000000000000000000000;hb=e15ce3036c57ffce83734d8f9912acff5ce2e82a;hpb=67320fd9f6aa1553a9223d0b99a6c4e2bcde4d3d diff --git a/RequestPanel.py b/RequestPanel.py new file mode 100644 index 0000000..b011899 --- /dev/null +++ b/RequestPanel.py @@ -0,0 +1,23 @@ +from pyjamas.ui.VerticalPanel import VerticalPanel +from pyjamas.ui.HorizontalPanel import HorizontalPanel +from pyjamas.ui.Button import Button +from pyjamas.ui.HTML import HTML +from pyjamas.ui import HasAlignment + +class RequestPanel(VerticalPanel): + def __init__(self, sfadata): + VerticalPanel.__init__(self) + self.sfadata = sfadata + self.setStyleName("ks-layouts") + + def refresh(self): + pass + + def apply(self, sender): + self.sfadata.applyRSpec() + + def reset(self, sender): + self.sfadata.refreshRSpec() + + +