public abstract class ListTableWithButtons<T>
extends java.util.Observable
Modifier and Type | Class and Description |
---|---|
protected static class |
ListTableWithButtons.ElementsColumnInfoBase<T> |
Modifier | Constructor and Description |
---|---|
protected |
ListTableWithButtons() |
Modifier and Type | Method and Description |
---|---|
protected void |
addNewElement(T newElement) |
protected abstract boolean |
canDeleteElement(T selection) |
protected abstract T |
cloneElement(T variable) |
protected AnActionButtonRunnable |
createAddAction() |
protected abstract T |
createElement() |
protected AnActionButton [] |
createExtraActions() |
protected abstract ListTableModel |
createListModel() |
protected AnActionButtonRunnable |
createRemoveAction() |
protected ToolbarDecorator |
createToolbarDecorator() |
protected void |
editSelection(int column) |
CommonActionsPanel |
getActionsPanel() |
javax.swing.JComponent |
getComponent() |
protected java.util.List<T> |
getElements() |
protected java.util.List<T> |
getSelection() |
TableView<T> |
getTableView() |
protected abstract boolean |
isEmpty(T element) |
protected boolean |
isUpDownSupported() |
void |
refreshValues() |
protected void |
removeSelected() |
void |
setDisabled() |
void |
setEnabled() |
protected void |
setModified() |
protected void |
setSelection(T element) |
void |
setValues(java.util.List<? extends T> envVariables) |
protected boolean |
shouldEditRowOnCreation() |
void |
stopEditing() |
protected ToolbarDecorator createToolbarDecorator()
protected AnActionButtonRunnable createRemoveAction()
protected AnActionButtonRunnable createAddAction()
protected void addNewElement(T newElement)
protected void removeSelected()
protected abstract ListTableModel createListModel()
protected void setModified()
protected java.util.List<T> getElements()
public javax.swing.JComponent getComponent()
public CommonActionsPanel getActionsPanel()
public void setEnabled()
public void setDisabled()
public void stopEditing()
public void refreshValues()
protected void setSelection(T element)
protected void editSelection(int column)
protected abstract T createElement()
protected abstract boolean isEmpty(T element)
protected AnActionButton [] createExtraActions()
protected java.util.List<T> getSelection()
public void setValues(java.util.List<? extends T> envVariables)
protected boolean isUpDownSupported()
protected boolean shouldEditRowOnCreation()
protected abstract boolean canDeleteElement(T selection)