public class PatternInstantiationEditor extends org.protege.editor.owl.ui.editor.AbstractOWLObjectEditor<InstantiatedPatternModel> implements org.protege.editor.core.ui.util.VerifiedInputEditor, ListDataListener, ListSelectionListener
| Modifier and Type | Field and Description |
|---|---|
protected InstantiatedPatternModel |
instantiatedPatternModel |
protected LocalityCheckerActionListener |
localityChecker |
protected Set<org.semanticweb.owlapi.model.OWLEntity> |
localityCheckerSignature |
protected VariableListModel<org.semanticweb.owlapi.model.OWLEntity> |
localityCheckerSignatureModel |
protected org.semanticweb.owlapi.model.OWLClass |
owlClass |
protected org.protege.editor.owl.OWLEditorKit |
owlEditorKit |
protected JComboBox |
patternList |
protected VariableList |
variableList |
| Constructor and Description |
|---|
PatternInstantiationEditor(org.protege.editor.owl.OWLEditorKit owlEditorKit,
AbstractPatternModelFactory f)
Builds a PatternInstantiationEditor for instantiating non-class patterns
|
PatternInstantiationEditor(org.protege.editor.owl.OWLEditorKit owlEditorKit,
org.semanticweb.owlapi.model.OWLClass owlClass,
AbstractPatternModelFactory f)
Builds a PatternInstantiationEditor for a specific class, i.e.: an editor
for instantiating class patterns
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStatusChangedListener(org.protege.editor.core.ui.util.InputVerificationStatusChangedListener listener) |
boolean |
canEdit(Object object) |
void |
contentsChanged(ListDataEvent e) |
void |
dispose() |
InstantiatedPatternModel |
getEditedObject() |
JComponent |
getEditorComponent() |
String |
getEditorTypeName() |
void |
handleChange()
change listener
|
void |
intervalAdded(ListDataEvent e) |
void |
intervalRemoved(ListDataEvent e) |
protected void |
refreshEffectsPanel() |
protected void |
refreshInstantiationPanel() |
void |
removeStatusChangedListener(org.protege.editor.core.ui.util.InputVerificationStatusChangedListener listener) |
boolean |
setEditedObject(InstantiatedPatternModel editedObject) |
void |
setInstantiatedPatternModel(InstantiatedPatternModel patternModel) |
void |
valueChanged(ListSelectionEvent e) |
protected final org.protege.editor.owl.OWLEditorKit owlEditorKit
protected JComboBox patternList
protected InstantiatedPatternModel instantiatedPatternModel
protected org.semanticweb.owlapi.model.OWLClass owlClass
protected VariableList variableList
protected LocalityCheckerActionListener localityChecker
protected final Set<org.semanticweb.owlapi.model.OWLEntity> localityCheckerSignature
protected final VariableListModel<org.semanticweb.owlapi.model.OWLEntity> localityCheckerSignatureModel
public PatternInstantiationEditor(org.protege.editor.owl.OWLEditorKit owlEditorKit,
org.semanticweb.owlapi.model.OWLClass owlClass,
AbstractPatternModelFactory f)
owlEditorKit - owlEditorKitowlClass - owlClassf - fpublic PatternInstantiationEditor(org.protege.editor.owl.OWLEditorKit owlEditorKit,
AbstractPatternModelFactory f)
owlEditorKit - owlEditorKitf - fpublic boolean setEditedObject(InstantiatedPatternModel editedObject)
setEditedObject in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<InstantiatedPatternModel>public void dispose()
dispose in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<InstantiatedPatternModel>public InstantiatedPatternModel getEditedObject()
getEditedObject in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<InstantiatedPatternModel>public JComponent getEditorComponent()
getEditorComponent in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<InstantiatedPatternModel>public void addStatusChangedListener(org.protege.editor.core.ui.util.InputVerificationStatusChangedListener listener)
addStatusChangedListener in interface org.protege.editor.core.ui.util.VerifiedInputEditorpublic void removeStatusChangedListener(org.protege.editor.core.ui.util.InputVerificationStatusChangedListener listener)
removeStatusChangedListener in interface org.protege.editor.core.ui.util.VerifiedInputEditorprotected void refreshEffectsPanel()
protected void refreshInstantiationPanel()
public void handleChange()
public void setInstantiatedPatternModel(InstantiatedPatternModel patternModel)
patternModel - patternModelpublic void contentsChanged(ListDataEvent e)
contentsChanged in interface ListDataListenerpublic void intervalAdded(ListDataEvent e)
intervalAdded in interface ListDataListenerpublic void intervalRemoved(ListDataEvent e)
intervalRemoved in interface ListDataListenerpublic void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenerpublic String getEditorTypeName()
getEditorTypeName in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<InstantiatedPatternModel>public boolean canEdit(Object object)
canEdit in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<InstantiatedPatternModel>Copyright © 2014 The University of Manchester. All Rights Reserved.