Package uk.ac.man.cs.mig.coode.owlviz.ui

Examples of uk.ac.man.cs.mig.coode.owlviz.ui.ClassRadiusDialog


  /**
   * 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);;
            }
View Full Code Here


                                      Controller inferredController) {
    super("Hide classes past radius", OWLVizIcons.getIcon(OWLVizIcons.HIDE_CLASSES_PAST_RADIUS_ICON));
    this.putValue(AbstractAction.SHORT_DESCRIPTION, "Hide classes past radius");
    this.assertedController = assertedController;
    this.inferredController = inferredController;
    dlg = new ClassRadiusDialog(null, false);
  }
View Full Code Here

TOP

Related Classes of uk.ac.man.cs.mig.coode.owlviz.ui.ClassRadiusDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.