public ImportTypePage(OWLEditorKit owlEditorKit) { super(ID, "Import type", owlEditorKit); setInstructions("Please choose an option:"); Box box = new Box(BoxLayout.Y_AXIS); box.add(localFileRadioButton); box.add(webRadioButton); JRadioButton loadedOntologyButton; box.add(loadedOntologyButton = new JRadioButton("Import an ontology that is already loaded in the workspace.")); ButtonGroup bg = new ButtonGroup(); bg.add(webRadioButton); bg.add(localFileRadioButton); bg.add(loadedOntologyButton); localFileRadioButton.setSelected(true); setContent(box); }
public OntologyImportWizard(Frame owner, OWLEditorKit owlEditorKit) { super(owner); setTitle("Import ontology wizard"); registerWizardPanel(ImportTypePage.ID, new ImportTypePage(owlEditorKit)); registerWizardPanel(LocalFilePage.ID, new LocalFilePage(owlEditorKit)); registerWizardPanel(URLPage.ID, new URLPage(owlEditorKit)); registerWizardPanel(LoadedOntologyPage.ID, new LoadedOntologyPage(owlEditorKit)); registerWizardPanel(AnticipateOntologyIdPage.ID, new AnticipateOntologyIdPage(owlEditorKit)); registerWizardPanel(SelectImportLocationPage.ID, new SelectImportLocationPage(owlEditorKit)); registerWizardPanel(ImportConfirmationPage.ID, new ImportConfirmationPage(owlEditorKit)); setCurrentPanel(ImportTypePage.ID); }
protected void createUI(JComponent parent) { setInstructions("Please choose an option:"); parent.setLayout(new BorderLayout()); Box box = new Box(BoxLayout.Y_AXIS); box.add(localFileRadioButton = new JRadioButton("Import an ontology contained in a specific file.")); box.add(webRadioButton = new JRadioButton("Import an ontology contained in a document located on the web.")); box.add(loadedOntologyButton = new JRadioButton("Import an ontology that is already loaded in the workspace.")); box.add(libraryRadioButton = new JRadioButton("Import an ontology that is contained in one of the ontology libraries.")); parent.add(box, BorderLayout.NORTH); ButtonGroup bg = new ButtonGroup(); bg.add(webRadioButton); bg.add(localFileRadioButton); bg.add(libraryRadioButton); bg.add(loadedOntologyButton); localFileRadioButton.setSelected(true); }
public OntologyImportWizard(Frame owner, OWLEditorKit owlEditorKit) { super(owner); setTitle("Import ontology wizard"); registerWizardPanel(ImportTypePage.ID, new ImportTypePage(owlEditorKit)); registerWizardPanel(LocalFilePage.ID, new LocalFilePage(owlEditorKit)); registerWizardPanel(URLPage.ID, new URLPage(owlEditorKit)); registerWizardPanel(LoadedOntologyPage.ID, new LoadedOntologyPage(owlEditorKit)); registerWizardPanel(LibraryPage.ID, new LibraryPage(owlEditorKit)); registerWizardPanel(AnticipateOntologyIdPage.ID, new AnticipateOntologyIdPage(owlEditorKit)); registerWizardPanel(SelectImportLocationPage.ID, new SelectImportLocationPage(owlEditorKit)); registerWizardPanel(ImportConfirmationPage.ID, new ImportConfirmationPage(owlEditorKit)); setCurrentPanel(ImportTypePage.ID); }
protected void createUI(JComponent parent) { setInstructions("Please choose an option:"); parent.setLayout(new BorderLayout()); Box box = new Box(BoxLayout.Y_AXIS); box.add(localFileRadioButton = new JRadioButton("Import an ontology contained in a specific file.")); box.add(webRadioButton = new JRadioButton("Import an ontology contained in a document located on the web.")); box.add(loadedOntologyButton = new JRadioButton("Import an ontology that is already loaded in the workspace.")); box.add(libraryRadioButton = new JRadioButton("Import an ontology that is contained in one of the ontology libraries.")); parent.add(box, BorderLayout.NORTH); ButtonGroup bg = new ButtonGroup(); bg.add(webRadioButton); bg.add(localFileRadioButton); bg.add(libraryRadioButton); bg.add(loadedOntologyButton); localFileRadioButton.setSelected(true); }
public OntologyImportWizard(Frame owner, OWLEditorKit owlEditorKit) { super(owner); setTitle("Import ontology wizard"); registerWizardPanel(ImportTypePage.ID, new ImportTypePage(owlEditorKit)); registerWizardPanel(LocalFilePage.ID, new LocalFilePage(owlEditorKit)); registerWizardPanel(URLPage.ID, new URLPage(owlEditorKit)); registerWizardPanel(LoadedOntologyPage.ID, new LoadedOntologyPage(owlEditorKit)); registerWizardPanel(LibraryPage.ID, new LibraryPage(owlEditorKit)); registerWizardPanel(AnticipateOntologyIdPage.ID, new AnticipateOntologyIdPage(owlEditorKit)); registerWizardPanel(SelectImportLocationPage.ID, new SelectImportLocationPage(owlEditorKit)); registerWizardPanel(ImportConfirmationPage.ID, new ImportConfirmationPage(owlEditorKit)); setCurrentPanel(ImportTypePage.ID); }
protected void createUI(JComponent parent) { setInstructions("Please choose an option:"); parent.setLayout(new BorderLayout()); Box box = new Box(BoxLayout.Y_AXIS); box.add(localFileRadioButton = new JRadioButton("Import an ontology contained in a specific file.")); box.add(webRadioButton = new JRadioButton("Import an ontology contained in a document located on the web.")); box.add(loadedOntologyButton = new JRadioButton("Import an ontology that is already loaded in the workspace.")); box.add(libraryRadioButton = new JRadioButton("Import an ontology that is contained in one of the ontology libraries.")); parent.add(box, BorderLayout.NORTH); ButtonGroup bg = new ButtonGroup(); bg.add(webRadioButton); bg.add(localFileRadioButton); bg.add(libraryRadioButton); bg.add(loadedOntologyButton); localFileRadioButton.setSelected(true); }
public OntologyImportWizard(Frame owner, OWLEditorKit owlEditorKit) { super(owner); setTitle("Import ontology wizard"); registerWizardPanel(ImportTypePage.ID, new ImportTypePage(owlEditorKit)); registerWizardPanel(LocalFilePage.ID, new LocalFilePage(owlEditorKit)); registerWizardPanel(URLPage.ID, new URLPage(owlEditorKit)); registerWizardPanel(LoadedOntologyPage.ID, new LoadedOntologyPage(owlEditorKit)); registerWizardPanel(LibraryPage.ID, new LibraryPage(owlEditorKit)); registerWizardPanel(AnticipateOntologyIdPage.ID, new AnticipateOntologyIdPage(owlEditorKit)); registerWizardPanel(SelectImportLocationPage.ID, new SelectImportLocationPage(owlEditorKit)); registerWizardPanel(ImportConfirmationPage.ID, new ImportConfirmationPage(owlEditorKit)); setCurrentPanel(ImportTypePage.ID); }