public int showDialog(String title, JComponent component) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, null); }
public int showDialog(String title, JComponent component, JComponent focusedComponent) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, focusedComponent); }
public int showDialog(String title, JComponent component) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, null); }
public int showDialog(String title, JComponent component, int options) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, options, null); }
public int showDialog(String title, JComponent component, int options) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, options, null); }
public int showDialog(String title, JComponent component, int options) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, options, null); }
public int showDialog(String title, JComponent component, JComponent focusedComponent) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, focusedComponent); }
public int showDialog(String title, JComponent component, JComponent focusedComponent) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, focusedComponent); }
public int showDialog(String title, JComponent component) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, null); }
public int showDialog(String title, JComponent component, JComponent focusedComponent) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, focusedComponent); }
public int showDialog(String title, JComponent component) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, null); }
public int showDialog(String title, JComponent component, int options) { return JOptionPaneEx.showConfirmDialog(getParent(), title, component, JOptionPane.PLAIN_MESSAGE, options, null); }
public static void showDialog(OWLEditorKit editorKit, Set<OWLOntology> ontologies) { SaveConfirmationPanel panel = new SaveConfirmationPanel(editorKit, ontologies); JOptionPaneEx.showConfirmDialog(editorKit.getWorkspace(), "Saved ontologies", panel, JOptionPane.PLAIN_MESSAGE, JOptionPane.DEFAULT_OPTION, null); }
public static void showDialog(OWLEditorKit editorKit, Set<OWLOntology> ontologies) { SaveConfirmationPanel panel = new SaveConfirmationPanel(editorKit, ontologies); JOptionPaneEx.showConfirmDialog(editorKit.getWorkspace(), "Saved ontologies", panel, JOptionPane.PLAIN_MESSAGE, JOptionPane.DEFAULT_OPTION, null); }
public static void showDialog(OWLEditorKit editorKit, Set<OWLOntology> ontologies) { SaveConfirmationPanel panel = new SaveConfirmationPanel(editorKit, ontologies); JOptionPaneEx.showConfirmDialog(editorKit.getWorkspace(), "Saved ontologies", panel, JOptionPane.PLAIN_MESSAGE, JOptionPane.DEFAULT_OPTION, null); }
public static void showDialog(OWLEditorKit editorKit, Set<OWLOntology> ontologies) { SaveConfirmationPanel panel = new SaveConfirmationPanel(editorKit, ontologies); JOptionPaneEx.showConfirmDialog(editorKit.getWorkspace(), "Saved ontologies", panel, JOptionPane.PLAIN_MESSAGE, JOptionPane.DEFAULT_OPTION, null); }
public static boolean showDialog(OWLEditorKit owlEditorKit) { AnnotationRendererPanel panel = new AnnotationRendererPanel(owlEditorKit); int ret = JOptionPaneEx.showConfirmDialog(owlEditorKit.getWorkspace(), "Annotation Renderer", panel, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, panel); if(ret == JOptionPane.OK_OPTION) { panel.applyChanges(); return true; } return false; }
public static OntologyRepositoryEntry showDialog(OntologyRepository repository) { repository.refresh(); OpenFromRepositoryPanel panel = new OpenFromRepositoryPanel(repository); int ret = JOptionPaneEx.showConfirmDialog(null, "Open from " + repository.getName(), panel, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, panel.table); if(ret == JOptionPane.OK_OPTION) { return panel.table.getSelectedEntry(); } return null; }
public static OntologyRepositoryEntry showDialog(OntologyRepository repository) { repository.refresh(); OpenFromRepositoryPanel panel = new OpenFromRepositoryPanel(repository); int ret = JOptionPaneEx.showConfirmDialog(null, "Open from " + repository.getName(), panel, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, panel.table); if(ret == JOptionPane.OK_OPTION) { return panel.table.getSelectedEntry(); } return null; }
public static OntologyRepositoryEntry showDialog(OntologyRepository repository) { repository.refresh(); OpenFromRepositoryPanel panel = new OpenFromRepositoryPanel(repository); int ret = JOptionPaneEx.showConfirmDialog(null, "Open from " + repository.getName(), panel, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION, panel.table); if(ret == JOptionPane.OK_OPTION) { return panel.table.getSelectedEntry(); } return null; }