/**
* Invoked when an action occurs.
*/
public void actionPerformed(ActionEvent e) {
ClassRadiusDialog dlg = new ClassRadiusDialog(this.owner, true);
int retVal = dlg.showDialog();
if(retVal == OKCancelDialog.OPTION_APPROVE) {
Object selObj = tab.getSelectionModel().getSelectedClass();
if(selObj != null) {
if(selObj instanceof OWLNamedClass) {
int radius = dlg.getClassRadius();
int supersSubsOptions = dlg.getSupersSubsOption();
for(Iterator it = tab.getGraphComponents().iterator(); it.hasNext(); ) {
GraphComponent curGraphComponent = (GraphComponent) it.next();
if(supersSubsOptions == ClassRadiusDialog.SUPERS_AND_SUBS) {
curGraphComponent.getVisualisedObjectManager().showObject(selObj, radius, OWLNamedClass.class);;
}