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"?> <?xml version="1.0" encoding="UTF-8"?>
<classpath> <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> <attributes>
<attribute name="optional" value="true"/> <attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
</classpathentry> </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> <attributes>
<attribute name="maven.pomderived" value="true"/> <attribute name="maven.pomderived" value="true"/>
</attributes> </attributes>
@ -33,5 +33,5 @@
<attribute name="org.eclipse.jst.component.nondependency" value=""/> <attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes> </attributes>
</classpathentry> </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> </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.google.web.bindery.event.shared.EventBus;
import com.sencha.gxt.cell.core.client.ButtonCell.IconAlign; import com.sencha.gxt.cell.core.client.ButtonCell.IconAlign;
import com.sencha.gxt.cell.core.client.form.ComboBoxCell.TriggerAction; 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.core.client.util.Margins;
import com.sencha.gxt.data.shared.ListStore; import com.sencha.gxt.data.shared.ListStore;
import com.sencha.gxt.data.shared.loader.ListLoadConfig; 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.ComboBox;
import com.sencha.gxt.widget.core.client.form.DateField; 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.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.TextArea;
import com.sencha.gxt.widget.core.client.form.TextField; import com.sencha.gxt.widget.core.client.form.TextField;
@ -76,12 +76,12 @@ public class TabularResourceProperties extends FramedPanel {
protected String headingTitle; protected String headingTitle;
protected HashMap<String, String> tabularResourcePropertiesMap; protected HashMap<String, String> tabularResourcePropertiesMap;
protected VerticalLayoutContainer vl; //protected VerticalLayoutContainer vl;
protected EventBus eventBus; protected EventBus eventBus;
protected TRId trId; protected TRId trId;
protected FieldSet trFieldSet; //protected FieldSet trFieldSet;
protected FieldSet tableFieldSet; //protected FieldSet tableFieldSet;
protected TabResource tabResource; protected TabResource tabResource;
protected TextField nameField; protected TextField nameField;
@ -128,13 +128,19 @@ public class TabularResourceProperties extends FramedPanel {
} }
public void addTabularResource() { public void addTabularResource() {
trFieldSet = new FieldSet(); //vl = new VerticalLayoutContainer();
trFieldSet.setHeadingText("Tabular Resource"); //vl.setScrollMode(ScrollMode.AUTO); Set In GXT 3.0.1
trFieldSet.setCollapsible(true); //vl.setAdjustForScroll(true);
trFieldSet.setResize(true);
//trFieldSet = new FieldSet();
//trFieldSet.setHeadingText("Tabular Resource");
//trFieldSet.setCollapsible(true);
//trFieldSet.setResize(true);
layoutTabularResource = new VerticalLayoutContainer(); layoutTabularResource = new VerticalLayoutContainer();
trFieldSet.add(layoutTabularResource); layoutTabularResource.setScrollMode(ScrollMode.AUTOY);
layoutTabularResource.setAdjustForScroll(true);
//trFieldSet.add(layoutTabularResource);
nameField = new TextField(); nameField = new TextField();
// nameField.setReadOnly(true); // nameField.setReadOnly(true);
@ -306,13 +312,11 @@ public class TabularResourceProperties extends FramedPanel {
new Margins(2))); 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))); //vl.add(trFieldSet, new VerticalLayoutData(1, -1,
add(vl); // new Margins(0)));
add(layoutTabularResource);
} }
protected void retrieveLicencesList() { protected void retrieveLicencesList() {