if(vocabulary!=null){
vocabulariesToBeFiltered.add(vocabulary);
}
- vocabulary = TermVocabularySelectionDialog.select("Select vocabulary for characters", btnChooseVoc.getShell(), vocabulariesToBeFiltered, TermType.Feature);
+ vocabulary = TermVocabularySelectionDialog.select("Select vocabulary for characters", btnChooseVoc.getShell(), vocabulariesToBeFiltered, TermType.Character);
if(vocabulary!=null){
txtVocabulary.setText(vocabulary.getLabel());
}
Iterator<FeatureNode> propertiesIterator = propertyTreeSelection.iterator();
while(propertiesIterator.hasNext()){
FeatureNode propertyNode = propertiesIterator.next();
- Representation structureRepresentation = structureNode.getFeature().getRepresentation(PreferencesUtil.getGlobalLanguage());
- Representation propertyRepresentation = propertyNode.getFeature().getRepresentation(PreferencesUtil.getGlobalLanguage());
+ Representation structureRepresentation = structureNode.getTerm().getRepresentation(PreferencesUtil.getGlobalLanguage());
+ Representation propertyRepresentation = propertyNode.getTerm().getRepresentation(PreferencesUtil.getGlobalLanguage());
String label = null;
String abbrevLabel = null;
if(structureRepresentation.getLabel()!=null && propertyRepresentation.getLabel()!=null){