stx_projects_smalltalk.st
author Stefan Vogel <sv@exept.de>
Wed, 10 Jan 2007 15:00:14 +0100
changeset 740 9ea5f8935edf
child 748 28d8f35e349a
permissions -rw-r--r--
initial checkin

"
 COPYRIGHT (c) 2006 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:projects/smalltalk' }"

ApplicationDefinition subclass:#stx_projects_smalltalk
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'* Projects *'
!

!stx_projects_smalltalk class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 2006 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.
"
!

documentation
"
    The Smalltalk executable (with GUI)

    [Author:]
        Claus Gittinger

    [startWith:]
        Start the application from the command line
"
! !

!stx_projects_smalltalk class methodsFor:'description'!

isGUIApplication
    ^ true
!

preRequisites
    ^ #(
        #'stx:libbasic'    "ProjectDefinition - superclass of stx_projects_smalltalk "
        #'stx:libbasic2'
        #'stx:libbasic3'
        #'stx:libcomp'    
        #'stx:libhtml'
        #'stx:libtool'    
        #'stx:libtool2'
        #'stx:libui'
        #'stx:libview'
        #'stx:libview2'
        #'stx:libwidg'
        #'stx:libwidg2'
        #'stx:libwidg3'
    )
!

subProjects
    ^ #(
)
! !

!stx_projects_smalltalk class methodsFor:'description - contents'!

classNamesAndAttributes
    ^ #(
        "<className> or (<className> attributes...) in load order"
        #'stx_projects_smalltalk'
    )
!

extensionMethodNames
    ^ #(
    )
! !

!stx_projects_smalltalk class methodsFor:'description - project information'!

companyName
    "Return a companyname which will appear in <lib>.rc"

    ^ 'eXept Software AG'
!

description
    "Return a description string which will appear in nt.def / bc.def"

    ^ 'Smalltalk/X STXScript'

    "Modified: / 05-12-2006 / 18:16:33 / cg"
!

legalCopyright
    "Return a copyright string which will appear in <lib>.rc"

    ^ 'Copyright Claus Gittinger 1988-2006\nCopyright eXept Software AG 1998-2006'
!

productName
    "Return a product name which will appear in <lib>.rc"

    ^ 'STXScript'

    "Modified: / 05-12-2006 / 18:16:12 / cg"
! !

!stx_projects_smalltalk class methodsFor:'description - startup'!

startupClassName
    ^ #Smalltalk
!

startupSelector
    ^ #start
! !

!stx_projects_smalltalk class methodsFor:'directives'!

requireFeatures:listOfFeatures
    "process a directive-line; thats a line starting with #.
     This is a callback from the main read-eval-print loop."

self halt.
    listOfFeatures do:[:eachFeature |
        eachFeature = 'GUI' ifTrue:[
            Smalltalk loadPackage:'stx:libbasic2'.
            Smalltalk loadPackage:'stx:libview'.
            Smalltalk loadPackage:'stx:libview2'.
            Smalltalk loadPackage:'stx:libwidg'.
            Smalltalk loadPackage:'stx:libwidg2'.
            Smalltalk loadPackage:'stx:libui'.
            Smalltalk openDisplay.
        ].
    ].

    "Created: / 06-12-2006 / 16:17:20 / cg"
    "Modified: / 06-12-2006 / 18:25:37 / cg"
! !

!stx_projects_smalltalk class methodsFor:'documentation'!

version
    ^ '$Header$'
! !