1 |
3189
|
berkley
|
package org.kepler.web.client;
|
2 |
|
|
|
3 |
|
|
//import org.kepler.web.service.*;
|
4 |
|
|
|
5 |
|
|
import com.google.gwt.core.client.*;
|
6 |
|
|
import com.google.gwt.user.client.rpc.*;
|
7 |
|
|
import com.google.gwt.user.client.ui.Button;
|
8 |
|
|
import com.google.gwt.user.client.ui.ClickListener;
|
9 |
|
|
import com.google.gwt.user.client.ui.Label;
|
10 |
|
|
import com.google.gwt.user.client.ui.RootPanel;
|
11 |
|
|
import com.google.gwt.user.client.ui.Widget;
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
/**
|
15 |
|
|
* Entry point classes define <code>onModuleLoad()</code>.
|
16 |
|
|
*/
|
17 |
|
|
public class KeplerClient implements EntryPoint
|
18 |
|
|
{
|
19 |
|
|
|
20 |
|
|
/**
|
21 |
|
|
* This is the entry point method.
|
22 |
|
|
*/
|
23 |
|
|
public void onModuleLoad()
|
24 |
|
|
{
|
25 |
|
|
//add the result widget to the results slot in the html
|
26 |
|
|
MetacatResultsWidget mrwidget = new MetacatResultsWidget(15);
|
27 |
|
|
RootPanel.get("results").add(mrwidget);
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
}
|