public class VariableListItem extends Object implements org.protege.editor.core.ui.list.MListItem, OPPLMacroStatusChange
| Constructor and Description |
|---|
VariableListItem(Variable<?> variable,
ConstraintSystem constraintSystem,
org.protege.editor.owl.OWLEditorKit owlEditorKit,
boolean isEditable,
boolean isDeleatable) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOPPLMacroListener(OPPLMacroListener listener) |
boolean |
equals(Object obj) |
ConstraintSystem |
getConstraintSystem() |
protected org.protege.editor.owl.OWLEditorKit |
getOwlEditorKit() |
RuntimeExceptionHandler |
getRuntimeExceptionHandler() |
String |
getTooltip() |
Variable<?> |
getVariable() |
boolean |
handleDelete() |
void |
handleEdit() |
int |
hashCode() |
boolean |
isDeleteable() |
boolean |
isEditable() |
void |
removeOPPLMacroListener(OPPLMacroListener listener) |
protected Variable<?> variable
public VariableListItem(Variable<?> variable, ConstraintSystem constraintSystem, org.protege.editor.owl.OWLEditorKit owlEditorKit, boolean isEditable, boolean isDeleatable)
variable - variableconstraintSystem - constraintSystemowlEditorKit - owlEditorKitisEditable - isEditableisDeleatable - isDeleatablepublic String getTooltip()
getTooltip in interface org.protege.editor.core.ui.list.MListItempublic boolean handleDelete()
handleDelete in interface org.protege.editor.core.ui.list.MListItempublic void handleEdit()
handleEdit in interface org.protege.editor.core.ui.list.MListItempublic boolean isDeleteable()
isDeleteable in interface org.protege.editor.core.ui.list.MListItempublic boolean isEditable()
isEditable in interface org.protege.editor.core.ui.list.MListItempublic Variable<?> getVariable()
public void addOPPLMacroListener(OPPLMacroListener listener)
addOPPLMacroListener in interface OPPLMacroStatusChangelistener - listenerpublic void removeOPPLMacroListener(OPPLMacroListener listener)
removeOPPLMacroListener in interface OPPLMacroStatusChangelistener - listenerprotected final org.protege.editor.owl.OWLEditorKit getOwlEditorKit()
public ConstraintSystem getConstraintSystem()
public RuntimeExceptionHandler getRuntimeExceptionHandler()
Copyright © 2014 The University of Manchester. All Rights Reserved.