UIGalleryJavaEntry.st
author Claus Gittinger <cg@exept.de>
Thu, 22 Dec 2005 18:00:03 +0100
changeset 2125 cfa7b540ebf1
parent 748 da0840b7798c
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
453
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
     1
"
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
     2
 COPYRIGHT (c) 1997 by eXept Software AG
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
     3
              All Rights Reserved
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
     4
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
     5
 This software is furnished under a license and may be used
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
     6
 only in accordance with the terms of that license and with the
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
     8
 be provided or otherwise made available to, or used by, any
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
     9
 other person.  No title to or ownership of the software is
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    10
 hereby transferred.
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    11
"
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    12
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    13
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    14
287
73065896fbb4 initial checkin
cg
parents:
diff changeset
    15
Object subclass:#UIGalleryJavaEntry
73065896fbb4 initial checkin
cg
parents:
diff changeset
    16
	instanceVariableNames:''
73065896fbb4 initial checkin
cg
parents:
diff changeset
    17
	classVariableNames:''
73065896fbb4 initial checkin
cg
parents:
diff changeset
    18
	poolDictionaries:''
73065896fbb4 initial checkin
cg
parents:
diff changeset
    19
	category:'Java-Views-Support'
73065896fbb4 initial checkin
cg
parents:
diff changeset
    20
!
73065896fbb4 initial checkin
cg
parents:
diff changeset
    21
73065896fbb4 initial checkin
cg
parents:
diff changeset
    22
!UIGalleryJavaEntry class methodsFor:'documentation'!
73065896fbb4 initial checkin
cg
parents:
diff changeset
    23
453
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    24
copyright
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    25
"
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    26
 COPYRIGHT (c) 1997 by eXept Software AG
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    27
              All Rights Reserved
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    28
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    29
 This software is furnished under a license and may be used
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    30
 only in accordance with the terms of that license and with the
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    31
 inclusion of the above copyright notice.   This software may not
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    32
 be provided or otherwise made available to, or used by, any
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    33
 other person.  No title to or ownership of the software is
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    34
 hereby transferred.
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    35
"
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    36
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    37
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    38
!
7654b3053caf checkin from browser
cg
parents: 287
diff changeset
    39
287
73065896fbb4 initial checkin
cg
parents:
diff changeset
    40
documentation
73065896fbb4 initial checkin
cg
parents:
diff changeset
    41
"
73065896fbb4 initial checkin
cg
parents:
diff changeset
    42
    this class provides a UIGallery entry for the new Java applet
73065896fbb4 initial checkin
cg
parents:
diff changeset
    43
    components. When loaded, it installs itself automatically in
73065896fbb4 initial checkin
cg
parents:
diff changeset
    44
    the user-defined section (see the class-initialize-method).
73065896fbb4 initial checkin
cg
parents:
diff changeset
    45
73065896fbb4 initial checkin
cg
parents:
diff changeset
    46
    [author:]
73065896fbb4 initial checkin
cg
parents:
diff changeset
    47
        Claus Gittinger
73065896fbb4 initial checkin
cg
parents:
diff changeset
    48
"
73065896fbb4 initial checkin
cg
parents:
diff changeset
    49
73065896fbb4 initial checkin
cg
parents:
diff changeset
    50
! !
73065896fbb4 initial checkin
cg
parents:
diff changeset
    51
73065896fbb4 initial checkin
cg
parents:
diff changeset
    52
!UIGalleryJavaEntry class methodsFor:'class initialization'!
73065896fbb4 initial checkin
cg
parents:
diff changeset
    53
73065896fbb4 initial checkin
cg
parents:
diff changeset
    54
initialize
73065896fbb4 initial checkin
cg
parents:
diff changeset
    55
    "add an entry for my new components to the UIPainters 
73065896fbb4 initial checkin
cg
parents:
diff changeset
    56
     userDef gallery"
73065896fbb4 initial checkin
cg
parents:
diff changeset
    57
73065896fbb4 initial checkin
cg
parents:
diff changeset
    58
    UISelectionPanel userClass
