Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-column-widget@95697 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
54e4d2bb40
commit
ce2f05a72c
|
@ -3354,3 +3354,35 @@ Compiling...
|
|||
Compilation completed in 0.00 seconds
|
||||
Removing invalidated units
|
||||
Finding entry point classes
|
||||
Public resources found in...
|
||||
Translatable source found in...
|
||||
Found 0 cached/archived units. Used 0 / 2719 units from cache.
|
||||
Compiling...
|
||||
40% complete (ETR: 6 seconds)
|
||||
40% complete (ETR: 6 seconds)
|
||||
40% complete (ETR: 6 seconds)
|
||||
40% complete (ETR: 6 seconds)
|
||||
40% complete (ETR: 6 seconds)
|
||||
50% complete (ETR: 5 seconds)
|
||||
60% complete (ETR: 4 seconds)
|
||||
70% complete (ETR: 3 seconds)
|
||||
80% complete (ETR: 2 seconds)
|
||||
90% complete (ETR: 1 seconds)
|
||||
100% complete (ETR: 0 seconds)
|
||||
Compilation completed in 18.54 seconds
|
||||
Removing invalidated units
|
||||
Finding entry point classes
|
||||
Public resources found in...
|
||||
Translatable source found in...
|
||||
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
|
||||
Compiling...
|
||||
Compilation completed in 0.00 seconds
|
||||
Removing invalidated units
|
||||
Finding entry point classes
|
||||
Public resources found in...
|
||||
Translatable source found in...
|
||||
Found 2719 cached/archived units. Used 2719 / 2719 units from cache.
|
||||
Compiling...
|
||||
Compilation completed in 0.00 seconds
|
||||
Removing invalidated units
|
||||
Finding entry point classes
|
||||
|
|
|
@ -90,8 +90,17 @@ public class DimensionRowSelectionDialog extends Window {
|
|||
gridPanel.setHeaderVisible(false);
|
||||
gridPanel.setSelectionModel(SelectionMode.SINGLE);
|
||||
Log.debug("SetVisibleOnlyColumn");
|
||||
if(column.isViewColumn()){
|
||||
gridPanel.setVisibleOnlyColumn(column.getColumnId());
|
||||
|
||||
} else {
|
||||
if(column.getRelationship()!=null){
|
||||
//Used a Dimension Column
|
||||
gridPanel.setVisibleOnlyColumn(column.getRelationship().getTargetColumnId());
|
||||
} else {
|
||||
UtilsGXT3.alert("Attention", "No valid view column associated with this column!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
v.add(new FieldLabel(value, "Value"), new VerticalLayoutData(1, -1));
|
||||
v.add(gridPanel, new VerticalLayoutData(1, 1));
|
||||
|
||||
|
@ -140,7 +149,13 @@ public class DimensionRowSelectionDialog extends Window {
|
|||
if (column.isViewColumn()) {
|
||||
tableId = column.getColumnViewData().getTargetTableId();
|
||||
} else {
|
||||
tableId = Long.valueOf(column.getTrId().getTableId());
|
||||
if(column.getRelationship()!=null){
|
||||
//Used a Dimension Column
|
||||
tableId = Long.valueOf(column.getRelationship().getTargetTableId());
|
||||
} else {
|
||||
UtilsGXT3.alert("Attention", "No valid table associated with this column!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
TableId tableOpening = new TableId(Constants.TDX_DATASOURCE_FACTORY_ID,
|
||||
|
@ -151,8 +166,6 @@ public class DimensionRowSelectionDialog extends Window {
|
|||
}
|
||||
|
||||
|
||||
|
||||
|
||||
protected void initWindow() {
|
||||
setWidth(WIDTH);
|
||||
setHeight(HEIGHT);
|
||||
|
|
Loading…
Reference in New Issue