Package uk.ac.man.cs.mig.util.graph.ui

Examples of uk.ac.man.cs.mig.util.graph.ui.GraphComponent


                          GraphModel graphModel,
                          SubsumptionTreePanel subsumptionTreePanel) {
    this.tab = tab;
    this.treePanel = subsumptionTreePanel;
    OWLModel model = (OWLModel) tab.getKnowledgeBase();
    graphComponent = new GraphComponent();
    graphComponent.setGraphModel(graphModel);
    graphComponent.setNodeLabelRenderer(new OWLClsNodeLabelRenderer());
    graphComponent.setNodeRenderer(new OWLClsNodeRenderer(graphComponent.getController(),
                                                          graphComponent.getVisualisedObjectManager(),
                                                          new OWLClsNodeLabelRenderer(), model));
View Full Code Here


  public void actionPerformed(ActionEvent e) {
    optionsDialog.updateInterface();
    if(optionsDialog.showDialog() == OKCancelDialog.OPTION_APPROVE) {
      optionsDialog.applyOptions();
      for(Iterator it = tab.getGraphComponents().iterator(); it.hasNext();) {
        GraphComponent graphComponent = (GraphComponent) it.next();
        graphComponent.getController().getGraphGenerator().invalidateGraph();
      }
    }
  }
View Full Code Here

   */
  public void actionPerformed(ActionEvent e) {
    Object selObj = tab.getSelectionModel().getSelectedClass();
    if(selObj != null) {
      for(Iterator it = tab.getGraphComponents().iterator(); it.hasNext();) {
        GraphComponent graphComponent = (GraphComponent) it.next();
        graphComponent.getVisualisedObjectManager().showParents(selObj, OWLNamedClass.class);
      }
    }
  }
View Full Code Here

  /**
   * Invoked when an action occurs.
   */
  public void actionPerformed(ActionEvent e) {
    for(Iterator it = tab.getGraphComponents().iterator(); it.hasNext(); ) {
      GraphComponent graphComponent = (GraphComponent) it.next();
      graphComponent.getVisualisedObjectManager().hideAll();
    }
  }
View Full Code Here

TOP

Related Classes of uk.ac.man.cs.mig.util.graph.ui.GraphComponent

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.