public abstract class ParameterTableModelBase<P extends ParameterInfo,TableItem extends ParameterTableModelItemBase<P>> extends ListTableModel<TableItem> implements RowEditableTableModel
Modifier and Type | Class and Description |
---|---|
protected static class |
ParameterTableModelBase.AnyVarColumn<P extends ParameterInfo,TableItem extends ParameterTableModelItemBase<P>> |
protected static class |
ParameterTableModelBase.ColumnInfoBase<P extends ParameterInfo,TableItem extends ParameterTableModelItemBase<P>,Aspect> |
protected static class |
ParameterTableModelBase.DefaultValueColumn<P extends ParameterInfo,TableItem extends ParameterTableModelItemBase<P>> |
protected static class |
ParameterTableModelBase.NameColumn<P extends ParameterInfo,TableItem extends ParameterTableModelItemBase<P>> |
protected static class |
ParameterTableModelBase.TypeColumn<P extends ParameterInfo,TableItem extends ParameterTableModelItemBase<P>> |
Modifier and Type | Field and Description |
---|---|
protected PsiElement |
myDefaultValueContext |
protected PsiElement |
myTypeContext |
Constructor and Description |
---|
ParameterTableModelBase(PsiElement typeContext,
PsiElement defaultValueContext,
ColumnInfo... columnInfos) |
Modifier and Type | Method and Description |
---|---|
void |
addRow() |
protected abstract TableItem |
createRowItem(P parameterInfo) |
void |
setParameterInfos(java.util.List<? extends P> parameterInfos) |
void |
setValueAtWithoutUpdate(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
addRow, addRows, canExchangeRows, exchangeRows, getAspectOf, getColumnClass, getColumnCount, getColumnInfos, getColumnName, getDefaultSortKey, getItem, getItems, getRowCount, getRowValue, getValueAt, indexOf, insertRow, isCellEditable, isSortable, removeRow, setColumnInfos, setItems, setSortable, setValueAt, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exchangeRows, removeRow
protected final PsiElement myTypeContext
protected final PsiElement myDefaultValueContext
public ParameterTableModelBase(PsiElement typeContext, PsiElement defaultValueContext, ColumnInfo... columnInfos)
public void addRow()
addRow
in interface RowEditableTableModel
addRow
in interface EditableModel
addRow
in class ListTableModel<TableItem extends ParameterTableModelItemBase<P>>
public void setParameterInfos(java.util.List<? extends P> parameterInfos)
public void setValueAtWithoutUpdate(java.lang.Object aValue, int rowIndex, int columnIndex)