42 lines
1.1 KiB
Java
42 lines
1.1 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.portlets.user.dataminermanager.client.computations;
|
|
|
|
import com.sencha.gxt.core.client.util.Margins;
|
|
import com.sencha.gxt.widget.core.client.FramedPanel;
|
|
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer;
|
|
import com.sencha.gxt.widget.core.client.container.VerticalLayoutContainer.VerticalLayoutData;
|
|
|
|
/**
|
|
*
|
|
* @author Giancarlo Panichi email: <a
|
|
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
|
*
|
|
*/
|
|
public class ComputationsPanel extends FramedPanel {
|
|
|
|
public ComputationsPanel() {
|
|
super();
|
|
init();
|
|
create();
|
|
}
|
|
|
|
private void init() {
|
|
setBodyStyle("backgroundColor:white;");
|
|
setBodyBorder(true);
|
|
setHeadingText("Computations");
|
|
setHeaderVisible(true);
|
|
}
|
|
|
|
private void create() {
|
|
VerticalLayoutContainer v = new VerticalLayoutContainer();
|
|
ComputationsExecutedPanel importedDataPanel = new ComputationsExecutedPanel();
|
|
ComputationsViewerPanel computedDataPanel = new ComputationsViewerPanel();
|
|
v.add(importedDataPanel, new VerticalLayoutData(1, 0.5, new Margins(0)));
|
|
v.add(computedDataPanel, new VerticalLayoutData(1, 0.5, new Margins(0)));
|
|
add(v);
|
|
}
|
|
|
|
}
|