Public Member Functions | |
UserInputHistory (String name) | |
UserInputHistory (String name, int depth) | |
String | getName () |
int | getDepth () |
String[] | getHistory () |
void | addLine (String line) |
void | clear () |
Static Public Member Functions | |
static Preferences | getPreference (String node) |
static void | setPreference (Preferences pref) |
Protected Member Functions | |
void | loadHistoryLines () |
void | saveHistoryLines () |
Static Package Attributes | |
static final String | NODE_HPC = "edu.rice.cs.hpc" |
Private Attributes | |
String | name |
int | depth |
List< String > | history |
Static Private Attributes | |
static final String | HISTORY_NAME_BASE = "history." |
static final String | ENCODING = "UTF-8" |
static final Preferences | CONFIGURATION = ConfigurationScope.INSTANCE.getNode(NODE_HPC) |
Definition at line 21 of file UserInputHistory.java.
edu.rice.cs.hpc.common.util.UserInputHistory.UserInputHistory | ( | String | name | ) |
Definition at line 38 of file UserInputHistory.java.
edu.rice.cs.hpc.common.util.UserInputHistory.UserInputHistory | ( | String | name, | |
int | depth | |||
) |
Definition at line 42 of file UserInputHistory.java.
References edu.rice.cs.hpc.common.util.UserInputHistory.loadHistoryLines().
void edu.rice.cs.hpc.common.util.UserInputHistory.addLine | ( | String | line | ) |
Definition at line 61 of file UserInputHistory.java.
References edu.rice.cs.hpc.common.util.UserInputHistory.depth, edu.rice.cs.hpc.common.util.UserInputHistory.history, and edu.rice.cs.hpc.common.util.UserInputHistory.saveHistoryLines().
Referenced by edu.rice.cs.hpc.viewer.metric.ExtDerivedMetricDlg.okPressed(), edu.rice.cs.hpc.traceviewer.ui.OpenDatabaseDialog.okPressed(), and edu.rice.cs.hpc.traceviewer.filter.DualInputDialog.okPressed().
void edu.rice.cs.hpc.common.util.UserInputHistory.clear | ( | ) |
Definition at line 73 of file UserInputHistory.java.
References edu.rice.cs.hpc.common.util.UserInputHistory.history, and edu.rice.cs.hpc.common.util.UserInputHistory.saveHistoryLines().
int edu.rice.cs.hpc.common.util.UserInputHistory.getDepth | ( | ) |
Definition at line 53 of file UserInputHistory.java.
References edu.rice.cs.hpc.common.util.UserInputHistory.depth.
String [] edu.rice.cs.hpc.common.util.UserInputHistory.getHistory | ( | ) |
Definition at line 57 of file UserInputHistory.java.
References edu.rice.cs.hpc.common.util.UserInputHistory.history.
Referenced by edu.rice.cs.hpc.viewer.metric.ExtDerivedMetricDlg.createDialogArea(), edu.rice.cs.hpc.traceviewer.ui.OpenDatabaseDialog.createDialogArea(), edu.rice.cs.hpc.traceviewer.filter.DualInputDialog.createDialogArea(), and edu.rice.cs.hpc.traceviewer.ui.OpenDatabaseDialog.setComboWithHistory().
String edu.rice.cs.hpc.common.util.UserInputHistory.getName | ( | ) |
Definition at line 49 of file UserInputHistory.java.
References edu.rice.cs.hpc.common.util.UserInputHistory.name.
static Preferences edu.rice.cs.hpc.common.util.UserInputHistory.getPreference | ( | String | node | ) | [static] |
Definition at line 83 of file UserInputHistory.java.
References edu.rice.cs.hpc.common.util.UserInputHistory.CONFIGURATION.
Referenced by edu.rice.cs.hpc.common.util.UserInputHistory.loadHistoryLines(), and edu.rice.cs.hpc.common.util.UserInputHistory.saveHistoryLines().
void edu.rice.cs.hpc.common.util.UserInputHistory.loadHistoryLines | ( | ) | [protected] |
Definition at line 101 of file UserInputHistory.java.
References edu.rice.cs.hpc.common.util.UserInputHistory.getPreference(), edu.rice.cs.hpc.common.util.UserInputHistory.history, edu.rice.cs.hpc.common.util.UserInputHistory.HISTORY_NAME_BASE, and edu.rice.cs.hpc.common.util.UserInputHistory.name.
Referenced by edu.rice.cs.hpc.common.util.UserInputHistory.UserInputHistory().
void edu.rice.cs.hpc.common.util.UserInputHistory.saveHistoryLines | ( | ) | [protected] |
Definition at line 118 of file UserInputHistory.java.
References edu.rice.cs.hpc.common.util.UserInputHistory.getPreference(), edu.rice.cs.hpc.common.util.UserInputHistory.history, edu.rice.cs.hpc.common.util.UserInputHistory.HISTORY_NAME_BASE, edu.rice.cs.hpc.common.util.UserInputHistory.name, and edu.rice.cs.hpc.common.util.UserInputHistory.setPreference().
Referenced by edu.rice.cs.hpc.common.util.UserInputHistory.addLine(), and edu.rice.cs.hpc.common.util.UserInputHistory.clear().
static void edu.rice.cs.hpc.common.util.UserInputHistory.setPreference | ( | Preferences | pref | ) | [static] |
Definition at line 91 of file UserInputHistory.java.
Referenced by edu.rice.cs.hpc.common.util.UserInputHistory.saveHistoryLines().
final Preferences edu.rice.cs.hpc.common.util.UserInputHistory.CONFIGURATION = ConfigurationScope.INSTANCE.getNode(NODE_HPC) [static, private] |
Definition at line 31 of file UserInputHistory.java.
Referenced by edu.rice.cs.hpc.common.util.UserInputHistory.getPreference().
int edu.rice.cs.hpc.common.util.UserInputHistory.depth [private] |
Definition at line 34 of file UserInputHistory.java.
Referenced by edu.rice.cs.hpc.common.util.UserInputHistory.addLine(), and edu.rice.cs.hpc.common.util.UserInputHistory.getDepth().
final String edu.rice.cs.hpc.common.util.UserInputHistory.ENCODING = "UTF-8" [static, private] |
Definition at line 23 of file UserInputHistory.java.
List<String> edu.rice.cs.hpc.common.util.UserInputHistory.history [private] |
Definition at line 35 of file UserInputHistory.java.
Referenced by edu.rice.cs.hpc.common.util.UserInputHistory.addLine(), edu.rice.cs.hpc.common.util.UserInputHistory.clear(), edu.rice.cs.hpc.common.util.UserInputHistory.getHistory(), edu.rice.cs.hpc.common.util.UserInputHistory.loadHistoryLines(), and edu.rice.cs.hpc.common.util.UserInputHistory.saveHistoryLines().
final String edu.rice.cs.hpc.common.util.UserInputHistory.HISTORY_NAME_BASE = "history." [static, private] |
Definition at line 22 of file UserInputHistory.java.
Referenced by edu.rice.cs.hpc.common.util.UserInputHistory.loadHistoryLines(), and edu.rice.cs.hpc.common.util.UserInputHistory.saveHistoryLines().
String edu.rice.cs.hpc.common.util.UserInputHistory.name [private] |
Definition at line 33 of file UserInputHistory.java.
Referenced by edu.rice.cs.hpc.common.util.UserInputHistory.getName(), edu.rice.cs.hpc.common.util.UserInputHistory.loadHistoryLines(), and edu.rice.cs.hpc.common.util.UserInputHistory.saveHistoryLines().
final String edu.rice.cs.hpc.common.util.UserInputHistory.NODE_HPC = "edu.rice.cs.hpc" [static, package] |
Definition at line 29 of file UserInputHistory.java.