textClassification.setEnabled(false);
textClassification.setLayoutData(new GridData(SWT.FILL, SWT.LEFT, true, true));
if (abcdImportConfigurator.getClassificationUuid() != null){
- if (abcdImportConfigurator.getClassificationName() != null){
- textClassification.setText(abcdImportConfigurator.getClassificationName());
- }else{
- Classification classification = CdmStore.getService(IClassificationService.class).load(abcdImportConfigurator.getClassificationUuid());
+ Classification classification = CdmStore.getService(IClassificationService.class).load(abcdImportConfigurator.getClassificationUuid());
+ if (classification != null){
textClassification.setText(classification.getTitleCache());
}
}