Tools__Inspector2Tab.st
author Claus Gittinger <cg@exept.de>
Wed, 25 Jan 2017 16:49:19 +0100
changeset 17266 86241d1b895d
parent 17265 60e2286680a6
child 17379 028adf14bc05
child 17386 e56a6c5f1c59
permissions -rw-r--r--
#BUGFIX by cg class: Tools::Inspector2Tab changed: #toBrowseClass:selector:label:
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9997
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
     1
"
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
     2
 COPYRIGHT (c) 2006 by eXept Software AG
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
     3
	      All Rights Reserved
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
     4
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
     5
 This software is furnished under a license and may be used
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
     6
 only in accordance with the terms of that license and with the
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
     8
 be provided or otherwise made available to, or used by, any
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
     9
 other person.  No title to or ownership of the software is
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    10
 hereby transferred.
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    11
"
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    12
"{ Package: 'stx:libtool' }"
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
    13
054b7b03b221 initial checkin
fm
parents:
diff changeset
    14
"{ NameSpace: Tools }"
054b7b03b221 initial checkin
fm
parents:
diff changeset
    15
054b7b03b221 initial checkin
fm
parents:
diff changeset
    16
Object subclass:#Inspector2Tab
16724
9ff9bed9f98e #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 16661
diff changeset
    17
	instanceVariableNames:'label view application priority viewHolder applicationHolder'
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
    18
	classVariableNames:''
054b7b03b221 initial checkin
fm
parents:
diff changeset
    19
	poolDictionaries:''
10459
57c59ba6f470 class definition
Claus Gittinger <cg@exept.de>
parents: 9997
diff changeset
    20
	category:'Interface-Inspector2'
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
    21
!
054b7b03b221 initial checkin
fm
parents:
diff changeset
    22
9997
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    23
!Inspector2Tab class methodsFor:'documentation'!
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    24
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    25
copyright
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    26
"
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    27
 COPYRIGHT (c) 2006 by eXept Software AG
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    28
	      All Rights Reserved
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    29
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    30
 This software is furnished under a license and may be used
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    31
 only in accordance with the terms of that license and with the
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    33
 be provided or otherwise made available to, or used by, any
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    34
 other person.  No title to or ownership of the software is
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    35
 hereby transferred.
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    36
"
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
    37
! !
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
    38
17265
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    39
!Inspector2Tab class methodsFor:'special instance creation'!
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    40
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    41
toBrowseClass:aClass selector:initialSelectorOrNil label:label
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    42
    "create and return an inspector tab containing
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    43
     a browser on aClass (and optional initialSelector).
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    44
     This is a utility to be used by inspector2TabXXX methods, which want to embed a clas browser."
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    45
     
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    46
    |makeView view|
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    47
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    48
    makeView := 
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    49
        [
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    50
            |spec browser navigationState canvas|
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    51
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    52
17266
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    53
            (view isNil ifTrue:[
17265
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    54
                "/ spec := #singleClassBrowserSpec.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    55
                spec := #multipleClassBrowserSpec.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    56
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    57
                browser := Tools::NewSystemBrowser new.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    58
                browser isEmbeddedBrowser:true.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    59
                browser createBuilder.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    60
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    61
                navigationState := browser navigationState.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    62
                navigationState canvasType:spec.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    63
                browser browserCanvasType:spec.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    64
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    65
                canvas := browser browserCanvas value.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    66
                canvas builder:(browser builder).
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    67
                navigationState canvas:canvas.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    68
                "/ browser switchToClassHierarchyView.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    69
                "/ browser showInheritedMethods.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    70
17266
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    71
                navigationState classList value:(aClass theNonMetaclass withAllSuperclasses).
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    72
                navigationState meta value:(aClass isMetaclass).
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    73
                browser classListGenerator value:(aClass theNonMetaclass withAllSuperclasses).
17265
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    74
                browser sortByNameAndInheritance value:true.
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    75
                browser
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    76
                    selectClass:aClass;
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    77
                    selectProtocol: (Tools::BrowserList nameListEntryForALL). 
17266
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    78
                browser switchToClass:aClass selector:initialSelectorOrNil updateHistory: false.
17265
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    79
                view := ApplicationSubView new client: browser spec: spec.
17266
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    80
                "/ sigh must be done after postbuild
17265
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    81
                navigationState classListApplication addOwnerClasses value:false.
17266
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    82
            ]).
17265
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    83
            view
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    84
        ].
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    85
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    86
    ^ self new
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    87
            priority: 0;
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    88
            label:label;
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    89
            viewHolder: makeView;
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    90
            yourself
