Added Change Table Type

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-information-widget@92300 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-02-25 18:22:31 +00:00
parent 9035ef3691
commit d7d22ac161
1 changed files with 11 additions and 5 deletions

View File

@ -38,7 +38,7 @@ import com.sencha.gxt.widget.core.client.form.FieldLabel;
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public class ChangeTableType extends FramedPanel {
public class ChangeTableTypePanel extends FramedPanel {
protected String WIDTH = "640px";
protected String HEIGHT = "520px";
@ -55,12 +55,12 @@ public class ChangeTableType extends FramedPanel {
public ChangeTableType(TRId trId, EventBus eventBus) {
public ChangeTableTypePanel(TRId trId, EventBus eventBus) {
super();
this.trId=trId;
this.eventBus = eventBus;
forceLayoutOnResize=true;
load();
create();
}
protected void create(){
@ -111,7 +111,7 @@ public class ChangeTableType extends FramedPanel {
add(vl);
show();
setCurrentType();
load();
}
@ -166,7 +166,7 @@ public class ChangeTableType extends FramedPanel {
public void onSuccess(TableData result) {
Log.debug("Retrieved table: "+result.toString());
table=result;
create();
setCurrentType();
}
});
@ -185,5 +185,11 @@ public class ChangeTableType extends FramedPanel {
}
public void update(TRId trId) {
this.trId = trId;
load();
}
}