/** @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object) */ public Object[] getElements(Object inputElement) { StructuralAnnotation structuralAnnotation = (StructuralAnnotation) inputElement; return structuralAnnotation.entrySetOfNodes().toArray(); }
private void updateStructuralAnnotation(StructuralAnnotation structuralAnnotation) { this.fuzzyBeliefLabel.setText( String.format("%1$.2f", structuralAnnotation.getFuzzyBelief()) + "%"); this.boundNodesTableViewer.setInput(structuralAnnotation); }