edu.stanford.smi.protegex.owl.ui.owltable
Interface OWLTableModel
- All Superinterfaces:
- SymbolTableModel, TableModel
- All Known Implementing Classes:
- AbstractOWLTableModel, ConditionsTableModel, PropertiesDefinitionTableModel, PropertiesSuperclassesTableModel
public interface OWLTableModel
- extends SymbolTableModel
The base TableModel for all OWLTables. This defines those methods that are common
to all TableModel implementations (ConditionsTableModel, EquivalentClassesTableModel,
SuperclassesTableModel, RestrictionsTableModel, and DisjointClassesTableModel).
- Author:
- Holger Knublauch
addRow
boolean addRow(RDFSClass aClass,
int selectedRow)
addEmptyRow
int addEmptyRow(int rowIndex)
deleteRow
void deleteRow(int index)
displaySemanticError
void displaySemanticError(String message)
- Displays an illegal assignment error dialog, e.g. through a JOptionPane.
This can be used if someone tries to assign an illegal superclass to the model.
- Parameters:
message
- the message text
dispose
void dispose()
getClass
RDFSClass getClass(int index)
getClassRow
int getClassRow(RDFSClass cls)
getEditedCls
OWLNamedClass getEditedCls()
isAddEnabledAt
boolean isAddEnabledAt(int rowIndex)
isDeleteEnabledFor
boolean isDeleteEnabledFor(RDFSClass cls)
isEditable
boolean isEditable()
removeEmptyRow
void removeEmptyRow()
setCls
void setCls(OWLNamedClass cls)
Submit a bug report or feature request
Copyright (c) 1998-2007 Stanford University.