public abstract class ReorderableListController<T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
ReorderableListController.ActionDescription |
static interface |
ReorderableListController.ActionNotification<T> |
class |
ReorderableListController.AddActionDescription |
static class |
ReorderableListController.AddActionDescriptionBase<V> |
class |
ReorderableListController.AddMultipleActionDescription |
static class |
ReorderableListController.CustomActionDescription<V> |
class |
ReorderableListController.RemoveActionDescription |
Modifier | Constructor and Description |
---|---|
protected |
ReorderableListController(javax.swing.JList list) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(AnAction action) |
protected abstract void |
addActionDescription(ReorderableListController.ActionDescription description) |
ReorderableListController.AddActionDescription |
addAddAction(java.lang.String actionName,
Factory<? extends T> creator,
boolean createShortcut) |
ReorderableListController.AddMultipleActionDescription |
addAddMultipleAction(java.lang.String actionName,
Factory<? extends java.util.Collection<T>> creator,
boolean createShortcut) |
void |
addMoveDownAction() |
void |
addMoveUpAction() |
ReorderableListController.RemoveActionDescription |
addRemoveAction(java.lang.String actionName) |
static <T> ReorderableListController<T> |
create(javax.swing.JList list,
DefaultActionGroup actionGroup) |
javax.swing.JList |
getList() |
protected ReorderableListController(javax.swing.JList list)
public javax.swing.JList getList()
public ReorderableListController.RemoveActionDescription addRemoveAction(java.lang.String actionName)
protected abstract void addActionDescription(ReorderableListController.ActionDescription description)
public ReorderableListController.AddActionDescription addAddAction(java.lang.String actionName, Factory<? extends T> creator, boolean createShortcut)
public ReorderableListController.AddMultipleActionDescription addAddMultipleAction(java.lang.String actionName, Factory<? extends java.util.Collection<T>> creator, boolean createShortcut)
public void addMoveUpAction()
public void addMoveDownAction()
public void addAction(AnAction action)
public static <T> ReorderableListController<T> create(javax.swing.JList list, DefaultActionGroup actionGroup)