private void handleModelManagerChangeEvent(OWLModelManagerChangeEvent event) { if (isUpdateTriggeringEvent(event)) { updateView(); } }
private void handleOntologyIRIFieldFocusGained() { handleOntologyIRIFieldActivated(); }
private void handleOntologyIRIFieldFocusLost() { handlePossibleOntologyIdUpdate(); }
private void handleComponentHierarchyChanged() { if (ontologyIRIShowing != ontologyIRIField.isShowing()) { ontologyIRIShowing = ontologyIRIField.isShowing(); if (!ontologyIRIField.isShowing()) { handlePossibleOntologyIdUpdate(); } else { handleOntologyIRIFieldActivated(); } } }
/** * Constructs a plain text document. A default root element is created, * and the tab size set to 8. Text already in c is processed as if it had been inserted - i.e. elements are * created for each line. * * @param c the container for the content */ CharInsertableDocument(CharInsertableGapContent c) { super(c); DefaultDocumentEvent event = new DefaultDocumentEvent(0, c.length(), DocumentEvent.EventType.INSERT); insertUpdate(event, null); event.end(); fireInsertUpdate(event); } }
private OWLOntology activeOntology() { return getOWLModelManager().getActiveOntology(); }
private boolean showConfirmRenameDialog(OWLOntologyID id, Set<OWLEntity> entities) { String msg = getChangeEntityIRIsConfirmationMessage(id, entities); int ret = JOptionPane.showConfirmDialog(this, msg, "Rename entities as well as ontology?", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); return ret == JOptionPane.YES_OPTION; }
TextAreaWriter(Thread thread, JTextArea jtextArea, int size) { this.thread = thread; this.jtextArea = jtextArea; originalDocument = jtextArea.getDocument(); content = new CharInsertableGapContent(size); }
private void handleModelManagerChangeEvent(OWLModelManagerChangeEvent event) { if (isUpdateTriggeringEvent(event)) { updateView(); } }
private void handleComponentHierarchyChanged() { if (ontologyIRIShowing != ontologyIRIField.isShowing()) { ontologyIRIShowing = ontologyIRIField.isShowing(); if (!ontologyIRIField.isShowing()) { handlePossibleOntologyIdUpdate(); } else { handleOntologyIRIFieldActivated(); } } }
/** * Constructs a plain text document. A default root element is created, * and the tab size set to 8. Text already in c is processed as if it had been inserted - i.e. elements are * created for each line. * * @param c the container for the content */ CharInsertableDocument(CharInsertableGapContent c) { super(c); DefaultDocumentEvent event = new DefaultDocumentEvent(0, c.length(), DocumentEvent.EventType.INSERT); insertUpdate(event, null); event.end(); fireInsertUpdate(event); } }
private void handleOntologyIRIFieldFocusGained() { handleOntologyIRIFieldActivated(); }
private void handleOntologyIRIFieldFocusLost() { handlePossibleOntologyIdUpdate(); }
private boolean showConfirmRenameDialog(OWLOntologyID id, Set<OWLEntity> entities) { String msg = getChangeEntityIRIsConfirmationMessage(id, entities); int ret = JOptionPane.showConfirmDialog(this, msg, "Rename entities as well as ontology?", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); return ret == JOptionPane.YES_OPTION; }
TextAreaWriter(Thread thread, JTextArea jtextArea, int size) { this.thread = thread; this.jtextArea = jtextArea; originalDocument = jtextArea.getDocument(); content = new CharInsertableGapContent(size); }
private void handleModelManagerChangeEvent(OWLModelManagerChangeEvent event) { if (isUpdateTriggeringEvent(event)) { updateView(); } }
private void handleComponentHierarchyChanged() { if (ontologyIRIShowing != ontologyIRIField.isShowing()) { ontologyIRIShowing = ontologyIRIField.isShowing(); if (!ontologyIRIField.isShowing()) { handlePossibleOntologyIdUpdate(); } else { handleOntologyIRIFieldActivated(); } } }
private void handleOntologyIRIFieldFocusGained() { handleOntologyIRIFieldActivated(); }
private void handleOntologyIRIFieldFocusLost() { handlePossibleOntologyIdUpdate(); }
private boolean showConfirmRenameDialog(OWLOntologyID id, Set<OWLEntity> entities) { String msg = getChangeEntityIRIsConfirmationMessage(id, entities); int ret = JOptionPane.showConfirmDialog(this, msg, "Rename entities as well as ontology?", JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); return ret == JOptionPane.YES_OPTION; }