stx_libview.st
changeset 7813 f9a9a63d6263
parent 7685 ed3a877ce971
child 7855 46203abe7d57
child 7927 8e9233fefa4a
equal deleted inserted replaced
7812:5a4f29d07010 7813:f9a9a63d6263
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG
     4  COPYRIGHT (c) Claus Gittinger / 2006 by eXept Software AG
     3               All Rights Reserved
     5               All Rights Reserved
     4 
     6 
     5  This software is furnished under a license and may be used
     7  This software is furnished under a license and may be used
    55 
    57 
    56 !stx_libview class methodsFor:'description'!
    58 !stx_libview class methodsFor:'description'!
    57 
    59 
    58 excludedFromPreRequisites
    60 excludedFromPreRequisites
    59     ^ #(
    61     ^ #(
    60 	#'stx:libcompat'    "OrderedDither - referenced by Image>>convertToPalette:renderedBy: "
    62         #'stx:libcompat'    "OrderedDither - referenced by Image>>convertToPalette:renderedBy: "
    61 	#'stx:libtool'    "GenericToolbarIconLibrary - referenced by SimpleView class>>readStyleSheet "
    63         #'stx:libtool'    "GenericToolbarIconLibrary - referenced by SimpleView class>>readStyleSheet "
    62 	#'stx:libtool2'    "ImageEditor - referenced by Image>>edit "
    64         #'stx:libtool2'    "ImageEditor - referenced by Image>>edit "
    63 	#'stx:libui'    "ViewSpec - referenced by SimpleView>>specClass "
    65         #'stx:libui'    "ViewSpec - referenced by SimpleView>>specClass "
    64 	#'stx:libview2'    "TIFFReader - referenced by Image>>saveOn: "
    66         #'stx:libview2'    "TIFFReader - referenced by Image>>saveOn: "
    65 	#'stx:libwidg'    "Button - referenced by ModalBox>>initialize "
    67         #'stx:libwidg'    "Button - referenced by ModalBox>>initialize "
    66 	#'stx:libwidg2'    "ImageView - referenced by Form>>show "
    68         #'stx:libwidg2'    "ImageView - referenced by Form>>show "
       
    69         #'stx:goodies/communication'    "HTTPInterface - referenced by ImageReader class>>fromURL:"
    67     )
    70     )
       
    71 
       
    72     "Modified: / 31-01-2017 / 13:35:51 / stefan"
    68 !
    73 !
    69 
    74 
    70 mandatoryPreRequisites
    75 mandatoryPreRequisites
    71     "list all required mandatory packages.
    76     "list packages which are mandatory as a prerequisite.
    72      Packages are mandatory, if they contain superclasses of the package's classes
    77      This are packages containing superclasses of my classes and classes which
    73      or classes which are extended by this package.
    78      are extended by myself.
    74      This list can be maintained manually or (better) generated and
    79      They are mandatory, because we need these packages as a prerequisite for loading and compiling.
    75      updated by scanning the superclass hierarchies
    80      This method is generated automatically,
    76      (the browser has a menu function for that)
    81      by searching along the inheritance chain of all of my classes.
    77      However, often too much is found, and you may want to explicitely
    82      Please take a look at the #referencedPreRequisites method as well."
    78      exclude individual packages in the #excludedFromPreRequisites method."
       
    79 
    83 
    80     ^ #(
    84     ^ #(
    81         #'stx:libbasic'    "MessageSend - superclass of WindowEvent::ButtonMultiPressEvent "
    85         #'stx:libbasic'    "AllocationFailure - superclass of GraphicsDevice::GraphicResourceAllocationFailure"
    82     )
    86     )
    83 !
    87 !
    84 
    88 
    85 referencedPreRequisites
    89 referencedPreRequisites
    86     "list all packages containing classes referenced by the packages's members.
    90     "list packages which are a prerequisite, because they contain
    87      This list can be maintained manually or (better) generated and
    91      classes which are referenced by my classes.
    88      updated by looking for global variable accesses
    92      These packages are NOT needed as a prerequisite for compiling or loading,
    89      (the browser has a menu function for that)
    93      however, a class from it may be referenced during execution and having it
    90      However, often too much is found, and you may want to explicitely
    94      unloaded then may lead to a runtime doesNotUnderstand error, unless the caller
    91      exclude individual packages in the #excludedFromPreRequisites method."
    95      includes explicit checks for the package being present.
       
    96      This method is generated automatically,
       
    97      by searching all classes (and their packages) which are referenced by my classes.
       
    98      Please also take a look at the #mandatoryPreRequisites method"
       
    99 
       
   100     ^ #(
       
   101         #'stx:libbasic2'    "UUID - referenced by DisplayRootView>>uuid"
       
   102     )
       
   103 
       
   104     "Modified: / 31-01-2017 / 13:35:33 / stefan"
       
   105 !
       
   106 
       
   107 subProjects
       
   108     "list packages which are known as subprojects.
       
   109      The generated makefile will enter those and make there as well.
       
   110      However: they are not forced to be loaded when a package is loaded;
       
   111      for those, redefine #referencedPrerequisites or #mandatoryPreRequisites."
    92 
   112 
    93     ^ #(
   113     ^ #(
    94     )
   114     )
    95 ! !
   115 ! !
    96 
   116 
   350         Event
   370         Event
   351         FillStyle
   371         FillStyle
   352         FontDescription
   372         FontDescription
   353         GraphicsContext
   373         GraphicsContext
   354         GraphicsDevice
   374         GraphicsDevice
       
   375         GraphicsMedium
   355         Image
   376         Image
   356         ImageReader
   377         ImageReader
   357         KeyboardForwarder
   378         KeyboardForwarder
   358         KeyboardMap
   379         KeyboardMap
   359         ResourcePack
   380         ResourcePack
   374         Depth48Image
   395         Depth48Image
   375         Depth4Image
   396         Depth4Image
   376         Depth64Image
   397         Depth64Image
   377         Depth8Image
   398         Depth8Image
   378         DeviceGraphicsContext
   399         DeviceGraphicsContext
       
   400         DisplaySurface
   379         Font
   401         Font
       
   402         Form
   380         GradientBackground
   403         GradientBackground
   381         GradientFillStyle
   404         GradientFillStyle
   382         HostGraphicsDevice
   405         HostGraphicsDevice
   383         ImageBackground
   406         ImageBackground
   384         MacButtonBorder
   407         MacButtonBorder
   394         TranslucentColor
   417         TranslucentColor
   395         ViewStyle
   418         ViewStyle
   396         WindowEvent
   419         WindowEvent
   397         (XftFontDescription unix)
   420         (XftFontDescription unix)
   398         DeviceWorkstation
   421         DeviceWorkstation
       
   422         DisplayRootView
   399         FixedPalette
   423         FixedPalette
   400         GraphicsMedium
       
   401         ImageMask
   424         ImageMask
   402         MacFlatButtonBorder
   425         MacFlatButtonBorder
   403         MappedPalette
   426         MappedPalette
   404         RoundedBorder
   427         RoundedBorder
       
   428         SimpleView
   405         WidgetEvent
   429         WidgetEvent
   406         WindowingTransformation
   430         WindowingTransformation
   407         DisplaySurface
       
   408         FixedPaletteWithAlpha
   431         FixedPaletteWithAlpha
   409         Form
       
   410         MonoMappedPalette
   432         MonoMappedPalette
   411         DisplayRootView
       
   412         SimpleView
       
   413         ShadowView
   433         ShadowView
   414         View
   434         View
   415         (XEmbedContainerView unix)
   435         (XEmbedContainerView unix)
   416         (XWorkstation unix)
   436         (XWorkstation unix)
   417         (GLXWorkstation unix)
   437         (GLXWorkstation unix)
   418         TopView
   438         TopView
   419         PopUpView
   439         PopUpView
   420         StandardSystemView
   440         StandardSystemView
   421         ModalBox
   441         ModalBox
       
   442         (AlphaMask autoload)
       
   443         (ControllerWithMenu autoload)
   422         (GraphicsAttributes autoload)
   444         (GraphicsAttributes autoload)
   423         (ControllerWithMenu autoload)
       
   424         (AlphaMask autoload)
       
   425         (GuiServerWorkstation autoload)
   445         (GuiServerWorkstation autoload)
       
   446         (MDIChildView autoload)
   426         (NeXTWorkstation autoload)
   447         (NeXTWorkstation autoload)
   427         (MDIChildView autoload)
       
   428         (WinWorkstation win32)
   448         (WinWorkstation win32)
   429     )
   449     )
       
   450 
       
   451     "Modified (format): / 31-01-2017 / 13:35:18 / stefan"
   430 !
   452 !
   431 
   453 
   432 extensionMethodNames
   454 extensionMethodNames
   433     "lists the extension methods which are to be included in the project.
   455     "lists the extension methods which are to be included in the project.
   434      Entries are 2-element array literals, consisting of class-name and selector."
   456      Entries are 2-element array literals, consisting of class-name and selector.
       
   457      A correponding method with real names must be present in my concrete subclasses
       
   458      if it has extensions."
   435 
   459 
   436     ^ #(
   460     ^ #(
       
   461         Object isColormap
   437     )
   462     )
   438 ! !
   463 ! !
   439 
   464 
   440 !stx_libview class methodsFor:'description - project information'!
   465 !stx_libview class methodsFor:'description - project information'!
   441 
   466