SmallSense__ClassSearchDialog.st
changeset 362 b34840b66447
parent 353 b1170c3a4585
child 365 58f383e9a862
--- a/SmallSense__ClassSearchDialog.st	Tue Nov 25 08:00:39 2014 +0000
+++ b/SmallSense__ClassSearchDialog.st	Tue Nov 25 14:08:22 2014 +0000
@@ -1,3 +1,21 @@
+"
+stx:goodies/smallsense - A productivity plugin for Smalltalk/X IDE
+Copyright (C) 2013-2014 Jan Vrany
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+"
 "{ Package: 'stx:goodies/smallsense' }"
 
 "{ NameSpace: SmallSense }"
@@ -11,6 +29,29 @@
 	category:'SmallSense-Core-Interface-Search'
 !
 
+!ClassSearchDialog class methodsFor:'documentation'!
+
+copyright
+"
+stx:goodies/smallsense - A productivity plugin for Smalltalk/X IDE
+Copyright (C) 2013-2014 Jan Vrany
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+"
+! !
+
 !ClassSearchDialog class methodsFor:'interface specs-content'!
 
 optionsPaneSpec
@@ -193,21 +234,19 @@
 
 !ClassSearchDialog methodsFor:'hooks'!
 
-commonPostOpen
+commonPostBuild
 "/    self updateMatching.
 "/    recentlySearchedPatterns notEmptyOrNil ifTrue:[
 "/        matchPatternView contents: self recentlySearchedPatterns last.
 "/        matchPatternView selectAll.
 "/    ].
-    matchPatternHolder addDependent:self.          
     self recentlySearchedObjects notEmptyOrNil ifTrue:[
         self updateMatchingObjects: self recentlySearchedObjects asArray reverse.
         self updateMatchingLabelToRecentSearches.
     ].
-    self updateAcceptEnabled.
+    super commonPostBuild
 
-    "Created: / 08-03-2013 / 13:15:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 10-05-2014 / 01:06:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Created: / 25-11-2014 / 13:23:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !ClassSearchDialog methodsFor:'queries'!