JavaProcess.st
author cg
Fri, 22 Nov 2002 20:14:07 +0000
changeset 713 75e92ac63bf1
parent 454 38f590639d65
child 748 da0840b7798c
permissions -rw-r--r--
category change

"
 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.
"


"{ Package: 'stx:libjava' }"

Process subclass:#JavaProcess
	instanceVariableNames:'suspendedContext'
	classVariableNames:''
	poolDictionaries:''
	category:'Languages-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.14 2002/11/22 20:09:21 cg Exp $'
! !