Tools_NavigatorModel.st
author Claus Gittinger <cg@exept.de>
Tue, 29 Nov 2011 11:21:54 +0100
changeset 10912 a90f6de79d36
parent 10676 b0db71d83075
child 11159 1815b3c8add1
permissions -rw-r--r--
x
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2000 by eXept Software AG
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
	      All Rights Reserved
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
5592
d9730a8d7c52 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5591
diff changeset
    12
"{ Package: 'stx:libtool' }"
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
"{ NameSpace: Tools }"
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
ApplicationModel subclass:#NavigatorModel
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
8695
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
    18
	classVariableNames:'AllEntry SuperSendEntry UncommentedEntry'
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'Interface-Browsers-New'
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!NavigatorModel class methodsFor:'documentation'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
copyright
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
"
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
 COPYRIGHT (c) 2000 by eXept Software AG
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
	      All Rights Reserved
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 This software is furnished under a license and may be used
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 only in accordance with the terms of that license and with the
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 be provided or otherwise made available to, or used by, any
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 other person.  No title to or ownership of the software is
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 hereby transferred.
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
"
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
!NavigatorModel class methodsFor:'initialization'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
initialize
8695
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
    42
    AllEntry := '* all *'.
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
    "Created: / 24.2.2000 / 13:41:29 / cg"
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
!NavigatorModel class methodsFor:'defaults'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
8754
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    49
isPseudoCategory:cat
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    50
    ^ cat = self nameListEntryForChanged
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    51
    or:[ cat = self nameListEntryForUndocumented
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    52
    or:[ cat = self nameListEntryForUnloaded
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    53
    or:[ cat = self nameListEntryForALL ]]]
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    54
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    55
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    56
isPseudoProtocol:protocol
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    57
    ^ protocol = self nameListEntryForObsolete
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    58
    or:[ protocol = self nameListEntryForSuperSend
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    59
    or:[ protocol = self nameListEntryForUncommented ]]
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    60
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
    61
7058
77a6998a37a6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5592
diff changeset
    62
markForBeingInChangeList
77a6998a37a6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5592
diff changeset
    63
    ^ ' *'
77a6998a37a6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5592
diff changeset
    64
77a6998a37a6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5592
diff changeset
    65
    "Created: / 29-08-2006 / 10:26:05 / cg"
77a6998a37a6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5592
diff changeset
    66
