Package org.ontospread.gui.view.dialogs

Examples of org.ontospread.gui.view.dialogs.SetInitialConcepts


    });

    setInitialConceptMenuItem.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent arg0) {
        try {
          SetInitialConcepts stp = new SetInitialConcepts(shell);
          ConceptTO[] allConcepts = controller.getAllConcepts();
          String []concepts = new String[allConcepts.length];
          for(int i = 0; i<allConcepts.length;i++){
            concepts[i] = allConcepts[i].getUri();
          }
          Arrays.sort(concepts);
          stp.setInitialConceptsUris(concepts);
          ScoredConceptTO []initialConcepts =  (ScoredConceptTO[]) stp.open();
          if(initialConcepts != null){
            state = ViewState.RUN;
            controller.createPlayer(initialConcepts);
            //TOOLBAR
            inspectorToolBarItem.setEnabled(true);
View Full Code Here

TOP

Related Classes of org.ontospread.gui.view.dialogs.SetInitialConcepts

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.