diff --git a/openbis/.classpath b/openbis/.classpath index e3f870e5534bc6f1981a5cbb9d6a9a405b8f5808..6402971b848a0d342eaf33eafe403b952d4e608d 100644 --- a/openbis/.classpath +++ b/openbis/.classpath @@ -11,5 +11,10 @@ <classpathentry combineaccessrules="false" kind="src" path="/server-common"/> <classpathentry kind="lib" path="/libraries/gwt1.5/gwt-user.jar"/> <classpathentry kind="lib" path="/libraries/testng/testng-jdk15.jar" sourcepath="/libraries/testng/src.zip"/> + <classpathentry kind="lib" path="/libraries/ext-gwt/gxt.jar"> + <attributes> + <attribute name="javadoc_location" value="jar:platform:/resource/libraries/ext-gwt/gxt-api.zip!/"/> + </attributes> + </classpathentry> <classpathentry kind="output" path="targets/classes"/> </classpath> diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/OpenBIS.gwt.xml b/openbis/source/java/ch/systemsx/cisd/openbis/OpenBIS.gwt.xml index 757bcb57a2d960392fd3fbb4e7611e1638f45288..85c5dd85ac04d82cd3e477be441fe5a39167260f 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/OpenBIS.gwt.xml +++ b/openbis/source/java/ch/systemsx/cisd/openbis/OpenBIS.gwt.xml @@ -6,6 +6,14 @@ <inherits name="com.google.gwt.user.theme.chrome.Chrome"/> <inherits name="com.google.gwt.i18n.I18N" /> + <!-- + // Inherit the core EXT GWT stuff. + --> + <inherits name='com.extjs.gxt.ui.GXT'/> + + <!-- + // Application entry point + --> <entry-point class='ch.systemsx.cisd.openbis.generic.client.web.client.application.Client' /> <!-- diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/Client.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/Client.java index 1b18d9bab1fe218f31063a9daa17a972589a73ab..f51c5db842761ffe0a497bf011c7c7f547191373 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/Client.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/Client.java @@ -16,8 +16,8 @@ package ch.systemsx.cisd.openbis.generic.client.web.client.application; +import com.extjs.gxt.ui.client.widget.button.Button; import com.google.gwt.core.client.EntryPoint; -import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.RootPanel; /** @@ -30,7 +30,7 @@ public class Client implements EntryPoint public void onModuleLoad() { - RootPanel.get().add(new Label("openBIS comong soon...")); + RootPanel.get().add(new Button("openBIS comong soon...")); } diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/index.html b/openbis/source/java/ch/systemsx/cisd/openbis/public/index.html index 118fc98b418ffb885acd14080251d477ce65d99a..37ee668a0a1244c9e5f9f4931ae25f8da4330f96 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/public/index.html +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/index.html @@ -1,3 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>openBIS</title> @@ -8,6 +9,7 @@ <link rel="shortcut icon" href="images/favicon.ico" /> <link rel="icon" type="image/png" href="images/favicon.png" /> +<link rel="stylesheet" type="text/css" href="css/ext-all.css" /> </head> <!-- // The body can have arbitrary html, or you can leave the body empty if you want to create a completely dynamic ui.