diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-25 09:09:46 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-25 09:09:46 +0000 |
| commit | 73d9798f8bccd2bfc3169e95790c7fc185701188 (patch) | |
| tree | 5359b7cd0da71450e64a975cec4fced01a8d0fcb /sources | |
| parent | 009350323123fc4b47041cb2194e8df19f69423b (diff) | |
comments.
Diffstat (limited to 'sources')
27 files changed, 44 insertions, 68 deletions
diff --git a/sources/core/VSTaskManager.java b/sources/core/VSTaskManager.java index 7e49b76..3cf1e12 100644 --- a/sources/core/VSTaskManager.java +++ b/sources/core/VSTaskManager.java @@ -33,7 +33,7 @@ public class VSTaskManager { private VSPrefs prefs; /** - * Instantiates a new vS task manager. + * Instantiates a new lang.process.removetask manager. * * @param prefs the prefs */ diff --git a/sources/events/VSEvent.java b/sources/events/VSEvent.java index ddf77ca..eba60b1 100644 --- a/sources/events/VSEvent.java +++ b/sources/events/VSEvent.java @@ -7,12 +7,10 @@ package events; import core.VSProcess; import prefs.VSPrefs; -// TODO: Auto-generated Javadoc /** * The Class VSEvent. */ abstract public class VSEvent extends VSPrefs { - /** The prefs. */ protected VSPrefs prefs; diff --git a/sources/events/VSRegisteredEvents.java b/sources/events/VSRegisteredEvents.java index b6565d1..6390694 100644 --- a/sources/events/VSRegisteredEvents.java +++ b/sources/events/VSRegisteredEvents.java @@ -10,12 +10,10 @@ import prefs.*; import core.*; import utils.*; -// TODO: Auto-generated Javadoc /** * The Class VSRegisteredEvents. */ public final class VSRegisteredEvents { - /** The event classnames. */ private static HashMap<String,String> eventClassnames; @@ -185,7 +183,7 @@ public final class VSRegisteredEvents { * @param eventClassname the event classname * @param process the process * - * @return the vS event + * @return the lang.process.removeevent */ public static VSEvent createEventInstanceByClassname(String eventClassname, VSProcess process) { final Object protocolObj = new VSClassLoader().newInstance(eventClassname); @@ -205,7 +203,7 @@ public final class VSRegisteredEvents { * @param eventName the event name * @param process the process * - * @return the vS event + * @return the lang.process.removeevent */ public static VSEvent createEventInstanceByName(String eventName, VSProcess process) { return createEventInstanceByClassname(eventClassnames.get(eventName), process); @@ -222,7 +220,6 @@ public final class VSRegisteredEvents { if (eventShortname == null) eventShortname = eventName; - //System.out.println(eventClassname); eventNames.put(eventClassname, eventName); eventShortnames.put(eventClassname, eventShortname); eventClassnames.put(eventName, eventClassname); diff --git a/sources/events/implementations/ProcessCrashEvent.java b/sources/events/implementations/ProcessCrashEvent.java index bb5c522..2064371 100644 --- a/sources/events/implementations/ProcessCrashEvent.java +++ b/sources/events/implementations/ProcessCrashEvent.java @@ -6,7 +6,6 @@ package events.implementations; import events.VSEvent; -// TODO: Auto-generated Javadoc /** * The Class ProcessCrashEvent. */ diff --git a/sources/events/implementations/ProcessRecoverEvent.java b/sources/events/implementations/ProcessRecoverEvent.java index d133127..b5a4e06 100644 --- a/sources/events/implementations/ProcessRecoverEvent.java +++ b/sources/events/implementations/ProcessRecoverEvent.java @@ -6,7 +6,6 @@ package events.implementations; import events.VSEvent; -// TODO: Auto-generated Javadoc /** * The Class ProcessRecoverEvent. */ diff --git a/sources/events/internal/MessageReceiveEvent.java b/sources/events/internal/MessageReceiveEvent.java index f7d03ab..2d746ae 100644 --- a/sources/events/internal/MessageReceiveEvent.java +++ b/sources/events/internal/MessageReceiveEvent.java @@ -8,7 +8,6 @@ import core.VSMessage; import events.VSEvent; import protocols.VSProtocol; -// TODO: Auto-generated Javadoc /** * The Class MessageReceiveEvent. */ diff --git a/sources/events/internal/ProtocolEvent.java b/sources/events/internal/ProtocolEvent.java index b2c181e..205db56 100644 --- a/sources/events/internal/ProtocolEvent.java +++ b/sources/events/internal/ProtocolEvent.java @@ -7,7 +7,6 @@ package events.internal; import events.*; import protocols.VSProtocol; -// TODO: Auto-generated Javadoc /** * The Class ProtocolEvent. */ 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 diff --git a/sources/simulator/VSAbout.java b/sources/simulator/VSAbout.java index 607843a..ddeaa4e 100644 --- a/sources/simulator/VSAbout.java +++ b/sources/simulator/VSAbout.java @@ -21,7 +21,7 @@ public class VSAbout extends VSFrame implements ActionListener { private VSPrefs prefs; /** - * Instantiates a new vS about. + * Instantiates a new lang.process.removeabout. * * @param prefs the prefs * @param relativeTo the relative to diff --git a/sources/simulator/VSLogging.java b/sources/simulator/VSLogging.java index b1938df..49d0b59 100644 --- a/sources/simulator/VSLogging.java +++ b/sources/simulator/VSLogging.java @@ -41,7 +41,7 @@ public class VSLogging { private Pattern filterPattern; /** - * Instantiates a new vS logging. + * Instantiates a new lang.process.removelogging. */ public VSLogging() { loggingArea = new JTextArea(0, 0); diff --git a/sources/simulator/VSMain.java b/sources/simulator/VSMain.java index e3b39c6..8c88a8f 100644 --- a/sources/simulator/VSMain.java +++ b/sources/simulator/VSMain.java @@ -18,7 +18,7 @@ import prefs.editors.*; public class VSMain { /** - * Instantiates a new vS main. + * Instantiates a new lang.process.removemain. * * @param prefs the prefs */ @@ -27,7 +27,7 @@ public class VSMain { } /** - * Instantiates a new vS main. + * Instantiates a new lang.process.removemain. * * @param prefs the prefs * @param relativeTo the relative to diff --git a/sources/simulator/VSSimulator.java b/sources/simulator/VSSimulator.java index 5ef9266..66dbd77 100644 --- a/sources/simulator/VSSimulator.java +++ b/sources/simulator/VSSimulator.java @@ -147,7 +147,7 @@ public class VSSimulator extends JPanel { private volatile boolean start; /** - * Instantiates a new vS menu item states. + * Instantiates a new lang.process.removemenu item states. * * @param pause the pause * @param replay the replay @@ -235,7 +235,7 @@ public class VSSimulator extends JPanel { } /** - * Instantiates a new vS simulator. + * Instantiates a new lang.process.removesimulator. * * @param prefs the prefs * @param simulatorFrame the simulator frame @@ -595,7 +595,7 @@ public class VSSimulator extends JPanel { private boolean isClientRequest; /** - * Instantiates a new vS create task. + * Instantiates a new lang.process.removecreate task. * * @param eventClassname the event classname */ @@ -670,7 +670,7 @@ public class VSSimulator extends JPanel { * @param time the time * @param localTimedTask the local timed task * - * @return the vS task + * @return the lang.process.removetask */ public VSTask createTask(VSProcess process, long time, boolean localTimedTask) { VSEvent event = null; @@ -730,7 +730,7 @@ public class VSSimulator extends JPanel { private JTable table; /** - * Instantiates a new vS task manager table model. + * Instantiates a new lang.process.removetask manager table model. * * @param process the process * @param localTask the local task diff --git a/sources/simulator/VSSimulatorCanvas.java b/sources/simulator/VSSimulatorCanvas.java index 6037231..25ad889 100644 --- a/sources/simulator/VSSimulatorCanvas.java +++ b/sources/simulator/VSSimulatorCanvas.java @@ -226,7 +226,7 @@ public class VSSimulatorCanvas extends Canvas implements Runnable, MouseMotionLi private VSTask task; /** - * Instantiates a new vS message line. + * Instantiates a new lang.process.removemessage line. * * @param receiverProcess the receiver process * @param sendTime the send time @@ -369,7 +369,7 @@ public class VSSimulatorCanvas extends Canvas implements Runnable, MouseMotionLi } /** - * Instantiates a new vS simulator canvas. + * Instantiates a new lang.process.removesimulator canvas. * * @param prefs the prefs * @param simulation the simulation @@ -1323,7 +1323,7 @@ public class VSSimulatorCanvas extends Canvas implements Runnable, MouseMotionLi * * @param processNum the process num * - * @return the vS process + * @return the lang.process.removeprocess */ private VSProcess createProcess(int processNum) { VSProcess process = new VSProcess(prefs, processNum, this, logging); diff --git a/sources/simulator/VSSimulatorFrame.java b/sources/simulator/VSSimulatorFrame.java index 5a2e61e..be06309 100644 --- a/sources/simulator/VSSimulatorFrame.java +++ b/sources/simulator/VSSimulatorFrame.java @@ -71,7 +71,7 @@ public class VSSimulatorFrame extends VSFrame implements ActionListener { //private JSlider speedSlider; /** - * Instantiates a new vS simulator frame. + * Instantiates a new lang.process.removesimulator frame. * * @param prefs the prefs * @param relativeTo the relative to diff --git a/sources/utils/VSFrame.java b/sources/utils/VSFrame.java index d14c06b..25c84e6 100644 --- a/sources/utils/VSFrame.java +++ b/sources/utils/VSFrame.java @@ -28,7 +28,7 @@ public class VSFrame extends JFrame { private boolean dispose; /** - * Instantiates a new vS frame. + * Instantiates a new lang.process.removeframe. * * @param title the title * @param parent the parent @@ -39,7 +39,7 @@ public class VSFrame extends JFrame { } /** - * Instantiates a new vS frame. + * Instantiates a new lang.process.removeframe. * * @param title the title */ diff --git a/sources/utils/VSInfoArea.java b/sources/utils/VSInfoArea.java index f922a5b..f6b4499 100644 --- a/sources/utils/VSInfoArea.java +++ b/sources/utils/VSInfoArea.java @@ -16,14 +16,14 @@ public class VSInfoArea extends JTextPane { private static final long serialVersionUID = 1L; /** - * Instantiates a new vS info area. + * Instantiates a new lang.process.removeinfo area. */ public VSInfoArea() { init(); } /** - * Instantiates a new vS info area. + * Instantiates a new lang.process.removeinfo area. * * @param text the text */ diff --git a/sources/utils/VSPriorityQueue.java b/sources/utils/VSPriorityQueue.java index 84d9a79..5b6b765 100644 --- a/sources/utils/VSPriorityQueue.java +++ b/sources/utils/VSPriorityQueue.java @@ -6,7 +6,6 @@ package utils; import java.util.PriorityQueue; -// TODO: Auto-generated Javadoc /** * The Class VSPriorityQueue. */ @@ -14,11 +13,11 @@ public final class VSPriorityQueue<T> extends PriorityQueue<T> { private static final long serialVersionUID = 1L; /** - * Gets the. + * Gets the element. * * @param index the index * - * @return the t + * @return the element. */ public T get(int index) { int i = 0; diff --git a/sources/utils/VSRandom.java b/sources/utils/VSRandom.java index 489bc90..8881aeb 100644 --- a/sources/utils/VSRandom.java +++ b/sources/utils/VSRandom.java @@ -14,7 +14,7 @@ public final class VSRandom extends Random { private static final long serialVersionUID = 1L; /** - * Instantiates a new vS random. + * Instantiates a new lang.process.removerandom. * * @param seedAdd the seed add */ diff --git a/sources/utils/VSTupel.java b/sources/utils/VSTupel.java index c259f52..2177601 100644 --- a/sources/utils/VSTupel.java +++ b/sources/utils/VSTupel.java @@ -4,7 +4,6 @@ */ package utils; -// TODO: Auto-generated Javadoc /** * The Class VSTupel. */ @@ -20,7 +19,7 @@ public final class VSTupel<A,B,C> { private C c; /** - * Instantiates a new vS tupel. + * Instantiates a new lang.process.removetupel. * * @param a the a * @param b the b |
