from Sink import Sink, SinkInfo from pyjamas.ui.TabPanel import TabPanel from pyjamas.ui.VerticalPanel import VerticalPanel from pyjamas.ui.TextArea import TextArea from pyjamas.ui.HTML import HTML from SfaData import PLEData from NodePanel import NodePanel from LinkPanel import LinkPanel from SliverPanel import SliverPanel from SubmitPanel import SubmitPanel from HelpPanel import PlanetLabHelpPanel from PlanetLab import PlTabs class PLE(Sink): def __init__(self): Sink.__init__(self) self.tabs = PlTabs(PLEData()) self.tabs.setWidth("100%") self.tabs.setHeight("100%") self.initWidget(self.tabs) def init(): return SinkInfo("PL Europe", "Specify PlanetLab Europe Resources", PLE)