!
77a6998a37a6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 5592
diff changeset
    67
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    68
markForBeingManagedBySVN: package
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    69
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    70
    | repo branch mark |    
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
    71
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
    72
    ConfigurableFeatures hasSubversionSupportEnabled ifFalse:[^''].
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    73
    package = PackageId noProjectID ifTrue:[^''].
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    74
    
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
    75
    "/ use Smalltalk-at to trick the dependency/prerequisite generator
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    76
    repo := (Smalltalk at:#SVN::RepositoryManager) current 
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    77
                repositoryForPackage: package onlyFromCache: true.
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    78
    repo ifNil:[^''].
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    79
    mark := ' [SVN]'.
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    80
    branch := repo workingCopy branchOrNil.
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    81
    branch ifNotNil:[mark := ' [SVN: ', branch path,']'].
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    82
    ^mark asText colorizeAllWith: Color gray
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    83
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    84
    "Created: / 06-04-2010 / 11:23:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
    85
    "Modified (comment): / 07-09-2011 / 10:43:00 / cg"
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    86
!
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    87
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    88
markForBeingManagedBySVN: package branch: branch
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    89
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    90
    | mark |
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    91
    mark := branch 
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    92
                ifNil:
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    93
                    [' [SVN]']
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    94
                ifNotNil:
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    95
                    [' [SVN: ',branch,']'].
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    96
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    97
    ^mark asText colorizeAllWith: Color gray.
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    98
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
    99
    "Created: / 14-12-2010 / 15:56:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   100
!
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   101
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
nameListEntryForALL
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
    ^ AllEntry ? '* all *'
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
    "Created: / 24.2.2000 / 13:39:10 / cg"
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
    "Modified: / 25.2.2000 / 21:18:30 / cg"
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
8737
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   109
nameListEntryForALLWithCount
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   110
    ^ '* all (%1) *'
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   111
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   112
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   113
nameListEntryForAnnotated
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   114
    ^ '* annotated (%1) *'
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   115
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   116
    "Created: / 07-09-2011 / 10:11:40 / cg"
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   117
!
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   118
8737
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   119
nameListEntryForBookmarked
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   120
    ^ '* bookmarked (%1) *'
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   121
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   122
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   123
nameListEntryForChanged
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   124
    ^ '* changed *'
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   125
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   126
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   127
nameListEntryForChangedWithCount
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   128
    ^ '* changed (%1) *'
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   129
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   130
8732
d89357e795a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8722
diff changeset
   131
nameListEntryForDocumentation
d89357e795a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8722
diff changeset
   132
    ^ '* documentation (%1) *'
d89357e795a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8722
diff changeset
   133
!
d89357e795a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8722
diff changeset
   134
8929
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   135
nameListEntryForExtensions
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   136
    ^ '* extensions (%1) *'
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   137
!
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   138
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   139
nameListEntryForFailedTests
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   140
    ^ '* failed tests (%1) *'
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   141
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   142
    "Created: / 08-03-2010 / 18:26:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   143
!
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   144
10358
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   145
nameListEntryForFullyCovered
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   146
    ^ '* covered (%1) *'
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   147
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   148
    "Created: / 20-07-2011 / 18:20:53 / cg"
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   149
!
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   150
8866
c4678ec9944b added: #nameListEntryForLong
Claus Gittinger <cg@exept.de>
parents: 8754
diff changeset
   151
nameListEntryForLong
c4678ec9944b added: #nameListEntryForLong
Claus Gittinger <cg@exept.de>
parents: 8754
diff changeset
   152
    ^ '* long (%1) *'
c4678ec9944b added: #nameListEntryForLong
Claus Gittinger <cg@exept.de>
parents: 8754
diff changeset
   153
!
c4678ec9944b added: #nameListEntryForLong
Claus Gittinger <cg@exept.de>
parents: 8754
diff changeset
   154
9087
43da2b44e13b added: #nameListEntryForMustBeRedefinedInSubclass
Claus Gittinger <cg@exept.de>
parents: 9026
diff changeset
   155
nameListEntryForMustBeRedefinedInSubclass
43da2b44e13b added: #nameListEntryForMustBeRedefinedInSubclass
Claus Gittinger <cg@exept.de>
parents: 9026
diff changeset
   156
    ^ '* must be redefined (%1) *'
43da2b44e13b added: #nameListEntryForMustBeRedefinedInSubclass
Claus Gittinger <cg@exept.de>
parents: 9026
diff changeset
   157
!
43da2b44e13b added: #nameListEntryForMustBeRedefinedInSubclass
Claus Gittinger <cg@exept.de>
parents: 9026
diff changeset
   158
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
nameListEntryForNILCategory
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   160
    ^ '* no category *'
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   162
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
nameListEntryForNonStatic
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
    ^ '* instance *'
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   166
10359
Claus Gittinger <cg@exept.de>
parents: 10358
diff changeset
   167
nameListEntryForNotInstrumented
Claus Gittinger <cg@exept.de>
parents: 10358
diff changeset
   168
    ^ '* coverage unknown/not instrumented (%1) *'
Claus Gittinger <cg@exept.de>
parents: 10358
diff changeset
   169
Claus Gittinger <cg@exept.de>
parents: 10358
diff changeset
   170
    "Created: / 20-07-2011 / 18:41:53 / cg"
Claus Gittinger <cg@exept.de>
parents: 10358
diff changeset
   171
!
Claus Gittinger <cg@exept.de>
parents: 10358
diff changeset
   172
8719
02158918feb2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8695
diff changeset
   173
nameListEntryForObsolete
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   174
    ^ '* obsolete (%1) *'
8719
02158918feb2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8695
diff changeset
   175
!
02158918feb2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8695
diff changeset
   176
8929
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   177
nameListEntryForOverride
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   178
    ^ '* override (%1) *'
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   179
!
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   180
10358
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   181
nameListEntryForPartiallyCovered
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   182
    ^ '* partially covered (%1) *'
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   183
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   184
    "Created: / 20-07-2011 / 18:21:05 / cg"
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   185
!
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   186
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   187
nameListEntryForPassedTests
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   188
    ^ '* passed tests (%1) *'
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   189
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   190
    "Created: / 08-03-2010 / 18:26:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   191
!
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   192
8929
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   193
nameListEntryForRedefined
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   194
    ^ '* redefined (%1) *'
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   195
!
Claus Gittinger <cg@exept.de>
parents: 8866
diff changeset
   196
9026
e32283a8ff69 added: #nameListEntryForRequired
Claus Gittinger <cg@exept.de>
parents: 8929
diff changeset
   197
nameListEntryForRequired
e32283a8ff69 added: #nameListEntryForRequired
Claus Gittinger <cg@exept.de>
parents: 8929
diff changeset
   198
    ^ '* required (%1) *'
e32283a8ff69 added: #nameListEntryForRequired
Claus Gittinger <cg@exept.de>
parents: 8929
diff changeset
   199
!
e32283a8ff69 added: #nameListEntryForRequired
Claus Gittinger <cg@exept.de>
parents: 8929
diff changeset
   200
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
nameListEntryForStatic
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
    ^ '* static *'
8695
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   203
!
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   204
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   205
nameListEntryForSuperSend
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   206
    ^ '* super (%1) *'
8695
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   207
!
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   208
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   209
nameListEntryForUncommented
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   210
    ^ '* uncommented (%1) *'
8737
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   211
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   212
10358
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   213
nameListEntryForUncovered
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   214
    ^ '* not covered (%1) *'
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   215
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   216
    "Created: / 20-07-2011 / 18:20:44 / cg"
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   217
!
Claus Gittinger <cg@exept.de>
parents: 10248
diff changeset
   218
8754
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   219
nameListEntryForUndocumented
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   220
    ^ '* undocumented *'
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   221
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   222
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   223
nameListEntryForUndocumentedWithCount
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   224
    ^ '* undocumented (%1) *'
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   225
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   226
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   227
nameListEntryForUnloaded
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   228
    ^ '* unloaded *'
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   229
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   230
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   231
nameListEntryForUnloadedWithCount
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   232
    ^ '* unloaded (%1) *'
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   233
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   234
8737
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   235
nameListEntryForVisited
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   236
    ^ '* visited (%1) *'
9129
c4bd6c5e946f added: #pseudoEntryForegroundColor
Claus Gittinger <cg@exept.de>
parents: 9087
diff changeset
   237
!
c4bd6c5e946f added: #pseudoEntryForegroundColor
Claus Gittinger <cg@exept.de>
parents: 9087
diff changeset
   238
c4bd6c5e946f added: #pseudoEntryForegroundColor
Claus Gittinger <cg@exept.de>
parents: 9087
diff changeset
   239
pseudoEntryForegroundColor
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   240
    ^ UserPreferences current colorForPseudoProtocolsInMethodListInBrowser.
9129
c4bd6c5e946f added: #pseudoEntryForegroundColor
Claus Gittinger <cg@exept.de>
parents: 9087
diff changeset
   241
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   242
    "Modified: / 07-09-2011 / 09:59:55 / cg"
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
!NavigatorModel class methodsFor:'interface specs'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
metaSpec
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
    "This resource specification was automatically generated
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
     by the UIPainter of ST/X."
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
    "Do not manually edit this!! If it is corrupted,
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
     the UIPainter may not be able to read the specification."
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
    "
7488
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   255
     UIPainter new openOnClass:Tools::NavigatorModel andSelector:#metaSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   256
     Tools::NavigatorModel new openInterface:#metaSpec
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
    "
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   259
    <resource: #canvas>
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   261
    ^ 
7488
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   262
     #(FullSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   263
        name: metaSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   264
        window: 
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   265
       (WindowSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   266
          label: 'MetaToggles'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   267
          name: 'MetaToggles'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   268
          min: (Point 0 0)
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   269
          max: (Point 1024 721)
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   270
          bounds: (Rectangle 0 0 300 28)
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   271
        )
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   272
        component: 
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   273
       (SpecCollection
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   274
          collection: (
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   275
           (RadioButtonSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   276
              label: 'Instance'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   277
              name: 'InstanceToggle'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   278
              layout: (LayoutFrame 0 0.0 0 0.0 0 0.5 25 0)
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   279
              translateLabel: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   280
              tabable: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   281
              model: notMetaToggle
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   282
              isTriggerOnDown: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   283
              select: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   284
              isToggle: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   285
            )
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   286
           (RadioButtonSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   287
              label: 'Class'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   288
              name: 'ClassToggle'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   289
              layout: (LayoutFrame 0 0.5 0 0 0 1.0 25 0)
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   290
              translateLabel: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   291
              labelChannel: metaToggleLabelHolder
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   292
              tabable: false
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   293
              model: metaToggle
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   294
              isTriggerOnDown: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   295
              select: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   296
              isToggle: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   297
            )
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   298
           )
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   299
         
7488
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   300
        )
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   301
      )
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   302
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   303
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   304
!NavigatorModel class methodsFor:'misc'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   305
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   306
classResources
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   307
    ^ NewSystemBrowser classResources
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   308
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   309
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   310
!NavigatorModel class methodsFor:'queries'!
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   311
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   312
hasSubversionSupport
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   313
    ^ ConfigurableFeatures hasSubversionSupportEnabled
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   314
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   315
    "Created: / 06-04-2010 / 11:09:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   316
    "Modified: / 07-09-2011 / 10:45:45 / cg"
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   317
! !
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   318
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   319
!NavigatorModel methodsFor:'misc'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   320
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   321
resources
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   322
    "answer the resources of my masterApp, if there is one"
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   323
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   324
    |m|
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   325
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   326
    (m := self masterApplication) notNil ifTrue:[
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   327
        ^ m resources
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   328
    ].
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   329
    ^ super resources
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   330
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   331
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   332
!NavigatorModel methodsFor:'queries'!
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   333
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   334
hasSubversionSupport
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   335
    ^ ConfigurableFeatures hasSubversionSupportEnabled
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   336
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   337
    "Modified: / 07-09-2011 / 10:45:49 / cg"
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   338
! !
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   339
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   340
!NavigatorModel class methodsFor:'documentation'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   341
10359
Claus Gittinger <cg@exept.de>
parents: 10358
diff changeset
   342