17266
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    91
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    92
    "
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    93
     GenericToolbarIconLibrary systemBrowserIcon inspect
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
    94
    "
17265
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    95
! !
60e2286680a6 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 16724
diff changeset
    96
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
    97
!Inspector2Tab methodsFor:'accessing'!
054b7b03b221 initial checkin
fm
parents:
diff changeset
    98
054b7b03b221 initial checkin
fm
parents:
diff changeset
    99
application
054b7b03b221 initial checkin
fm
parents:
diff changeset
   100
    ^ application
054b7b03b221 initial checkin
fm
parents:
diff changeset
   101
054b7b03b221 initial checkin
fm
parents:
diff changeset
   102
    "Created: / 16-01-2008 / 16:51:05 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   103
!
054b7b03b221 initial checkin
fm
parents:
diff changeset
   104
14157
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   105
application:anApplicationModelOrBlock
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   106
    application := anApplicationModelOrBlock.
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
   107
054b7b03b221 initial checkin
fm
parents:
diff changeset
   108
    "Created: / 16-01-2008 / 16:51:05 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   109
    "Modified: / 17-02-2008 / 08:58:34 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   110
!
054b7b03b221 initial checkin
fm
parents:
diff changeset
   111
16724
9ff9bed9f98e #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 16661
diff changeset
   112
applicationHolder:something
9ff9bed9f98e #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 16661
diff changeset
   113
    applicationHolder := something.
9ff9bed9f98e #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 16661
diff changeset
   114
!
9ff9bed9f98e #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 16661
diff changeset
   115
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
   116
label
054b7b03b221 initial checkin
fm
parents:
diff changeset
   117
    ^ label
054b7b03b221 initial checkin
fm
parents:
diff changeset
   118
054b7b03b221 initial checkin
fm
parents:
diff changeset
   119
    "Created: / 16-01-2008 / 16:51:05 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   120
!
054b7b03b221 initial checkin
fm
parents:
diff changeset
   121
054b7b03b221 initial checkin
fm
parents:
diff changeset
   122
label:aString
054b7b03b221 initial checkin
fm
parents:
diff changeset
   123
    label := aString.
054b7b03b221 initial checkin
fm
parents:
diff changeset
   124
054b7b03b221 initial checkin
fm
parents:
diff changeset
   125
    "Created: / 16-01-2008 / 16:51:05 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   126
    "Modified: / 17-02-2008 / 08:58:41 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   127
!
054b7b03b221 initial checkin
fm
parents:
diff changeset
   128
054b7b03b221 initial checkin
fm
parents:
diff changeset
   129
priority
054b7b03b221 initial checkin
fm
parents:
diff changeset
   130
    ^ priority ? 25
054b7b03b221 initial checkin
fm
parents:
diff changeset
   131
054b7b03b221 initial checkin
fm
parents:
diff changeset
   132
    "Created: / 17-02-2008 / 10:05:51 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   133
!
054b7b03b221 initial checkin
fm
parents:
diff changeset
   134
054b7b03b221 initial checkin
fm
parents:
diff changeset
   135
priority:something
054b7b03b221 initial checkin
fm
parents:
diff changeset
   136
    priority := something.
054b7b03b221 initial checkin
fm
parents:
diff changeset
   137
054b7b03b221 initial checkin
fm
parents:
diff changeset
   138
    "Created: / 17-02-2008 / 10:05:51 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   139
!
054b7b03b221 initial checkin
fm
parents:
diff changeset
   140
054b7b03b221 initial checkin
fm
parents:
diff changeset
   141
text:aStringOrValueModel
054b7b03b221 initial checkin
fm
parents:
diff changeset
   142
054b7b03b221 initial checkin
fm
parents:
diff changeset
   143
    self view:((HVScrollableView for:TextView) model: aStringOrValueModel; yourself)
054b7b03b221 initial checkin
fm
parents:
diff changeset
   144
054b7b03b221 initial checkin
fm
parents:
diff changeset
   145
    "Modified: / 17-02-2008 / 08:58:41 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   146
    "Created: / 07-11-2008 / 08:40:35 / Jan Vrany <vranyj1@fel.cvut.cz>"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   147
!
054b7b03b221 initial checkin
fm
parents:
diff changeset
   148
054b7b03b221 initial checkin
fm
parents:
diff changeset
   149
