summaryrefslogtreecommitdiff
path: root/sources/events/VSAbstractEvent.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-27 17:23:45 +0000
committerPaul Buetow <paul@buetow.org>2008-05-27 17:23:45 +0000
commit97a3a4f07cdc8437f73f4270b237e85c7739a6be (patch)
tree32154e63775f1fa145d176301840e3150b8eb001 /sources/events/VSAbstractEvent.java
parent39e9eb74c011ee5351ac1796e5df529a70aa8945 (diff)
client and server variables are now separate in the editor.
Diffstat (limited to 'sources/events/VSAbstractEvent.java')
-rw-r--r--sources/events/VSAbstractEvent.java18
1 files changed, 13 insertions, 5 deletions
diff --git a/sources/events/VSAbstractEvent.java b/sources/events/VSAbstractEvent.java
index 9562233..27be457 100644
--- a/sources/events/VSAbstractEvent.java
+++ b/sources/events/VSAbstractEvent.java
@@ -14,10 +14,10 @@ abstract public class VSAbstractEvent extends VSPrefs {
private static final long serialVersionUID = 1L;
/** The prefs. */
- protected VSPrefs prefs;
+ public VSPrefs prefs;
/** The process. */
- protected VSProcess process;
+ public VSProcess process;
/** The event shortname. */
private String eventShortname;
@@ -26,7 +26,7 @@ abstract public class VSAbstractEvent extends VSPrefs {
private String eventClassname;
/**
- * Inits the.
+ * Inits the event.
*
* @param process the process
*/
@@ -34,6 +34,14 @@ abstract public class VSAbstractEvent extends VSPrefs {
this.process = process;
this.prefs = process.getPrefs();
+ init();
+ }
+
+ /**
+ * Inits the event.
+ *
+ */
+ public void init() {
onInit();
}
@@ -42,7 +50,7 @@ abstract public class VSAbstractEvent extends VSPrefs {
*
* @param eventClassname the new classname
*/
- protected final void setClassname(String eventClassname) {
+ public final void setClassname(String eventClassname) {
if (eventClassname.startsWith("class "))
eventClassname = eventClassname.substring(6);
@@ -120,7 +128,7 @@ abstract public class VSAbstractEvent extends VSPrefs {
/**
* On init.
*/
- abstract protected void onInit();
+ abstract public void onInit();
/**
* On start.