public class PatternBuilder extends org.protege.editor.owl.ui.editor.AbstractOWLObjectEditor<PatternModel> implements VerifiedInputEditor, PatternModelChangeListener, HasPatternModel, Serializable
| Modifier and Type | Class and Description |
|---|---|
class |
PatternBuilder.PatternBuilderVariableListItem |
| Modifier and Type | Field and Description |
|---|---|
protected ActionList |
actionList |
protected JCheckBox |
allowReturnValueCheckBox |
protected DefaultListModel<Object> |
errorListModel |
protected JTextField |
nameEditor |
protected org.protege.editor.owl.OWLEditorKit |
owlEditorKit |
protected org.coode.patterns.protege.ui.PatternBuilder.PatternBuilderModel |
patternBuilderModel |
protected PatternModel |
patternModel |
protected DefaultComboBoxModel<Object> |
returnValueListModel |
protected JComboBox<Object> |
returnValuesComboBox |
protected org.coode.patterns.protege.ui.PatternBuilder.PatternVariableList |
variableList |
| Constructor and Description |
|---|
PatternBuilder(org.protege.editor.owl.OWLEditorKit owlEditorKit,
AbstractPatternModelFactory f) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatusChangedListener(InputVerificationStatusChangedListener listener) |
boolean |
canEdit(Object object) |
void |
dispose() |
PatternModel |
getEditedObject() |
JComponent |
getEditorComponent() |
String |
getEditorTypeName() |
PatternModel |
getPatternModel() |
void |
handleChange() |
void |
removeStatusChangedListener(InputVerificationStatusChangedListener listener) |
protected void |
renderingUpdate() |
boolean |
setEditedObject(PatternModel editedObject) |
void |
setPatternModel(PatternModel patternModel) |
protected final org.protege.editor.owl.OWLEditorKit owlEditorKit
protected PatternModel patternModel
protected final org.coode.patterns.protege.ui.PatternBuilder.PatternVariableList variableList
protected final ActionList actionList
protected final JTextField nameEditor
protected final JCheckBox allowReturnValueCheckBox
protected final DefaultComboBoxModel<Object> returnValueListModel
protected final org.coode.patterns.protege.ui.PatternBuilder.PatternBuilderModel patternBuilderModel
protected final DefaultListModel<Object> errorListModel
public PatternBuilder(org.protege.editor.owl.OWLEditorKit owlEditorKit,
AbstractPatternModelFactory f)
owlEditorKit - owlEditorKitf - factoryprotected void renderingUpdate()
public void addStatusChangedListener(InputVerificationStatusChangedListener listener)
addStatusChangedListener in interface VerifiedInputEditorpublic void removeStatusChangedListener(InputVerificationStatusChangedListener listener)
removeStatusChangedListener in interface VerifiedInputEditorpublic PatternModel getPatternModel()
getPatternModel in interface HasPatternModelpublic void handleChange()
handleChange in interface PatternModelChangeListenerpublic void dispose()
dispose in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<PatternModel>public PatternModel getEditedObject()
getEditedObject in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<PatternModel>public JComponent getEditorComponent()
getEditorComponent in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<PatternModel>public void setPatternModel(PatternModel patternModel)
patternModel - the patternModel to setpublic boolean canEdit(Object object)
canEdit in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<PatternModel>public boolean setEditedObject(PatternModel editedObject)
setEditedObject in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<PatternModel>public String getEditorTypeName()
getEditorTypeName in interface org.protege.editor.owl.ui.editor.OWLObjectEditor<PatternModel>Copyright © 2014 The University of Manchester. All Rights Reserved.