"
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.
"
Object subclass:#UIGalleryJavaEntry
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'Java-Views-Support'
!
!UIGalleryJavaEntry 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.
"
!
documentation
"
this class provides a UIGallery entry for the new Java applet
components. When loaded, it installs itself automatically in
the user-defined section (see the class-initialize-method).
[author:]
Claus Gittinger
"
! !
!UIGalleryJavaEntry class methodsFor:'class initialization'!
initialize
"add an entry for my new components to the UIPainters
userDef gallery"
UISelectionPanel userClass
addUserSpecHolder:[self javaComponentsSpec]
label:'Java'
"
self initialize
"
"Created: / 29.1.1998 / 14:22:02 / cg"
"Modified: / 29.1.1998 / 14:40:06 / cg"
!
removeFromSystem
"remove myself - this implies deinstallation from the UIGallery"
UISelectionPanel userClass removeUserSpecWithLabel:'Java'.
^ super removeFromSystem.
"Modified: / 5.12.1997 / 15:13:09 / cg"
"Created: / 29.1.1998 / 14:21:54 / cg"
! !
!UIGalleryJavaEntry class methodsFor:'uigallery specs'!
javaComponentsSpec
"this window spec was automatically generated by the ST/X UIPainter"
"do not manually edit this - the painter/builder may not be able to
handle the specification if its corrupted."
"
UIPainter new openOnClass:UIGalleryJavaEntry andSelector:#javaComponentsSpec
UIGalleryJavaEntry new openInterface:#javaComponentsSpec
"
<resource: #canvas>
^
#(#FullSpec
#'window:'
#(#WindowSpec
#'name:' 'Java Applet Components'
#'layout:' #(#LayoutFrame 216 0 173 0 523 0 387 0)
#'label:' 'Java Applet Components'
#'min:' #(#Point 10 10)
#'max:' #(#Point 1024 768)
#'bounds:' #(#Rectangle 216 173 524 388)
#'usePreferredExtent:' false
)
#'component:'
#(#SpecCollection
#'collection:'
#(
#(#JavaAppletComponentSpec
#'name:' 'applet'
#'layout:' #(#LayoutFrame 10 0 18 0 160 0 160 0)
#'level:' -1
)
#(#LabelSpec
#'name:' 'label1'
#'layout:' #(#LayoutFrame 11 0 168 0 162 0 190 0)
#'label:' 'Applet'
#'canUIDrag:' false
)
)
)
)
"Modified: / 29.1.1998 / 14:42:39 / cg"
! !
!UIGalleryJavaEntry class methodsFor:'documentation'!
version
^ '$Id$'
! !
UIGalleryJavaEntry initialize!