Keeps track of things done in the current session. Such as selections, colouring by gene or index. Creates clickable panels to reselect/recolour. Similar to previous searches list on keyboard but contains selections and other more general stuff as well. Can be accessed without keyboard.
More...
|
bool | Contains (string name, Definitions.HistoryEvent type) |
| Checks if the list already contains an entry. More...
|
|
string | AddEntry (string entryName, Definitions.HistoryEvent type, int id=-1) |
| Adds an entry to the list of saved searches. New entries are added to the top of the list and all entries below that are not locked are pushed down one step. If the list is full, the bottom most entry will be removed from the list. More...
|
|
void | ClearList () |
| Clears the list. More...
|
|
ClickableHistoryPanel | GetPanel (string panelName) |
|
Keeps track of things done in the current session. Such as selections, colouring by gene or index. Creates clickable panels to reselect/recolour. Similar to previous searches list on keyboard but contains selections and other more general stuff as well. Can be accessed without keyboard.
◆ AddEntry()
string CellexalVR.General.SessionHistoryList.AddEntry |
( |
string |
entryName, |
|
|
Definitions.HistoryEvent |
type, |
|
|
int |
id = -1 |
|
) |
| |
Adds an entry to the list of saved searches. New entries are added to the top of the list and all entries below that are not locked are pushed down one step. If the list is full, the bottom most entry will be removed from the list.
- Parameters
-
name | The name of the thing we are adding to the list. |
type | The type of the thing. |
coloringMethod | The method of coloring that used. |
id | Optional argument for unique id of entry to be able to recreate a copy. Can be for example a layoutseed for networks so that layout will be the same when recreated. |
- Returns
◆ ClearList()
void CellexalVR.General.SessionHistoryList.ClearList |
( |
| ) |
|
◆ Contains()
bool CellexalVR.General.SessionHistoryList.Contains |
( |
string |
name, |
|
|
Definitions.HistoryEvent |
type |
|
) |
| |
Checks if the list already contains an entry.
- Parameters
-
name | THe name of the thing in the entry. |
type | The type of the entry. |
coloringMethod | The coloring method that was used. |
- Returns
- True if an entry of this kind was already in the list, false otherwise.
◆ referenceManager
Represents the list of the 10 previous things done in session.
The documentation for this class was generated from the following file:
- cellexalvr_cloudxr/Assets/Scripts/General/SessionHistoryList.cs