JavaProcess.st
author cg
Mon, 16 Nov 1998 15:17:54 +0000
changeset 454 38f590639d65
parent 338 34bf48e76cea
child 713 75e92ac63bf1
permissions -rw-r--r--
*** empty log message ***

"
 COPYRIGHT (c) 1997 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"


Process subclass:#JavaProcess
	instanceVariableNames:'suspendedContext'
	classVariableNames:''
	poolDictionaries:''
	category:'Java-Classes'
!

!JavaProcess class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1997 by eXept Software AG
              All Rights Reserved

 This software is furnished under a license and may be used
 only in accordance with the terms of that license and with the
 inclusion of the above copyright notice.   This software may not
 be provided or otherwise made available to, or used by, any
 other person.  No title to or ownership of the software is
 hereby transferred.
"

! !

!JavaProcess methodsFor:'accessing'!

suspendedContext
    |con|

"/    suspendedContext notNil ifTrue:[^ suspendedContext].
"/    state ~~ #debug ifTrue:[
"/        "/ hide non-JAVA contexts ...
"/        con := super suspendedContext.
"/        [con notNil] whileTrue:[
"/            (con isMemberOf:JavaContext) ifTrue:[^ con].
"/            con := con sender.
"/        ].
"/    ].
    ^ super suspendedContext

    "Created: / 7.5.1996 / 09:02:03 / cg"
    "Modified: / 4.2.1998 / 20:44:31 / cg"
!

suspendedContext:aContext
    suspendedContext := aContext

    "Created: 7.5.1996 / 09:02:12 / cg"
! !

!JavaProcess methodsFor:'interrupts'!

clearInterruptActions
    interruptActions := nil

    "Created: 14.8.1997 / 17:27:22 / cg"
!

isInterrupted
    ^ interruptActions notNil

    "Created: 14.8.1997 / 17:26:40 / cg"
!

markInterrupted
    super interruptWith:[]

    "Modified: / 10.4.1998 / 15:20:58 / cg"
    "Created: / 10.4.1998 / 15:21:15 / cg"
! !

!JavaProcess class methodsFor:'documentation'!

version
    ^ '$Header: /home/jv/Projects/SmalltalkX/repositories/cvs/stx/libjava/JavaProcess.st,v 1.13 1998/11/16 15:17:22 cg Exp $'
! !