73065896fbb4 initial checkin
cg
parents:
diff changeset
    59
        addUserSpecHolder:[self javaComponentsSpec]
73065896fbb4 initial checkin
cg
parents:
diff changeset
    60
        label:'Java'
73065896fbb4 initial checkin
cg
parents:
diff changeset
    61
73065896fbb4 initial checkin
cg
parents:
diff changeset
    62
    "
73065896fbb4 initial checkin
cg
parents:
diff changeset
    63
     self initialize
73065896fbb4 initial checkin
cg
parents:
diff changeset
    64
    "
73065896fbb4 initial checkin
cg
parents:
diff changeset
    65
73065896fbb4 initial checkin
cg
parents:
diff changeset
    66
    "Created: / 29.1.1998 / 14:22:02 / cg"
73065896fbb4 initial checkin
cg
parents:
diff changeset
    67
    "Modified: / 29.1.1998 / 14:40:06 / cg"
73065896fbb4 initial checkin
cg
parents:
diff changeset
    68
!
73065896fbb4 initial checkin
cg
parents:
diff changeset
    69
73065896fbb4 initial checkin
cg
parents:
diff changeset
    70
removeFromSystem
73065896fbb4 initial checkin
cg
parents:
diff changeset
    71
    "remove myself - this implies deinstallation from the UIGallery"
73065896fbb4 initial checkin
cg
parents:
diff changeset
    72
73065896fbb4 initial checkin
cg
parents:
diff changeset
    73
    UISelectionPanel userClass removeUserSpecWithLabel:'Java'.
73065896fbb4 initial checkin
cg
parents:
diff changeset
    74
    ^ super removeFromSystem.
73065896fbb4 initial checkin
cg
parents:
diff changeset
    75
73065896fbb4 initial checkin
cg
parents:
diff changeset
    76
    "Modified: / 5.12.1997 / 15:13:09 / cg"
73065896fbb4 initial checkin
cg
parents:
diff changeset
    77
    "Created: / 29.1.1998 / 14:21:54 / cg"
73065896fbb4 initial checkin
cg
parents:
diff changeset
    78
! !
73065896fbb4 initial checkin
cg
parents:
diff changeset
    79
73065896fbb4 initial checkin
cg
parents:
diff changeset
    80
!UIGalleryJavaEntry class methodsFor:'uigallery specs'!
73065896fbb4 initial checkin
cg
parents:
diff changeset
    81
73065896fbb4 initial checkin
cg
parents:
diff changeset
    82
javaComponentsSpec
73065896fbb4 initial checkin
cg
parents:
diff changeset
    83
    "this window spec was automatically generated by the ST/X UIPainter"
73065896fbb4 initial checkin
cg
parents:
diff changeset
    84
73065896fbb4 initial checkin
cg
parents:
diff changeset
    85
    "do not manually edit this - the painter/builder may not be able to
73065896fbb4 initial checkin
cg
parents:
diff changeset
    86
     handle the specification if its corrupted."
73065896fbb4 initial checkin
cg
parents:
diff changeset
    87
73065896fbb4 initial checkin
cg
parents:
diff changeset
    88
    "
73065896fbb4 initial checkin
cg
parents:
diff changeset
    89
     UIPainter new openOnClass:UIGalleryJavaEntry andSelector:#javaComponentsSpec
73065896fbb4 initial checkin
cg
parents:
diff changeset
    90
     UIGalleryJavaEntry new openInterface:#javaComponentsSpec
73065896fbb4 initial checkin
cg
parents:
diff changeset
    91
    "
73065896fbb4 initial checkin
cg
parents:
diff changeset
    92
73065896fbb4 initial checkin
cg
parents:
diff changeset
    93
    <resource: #canvas>
73065896fbb4 initial checkin
cg
parents:
diff changeset
    94
73065896fbb4 initial checkin
cg
parents:
diff changeset
    95
    ^
73065896fbb4 initial checkin
cg
parents:
diff changeset
    96
     
73065896fbb4 initial checkin
cg
parents:
diff changeset
    97
       #(#FullSpec
73065896fbb4 initial checkin
cg
parents:
diff changeset
    98
          #'window:' 
