Fixed ExtractCodelist behavior

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-portlet@119311 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-10-01 13:50:47 +00:00
parent a5540e116d
commit 015c2317e7
2 changed files with 7 additions and 1 deletions

View File

@ -494,12 +494,14 @@ public class CurationToolBar {
denormalizeButton.enable();
normalizeButton.enable();
extractCodelistButton.enable();
TRId trId = event.getTrId();
if (trId != null && trId.getTableType() != null
&& trId.getTableType().compareTo("Codelist") == 0) {
extractCodelistButton.disable();
codelistMappingButton.enable();
} else {
extractCodelistButton.enable();
codelistMappingButton.disable();
}
//generateSummaryButton.disable();

View File

@ -3,6 +3,10 @@
<inherits name='com.google.gwt.user.User' />
<inherits name="com.google.gwt.http.HTTP" />
<inherits name="com.google.gwt.i18n.I18N" />
<!-- Debug CSS style -->
<set-configuration-property name="CssResource.style" value="pretty"
/>
<!-- <inherits name='com.extjs.gxt.ui.GXT' /> -->
<inherits name='com.sencha.gxt.ui.GXT' />