Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@111468 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-01-23 13:35:07 +00:00
parent bc003e6039
commit 8cfc066088
2 changed files with 22 additions and 18 deletions

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/tabular-data-information-widget-2.5.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<classpathentry kind="src" output="target/tabular-data-information-widget-2.6.0-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/tabular-data-information-widget-2.5.0-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
<classpathentry excluding="**" kind="src" output="target/tabular-data-information-widget-2.6.0-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
@ -33,5 +33,5 @@
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/tabular-data-information-widget-2.5.0-SNAPSHOT/WEB-INF/classes"/>
<classpathentry kind="output" path="target/tabular-data-information-widget-2.6.0-SNAPSHOT/WEB-INF/classes"/>
</classpath>

View File

@ -41,6 +41,7 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.web.bindery.event.shared.EventBus;
import com.sencha.gxt.cell.core.client.ButtonCell.IconAlign;
import com.sencha.gxt.cell.core.client.form.ComboBoxCell.TriggerAction;
import com.sencha.gxt.core.client.dom.ScrollSupport.ScrollMode;
import com.sencha.gxt.core.client.util.Margins;
import com.sencha.gxt.data.shared.ListStore;
import com.sencha.gxt.data.shared.loader.ListLoadConfig;
@ -58,7 +59,6 @@ import com.sencha.gxt.widget.core.client.form.CheckBox;
import com.sencha.gxt.widget.core.client.form.ComboBox;
import com.sencha.gxt.widget.core.client.form.DateField;
import com.sencha.gxt.widget.core.client.form.FieldLabel;
import com.sencha.gxt.widget.core.client.form.FieldSet;
import com.sencha.gxt.widget.core.client.form.TextArea;
import com.sencha.gxt.widget.core.client.form.TextField;
@ -76,12 +76,12 @@ public class TabularResourceProperties extends FramedPanel {
protected String headingTitle;
protected HashMap<String, String> tabularResourcePropertiesMap;
protected VerticalLayoutContainer vl;
//protected VerticalLayoutContainer vl;
protected EventBus eventBus;
protected TRId trId;
protected FieldSet trFieldSet;
protected FieldSet tableFieldSet;
//protected FieldSet trFieldSet;
//protected FieldSet tableFieldSet;
protected TabResource tabResource;
protected TextField nameField;
@ -128,13 +128,19 @@ public class TabularResourceProperties extends FramedPanel {
}
public void addTabularResource() {
trFieldSet = new FieldSet();
trFieldSet.setHeadingText("Tabular Resource");
trFieldSet.setCollapsible(true);
trFieldSet.setResize(true);
//vl = new VerticalLayoutContainer();
//vl.setScrollMode(ScrollMode.AUTO); Set In GXT 3.0.1
//vl.setAdjustForScroll(true);
//trFieldSet = new FieldSet();
//trFieldSet.setHeadingText("Tabular Resource");
//trFieldSet.setCollapsible(true);
//trFieldSet.setResize(true);
layoutTabularResource = new VerticalLayoutContainer();
trFieldSet.add(layoutTabularResource);
layoutTabularResource.setScrollMode(ScrollMode.AUTOY);
layoutTabularResource.setAdjustForScroll(true);
//trFieldSet.add(layoutTabularResource);
nameField = new TextField();
// nameField.setReadOnly(true);
@ -306,13 +312,11 @@ public class TabularResourceProperties extends FramedPanel {
new Margins(2)));
vl = new VerticalLayoutContainer();
//vl.setScrollMode(ScrollMode.AUTO); Set In GXT 3.0.1
vl.setAdjustForScroll(true);
vl.add(trFieldSet, new VerticalLayoutData(1, -1,
new Margins(0)));
add(vl);
//vl.add(trFieldSet, new VerticalLayoutData(1, -1,
// new Margins(0)));
add(layoutTabularResource);
}
protected void retrieveLicencesList() {