Examples of open()


Examples of org.olat.core.gui.control.generic.popup.PopupBrowserWindow.open()

      // no need for later disposal, opens in popup window and will be disposed
      // by window manager
      ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(ureq, controllerCreator);
      PopupBrowserWindow pbw = getWindowControl().getWindowBackOffice().getWindowManager()
          .createNewPopupBrowserWindowFor(ureq, layoutCtrlr);
      pbw.open(ureq);

    } else if (source == enableInlineTranslationLink) {
      setNewInlineStatus(ureq, true);

    } else if (source == disableInlineTranslationLink) {
View Full Code Here

Examples of org.ontospread.gui.view.dialogs.EndDialog.open()

        try {
          viewer.setGraph(controller.createGraphFromOntoSpreadState(controller.next()));
          updateGraph();
          if(!controller.hasNext()){
            EndDialog end = new EndDialog(shell);
            end.open();
          }
        } catch (Exception e) {
          createErrorDialog(e);
        }
      }
View Full Code Here

Examples of org.ontospread.gui.view.dialogs.ErrorDialog.open()

  }

  protected void createErrorDialog(Exception e){
    ErrorDialog error = new ErrorDialog(shell);
    error.setErrorMessage(e.getMessage());
    error.open();
  }


 
  public static void main(String[] args) throws Exception {
View Full Code Here

Examples of org.ontospread.gui.view.dialogs.HelpDialog.open()

    final MenuItem aboutOntospreadMenuItem = new MenuItem(menu_4, SWT.NONE);
    aboutOntospreadMenuItem.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent arg0) {
        HelpDialog hp = new HelpDialog(shell);
        hp.open();
      }
    });
    aboutOntospreadMenuItem.setImage(SWTResourceManager.getImage(OntoSpreadViewerMain.class, "/app-icons/help.png"));
    aboutOntospreadMenuItem.setText(ApplicationResources.getString("OntoSpreadViewerMain.37")+"\tF1"); //$NON-NLS-1$
    aboutOntospreadMenuItem.setAccelerator(SWT.F1);
View Full Code Here

Examples of org.ontospread.gui.view.dialogs.LoadConfiguration.open()

    });
    loadMenuItem.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent arg0) { 
        try {
          LoadConfiguration lc = new LoadConfiguration(shell);
          LoadConfigurationForm lcform = (LoadConfigurationForm) lc.open();
          if(lcform != null){
            state = ViewState.INITIAL_CONCEPTS;
            controller.createProcess(lcform);
            setInitialConceptMenuItem.setEnabled(true);           
            conceptToolBarItem.setEnabled(true);
View Full Code Here

Examples of org.ontospread.gui.view.dialogs.SetInitialConcepts.open()

          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

Examples of org.ontospread.gui.view.dialogs.ShowConcept.open()

        for(int i = 0; i<allConcepts.length;i++){
          concepts[i] = allConcepts[i].getUri();
        }
        Arrays.sort(concepts);
        showConcept.setConcepts(concepts);
        String uri = (String) showConcept.open();
        if(uri != null){
          try {
            viewer.setGraph(controller.createGraphFromConcept(uri));
            updateGraph();
          } catch (ConceptNotFoundException e) {
View Full Code Here

Examples of org.ontospread.gui.view.dialogs.ShowConceptPath.open()

          ShowConceptPath sp = new ShowConceptPath(shell);
          String[] concepts;
          concepts = controller.getAvailablePaths();
          Arrays.sort(concepts);
          sp.setConcepts(concepts);
          String uri = (String) sp.open();
          if(uri != null){
            viewer.setGraph(controller.createGraphForSpreading(uri));
            updateGraph();
          }
        } catch (ConceptNotFoundException e) {
View Full Code Here

Examples of org.ontospread.gui.view.dialogs.ShowSpreadingPath.open()

        String[] concepts;
        try {
          concepts = controller.getAvailableSpreading();
          Arrays.sort(concepts);
          showConcept.setConcepts(concepts);
          String uri = (String) showConcept.open();
          if(uri != null){
            viewer.setGraph(controller.createGraphForSpreading(uri));
            updateGraph();
          }
        } catch (ConceptNotFoundException e) {
View Full Code Here

Examples of org.ontospread.gui.view.dialogs.SpreadInspector.open()

          }
          Arrays.sort(concepts);
          sp.setInitialConceptsTOs(controller.getInitialConcepts());
          sp.setRelationsWeight(controller.getOntoSpreadProcess().getRelationWeight());
          sp.setActiveConcepts(createActiveConcepts());
          PairRelationActiveTO result = (PairRelationActiveTO) sp.open();
          if(result != null) updateInspector(result);
        } catch (ConceptNotFoundException e) {
          createErrorDialog(e);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.