Tools_NavigatorModel.st
author Claus Gittinger <cg@exept.de>
Tue, 22 Sep 2009 13:24:44 +0200
changeset 8754 058f31ca6e6f
parent 8737 18451bc9f48b
child 8866 c4678ec9944b
permissions -rw-r--r--
*** empty log message ***
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
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
nameListEntryForALL
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
    ^ AllEntry ? '* all *'
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
    "Created: / 24.2.2000 / 13:39:10 / cg"
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
    "Modified: / 25.2.2000 / 21:18:30 / cg"
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
8737
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    75
nameListEntryForALLWithCount
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    76
    ^ '* all (%1) *'
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    77
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    78
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    79
nameListEntryForBookmarked
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    80
    ^ '* bookmarked (%1) *'
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    81
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    82
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    83
nameListEntryForChanged
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    84
    ^ '* changed *'
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    85
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    86
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    87
nameListEntryForChangedWithCount
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    88
    ^ '* changed (%1) *'
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    89
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
    90
8732
d89357e795a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8722
diff changeset
    91
nameListEntryForDocumentation
d89357e795a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8722
diff changeset
    92
    ^ '* documentation (%1) *'
d89357e795a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8722
diff changeset
    93
!
d89357e795a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8722
diff changeset
    94
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
nameListEntryForNILCategory
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
    ^ '* no category *'
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    98
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
nameListEntryForNonStatic
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
    ^ '* instance *'
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
8719
02158918feb2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8695
diff changeset
   103
nameListEntryForObsolete
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   104
    ^ '* obsolete (%1) *'
8719
02158918feb2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8695
diff changeset
   105
!
02158918feb2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8695
diff changeset
   106
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
nameListEntryForStatic
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
    ^ '* static *'
8695
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   109
!
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   110
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   111
nameListEntryForSuperSend
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   112
    ^ '* super (%1) *'
8695
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   113
!
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   114
9c76f55700a3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7488
diff changeset
   115
nameListEntryForUncommented
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   116
    ^ '* uncommented (%1) *'
8737
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   117
!
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   118
8754
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   119
nameListEntryForUndocumented
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   120
    ^ '* undocumented *'
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   121
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   122
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   123
nameListEntryForUndocumentedWithCount
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   124
    ^ '* undocumented (%1) *'
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   125
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   126
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   127
nameListEntryForUnloaded
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   128
    ^ '* unloaded *'
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   129
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   130
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   131
nameListEntryForUnloadedWithCount
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   132
    ^ '* unloaded (%1) *'
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   133
!
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   134
8737
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   135
nameListEntryForVisited
18451bc9f48b + pseudo entries
Claus Gittinger <cg@exept.de>
parents: 8732
diff changeset
   136
    ^ '* visited (%1) *'
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
!NavigatorModel class methodsFor:'interface specs'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
metaSpec
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   142
    "This resource specification was automatically generated
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
     by the UIPainter of ST/X."
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
    "Do not manually edit this!! If it is corrupted,
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
     the UIPainter may not be able to read the specification."
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
    "
7488
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   149
     UIPainter new openOnClass:Tools::NavigatorModel andSelector:#metaSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   150
     Tools::NavigatorModel new openInterface:#metaSpec
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
    "
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
    <resource: #canvas>
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
    ^ 
7488
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   156
     #(FullSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   157
        name: metaSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   158
        window: 
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   159
       (WindowSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   160
          label: 'MetaToggles'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   161
          name: 'MetaToggles'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   162
          min: (Point 0 0)
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   163
          max: (Point 1024 721)
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   164
          bounds: (Rectangle 0 0 300 28)
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   165
        )
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   166
        component: 
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   167
       (SpecCollection
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   168
          collection: (
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   169
           (RadioButtonSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   170
              label: 'Instance'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   171
              name: 'InstanceToggle'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   172
              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
   173
              translateLabel: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   174
              tabable: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   175
              model: notMetaToggle
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   176
              isTriggerOnDown: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   177
              select: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   178
              isToggle: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   179
            )
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   180
           (RadioButtonSpec
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   181
              label: 'Class'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   182
              name: 'ClassToggle'
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   183
              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
   184
              translateLabel: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   185
              labelChannel: metaToggleLabelHolder
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   186
              tabable: false
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   187
              model: metaToggle
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   188
              isTriggerOnDown: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   189
              select: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   190
              isToggle: true
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   191
            )
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   192
           )
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
         
7488
f38fbf8028e5 dont tab into class-toggle
Claus Gittinger <cg@exept.de>
parents: 7058
diff changeset
   194
        )
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
      )
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
!NavigatorModel class methodsFor:'misc'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   200
classResources
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
    ^ NewSystemBrowser classResources
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
!NavigatorModel methodsFor:'misc'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
resources
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   207
    "answer the resources of my masterApp, if there is one"
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   208
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
    |m|
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
    (m := self masterApplication) notNil ifTrue:[
8722
a1ce8e925f55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8719
diff changeset
   212
        ^ m resources
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
    ].
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
    ^ super resources
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
!NavigatorModel class methodsFor:'documentation'!
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
version
8754
058f31ca6e6f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8737
diff changeset
   220
    ^ '$Header: /cvs/stx/stx/libtool/Tools_NavigatorModel.st,v 1.10 2009-09-22 11:24:44 cg Exp $'
5591
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   221
! !
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
273637686948 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
NavigatorModel initialize!