From f33c1714f67627848983bc2f9d179bde63da3d80 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 7 Aug 2008 07:32:29 +0000 Subject: written a lot --- sources/events/VSAbstractEvent.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sources/events/VSAbstractEvent.java') 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; } -- cgit v1.2.3