73065896fbb4 initial checkin
cg
parents:
diff changeset
    99
           #(#WindowSpec
73065896fbb4 initial checkin
cg
parents:
diff changeset
   100
              #'name:' 'Java Applet Components'
73065896fbb4 initial checkin
cg
parents:
diff changeset
   101
              #'layout:' #(#LayoutFrame 216 0 173 0 523 0 387 0)
73065896fbb4 initial checkin
cg
parents:
diff changeset
   102
              #'label:' 'Java Applet Components'
73065896fbb4 initial checkin
cg
parents:
diff changeset
   103
              #'min:' #(#Point 10 10)
73065896fbb4 initial checkin
cg
parents:
diff changeset
   104
              #'max:' #(#Point 1024 768)
73065896fbb4 initial checkin
cg
parents:
diff changeset
   105
              #'bounds:' #(#Rectangle 216 173 524 388)
73065896fbb4 initial checkin
cg
parents:
diff changeset
   106
              #'usePreferredExtent:' false
73065896fbb4 initial checkin
cg
parents:
diff changeset
   107
          )
73065896fbb4 initial checkin
cg
parents:
diff changeset
   108
          #'component:' 
73065896fbb4 initial checkin
cg
parents:
diff changeset
   109
           #(#SpecCollection
73065896fbb4 initial checkin
cg
parents:
diff changeset
   110
              #'collection:' 
73065896fbb4 initial checkin
cg
parents:
diff changeset
   111
               #(
73065896fbb4 initial checkin
cg
parents:
diff changeset
   112
                 #(#JavaAppletComponentSpec
73065896fbb4 initial checkin
cg
parents:
diff changeset
   113
                    #'name:' 'applet'
73065896fbb4 initial checkin
cg
parents:
diff changeset
   114
                    #'layout:' #(#LayoutFrame 10 0 18 0 160 0 160 0)
73065896fbb4 initial checkin
cg
parents:
diff changeset
   115
                    #'level:' -1
73065896fbb4 initial checkin
cg
parents:
diff changeset
   116
                )
73065896fbb4 initial checkin
cg
parents:
diff changeset
   117
                 #(#LabelSpec
73065896fbb4 initial checkin
cg
parents:
diff changeset
   118
                    #'name:' 'label1'
73065896fbb4 initial checkin
cg
parents:
diff changeset
   119
                    #'layout:' #(#LayoutFrame 11 0 168 0 162 0 190 0)
73065896fbb4 initial checkin
cg
parents:
diff changeset
   120
                    #'label:' 'Applet'
73065896fbb4 initial checkin
cg
parents:
diff changeset
   121
                    #'canUIDrag:' false
73065896fbb4 initial checkin
cg
parents:
diff changeset
   122
                )
73065896fbb4 initial checkin
cg
parents:
diff changeset
   123
              )
73065896fbb4 initial checkin
cg
parents:
diff changeset
   124
          )
73065896fbb4 initial checkin
cg
parents:
diff changeset
   125
      )
73065896fbb4 initial checkin
cg
parents:
diff changeset
   126
73065896fbb4 initial checkin
cg
parents:
diff changeset
   127
    "Modified: / 29.1.1998 / 14:42:39 / cg"
73065896fbb4 initial checkin
cg
parents:
diff changeset
   128
! !
73065896fbb4 initial checkin
cg
parents:
diff changeset
   129
73065896fbb4 initial checkin
cg
parents:
diff changeset
   130
!UIGalleryJavaEntry class methodsFor:'documentation'!
73065896fbb4 initial checkin
cg
parents:
diff changeset
   131
73065896fbb4 initial checkin
cg
parents:
diff changeset
   132
version
748
da0840b7798c Manufactured by SVN::ImportFromCVSTask to fix repository layout
jv
parents: 453
diff changeset
   133
    ^ '$Id$'
287
73065896fbb4 initial checkin
cg
parents:
diff changeset
   134
! !
73065896fbb4 initial checkin
cg
parents:
diff changeset
   135
UIGalleryJavaEntry initialize!