diff options
| author | Paul Buetow <paul@buetow.org> | 2008-08-07 07:32:29 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-08-07 07:32:29 +0000 |
| commit | f33c1714f67627848983bc2f9d179bde63da3d80 (patch) | |
| tree | 0fda416822e20c9895f7430eab68ba54220ba6bd /sources/events/VSAbstractEvent.java | |
| parent | 5f388cca7c19d44a3928f4cfe7244faabeb2faff (diff) | |
written a lot
Diffstat (limited to 'sources/events/VSAbstractEvent.java')
| -rw-r--r-- | sources/events/VSAbstractEvent.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sources/events/VSAbstractEvent.java b/sources/events/VSAbstractEvent.java index d2c1352..4714b96 100644 --- a/sources/events/VSAbstractEvent.java +++ b/sources/events/VSAbstractEvent.java @@ -25,6 +25,7 @@ package events; import java.io.*; +import core.VSAbstractProcess; import core.VSInternalProcess; import exceptions.*; import prefs.VSPrefs; @@ -46,7 +47,7 @@ abstract public class VSAbstractEvent extends VSPrefs { public VSPrefs prefs; /** The process. */ - public VSInternalProcess process; + public VSAbstractProcess process; /** The event shortname. */ private String eventShortname; @@ -64,7 +65,7 @@ abstract public class VSAbstractEvent extends VSPrefs { throws VSEventNotCopyableException { if (theProcess == null) - theProcess = process; + theProcess = (VSInternalProcess) process; if (!(this instanceof VSCopyableEvent)) throw new VSEventNotCopyableException( @@ -166,7 +167,7 @@ abstract public class VSAbstractEvent extends VSPrefs { * * @return the process */ - public VSInternalProcess getProcess() { + public VSAbstractProcess getProcess() { return process; } |
