Broke out PLE, PLJ, GpENI into separate tabs. For now, make as few assumptions as...
[sfa-gui.git] / PLJ.py
diff --git a/PLJ.py b/PLJ.py
new file mode 100644 (file)
index 0000000..a9b1bbe
--- /dev/null
+++ b/PLJ.py
@@ -0,0 +1,26 @@
+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 PLJData
+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 PLJ(Sink):
+    def __init__(self):
+
+        Sink.__init__(self)
+        
+        self.tabs = PlTabs(PLJData())
+
+        self.tabs.setWidth("100%")
+        self.tabs.setHeight("100%")
+        self.initWidget(self.tabs)
+
+def init():
+    return SinkInfo("PLJ", "Specify PlanetLab Japan Resources", PLJ)