From faaadb9c546e376dd8e8dd6553017d334aa0e0c4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 14 Jun 2008 01:11:32 +0000 Subject: foo --- sources/prefs/editors/VSAbstractEditor.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'sources/prefs/editors/VSAbstractEditor.java') diff --git a/sources/prefs/editors/VSAbstractEditor.java b/sources/prefs/editors/VSAbstractEditor.java index a3f5fe3..fe0e7e4 100644 --- a/sources/prefs/editors/VSAbstractEditor.java +++ b/sources/prefs/editors/VSAbstractEditor.java @@ -233,6 +233,7 @@ public abstract class VSAbstractEditor implements ActionListener { booleanKeys = filterKeys(prefsToEdit.getBooleanKeySet()); stringKeys = filterKeys(prefsToEdit.getStringKeySet()); + fillEditPanelFront(prefsToEdit); fillEditPanel(prefsToEdit); } @@ -537,6 +538,14 @@ public abstract class VSAbstractEditor implements ActionListener { createUnitPanel(prefsToEdit, valField, fullKey), valField); } + /** + * Fills the edit panel at the front. May be overloaded by another class. + * + * @param prefsToEdit the prefs to edit + */ + protected void fillEditPanelFront(VSPrefs prefsToEdit) { + } + /** * Fills the edit panel. * @@ -805,7 +814,7 @@ public abstract class VSAbstractEditor implements ActionListener { * * @param label the label */ - private void addSeparator(String label) { + protected void addSeparator(String label) { editTable.addSeparator(label); } -- cgit v1.2.3