version
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   343
    ^ '$Header: /cvs/stx/stx/libtool/Tools_NavigatorModel.st,v 1.20 2011-09-07 09:12:17 cg Exp $'
10359
Claus Gittinger <cg@exept.de>
parents: 10358
diff changeset
   344
!
Claus Gittinger <cg@exept.de>
parents: 10358
diff changeset
   345
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   346
version_CVS
10676
b0db71d83075 ask comon feature list if svn is avail
Claus Gittinger <cg@exept.de>
parents: 10359
diff changeset
   347
    ^ '$Header: /cvs/stx/stx/libtool/Tools_NavigatorModel.st,v 1.20 2011-09-07 09:12:17 cg Exp $'
8866
c4678ec9944b added: #nameListEntryForLong
Claus Gittinger <cg@exept.de>
parents: 8754
diff changeset
   348
!
c4678ec9944b added: #nameListEntryForLong
Claus Gittinger <cg@exept.de>
parents: 8754
diff changeset
   349
10248
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   350
version_SVN
3237dc7fbfb8 Merged with JV's branch
vrany
parents: 9130
diff changeset
   351
    ^ '§Id: Tools__NavigatorModel.st 7802 2011-07-05 18:33:36Z vranyj1 §'
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   352
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   353
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   354
NavigatorModel initialize!