view
10874
aea9cd688aef changed: #view
Claus Gittinger <cg@exept.de>
parents: 10459
diff changeset
   150
    view isNil ifTrue:[
11583
8775311ee2f9 lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents: 10874
diff changeset
   151
        viewHolder notNil ifTrue:[
8775311ee2f9 lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents: 10874
diff changeset
   152
            view := viewHolder value
8775311ee2f9 lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents: 10874
diff changeset
   153
        ] ifFalse:[
16724
9ff9bed9f98e #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 16661
diff changeset
   154
            applicationHolder notNil ifTrue:[
9ff9bed9f98e #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 16661
diff changeset
   155
                view := ApplicationSubView new.
9ff9bed9f98e #OTHER by stefan
Stefan Vogel <sv@exept.de>
parents: 16661
diff changeset
   156
                view client: applicationHolder value.
11583
8775311ee2f9 lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents: 10874
diff changeset
   157
            ]
10874
aea9cd688aef changed: #view
Claus Gittinger <cg@exept.de>
parents: 10459
diff changeset
   158
        ]
aea9cd688aef changed: #view
Claus Gittinger <cg@exept.de>
parents: 10459
diff changeset
   159
    ].
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
   160
    ^ view
054b7b03b221 initial checkin
fm
parents:
diff changeset
   161
054b7b03b221 initial checkin
fm
parents:
diff changeset
   162
    "Created: / 16-01-2008 / 16:51:05 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   163
    "Modified: / 17-02-2008 / 10:38:59 / janfrog"
11583
8775311ee2f9 lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents: 10874
diff changeset
   164
    "Modified: / 13-06-2012 / 14:57:25 / cg"
14157
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   165
    "Modified: / 24-03-2014 / 18:25:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
   166
!
054b7b03b221 initial checkin
fm
parents:
diff changeset
   167
054b7b03b221 initial checkin
fm
parents:
diff changeset
   168
view:aView
054b7b03b221 initial checkin
fm
parents:
diff changeset
   169
    view := aView.
054b7b03b221 initial checkin
fm
parents:
diff changeset
   170
054b7b03b221 initial checkin
fm
parents:
diff changeset
   171
    "Created: / 16-01-2008 / 16:51:05 / janfrog"
054b7b03b221 initial checkin
fm
parents:
diff changeset
   172
    "Modified: / 17-02-2008 / 08:58:46 / janfrog"
11583
8775311ee2f9 lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents: 10874
diff changeset
   173
!
8775311ee2f9 lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents: 10874
diff changeset
   174
8775311ee2f9 lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents: 10874
diff changeset
   175
viewHolder:something
8775311ee2f9 lazy setup of embedded browser brings up inspector much faster
Claus Gittinger <cg@exept.de>
parents: 10874
diff changeset
   176
    viewHolder := something.
14157
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   177
!
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   178
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   179
viewOrNil
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   180
    ^ view
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   181
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   182
    "Created: / 24-03-2014 / 18:23:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
   183
! !
054b7b03b221 initial checkin
fm
parents:
diff changeset
   184
16661
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   185
!Inspector2Tab methodsFor:'setup'!
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   186
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   187
setupView
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   188
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   189
    (view respondsTo:#setMasterInspectorApplication:) ifTrue:[ 
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   190
        "this is for BridgeOjectInspectorView"
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   191
        view setMasterInspectorApplication:application.
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   192
    ].
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   193
    (view respondsTo:#sortOrderHolder:) ifTrue:[ 
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   194
        view sortOrderHolder:(application sortOrderHolder)
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   195
    ].
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   196
! !
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   197
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
   198
!Inspector2Tab class methodsFor:'documentation'!
054b7b03b221 initial checkin
fm
parents:
diff changeset
   199
17266
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
   200
version
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
   201
    ^ '$Header$'
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
   202
!
86241d1b895d #BUGFIX by cg
Claus Gittinger <cg@exept.de>
parents: 17265
diff changeset
   203
8802
576679781e91 changed: #version_SVN
fm
parents: 8777
diff changeset
   204
version_CVS
16661
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   205
    ^ '$Header$'
8802
576679781e91 changed: #version_SVN
fm
parents: 8777
diff changeset
   206
!
576679781e91 changed: #version_SVN
fm
parents: 8777
diff changeset
   207
8815
fm
parents: 8802
diff changeset
   208
version_CVS_jvrany
16661
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   209
    ^ '$Header$'
9997
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
   210
!
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
   211
Claus Gittinger <cg@exept.de>
parents: 8815
diff changeset
   212
version_SVN
16661
67944b10ce7e #REFACTORING by stefan
Stefan Vogel <sv@exept.de>
parents: 14157
diff changeset
   213
    ^ '$Id$'
8777
054b7b03b221 initial checkin
fm
parents:
diff changeset
   214
! !
14157
4467fff63f8c Performance fixes in Inspector2:
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 11583
diff changeset
   215