Fixed Label lenght
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@111557 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
753a64dd23
commit
a59bcdab73
|
@ -48,29 +48,25 @@ import com.sencha.gxt.widget.core.client.form.TextField;
|
||||||
*/
|
*/
|
||||||
public class LabelColumnPanel extends FramedPanel implements
|
public class LabelColumnPanel extends FramedPanel implements
|
||||||
MonitorDialogListener {
|
MonitorDialogListener {
|
||||||
protected static final String WIDTH = "640px";
|
private static final String WIDTH = "640px";
|
||||||
protected static final String HEIGHT = "520px";
|
private static final String HEIGHT = "520px";
|
||||||
protected static final int LABELWIDTH = 120;
|
private static final int LABELWIDTH = 120;
|
||||||
|
|
||||||
protected EventBus eventBus;
|
private EventBus eventBus;
|
||||||
protected ChangeColumnTypeDialog parent;
|
private ChangeColumnTypeDialog parent;
|
||||||
protected TextField label = null;
|
private TRId trId;
|
||||||
protected TRId trId;
|
|
||||||
protected String columnName;
|
private ArrayList<ColumnData> columns;
|
||||||
|
private VerticalLayoutContainer columnsLayoutContainer;
|
||||||
|
|
||||||
protected ArrayList<ColumnData> columns;
|
private TextButton change;
|
||||||
protected SimpleContainer columnsContainer;
|
|
||||||
protected VerticalLayoutContainer columnsLayoutContainer;
|
|
||||||
|
|
||||||
protected TextButton change;
|
private LabelColumnSession labelColumnSession;
|
||||||
|
|
||||||
protected LabelColumnSession labelColumnSession;
|
|
||||||
private boolean updateStatus;
|
private boolean updateStatus;
|
||||||
private VerticalLayoutContainer v;
|
private VerticalLayoutContainer v;
|
||||||
|
|
||||||
public LabelColumnPanel(TRId trId, String columnName, EventBus eventBus) {
|
public LabelColumnPanel(TRId trId, String columnName, EventBus eventBus) {
|
||||||
this.trId = trId;
|
this.trId = trId;
|
||||||
this.columnName = columnName;
|
|
||||||
this.eventBus = eventBus;
|
this.eventBus = eventBus;
|
||||||
updateStatus = false;
|
updateStatus = false;
|
||||||
Log.debug("LabelColumnPanel(): [" + trId + " columnName: " + columnName
|
Log.debug("LabelColumnPanel(): [" + trId + " columnName: " + columnName
|
||||||
|
@ -231,8 +227,6 @@ public class LabelColumnPanel extends FramedPanel implements
|
||||||
|
|
||||||
public void update(TRId trId, String columnName) {
|
public void update(TRId trId, String columnName) {
|
||||||
this.trId = trId;
|
this.trId = trId;
|
||||||
this.columnName = columnName;
|
|
||||||
|
|
||||||
updateStatus = true;
|
updateStatus = true;
|
||||||
retrieveColumns();
|
retrieveColumns();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue