ProjectDefinition.st
changeset 16892 8c354250e8a2
parent 16854 5a21f02f64fd
child 16894 6224e26f4f2b
equal deleted inserted replaced
16891:93560afff48f 16892:8c354250e8a2
  2476 
  2476 
  2477     ^ '-warnNonStandard'
  2477     ^ '-warnNonStandard'
  2478 
  2478 
  2479     "Created: / 18-08-2006 / 12:51:38 / cg"
  2479     "Created: / 18-08-2006 / 12:51:38 / cg"
  2480 ! !
  2480 ! !
  2481 
       
  2482 
  2481 
  2483 !ProjectDefinition class methodsFor:'description - project information'!
  2482 !ProjectDefinition class methodsFor:'description - project information'!
  2484 
  2483 
  2485 applicationAdditionalIconFileNames
  2484 applicationAdditionalIconFileNames
  2486     "Return the icon-filenames for additional icons of the application
  2485     "Return the icon-filenames for additional icons of the application
  4903     "ensure that all classes and extensions are loaded properly.
  4902     "ensure that all classes and extensions are loaded properly.
  4904      This is normally no problem for compiled classLibs - however, if a package
  4903      This is normally no problem for compiled classLibs - however, if a package
  4905      has only be installedAsAutoloaded, some classes might want to ensure that
  4904      has only be installedAsAutoloaded, some classes might want to ensure that
  4906      when being loaded themself."
  4905      when being loaded themself."
  4907 
  4906 
       
  4907     self supportedOnPlatform ifFalse:[^ self].
       
  4908 
  4908     self hasAllExtensionsLoaded ifFalse:[
  4909     self hasAllExtensionsLoaded ifFalse:[
  4909         self breakPoint:#cg.
  4910         self breakPoint:#cg.
  4910     ].
  4911     ].
  4911     self hasAllClassesFullyLoaded ifFalse:[
  4912     self hasAllClassesFullyLoaded ifFalse:[
  4912         self hasAllClassesLoaded ifFalse:[
  4913         self hasAllClassesLoaded ifFalse:[
  4942      If asAutoloaded == true, install all new classes as autoloaded.
  4943      If asAutoloaded == true, install all new classes as autoloaded.
  4943      Answer true, if new classes have been installed for this package,
  4944      Answer true, if new classes have been installed for this package,
  4944      false if the package's classes have been already present."
  4945      false if the package's classes have been already present."
  4945 
  4946 
  4946     |newStuffHasBeenLoaded meOrMySecondIncarnation|
  4947     |newStuffHasBeenLoaded meOrMySecondIncarnation|
       
  4948 
       
  4949     self supportedOnPlatform ifFalse:[^ false].
  4947 
  4950 
  4948     self projectIsLoaded ifTrue:[
  4951     self projectIsLoaded ifTrue:[
  4949         asAutoloaded ifFalse:[
  4952         asAutoloaded ifFalse:[
  4950             "/ to be considered !!
  4953             "/ to be considered !!
  4951 "/            self isFullyLoaded ifFalse:[
  4954 "/            self isFullyLoaded ifFalse:[
  7288 
  7291 
  7289 projectType
  7292 projectType
  7290     ^ self subclassResponsibility
  7293     ^ self subclassResponsibility
  7291 !
  7294 !
  7292 
  7295 
       
  7296 supportedOnPlatform
       
  7297     "answer false, if this package is not suitable for
       
  7298      the current platform. The default here returns true.
       
  7299      Only to be redefined in packages which are definitely not valid
       
  7300      for the given platform. For example, the OLE package is only 
       
  7301      usable under windows"
       
  7302 
       
  7303     ^ true
       
  7304 !
       
  7305 
  7293 whoReferences:aPackageString
  7306 whoReferences:aPackageString
  7294     "answer, which package references directly or indirectly a package defined by aPackageString"
  7307     "answer, which package references directly or indirectly a package defined by aPackageString"
  7295 
  7308 
  7296     |referers|
  7309     |referers|
  7297 
  7310 
  7595 ! !
  7608 ! !
  7596 
  7609 
  7597 !ProjectDefinition class methodsFor:'documentation'!
  7610 !ProjectDefinition class methodsFor:'documentation'!
  7598 
  7611 
  7599 version
  7612 version
  7600     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.515 2014-09-23 20:39:24 cg Exp $'
  7613     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.516 2014-10-08 13:02:52 cg Exp $'
  7601 !
  7614 !
  7602 
  7615 
  7603 version_CVS
  7616 version_CVS
  7604     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.515 2014-09-23 20:39:24 cg Exp $'
  7617     ^ '$Header: /cvs/stx/stx/libbasic/ProjectDefinition.st,v 1.516 2014-10-08 13:02:52 cg Exp $'
  7605 !
  7618 !
  7606 
  7619 
  7607 version_SVN
  7620 version_SVN
  7608     ^ '$ Id: ProjectDefinition.st 10645 2011-06-09 15:28:45Z vranyj1  $'
  7621     ^ '$ Id: ProjectDefinition.st 10645 2011-06-09 15:28:45Z vranyj1  $'
  7609 ! !
  7622 ! !