E - the type of history entriespublic abstract static class HistoryDropDownAction.History<E>
extends java.lang.Object
HistoryDropDownAction.| Constructor and Description |
|---|
History() |
| Modifier and Type | Method and Description |
|---|---|
abstract E |
getActiveEntry()
Returns the history entry currently designated as 'active'.
|
abstract java.util.List<E> |
getHistoryEntries()
Returns a list of the history entries.
|
abstract org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(E entry)
Returns an image descriptor for the given history entry.
|
abstract java.lang.String |
getLabel(E entry)
Returns a user-readable text label for the given history entry.
|
abstract void |
setActiveEntry(E entry)
Designates the given history entry as the currently 'active' entry.
|
abstract void |
setHistoryEntries(java.util.List<E> entries)
Replaces the history entries with the given entries.
|
public abstract java.util.List<E> getHistoryEntries()
null, may be empty,
must not contain nulls)public abstract void setHistoryEntries(java.util.List<E> entries)
entries - never null, may be empty, does not
contain nullspublic abstract E getActiveEntry()
null)public abstract void setActiveEntry(E entry)
entry - never nullpublic abstract java.lang.String getLabel(E entry)
entry - never nullnull)public abstract org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(E entry)
entry - never nullnull)Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0