summaryrefslogtreecommitdiff
path: root/sources/prefs
diff options
context:
space:
mode:
Diffstat (limited to 'sources/prefs')
-rw-r--r--sources/prefs/VSDefaultPrefs.java16
-rw-r--r--sources/prefs/VSPrefs.java3
-rw-r--r--sources/prefs/editors/VSBetterEditor.java2
-rw-r--r--sources/prefs/editors/VSColorChooser.java2
-rw-r--r--sources/prefs/editors/VSEditor.java14
-rw-r--r--sources/prefs/editors/VSEditorFrame.java2
-rw-r--r--sources/prefs/editors/VSEditorTable.java8
-rw-r--r--sources/prefs/editors/VSProcessEditor.java2
-rw-r--r--sources/prefs/editors/VSSimulatorEditor.java4
9 files changed, 20 insertions, 33 deletions
diff --git a/sources/prefs/VSDefaultPrefs.java b/sources/prefs/VSDefaultPrefs.java
index 8e4fb03..bd978e9 100644
--- a/sources/prefs/VSDefaultPrefs.java
+++ b/sources/prefs/VSDefaultPrefs.java
@@ -7,7 +7,6 @@ package prefs;
import java.awt.Color;
import java.awt.event.KeyEvent;
-// TODO: Auto-generated Javadoc
/**
* The Class VSDefaultPrefs.
*/
@@ -15,22 +14,11 @@ public class VSDefaultPrefs extends VSPrefs {
private static final long serialVersionUID = 1L;
/**
- * Inits the.
+ * Inits a prefs object with default values.
*
- * @return the vS prefs
+ * @return the lang.process.removeprefs
*/
public static VSPrefs init() {
- return init(VSPrefs.PREFERENCES_FILENAME);
- }
-
- /**
- * Inits the.
- *
- * @param fileName the file name
- *
- * @return the vS prefs
- */
- public static VSPrefs init(String fileName) {
VSPrefs prefs = new VSDefaultPrefs();
prefs.fillWithDefaults();
return prefs;
diff --git a/sources/prefs/VSPrefs.java b/sources/prefs/VSPrefs.java
index 6948dee..0aa8a01 100644
--- a/sources/prefs/VSPrefs.java
+++ b/sources/prefs/VSPrefs.java
@@ -8,7 +8,6 @@ import java.awt.Color;
import java.io.*;
import java.util.*;
-// TODO: Auto-generated Javadoc
/**
* The Class VSPrefs.
*/
@@ -154,7 +153,7 @@ public abstract class VSPrefs implements Serializable {
}
/**
- * Instantiates a new vS prefs.
+ * Instantiates a new lang.process.removeprefs.
*/
public VSPrefs() {
colorPrefs = new HashMap<String,Color>();
diff --git a/sources/prefs/editors/VSBetterEditor.java b/sources/prefs/editors/VSBetterEditor.java
index 79470ba..80f3290 100644
--- a/sources/prefs/editors/VSBetterEditor.java
+++ b/sources/prefs/editors/VSBetterEditor.java
@@ -27,7 +27,7 @@ public abstract class VSBetterEditor extends VSEditor {
private String title;
/**
- * Instantiates a new vS better editor.
+ * Instantiates a new lang.process.removebetter editor.
*
* @param prefs the prefs
* @param prefsToEdit the prefs to edit
diff --git a/sources/prefs/editors/VSColorChooser.java b/sources/prefs/editors/VSColorChooser.java
index 0b5c849..abeba31 100644
--- a/sources/prefs/editors/VSColorChooser.java
+++ b/sources/prefs/editors/VSColorChooser.java
@@ -30,7 +30,7 @@ public class VSColorChooser extends JPanel implements ChangeListener {
//private VSPrefs prefs;
/**
- * Instantiates a new vS color chooser.
+ * Instantiates a new lang.process.removecolor chooser.
*
* @param prefs the prefs
* @param valField the val field
diff --git a/sources/prefs/editors/VSEditor.java b/sources/prefs/editors/VSEditor.java
index 013b62a..f1d4991 100644
--- a/sources/prefs/editors/VSEditor.java
+++ b/sources/prefs/editors/VSEditor.java
@@ -91,7 +91,7 @@ public abstract class VSEditor implements ActionListener {
public static final int SIMULATION_PREFERENCES = 1;
/**
- * Instantiates a new vS editor.
+ * Instantiates a new lang.process.removeeditor.
*
* @param prefs the prefs
* @param prefsToEdit the prefs to edit
@@ -300,7 +300,7 @@ public abstract class VSEditor implements ActionListener {
* @param key the key
* @param prefsToEdit the prefs to edit
*
- * @return the vS tupel< string, component, j combo box>
+ * @return the lang.process.removetupel< string, component, j combo box>
*/
protected VSTupel<String,Component,JComboBox> createIntegerComponent(String fullKey, String key, VSPrefs prefsToEdit) {
String descr = prefsToEdit.getDescription(fullKey);
@@ -336,7 +336,7 @@ public abstract class VSEditor implements ActionListener {
* @param key the key
* @param prefsToEdit the prefs to edit
*
- * @return the vS tupel< string, component, j check box>
+ * @return the lang.process.removetupel< string, component, j check box>
*/
protected VSTupel<String,Component,JCheckBox> createBooleanComponent(String fullKey, String key, VSPrefs prefsToEdit) {
final String activated = prefs.getString("lang.activated");
@@ -355,7 +355,7 @@ public abstract class VSEditor implements ActionListener {
* @param key the key
* @param prefsToEdit the prefs to edit
*
- * @return the vS tupel< string, component, j text field>
+ * @return the lang.process.removetupel< string, component, j text field>
*/
protected VSTupel<String,Component,JTextField> createLongComponent(String fullKey, String key, VSPrefs prefsToEdit) {
String descr = prefsToEdit.getDescription(fullKey);
@@ -380,7 +380,7 @@ public abstract class VSEditor implements ActionListener {
* @param key the key
* @param prefsToEdit the prefs to edit
*
- * @return the vS tupel< string, component, j text field>
+ * @return the lang.process.removetupel< string, component, j text field>
*/
protected VSTupel<String,Component,JTextField> createFloatComponent(String fullKey, String key, VSPrefs prefsToEdit) {
String descr = prefsToEdit.getDescription(fullKey);
@@ -405,7 +405,7 @@ public abstract class VSEditor implements ActionListener {
* @param key the key
* @param prefsToEdit the prefs to edit
*
- * @return the vS tupel< string, component, j text field>
+ * @return the lang.process.removetupel< string, component, j text field>
*/
protected VSTupel<String,Component,JTextField> createColorComponent(String fullKey, String key, final VSPrefs prefsToEdit) {
String descr = prefsToEdit.getDescription(fullKey);
@@ -446,7 +446,7 @@ public abstract class VSEditor implements ActionListener {
* @param key the key
* @param prefsToEdit the prefs to edit
*
- * @return the vS tupel< string, component, j text field>
+ * @return the lang.process.removetupel< string, component, j text field>
*/
protected VSTupel<String,Component,JTextField> createStringComponent(String fullKey, String key, VSPrefs prefsToEdit) {
String descr = prefsToEdit.getDescription(fullKey);
diff --git a/sources/prefs/editors/VSEditorFrame.java b/sources/prefs/editors/VSEditorFrame.java
index 9af98fa..be41902 100644
--- a/sources/prefs/editors/VSEditorFrame.java
+++ b/sources/prefs/editors/VSEditorFrame.java
@@ -24,7 +24,7 @@ public class VSEditorFrame extends VSFrame implements ActionListener {
private VSPrefs prefs;
/**
- * Instantiates a new vS editor frame.
+ * Instantiates a new lang.process.removeeditor frame.
*
* @param prefs the prefs
* @param relativeTo the relative to
diff --git a/sources/prefs/editors/VSEditorTable.java b/sources/prefs/editors/VSEditorTable.java
index 4963f68..68d5e49 100644
--- a/sources/prefs/editors/VSEditorTable.java
+++ b/sources/prefs/editors/VSEditorTable.java
@@ -44,7 +44,7 @@ public class VSEditorTable extends JTable {
private Component comp;
/**
- * Instantiates a new vS node.
+ * Instantiates a new lang.process.removenode.
*
* @param key the key
*/
@@ -53,7 +53,7 @@ public class VSEditorTable extends JTable {
}
/**
- * Instantiates a new vS node.
+ * Instantiates a new lang.process.removenode.
*
* @param key the key
* @param comp the comp
@@ -107,7 +107,7 @@ public class VSEditorTable extends JTable {
private static final long serialVersionUID = 1L;
/**
- * Instantiates a new vS editor table model.
+ * Instantiates a new lang.process.removeeditor table model.
*/
public VSEditorTableModel() {
}
@@ -226,7 +226,7 @@ public class VSEditorTable extends JTable {
}
/**
- * Instantiates a new vS editor table.
+ * Instantiates a new lang.process.removeeditor table.
*
* @param prefs the prefs
*/
diff --git a/sources/prefs/editors/VSProcessEditor.java b/sources/prefs/editors/VSProcessEditor.java
index fc0e01d..1d81d76 100644
--- a/sources/prefs/editors/VSProcessEditor.java
+++ b/sources/prefs/editors/VSProcessEditor.java
@@ -26,7 +26,7 @@ public class VSProcessEditor extends VSBetterEditor {
public static boolean TAKEOVER_BUTTON;
/**
- * Instantiates a new vS process editor.
+ * Instantiates a new lang.process.removeprocess editor.
*
* @param prefs the prefs
* @param process the process
diff --git a/sources/prefs/editors/VSSimulatorEditor.java b/sources/prefs/editors/VSSimulatorEditor.java
index 2bd965f..1b50fb3 100644
--- a/sources/prefs/editors/VSSimulatorEditor.java
+++ b/sources/prefs/editors/VSSimulatorEditor.java
@@ -29,7 +29,7 @@ public class VSSimulatorEditor extends VSBetterEditor {
private boolean dontStartNewSimulation;
/**
- * Instantiates a new vS simulator editor.
+ * Instantiates a new lang.process.removesimulator editor.
*
* @param prefs the prefs
* @param simulatorFrame the simulator frame
@@ -44,7 +44,7 @@ public class VSSimulatorEditor extends VSBetterEditor {
}
/**
- * Instantiates a new vS simulator editor.
+ * Instantiates a new lang.process.removesimulator editor.
*
* @param prefs the prefs
* @param simulatorFrame the simulator frame