public class InputHistory extends Object
Modifier and Type | Field and Description |
---|---|
protected org.eclipse.jface.dialogs.IDialogSettings |
dialogSettings
dialog settings to store input history
|
protected static int |
MAX_HISTORY
the history limit
|
Constructor and Description |
---|
InputHistory(String sectionName) |
InputHistory(String sectionName,
String[] privileged) |
Modifier and Type | Method and Description |
---|---|
void |
add(org.eclipse.swt.widgets.Control combo)
Adds an input control to the list of fields to save.
|
void |
add(String id,
org.eclipse.swt.widgets.Control combo)
Adds an input control to the list of fields to save.
|
void |
load()
Loads the input history from the dialog settings.
|
void |
save()
Saves the input history into the dialog settings.
|
protected static final int MAX_HISTORY
protected org.eclipse.jface.dialogs.IDialogSettings dialogSettings
public InputHistory(String sectionName)
public void load()
public void save()
public void add(org.eclipse.swt.widgets.Control combo)
public void add(String id, org.eclipse.swt.widgets.Control combo)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.