if ( baseOntologyContentsPanels.size() == 0 ) {
return null;
}
// TODO why check only the first element?
BaseOntologyContentsPanel baseOntologyContentsPanel = baseOntologyContentsPanels.iterator().next();
if ( baseOntologyContentsPanel instanceof VocabClassPanel ) {
VocabClassPanel vocabClassPanel = (VocabClassPanel) baseOntologyContentsPanel;
return vocabClassPanel.getCreateOntologyInfo();