1 from Sink import Sink, SinkInfo
2 from pyjamas.ui.VerticalPanel import VerticalPanel
3 from pyjamas.ui.TextArea import TextArea
4 from pyjamas.ui.HTML import HTML
5 from SfaData import PlanetLabData
11 self.panel = VerticalPanel()
12 self.panel.setSize("100%", "100%")
13 self.data = PlanetLabData()
14 self.rspec = self.data.getRSpec()
16 # Just to show that we can retrieve the RSpec
18 ta.setSize("100%", "100%")
19 ta.setText(self.rspec)
22 self.initWidget(self.panel)
25 # Do we want to refresh the RSpec?
31 return SinkInfo("PlanetLab", "Specify PlanetLab Resources", PlanetLab)