UIHelpTool.st
changeset 940 fa34addf6b1d
parent 904 b40cce7f3748
child 946 536722005e32
--- a/UIHelpTool.st	Tue Aug 04 02:46:22 1998 +0200
+++ b/UIHelpTool.st	Tue Aug 04 17:32:19 1998 +0200
@@ -96,6 +96,13 @@
     "
 
     "Modified: / 20.5.1998 / 01:06:14 / cg"
+!
+
+openOnClass:aClass andSelector: aSelector
+    "opens a Help Tool on aClass and aSelector"
+
+    ^self openOnClass:aClass andSelector: aSelector
+  
 ! !
 
 !UIHelpTool class methodsFor:'constants'!
@@ -1062,6 +1069,15 @@
     self masterApplication isNil ifTrue: [(builder componentAt: #RemoveButton) beInvisible].
     builder window label: 'Help Tool'.
     self buildFromClass: aClass
+!
+
+openOnClass:aClass andSelector: aSelector
+    "opens the UIHelpTool on aClass and aSelector"
+
+    super openInterface: #windowSpecForStandAlone.
+    self masterApplication isNil ifTrue: [(builder componentAt: #RemoveButton) beInvisible].
+    builder window label: 'Help Tool'.
+    self buildFromClass: aClass andSelector: aSelector
 ! !
 
 !UIHelpTool methodsFor:'user actions'!