protected void createUI(JComponent parent) { parent.setLayout(new BorderLayout()); setInstructions("Please specify the path to the file containing the ontology"); filePathPanel = new FilePathPanel("Specify ontology file", new HashSet<>()); parent.add(filePathPanel, BorderLayout.NORTH); filePathPanel.addChangeListener(e -> { updateState(); }); }
public MissingImportWizard(Frame frame, OWLEditorKit owlEditorKit) { super(frame); setTitle("Resolve missing import wizard"); registerWizardPanel(ResolutionTypePanel.ID, new ResolutionTypePanel(owlEditorKit)); registerWizardPanel(SpecifyFilePathPanel.ID, new SpecifyFilePathPanel(owlEditorKit)); registerWizardPanel(CopyOptionPanel.ID, new CopyOptionPanel(owlEditorKit)); setCurrentPanel(ResolutionTypePanel.ID); }
public void displayingPanel() { super.displayingPanel(); filePathPanel.requestFocus(); updateState(); }
private void updateState() { getWizard().setNextFinishButtonEnabled(filePathPanel.getFile() != null && filePathPanel.getFile().exists()); }
protected void createUI(JComponent parent) { parent.setLayout(new BorderLayout()); setInstructions("Please specify the path to the file containing the ontology"); filePathPanel = new FilePathPanel("Specify ontology file", new HashSet<String>()); parent.add(filePathPanel, BorderLayout.NORTH); filePathPanel.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { updateState(); } }); }
public MissingImportWizard(Frame frame, OWLEditorKit owlEditorKit) { super(frame); setTitle("Resolve missing import wizard"); registerWizardPanel(ResolutionTypePanel.ID, new ResolutionTypePanel(owlEditorKit)); registerWizardPanel(SpecifyFilePathPanel.ID, new SpecifyFilePathPanel(owlEditorKit)); registerWizardPanel(CopyOptionPanel.ID, new CopyOptionPanel(owlEditorKit)); setCurrentPanel(ResolutionTypePanel.ID); }
public void displayingPanel() { super.displayingPanel(); filePathPanel.requestFocus(); updateState(); }
private void updateState() { getWizard().setNextFinishButtonEnabled(filePathPanel.getFile() != null && filePathPanel.getFile().exists()); }
protected void createUI(JComponent parent) { parent.setLayout(new BorderLayout()); setInstructions("Please specify the path to the file containing the ontology"); filePathPanel = new FilePathPanel("Specify ontology file", new HashSet<String>()); parent.add(filePathPanel, BorderLayout.NORTH); filePathPanel.addChangeListener(new ChangeListener() { public void stateChanged(ChangeEvent e) { updateState(); } }); }
protected void createUI(JComponent parent) { parent.setLayout(new BorderLayout()); setInstructions("Please specify the path to the file containing the ontology"); filePathPanel = new FilePathPanel("Specify ontology file", new HashSet<>()); parent.add(filePathPanel, BorderLayout.NORTH); filePathPanel.addChangeListener(e -> { updateState(); }); }
public MissingImportWizard(Frame frame, OWLEditorKit owlEditorKit) { super(frame); setTitle("Resolve missing import wizard"); registerWizardPanel(ResolutionTypePanel.ID, new ResolutionTypePanel(owlEditorKit)); registerWizardPanel(SpecifyFilePathPanel.ID, new SpecifyFilePathPanel(owlEditorKit)); registerWizardPanel(CopyOptionPanel.ID, new CopyOptionPanel(owlEditorKit)); setCurrentPanel(ResolutionTypePanel.ID); }
public void displayingPanel() { super.displayingPanel(); filePathPanel.requestFocus(); updateState(); }
private void updateState() { getWizard().setNextFinishButtonEnabled(filePathPanel.getFile() != null && filePathPanel.getFile().exists()); }
public MissingImportWizard(Frame frame, OWLEditorKit owlEditorKit) { super(frame); setTitle("Resolve missing import wizard"); registerWizardPanel(ResolutionTypePanel.ID, new ResolutionTypePanel(owlEditorKit)); registerWizardPanel(SpecifyFilePathPanel.ID, new SpecifyFilePathPanel(owlEditorKit)); registerWizardPanel(CopyOptionPanel.ID, new CopyOptionPanel(owlEditorKit)); setCurrentPanel(ResolutionTypePanel.ID); }
public void displayingPanel() { super.displayingPanel(); filePathPanel.requestFocus(); updateState(); }
private void updateState() { getWizard().setNextFinishButtonEnabled(filePathPanel.getFile() != null && filePathPanel.getFile().exists()); }