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 static void main(String[] args) { MissingImportWizard w = new MissingImportWizard(null, null); w.showModalDialog(); } }
protected void createUI(JComponent parent) { setInstructions("Would you like to copy the file to to root ontology folder? " + "Ontologies are only editable if they are loaded from the same folder that the root importing " + "ontology was loaded from."); copyCheckBox = new JCheckBox("Copy to imports root folder", true); parent.setLayout(new BorderLayout()); parent.add(copyCheckBox, BorderLayout.NORTH); }
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 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 static void main(String[] args) { MissingImportWizard w = new MissingImportWizard(null, null); w.showModalDialog(); } }
public void displayingPanel() { super.displayingPanel(); filePathPanel.requestFocus(); updateState(); }
protected void createUI(JComponent parent) { setInstructions("Would you like to copy the file to to root ontology folder? " + "Ontologies are only editable if they are loaded from the same folder that the root importing " + "ontology was loaded from."); copyCheckBox = new JCheckBox("Copy to imports root folder", true); parent.setLayout(new BorderLayout()); parent.add(copyCheckBox, BorderLayout.NORTH); }
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 static void main(String[] args) { MissingImportWizard w = new MissingImportWizard(null, null); w.showModalDialog(); } }
public void displayingPanel() { super.displayingPanel(); filePathPanel.requestFocus(); updateState(); }
protected void createUI(JComponent parent) { setInstructions("Would you like to copy the file to to root ontology folder? " + "Ontologies are only editable if they are loaded from the same folder that the root importing " + "ontology was loaded from."); copyCheckBox = new JCheckBox("Copy to imports root folder", true); parent.setLayout(new BorderLayout()); parent.add(copyCheckBox, BorderLayout.NORTH); }
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 static void main(String[] args) { MissingImportWizard w = new MissingImportWizard(null, null); w.showModalDialog(); } }
public void displayingPanel() { super.displayingPanel(); filePathPanel.requestFocus(); updateState(); }
protected void createUI(JComponent parent) { setInstructions("Would you like to copy the file to to root ontology folder? " + "Ontologies are only editable if they are loaded from the same folder that the root importing " + "ontology was loaded from."); copyCheckBox = new JCheckBox("Copy to imports root folder", true); parent.setLayout(new BorderLayout()); parent.add(copyCheckBox, BorderLayout.NORTH); }