41 LastBaseVersionTag DefaultShowPseudoProtocols |
41 LastBaseVersionTag DefaultShowPseudoProtocols |
42 DefaultShowMultitabMode LastRenamedOld LastRenamedNew |
42 DefaultShowMultitabMode LastRenamedOld LastRenamedNew |
43 LastImportedPackage LastLintRules NewNavigationHistory |
43 LastImportedPackage LastLintRules NewNavigationHistory |
44 DefaultSortByNameAndInheritance LastLiteralReplacementType |
44 DefaultSortByNameAndInheritance LastLiteralReplacementType |
45 LastLiteralReplacementNewName LastLiteralReplacementOldLiteral |
45 LastLiteralReplacementNewName LastLiteralReplacementOldLiteral |
46 LastNewProjectType' |
46 LastNewProjectType DefaultShowSyntheticMethods' |
47 poolDictionaries:'' |
47 poolDictionaries:'' |
48 category:'Interface-Browsers-New' |
48 category:'Interface-Browsers-New' |
49 ! |
49 ! |
50 |
50 |
51 Object subclass:#ClassCompletionEntry |
51 Object subclass:#ClassCompletionEntry |
12243 by the MenuEditor of ST/X." |
12254 by the MenuEditor of ST/X." |
12244 |
12255 |
12245 "Do not manually edit this!! If it is corrupted, |
12256 "Do not manually edit this!! If it is corrupted, |
12246 the MenuEditor may not be able to read the specification." |
12257 the MenuEditor may not be able to read the specification." |
12247 |
12258 |
|
12259 |
12248 " |
12260 " |
12249 MenuEditor new openOnClass:Tools::NewSystemBrowser andSelector:#viewMenuCommonSlice |
12261 MenuEditor new openOnClass:Tools::NewSystemBrowser andSelector:#viewMenuCommonSlice |
12250 (Menu new fromLiteralArrayEncoding:(Tools::NewSystemBrowser viewMenuCommonSlice)) startUp |
12262 (Menu new fromLiteralArrayEncoding:(Tools::NewSystemBrowser viewMenuCommonSlice)) startUp |
12251 " |
12263 " |
12252 |
12264 |
12412 label: 'Do not Show Inherited Methods' |
12424 label: 'Do not Show Inherited Methods' |
12413 translateLabel: true |
12425 translateLabel: true |
12414 hideMenuOnActivated: false |
12426 hideMenuOnActivated: false |
12415 choice: methodVisibilityHolder |
12427 choice: methodVisibilityHolder |
12416 choiceValue: class |
12428 choiceValue: class |
|
12429 ) |
|
12430 (MenuItem |
|
12431 label: '-' |
|
12432 ) |
|
12433 (MenuItem |
|
12434 label: 'Show Synthetic Methods' |
|
12435 translateLabel: true |
|
12436 hideMenuOnActivated: false |
|
12437 indication: showSyntheticMethods |
12417 ) |
12438 ) |
12418 (MenuItem |
12439 (MenuItem |
12419 label: '-' |
12440 label: '-' |
12420 ) |
12441 ) |
12421 (MenuItem |
12442 (MenuItem |
18696 ]. |
18719 ]. |
18697 ]. |
18720 ]. |
18698 ^ holder |
18721 ^ holder |
18699 ! |
18722 ! |
18700 |
18723 |
|
18724 showSyntheticMethods |
|
18725 |holder| |
|
18726 |
|
18727 (holder := builder bindingAt:#showSyntheticMethods) isNil ifTrue:[ |
|
18728 holder := (DefaultShowSyntheticMethods ? false) asValue. |
|
18729 builder aspectAt:#showSyntheticMethods put: holder. |
|
18730 holder onChangeEvaluate:[ |
|
18731 DefaultShowSyntheticMethods := holder value |
|
18732 ]. |
|
18733 ]. |
|
18734 ^ holder |
|
18735 |
|
18736 "Created: / 13-04-2012 / 16:07:50 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
18737 ! |
|
18738 |
18701 showUnloadedClasses |
18739 showUnloadedClasses |
18702 |holder| |
18740 |holder| |
18703 |
18741 |
18704 (holder := builder bindingAt:#showUnloadedClasses) isNil ifTrue:[ |
18742 (holder := builder bindingAt:#showUnloadedClasses) isNil ifTrue:[ |
18705 holder := BlockValue forLogicalNot:(self hideUnloadedClasses). |
18743 holder := BlockValue forLogicalNot:(self hideUnloadedClasses). |
21321 |
21357 |
21322 useSearchBarInBrowser |
21358 useSearchBarInBrowser |
21323 |
21359 |
21324 ^ UserPreferences current useSearchBarInBrowser or:[self codeView searchBarActionBlock notNil] |
21360 ^ UserPreferences current useSearchBarInBrowser or:[self codeView searchBarActionBlock notNil] |
21325 ! ! |
21361 ! ! |
|
21362 |
21326 |
21363 |
21327 !NewSystemBrowser methodsFor:'change & update'! |
21364 !NewSystemBrowser methodsFor:'change & update'! |
21328 |
21365 |
21329 categorySelectionChanged |
21366 categorySelectionChanged |
21330 "category selection changed by user interaction" |
21367 "category selection changed by user interaction" |
35331 ^ brwsr |
35368 ^ brwsr |
35332 |
35369 |
35333 "Modified: / 28-02-2012 / 16:27:44 / cg" |
35370 "Modified: / 28-02-2012 / 16:27:44 / cg" |
35334 ! ! |
35371 ! ! |
35335 |
35372 |
|
35373 |
35336 !NewSystemBrowser methodsFor:'menu actions-namespace'! |
35374 !NewSystemBrowser methodsFor:'menu actions-namespace'! |
35337 |
35375 |
35338 nameSpaceMenuCheckOut |
35376 nameSpaceMenuCheckOut |
35339 "check-out all classes in the selected nameSpace from the source repository. |
35377 "check-out all classes in the selected nameSpace from the source repository. |
35340 Individually ask for class revisions. |
35378 Individually ask for class revisions. |
43997 open |
44035 open |
43998 |
44036 |
43999 "Modified: / 25-06-2010 / 10:08:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
44037 "Modified: / 25-06-2010 / 10:08:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
44000 "Modified: / 28-02-2012 / 16:48:38 / cg" |
44038 "Modified: / 28-02-2012 / 16:48:38 / cg" |
44001 ! ! |
44039 ! ! |
|
44040 |
44002 |
44041 |
44003 !NewSystemBrowser methodsFor:'menu actions-variables'! |
44042 !NewSystemBrowser methodsFor:'menu actions-variables'! |
44004 |
44043 |
44005 browseVarRefsOrModsWithTitle:browserTitle boxTitle:boxTitle variables:varType access:accessType all:browseAll |
44044 browseVarRefsOrModsWithTitle:browserTitle boxTitle:boxTitle variables:varType access:accessType all:browseAll |
44006 "show an enterbox for instVar/classVar to search for. |
44045 "show an enterbox for instVar/classVar to search for. |
48594 there is no need to set codeview's content if previous method |
48633 there is no need to set codeview's content if previous method |
48595 belonged to the same class. Code is already shown, we need only |
48634 belonged to the same class. Code is already shown, we need only |
48596 to scrool to it..." |
48635 to scrool to it..." |
48597 "hmm...hmm...how implement it in a better, more generic way?" |
48636 "hmm...hmm...how implement it in a better, more generic way?" |
48598 doUpdateCode := true. |
48637 doUpdateCode := true. |
48599 mthd isJavaMethod ifTrue:[ |
48638 (mthd isJavaMethod and:[mthd isSynthetic not]) ifTrue:[ |
48600 prevMthd := navigationState lastMethodShownInCodeView. |
48639 prevMthd := navigationState lastMethodShownInCodeView. |
48601 (prevMthd notNil and:[prevMthd isJavaMethod]) ifTrue:[ |
48640 (prevMthd notNil and:[prevMthd isJavaMethod]) ifTrue:[ |
48602 doUpdateCode := mthd javaClass ~~ prevMthd javaClass |
48641 doUpdateCode := prevMthd isSynthetic or:[mthd javaClass ~~ prevMthd javaClass] |
48603 ]. |
48642 ]. |
48604 ]. |
48643 ]. |
48605 doUpdateCode ifTrue:[ |
48644 doUpdateCode ifTrue:[ |
48606 doSyntaxColoring ifTrue:[ |
48645 doSyntaxColoring ifTrue:[ |
48607 "/ immediate coloring, if code is not too large; |
48646 "/ immediate coloring, if code is not too large; |
48639 self normalLabel. |
48678 self normalLabel. |
48640 self updatePackageInfoForMethod:mthd. |
48679 self updatePackageInfoForMethod:mthd. |
48641 |
48680 |
48642 "Created: / 01-03-2000 / 11:38:57 / cg" |
48681 "Created: / 01-03-2000 / 11:38:57 / cg" |
48643 "Modified: / 21-08-2011 / 08:54:33 / cg" |
48682 "Modified: / 21-08-2011 / 08:54:33 / cg" |
48644 "Modified: / 17-03-2012 / 16:15:07 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
48683 "Modified: / 13-04-2012 / 18:21:27 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
48645 ! |
48684 ! |
48646 |
48685 |
48647 showNothing |
48686 showNothing |
48648 self setAcceptActionForNothing. |
48687 self setAcceptActionForNothing. |
48649 self showCode:nil. |
48688 self showCode:nil. |
56530 ! ! |
56570 ! ! |
56531 |
56571 |
56532 !NewSystemBrowser class methodsFor:'documentation'! |
56572 !NewSystemBrowser class methodsFor:'documentation'! |
56533 |
56573 |
56534 version |
56574 version |
56535 ^ '$Header: /cvs/stx/stx/libtool/Tools__NewSystemBrowser.st,v 1.1738 2012/04/06 14:00:08 stefan Exp $' |
56575 ^ '$Id: Tools__NewSystemBrowser.st 7979 2012-04-13 18:16:04Z vranyj1 $' |
56536 ! |
56576 ! |
56537 |
56577 |
56538 version_CVS |
56578 version_CVS |
56539 ^ '§Header: /cvs/stx/stx/libtool/Tools__NewSystemBrowser.st,v 1.1738 2012/04/06 14:00:08 stefan Exp §' |
56579 ^ '§Header: /cvs/stx/stx/libtool/Tools__NewSystemBrowser.st,v 1.1738 2012/04/06 14:00:08 stefan Exp §' |
56540 ! |
56580 ! |
56541 |
56581 |
56542 version_SVN |
56582 version_SVN |
56543 ^ '$Id: Tools__NewSystemBrowser.st 7978 2012-04-13 13:15:47Z vranyj1 $' |
56583 ^ '$Id: Tools__NewSystemBrowser.st 7979 2012-04-13 18:16:04Z vranyj1 $' |
56544 ! ! |
56584 ! ! |
56545 |
56585 |
56546 NewSystemBrowser initialize! |
56586 NewSystemBrowser initialize! |