@Override public void aboutToDisplayPanel() { updateFinishEnabled(); super.aboutToDisplayPanel(); }
public void displayingPanel() { updateNextButtonEnabled(); calculatePossibleImports(); }
public AnticipateOntologyIdPage(OWLEditorKit owlEditorKit) { super(ID, "Import verification", owlEditorKit); checker = () -> checkImport(); }
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); }
@Override public void aboutToHidePanel() { OntologyImportWizard wizard = getWizard(); wizard.setImportsAreFinal(false); wizard.clearImports(); ImportInfo parameters = new ImportInfo(); parameters.setPhysicalLocation(urlPanel.getURI()); wizard.addImport(parameters); ((SelectImportLocationPage) getWizardModel().getPanel(SelectImportLocationPage.ID)).setBackPanelDescriptor(ID); ((ImportConfirmationPage) getWizardModel().getPanel(ImportConfirmationPage.ID)).setBackPanelDescriptor(ID); super.aboutToHidePanel(); }
public Object getNextPanelDescriptor() { return needsImportPage() ? SelectImportLocationPage.ID : ImportConfirmationPage.ID; }
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); }
@Override public void aboutToHidePanel() { OntologyImportWizard wizard = (OntologyImportWizard) getWizard(); wizard.setImportsAreFinal(false); wizard.clearImports(); ImportInfo parameters = new ImportInfo(); parameters.setPhysicalLocation(urlPanel.getURI()); wizard.addImport(parameters); ((SelectImportLocationPage) getWizardModel().getPanel(SelectImportLocationPage.ID)).setBackPanelDescriptor(ID); ((ImportConfirmationPage) getWizardModel().getPanel(ImportConfirmationPage.ID)).setBackPanelDescriptor(ID); super.aboutToHidePanel(); }
@Override public void aboutToDisplayPanel() { updateFinishEnabled(); super.aboutToDisplayPanel(); }
public void displayingPanel() { updateNextButtonEnabled(); calculatePossibleImports(); }
public void run() { checkImport(); } };
public Object getNextPanelDescriptor() { return needsImportPage() ? SelectImportLocationPage.ID : ImportConfirmationPage.ID; }
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); }
@Override public void aboutToHidePanel() { OntologyImportWizard wizard = getWizard(); wizard.setImportsAreFinal(false); wizard.clearImports(); ImportInfo parameters = new ImportInfo(); parameters.setPhysicalLocation(urlPanel.getURI()); wizard.addImport(parameters); ((SelectImportLocationPage) getWizardModel().getPanel(SelectImportLocationPage.ID)).setBackPanelDescriptor(ID); ((ImportConfirmationPage) getWizardModel().getPanel(ImportConfirmationPage.ID)).setBackPanelDescriptor(ID); super.aboutToHidePanel(); }
@Override public void aboutToDisplayPanel() { updateFinishEnabled(); super.aboutToDisplayPanel(); }
public AnticipateOntologyIdPage(OWLEditorKit owlEditorKit) { super(ID, "Import verification", owlEditorKit); checker = () -> checkImport(); }
public Object getNextPanelDescriptor() { return needsImportPage() ? SelectImportLocationPage.ID : ImportConfirmationPage.ID; }
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); }
@Override public void aboutToDisplayPanel() { updateFinishEnabled(); super.aboutToDisplayPanel(); }
public void run() { checkImport(); } };