Tools__ObjectModuleInformation.st
author Claus Gittinger <cg@exept.de>
Tue, 13 Oct 2009 09:19:03 +0200
changeset 2618 441ede629ea8
parent 2617 060a35c37056
child 2619 09ab6a49e5ce
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"{ Package: 'stx:libtool2' }"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
"{ NameSpace: Tools }"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
2184
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
     5
ToolApplicationModel subclass:#ObjectModuleInformation
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
     6
	instanceVariableNames:'readOnly listOfModuleNames selectedModuleIndexHolder allModules
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
     7
		objectHandles showOthers showCObjects showBuiltIn showMethods
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
     8
		showClassLibs table1VisibleHolder table2VisibleHolder
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
     9
		selectedInfoIndexHolder canBrowseSelectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
    10
		canUnloadSelectedModule classNamesShown classInfoShown
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
    11
		vmInfoShown canUnloadSelectedModulesPackage
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
    12
		canBrowseSelectedModulesExtensions'
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
	classVariableNames:''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
	poolDictionaries:''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	category:'Monitors-ST/X'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
Object subclass:#InfoRow
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
    19
	instanceVariableNames:'name version date value'
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	classVariableNames:''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
	poolDictionaries:''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	privateIn:ObjectModuleInformation
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
!ObjectModuleInformation class methodsFor:'documentation'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
documentation
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
    Shows the modules (dll's) of ST/X.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
    Both builtIn modules, and dynamically loaded modules are listed.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
    [author:]
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
    33
        Claus Gittinger
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
examples
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
  Starting the application:
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
                                                                [exBegin]
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
    ObjectModuleInformation open
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
                                                                [exEnd]
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
!ObjectModuleInformation class methodsFor:'info'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
defaultLabel
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
    50
    ^ 'Object Module Info'
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    "Created: / 05-10-2007 / 11:56:59 / cg"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
!ObjectModuleInformation class methodsFor:'interface specs'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
windowSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
    "This resource specification was automatically generated
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
     by the UIPainter of ST/X."
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
    "Do not manually edit this!! If it is corrupted,
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
     the UIPainter may not be able to read the specification."
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
    "
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
    65
     UIPainter new openOnClass:Tools::ObjectModuleInformation andSelector:#windowSpec
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
    66
     Tools::ObjectModuleInformation new openInterface:#windowSpec
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
    67
     Tools::ObjectModuleInformation open
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
    "
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
    <resource: #canvas>
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
    ^ 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
     #(FullSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
        name: windowSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
        window: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
       (WindowSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
          label: 'ST/X Module & Version Information'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
          name: 'ST/X Module & Version Information'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
          min: (Point 0 0)
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
          bounds: (Rectangle 0 0 505 567)
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
          menu: mainMenu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
        )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
        component: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
       (SpecCollection
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
          collection: (
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
           (MenuPanelSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
              name: 'ToolBar1'
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
    88
              layout: (LayoutFrame 0 0 0 0 0 1 40 0)
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
              menu: toolbarMenu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
              textDefault: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
            )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
           (VariableVerticalPanelSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
              name: 'VariableVerticalPanel1'
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
    94
              layout: (LayoutFrame 0 0 40 0 0 1 0 1)
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
              component: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
             (SpecCollection
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
                collection: (
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    98
                 (SequenceViewSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
                    name: 'List1'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
                    model: selectedModuleIndexHolder
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   101
                    menu: moduleMenu
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
                    hasHorizontalScrollBar: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
                    hasVerticalScrollBar: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
                    useIndex: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
                    sequenceList: listOfModuleNames
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
                  )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
                 (ViewSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
                    name: 'Box1'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
                    component: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
                   (SpecCollection
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
                      collection: (
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
                       (LabelSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
                          name: 'Label1'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
                          layout: (LayoutFrame 0 0 0 0 0 1 30 0)
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
                          translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
                          labelChannel: middleLabelHolder
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
                          adjust: left
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
                        )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
                       (DataSetSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   120
                          name: 'Table1'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
                          layout: (LayoutFrame 0 0 30 0 0 1 0 1)
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   122
                          visibilityChannel: table1VisibleHolder
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
                          model: selectedInfoIndexHolder
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   124
                          menu: moduleItemMenu
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   125
                          hasHorizontalScrollBar: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
                          hasVerticalScrollBar: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   127
                          dataList: infoTable1ListHolder
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   128
                          columnHolder: tableColumns
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   129
                          separatorOneDColor: (Color 66.999313344015 66.999313344015 66.999313344015)
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   130
                        )
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   131
                       (DataSetSpec
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   132
                          name: 'Table2'
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   133
                          layout: (LayoutFrame 0 0 30 0 0 1 0 1)
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   134
                          initiallyInvisible: true
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   135
                          visibilityChannel: table2VisibleHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   136
                          model: selectedInfoIndexHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   137
                          hasHorizontalScrollBar: true
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   138
                          hasVerticalScrollBar: true
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   139
                          dataList: infoTable2ListHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   140
                          columnHolder: tableColumnsForSingleInfo
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   141
                          separatorOneDColor: (Color 66.999313344015 66.999313344015 66.999313344015)
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   142
                        )
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
                       )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
                     
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
                    )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
                  )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
                 )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
               
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
              )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   150
              handles: (Any 0.35195530726257 1.0)
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
            )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
           )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
         
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
        )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
      )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
!ObjectModuleInformation class methodsFor:'menu specs'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   160
mainMenu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
    "This resource specification was automatically generated
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   162
     by the MenuEditor of ST/X."
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
    "Do not manually edit this!! If it is corrupted,
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
     the MenuEditor may not be able to read the specification."
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   166
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
    "
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   168
     MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#mainMenu
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   169
     (Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation mainMenu)) startUp
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
    "
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
    <resource: #menu>
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
    ^ 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
     #(Menu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
        (
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
         (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
            label: 'File'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
            translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
            submenu: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
           (Menu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
              (
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
                  label: 'Exit'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
                  itemValue: closeRequest
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
                  translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   187
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
               )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
            )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
          )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
         (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
            label: 'View'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
            translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
            submenu: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
           (Menu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
              (
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   200
                  label: 'Builtin'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   202
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
                  indication: showBuiltIn
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
                  label: 'Class Libraries'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   208
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
                  indication: showClassLibs
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
                  label: 'Methods'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   214
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
                  indication: showMethods
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
                  label: 'C-Objects'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   220
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   221
                  indication: showCObjects
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
                  label: 'Others'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   226
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
                  indication: showOthers
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
                )
2403
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   229
               (MenuItem
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   230
                  label: '-'
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   231
                )
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   232
               (MenuItem
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   233
                  label: 'Update'
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   234
                  itemValue: menuUpdateModuleList
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   235
                  translateLabel: true
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   236
                )
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
               )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   240
            )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   241
          )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   242
         (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
            label: 'Module'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
            translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
            submenu: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
           (Menu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
              (
2403
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   248
               (MenuItem
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   249
                  enabled: canBrowseSelectedModule
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   250
                  label: 'Browse'
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   251
                  itemValue: browseModule
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   252
                  translateLabel: true
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   253
                )
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   254
               (MenuItem
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   255
                  enabled: canCopyClassNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   256
                  label: 'Copy Version Info to Clipboard'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   257
                  itemValue: copyClassOrVMNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   258
                  translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   259
                )
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
               (MenuItem
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   261
                  label: '-'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   262
                )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   263
               (MenuItem
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   264
                  enabled: canUnloadSelectedModulesPackage
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   265
                  label: 'Unload Package'
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   266
                  itemValue: unloadSelectedModulesPackage
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
                  translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
                )
2403
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   269
               (MenuItem
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   270
                  enabled: canUnloadSelectedModule
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   271
                  label: 'Remove Classes && Unload DLL'
2403
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   272
                  itemValue: unloadSelectedModuleAndRemoveClasses
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   273
                  translateLabel: true
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   274
                )
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   275
               (MenuItem
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   276
                  enabled: canUnloadSelectedModule
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   277
                  label: 'Unload DLL'
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   278
                  itemValue: unloadSelectedModule
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   279
                  translateLabel: true
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   280
                )
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   281
               )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   282
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   283
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   284
            )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   285
          )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   286
         (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   287
            label: 'Help'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   288
            translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   289
            startGroup: conditionalRight
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   290
            submenu: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   291
           (Menu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   292
              (
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   293
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   294
                  label: 'Documentation'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   295
                  itemValue: openDocumentation
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   296
                  translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   297
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   298
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   299
                  label: '-'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   300
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   301
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   302
                  label: 'About this Application...'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   303
                  itemValue: openAboutThisApplication
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   304
                  translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   305
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   306
               )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   307
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   308
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   309
            )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   310
          )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   311
         )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   312
        nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   313
        nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   314
      )
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   315
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   316
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   317
moduleItemMenu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   318
    "This resource specification was automatically generated
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   319
     by the MenuEditor of ST/X."
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   320
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   321
    "Do not manually edit this!! If it is corrupted,
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   322
     the MenuEditor may not be able to read the specification."
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   323
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   324
    "
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   325
     MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#moduleItemMenu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   326
     (Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation moduleItemMenu)) startUp
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   327
    "
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   328
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   329
    <resource: #menu>
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   330
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   331
    ^ 
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   332
     #(Menu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   333
        (
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   334
         (MenuItem   
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   335
            enabled: canBrowseSelectedClass
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   336
            label: 'Browse'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   337
            itemValue: browseClass
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   338
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   339
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   340
         (MenuItem   
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   341
            label: '-'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   342
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   343
         (MenuItem   
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   344
            enabled: canCopyClassNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   345
            label: 'Copy Version Info to Clipboard'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   346
            itemValue: copyClassOrVMNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   347
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   348
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   349
         )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   350
        nil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   351
        nil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   352
      )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   353
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   354
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   355
moduleMenu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   356
    "This resource specification was automatically generated
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   357
     by the MenuEditor of ST/X."
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   358
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   359
    "Do not manually edit this!! If it is corrupted,
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   360
     the MenuEditor may not be able to read the specification."
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   361
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   362
    "
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   363
     MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#moduleMenu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   364
     (Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation moduleMenu)) startUp
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   365
    "
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   366
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   367
    <resource: #menu>
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   368
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   369
    ^ 
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   370
     #(Menu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   371
        (
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   372
         (MenuItem
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   373
            enabled: canBrowseSelectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   374
            label: 'Browse'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   375
            itemValue: browseModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   376
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   377
          )
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   378
         (MenuItem
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   379
            enabled: canBrowseSelectedModulesExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   380
            label: 'Browse Extensions'
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   381
            itemValue: browseModuleExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   382
            translateLabel: true
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   383
          )
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   384
         (MenuItem   
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   385
            enabled: canCopyClassNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   386
            label: 'Copy Version Info to Clipboard'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   387
            itemValue: copyClassOrVMNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   388
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   389
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   390
         (MenuItem
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   391
            label: '-'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   392
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   393
         (MenuItem
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   394
            enabled: canUnloadSelectedModulesPackage
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   395
            label: 'Unload Package'
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   396
            itemValue: unloadSelectedModulesPackage
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   397
            translateLabel: true
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   398
          )
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   399
         (MenuItem
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   400
            enabled: canUnloadSelectedModule
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   401
            label: 'Remove Classes && Unload DLL'
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   402
            itemValue: unloadSelectedModuleAndRemoveClasses
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   403
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   404
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   405
         (MenuItem
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   406
            enabled: canUnloadSelectedModule
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   407
            label: 'Unload DLL'
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   408
            itemValue: unloadSelectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   409
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   410
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   411
         )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   412
        nil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   413
        nil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   414
      )
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   415
!
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   416
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   417
toolbarMenu
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   418
    "This resource specification was automatically generated
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   419
     by the MenuEditor of ST/X."
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   420
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   421
    "Do not manually edit this!! If it is corrupted,
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   422
     the MenuEditor may not be able to read the specification."
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   423
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   424
    "
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   425
     MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#toolbarMenu
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   426
     (Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation toolbarMenu)) startUp
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   427
    "
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   428
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   429
    <resource: #menu>
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   430
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   431
    ^ 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   432
     #(Menu
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   433
        (
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   434
         (MenuItem
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   435
            enabled: canBrowseSelectedModule
2617
060a35c37056 changed: #toolbarMenu
Claus Gittinger <cg@exept.de>
parents: 2616
diff changeset
   436
            label: 'Browse the Selected Module''s Classes'
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   437
            itemValue: browseModule
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   438
            translateLabel: true
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   439
            isButton: true
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   440
            labelImage: (ResourceRetriever ToolbarIconLibrary startSystemBrowserIcon)
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   441
          )
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   442
         (MenuItem
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   443
            enabled: canBrowseSelectedModulesExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   444
            label: 'Browse the Selected Module''s Extensions'
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   445
            itemValue: browseModuleExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   446
            translateLabel: true
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   447
            isButton: true
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   448
            labelImage: (ResourceRetriever ToolbarIconLibrary browseClassExtensionsIcon)
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   449
          )
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   450
         )
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   451
        nil
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   452
        nil
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   453
      )
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   454
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   455
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   456
!ObjectModuleInformation class methodsFor:'tableColumns specs'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   457
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   458
tableColumns
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   459
    "This resource specification was automatically generated
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   460
     by the DataSetBuilder of ST/X."
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   461
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   462
    "Do not manually edit this!! If it is corrupted,
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   463
     the DataSetBuilder may not be able to read the specification."
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   464
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   465
    "
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   466
     DataSetBuilder new openOnClass:ObjectModuleInformation andSelector:#tableColumns
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   467
    "
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   468
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   469
    <resource: #tableColumns>
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   470
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   471
    ^#(
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   472
      (DataSetColumnSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   473
         label: 'Name'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   474
         activeHelpKey: ''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   475
         labelButtonType: Button
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   476
         width: 0.5
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   477
         model: name
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   478
         canSelect: false
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   479
       )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   480
      (DataSetColumnSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   481
         label: 'Version'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   482
         activeHelpKey: ''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   483
         labelButtonType: Button
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   484
         model: version
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   485
         canSelect: false
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   486
       )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
      (DataSetColumnSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
         label: 'Date'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
         activeHelpKey: ''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   490
         labelButtonType: Button
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
         model: date
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
         canSelect: false
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
       )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
      )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
    
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   496
!
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   497
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   498
tableColumnsForSingleInfo
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   499
    "This resource specification was automatically generated
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   500
     by the DataSetBuilder of ST/X."
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   501
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   502
    "Do not manually edit this!! If it is corrupted,
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   503
     the DataSetBuilder may not be able to read the specification."
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   504
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   505
    "
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   506
     DataSetBuilder new openOnClass:Tools::ObjectModuleInformation andSelector:#tableColumnsForSingleInfo
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   507
    "
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   508
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   509
    <resource: #tableColumns>
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   510
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   511
    ^#(
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   512
      (DataSetColumnSpec
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   513
         label: ''
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   514
         activeHelpKey: ''
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   515
         labelButtonType: None
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   516
         width: 0.3
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   517
         model: name
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   518
         canSelect: false
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   519
       )
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   520
      (DataSetColumnSpec
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   521
         label: ''
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   522
         activeHelpKey: ''
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   523
         labelButtonType: None
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   524
         model: value
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   525
         canSelect: false
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   526
       )
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   527
      )
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   528
    
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
!ObjectModuleInformation methodsFor:'aspects'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   533
canBrowseSelectedClass
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   534
    ^ [classNamesShown notEmptyOrNil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   535
       and:[ self selectedInfoIndex notNil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   536
       and:[ self selectedInfoIndex ~~ 0 ]]]
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   537
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   538
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   539
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   540
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   541
canBrowseSelectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   542
    canBrowseSelectedModule isNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   543
        canBrowseSelectedModule := false asValue
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   544
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   545
    ^ canBrowseSelectedModule.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   546
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   547
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   548
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   549
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   550
canBrowseSelectedModulesExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   551
    canBrowseSelectedModulesExtensions isNil ifTrue:[
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   552
        canBrowseSelectedModulesExtensions := false asValue
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   553
    ].
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   554
    ^ canBrowseSelectedModulesExtensions.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   555
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   556
    "Modified: / 05-10-2007 / 10:51:39 / cg"
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   557
!
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   558
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   559
canCopyClassNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   560
    ^ [table1VisibleHolder value 
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   561
    and:[classInfoShown notEmptyOrNil or:[vmInfoShown notEmptyOrNil] ]]
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   562
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   563
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   564
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   565
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   566
canUnloadSelectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   567
    canUnloadSelectedModule isNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   568
        canUnloadSelectedModule := false asValue
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   569
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   570
    ^ canUnloadSelectedModule.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   571
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   572
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   573
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   574
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   575
canUnloadSelectedModulesPackage
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   576
    canUnloadSelectedModulesPackage isNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   577
        canUnloadSelectedModulesPackage := false asValue
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   578
    ].
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   579
    ^ canUnloadSelectedModulesPackage.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   580
!
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   581
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   582
infoTable1ListHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   583
    ^ builder valueAspectFor:#'infoTable1ListHolder' initialValue:#()
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   584
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   585
    "Created: / 05-10-2007 / 12:48:06 / cg"
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   586
!
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   587
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   588
infoTable2ListHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   589
    ^ builder valueAspectFor:#'infoTable2ListHolder' initialValue:#()
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   590
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   591
    "Created: / 05-10-2007 / 12:48:10 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   592
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   593
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   594
listOfModuleNames
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   595
    listOfModuleNames isNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   596
        listOfModuleNames := List new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   597
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   598
    ^ listOfModuleNames.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   599
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   600
    "Modified: / 05-10-2007 / 10:49:19 / cg"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   601
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   602
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   603
middleLabelHolder
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   604
    ^ builder valueAspectFor:#'middleLabelHolder' initialValue:''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   605
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   606
    "Created: / 05-10-2007 / 11:05:08 / cg"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   607
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   608
2184
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   609
notReadOnly
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   610
    ^ self readOnly not
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   611
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   612
    "Created: / 05-10-2007 / 13:06:00 / cg"
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   613
!
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   614
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   615
readOnly
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   616
    ^ readOnly ? false
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   617
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   618
    "Created: / 05-10-2007 / 13:05:51 / cg"
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   619
!
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   620
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   621
readOnly:aBoolean
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   622
    readOnly := aBoolean
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   623
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   624
    "Created: / 05-10-2007 / 13:05:51 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   625
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   626
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   627
selectedInfoIndex
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   628
    |sel|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   629
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   630
    sel := self selectedInfoIndexHolder value.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   631
    ^ sel
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   632
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   633
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   634
selectedInfoIndexHolder
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   635
    selectedInfoIndexHolder isNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   636
        selectedInfoIndexHolder := ValueHolder new.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   637
        selectedInfoIndexHolder onChangeSend:#selectedInfoIndexChanged to:self.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   638
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   639
    ^ selectedInfoIndexHolder.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   640
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   641
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   642
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   643
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   644
selectedModuleIndex
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   645
    |sel|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   646
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   647
    sel := self selectedModuleIndexHolder value.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   648
    ^ sel
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   649
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   650
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   651
selectedModuleIndexHolder
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   652
    selectedModuleIndexHolder isNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   653
        selectedModuleIndexHolder := ValueHolder new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   654
        selectedModuleIndexHolder onChangeSend:#selectedModuleIndexChanged to:self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   655
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   656
    ^ selectedModuleIndexHolder.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   657
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   658
    "Modified: / 05-10-2007 / 10:51:39 / cg"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   659
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   660
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   661
showBuiltIn
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   662
    showBuiltIn isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   663
        showBuiltIn := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   664
        showBuiltIn onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   665
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   666
    ^ showBuiltIn
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   667
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   668
    "Modified: / 05-10-2007 / 12:43:23 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   669
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   670
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   671
showCObjects
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   672
    showCObjects isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   673
        showCObjects := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   674
        showCObjects onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   675
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   676
    ^ showCObjects
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   677
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   678
    "Modified: / 05-10-2007 / 12:43:16 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   679
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   680
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   681
showClassLibs
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   682
    showClassLibs isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   683
        showClassLibs := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   684
        showClassLibs onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   685
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   686
    ^ showClassLibs
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   687
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   688
    "Modified: / 05-10-2007 / 12:43:10 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   689
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   690
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   691
showMethods
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   692
    showMethods isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   693
        showMethods := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   694
        showMethods onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   695
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   696
    ^ showMethods
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   697
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   698
    "Modified: / 05-10-2007 / 12:43:02 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   699
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   700
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   701
showOthers
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   702
    showOthers isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   703
        showOthers := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   704
        showOthers onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   705
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   706
    ^ showOthers
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   707
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   708
    "Modified: / 05-10-2007 / 12:42:54 / cg"
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   709
!
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   710
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   711
table1VisibleHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   712
    table1VisibleHolder isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   713
        table1VisibleHolder := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   714
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   715
    ^ table1VisibleHolder.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   716
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   717
    "Modified: / 05-10-2007 / 12:53:05 / cg"
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   718
!
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   719
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   720
table2VisibleHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   721
    table2VisibleHolder isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   722
        table2VisibleHolder := false asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   723
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   724
    ^ table2VisibleHolder.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   725
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   726
    "Modified: / 05-10-2007 / 12:53:14 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   727
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   728
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   729
!ObjectModuleInformation methodsFor:'change & update'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   730
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   731
isExtensionName:nm
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   732
    ^ (nm endsWith:'_extensions')
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   733
!
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   734
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   735
selectedInfoIndexChanged
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   736
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   737
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   738
selectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   739
    |sel|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   740
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   741
    sel := self selectedModuleIndex.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   742
    sel isNil ifTrue:[^ nil].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   743
    ^ objectHandles at:sel.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   744
!
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   746
selectedModuleIndexChanged
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   747
    |module info canBrowse canUnload canBrowseExtensions|
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   748
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   749
    info := self selectedModuleInfo.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   750
    module := self selectedModule.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   751
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   752
    canBrowse := info notNil and:[info ~~ #VM and:[module notNil]].
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   753
    canUnload := info notNil and:[info ~~ #VM and:[info dynamic and:[self readOnly not]]].
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   754
    canBrowseExtensions := canBrowse 
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   755
                           and:[ info classNames contains:[:nm | self isExtensionName:nm] ].
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   756
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   757
    self canBrowseSelectedModule value:canBrowse.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   758
    self canBrowseSelectedModulesExtensions value:canBrowseExtensions.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   759
    self canUnloadSelectedModule value:canUnload.
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   760
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   761
    classNamesShown := nil.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   762
    classInfoShown := nil.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   763
    vmInfoShown := nil.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   764
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   765
    info isNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   766
        "/ selected a method, cObject or unknown
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   767
        self showInfoForNonClassLib:(self selectedModuleIndex).
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   768
        ^ self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   769
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   770
    info == #VM ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   771
        "/ selected the pseudo entry for the VM itself
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   772
        self showInfoForVM.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   773
        ^ self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   774
    ].
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   775
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   776
    "/ selected a class-library package
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   777
    self showInfoForClassLib:info.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   778
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   779
    "Modified: / 05-10-2007 / 12:56:13 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   780
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   781
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   782
selectedModuleInfo
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   783
    |sel info|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   784
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   785
    sel := self selectedModuleIndex.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   786
    sel notNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   787
        (self showClassLibs value or:[self showBuiltIn value]) ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   788
            info := allModules at:sel ifAbsent:nil.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   789
        ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   790
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   791
    ^ info
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   792
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   793
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   794
showInfoForClassLib:info
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   795
    " selected a lib-package; fill bottom list with class-info "
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   796
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   797
    |rows libraryName defClassName libraryDefinition mgr defClassNames|
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   798
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   799
    self middleLabelHolder value:'Contains Components:'.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   800
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   801
    "/ try to figure out, what the definitionClass is inside that module.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   802
    "/ in the future, we should always find one there, however, old libs or
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   803
    "/ special libraries (hand built) might be without a projectDefinition.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   804
    defClassNames := (info classNames ? #()) 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   805
                        select:[:nm |                
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   806
                            |cls| 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   807
                            cls := Smalltalk classNamed:nm.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   808
                            cls isBehavior and:[ cls isProjectDefinition ]].
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   809
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   810
    defClassNames size == 1 ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   811
        libraryName := defClassNames first
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   812
    ] ifFalse:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   813
        "/ fallback - some heuristics...
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   814
        libraryName := info libraryName.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   815
        (libraryName notNil and:[ libraryName startsWith:'lib' ]) ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   816
            defClassName := libraryName copyFrom:4
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   817
        ] ifFalse:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   818
            self halt.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   819
        ].
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   820
    ].
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   821
    defClassName notNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   822
        libraryDefinition := Smalltalk classNamed:defClassName.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   823
    ].
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   824
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
   825
    classNamesShown := self shownClassNamesFor:info.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   826
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
   827
    rows := classNamesShown collect:[:cName |
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   828
                    |cls entry rev listEntry revisionInfo versionString dateString|
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   829
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   830
                    listEntry := InfoRow new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   831
                    listEntry name:cName.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   832
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   833
                    cls := Smalltalk classNamed:cName.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   834
                    cls isNil ifTrue:[
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   835
                        (self isExtensionName:cName) ifFalse:[
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   836
                            versionString := '(class removed)'.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   837
                        ] ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   838
                            libraryDefinition notNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   839
                                mgr := libraryDefinition sourceCodeManager.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   840
                                versionString := libraryDefinition perform:(mgr nameOfVersionMethodForExtensions) ifNotUnderstood:nil.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   841
                                versionString notNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   842
                                    versionString := '(bin: ',(mgr revisionInfoFromString:versionString) revision,')'.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   843
                                ]
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   844
                            ].
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   845
                        ].
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   846
                    ] ifFalse:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   847
                        rev := cls binaryRevision.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   848
                        rev notNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   849
                            cls isLoaded ifFalse:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   850
                                entry := '(stub for: ' , rev.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   851
                            ] ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   852
                                entry :='(bin: ' , rev.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   853
                            ].    
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   854
                            cls revision ~= rev ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   855
                                entry := entry , ' / src: ' , (cls revision printString)
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   856
                            ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   857
                            entry := entry , ')'.
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   858
                            versionString := entry
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   859
                        ] ifFalse:[
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   860
                            cls revision notNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   861
                                versionString := '(overloaded by: ' , cls revision , ')' 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   862
                            ]
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   863
                        ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   864
                        revisionInfo := cls revisionInfo.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   865
                        revisionInfo notNil ifTrue:[
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   866
                            dateString := (revisionInfo at:#date)
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   867
                        ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   868
                    ].
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   869
                    listEntry version:versionString.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   870
                    listEntry date:dateString
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   871
                  ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   872
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   873
    classInfoShown := rows.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   874
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   875
    self infoTable1ListHolder value:rows.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   876
    self table1VisibleHolder value:true.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   877
    self table2VisibleHolder value:false.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   878
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   879
    "Modified: / 05-10-2007 / 13:03:56 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   880
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   881
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   882
showInfoForNonClassLib:sel
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   883
    " selected a method, cObject or unknown "
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   884
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   885
    |module fileName list entry|
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   886
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   887
    sel isNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   888
        self table1VisibleHolder value:false.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   889
        self table2VisibleHolder value:false.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   890
        ^ self.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   891
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   892
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   893
    module := objectHandles at:sel.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   894
    fileName := module pathName.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   895
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   896
    module isMethodHandle ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   897
        |method nm entry1 entry2 entry3|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   898
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   899
        self middleLabelHolder value:'Compiled Method:'.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   900
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   901
        (method := module method) isNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   902
            nm := '** removed **'.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   903
        ] ifFalse:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   904
"/            menu := PopUpMenu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   905
"/                        labels:#('Inspect' 'Browse')
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   906
"/                        selectors:#(inspect browse).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   907
"/            menu actionAt:#inspect put:[ method inspect ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   908
"/            menu actionAt:#browse put:[ |who|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   909
"/                                        who := method who.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   910
"/                                        UserPreferences systemBrowserClass
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
"/                                            openInClass:(who methodClass) 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   912
"/                                            selector:(who methodSelector) 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   913
"/                                      ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
"/            listView1 middleButtonMenu:menu.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   915
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   916
            nm := (method whoString) asText emphasizeAllWith:(#color->Color blue).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   917
        ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
        entry1 := InfoRow new.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   919
        entry1 name:'Compiled method'; value:nm.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   921
        entry2 := InfoRow new.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   922
        entry2 name:'Path'; value:fileName.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   923
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   924
        entry3 := InfoRow new.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   925
        entry3 name:'Address'; value:('(16r) ' , (method code address hexPrintString leftPaddedTo:8 with:$0)).
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   926
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   927
        self infoTable2ListHolder value:(Array with:entry1 with:entry2 with:entry3).
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   928
        self table1VisibleHolder value:false.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   929
        self table2VisibleHolder value:true.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   930
        ^ self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   931
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   932
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   933
    (module isFunctionObjectHandle 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   934
    and:[module functions notEmpty]) ifTrue:[
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   935
        self middleLabelHolder value:'Functions:'.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   936
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   937
"/        menu := PopUpMenu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   938
"/                    labels:#('Inspect')
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   939
"/                    selectors:#(inspect).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   940
"/        menu actionAt:#inspect put:[ module functions inspect  ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   941
"/        listView1 middleButtonMenu:menu.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   942
"/
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   943
        list := (module functions select:[:f | f notNil])
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   944
                        collect:[:f | |entry|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   945
                                        entry := InfoRow new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   946
                                        entry name:(f name asText emphasizeAllWith:(#color->Color blue)).
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   947
                                        entry value:('address: (16r) ' , (f code address hexPrintString leftPaddedTo:8 with:$0)).
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   948
                                        entry
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   949
                                ].
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   950
        self infoTable2ListHolder value:list.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   951
        self table1VisibleHolder value:false.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   952
        self table2VisibleHolder value:true.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   953
        ^ self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   954
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   955
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   956
    entry := InfoRow new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   957
    entry name:'Unknown'.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   958
    self infoTable2ListHolder value:(Array with:entry).
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   959
    self table1VisibleHolder value:false.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   960
    self table2VisibleHolder value:true.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   961
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   962
    "Modified: / 05-10-2007 / 13:01:33 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   963
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   964
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   965
showInfoForVM
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   966
    " show file versions of vm info in lower view. "
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   967
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   968
    |l|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   969
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   970
    self middleLabelHolder value:'Contains Components:'.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   971
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   972
    l := (ObjectMemory getVMIdentificationStrings).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   973
    l := l select:[:entry | entry includesString:'$Header'].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   974
    l := l select:[:entry | entry includesString:',v'].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   975
    l := l collect:[:entry |
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   976
        |i1 i2 file revision date listEntry|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   977
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   978
        listEntry := InfoRow new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   979
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   980
        i1 := entry indexOfSubCollection:'librun'.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   981
        i1 ~~ 0 ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   982
            i2 := entry indexOfSubCollection:',v' startingAt:i1.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   983
            i2 ~~ 0 ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   984
                file := entry copyFrom:i1+7 to:(i2-1).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   985
                listEntry name:file.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   986
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   987
                i1 := i2+3.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   988
                i2 := entry indexOfSeparatorStartingAt:i1.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   989
                revision := entry copyFrom:i1 to:(i2-1).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   990
                listEntry version:revision.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   991
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   992
                i1 := i2+1.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   993
                i2 := entry indexOfSeparatorStartingAt:i1.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   994
                date := entry copyFrom:i1 to:(i2-1).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   995
                listEntry date:date.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   996
            ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   997
        ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   998
        listEntry.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   999
    ].
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1000
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1001
    vmInfoShown := l.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1002
    self infoTable1ListHolder value:l.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1003
    self table1VisibleHolder value:true.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1004
    self table2VisibleHolder value:false.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1005
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1006
"/    readOnly ifFalse:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1007
"/        unloadButton disable.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1008
"/        unloadAndRemoveButton disable.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1009
"/    ]
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1010
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1011
    "Modified: / 05-10-2007 / 12:53:44 / cg"
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1012
!
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1013
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1014
shownClassNamesFor:info
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1015
    "/ selected a package; fill bottom list with class-info
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1016
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1017
    |classNames|
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1018
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1019
    classNames := info classNames asSortedCollection.
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1020
    ^ classNames 
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1021
        select:[:cName |
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1022
            |cls|
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1023
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1024
            cls := Smalltalk classNamed:cName.
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1025
            cls isNil ifTrue:[
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1026
                true "a removed class"
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1027
            ] ifFalse:[
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1028
                cls isPrivate not
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1029
            ].
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1030
        ].
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1032
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1033
!ObjectModuleInformation methodsFor:'initialization'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1035
postBuildWith:aBuilder
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1036
    |canDoIt|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1037
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1038
    super postBuildWith:aBuilder.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1039
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1040
    canDoIt := ObjectFileLoader notNil and:[ObjectFileLoader canLoadObjectFiles].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1041
    self showBuiltIn value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1042
    self showCObjects value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1043
    self showClassLibs value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1044
    self showMethods value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1045
    self showOthers value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1046
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1047
    self updateModuleList
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1048
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1049
    "Created: / 05-10-2007 / 10:50:27 / cg"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1050
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1051
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1052
!ObjectModuleInformation methodsFor:'menu actions'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1053
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1054
browseClass
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1055
    |module info classNames selectedClassName selectedClass|
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1056
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1057
    module := self selectedModule.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1058
    info := self selectedModuleInfo.
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1059
    classNames := (self shownClassNamesFor:info) asSortedCollection.
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1060
    selectedClassName := classNames at:(self selectedInfoIndex).
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1061
    selectedClass := Smalltalk classNamed:selectedClassName.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1062
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1063
    selectedClass notNil ifTrue:[
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1064
        Smalltalk browseInClass:selectedClass.
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1065
        ^ self.
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1066
    ].
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1067
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1068
    "/ clicked on an extensions-module ?
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1069
    (self isExtensionName:selectedClassName) ifTrue:[
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1070
        self browseModuleExtensions.
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1071
        ^ self.
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1072
    ].
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1073
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1074
    self breakPoint:#cg.
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1075
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1076
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1077
browseModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1078
    |module classes|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1079
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1080
    module := self selectedModule.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1081
    classes := module classNames collect:[:nm | Smalltalk classNamed:nm].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1082
    UserPreferences systemBrowserClass 
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1083
        browseClasses:classes
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1084
        label:(resources string:'Classes in %1' with:module libraryName)
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1085
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1086
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1087
browseModuleExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1088
    |module name packageID methods|
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1089
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1090
    module := self selectedModule.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1091
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1092
    name := module classNames detect:[:nm | self isExtensionName:nm].
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1093
    packageID := (name copyWithoutLast:('_extensions' size)) asSymbol.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1094
    methods := Smalltalk allExtensionsForPackage:packageID.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1095
    (UserPreferences browserClass) browseMethods:methods title:('Extensions for ',packageID).
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1096
!
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1097
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1098
copyClassOrVMNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1099
    |text|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1100
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1101
    text := ((classInfoShown ? vmInfoShown)collect:[:eachRow | eachRow infoString]) asStringCollection asString.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1102
    self window setClipboardText:text.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1103
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1104
2403
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
  1105
menuUpdateModuleList
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
  1106
    self updateModuleList
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
  1107
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
  1108
    "Modified: / 05-10-2007 / 13:11:45 / cg"
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
  1109
!
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
  1110
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1111
openDocumentation
2184
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
  1112
    self openHTMLDocument: 'tools/misc/TOP.html#MODULEINFO'
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
2184
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
  1114
    "Modified: / 05-10-2007 / 13:11:45 / cg"
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1115
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1116
2254
06ada9ab1a8a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2253
diff changeset
  1117
unloadSelectedModule
06ada9ab1a8a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2253
diff changeset
  1118
    self unloadSelectedModuleRemoveClasses:false
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1119
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1120
2254
06ada9ab1a8a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2253
diff changeset
  1121
unloadSelectedModuleAndRemoveClasses
06ada9ab1a8a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2253
diff changeset
  1122
    self unloadSelectedModuleRemoveClasses:true
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1123
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1124
2254
06ada9ab1a8a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2253
diff changeset
  1125
unloadSelectedModuleRemoveClasses:doRemoveClasses
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1126
    (Dialog 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1127
        confirm:'This is a possibly dangerous operation, as the DLL is unloaded without caring for 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1128
proper package-deinstallation procedures. Please only use this in repair situations and when the 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1129
regular unloadPackage operation fails.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1130
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1131
Continue ?')
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1132
    ifFalse:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1133
        ^ self  
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1134
    ].
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1135
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1136
    self withWaitCursorDo:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1137
        |info idx handle pathName|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1138
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1139
        info := self selectedModuleInfo.
2254
06ada9ab1a8a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2253
diff changeset
  1140
        handle := objectHandles at:(self selectedModuleIndex).
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1141
        self selectedModuleIndexHolder value:nil.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1142
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1143
        info isNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1144
            "/ selected a method
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1145
            "/ idx := idx - allModules size.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1146
            pathName := handle pathName.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1147
        ] ifFalse:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1148
            "/ selected a package
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1149
            pathName := info pathName.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1150
        ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1151
        pathName notNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1152
            doRemoveClasses ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1153
                ObjectFileLoader unloadObjectFileAndRemoveClasses:pathName.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1154
            ] ifFalse:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1155
                ObjectFileLoader unloadObjectFile:pathName.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1156
            ]
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1157
        ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1158
        self updateModuleList.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1159
    ]
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1160
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1161
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1162
!ObjectModuleInformation methodsFor:'private'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1163
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1164
filterChanged
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1165
    self updateModuleList
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1166
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1167
    "Created: / 05-10-2007 / 12:43:36 / cg"
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1168
!
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1169
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1170
updateModuleList
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1171
    |showClassLibs showBuiltIn showMethods showCObjects showOthers
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1172
     listOfModuleNames allObjects handles|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1173
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1174
    showClassLibs := self showClassLibs value.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1175
    showBuiltIn := self showBuiltIn value.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1176
    showMethods := self showMethods value.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1177
    showCObjects := self showCObjects value.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1178
    showOthers := self showOthers value.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1179
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1180
    listOfModuleNames := OrderedCollection new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1181
    handles := OrderedCollection new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1182
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1183
    allObjects := ObjectFileLoader loadedObjectHandles.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1184
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1185
    (showClassLibs or:[showBuiltIn]) ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1186
        |moduleNames|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1187
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1188
        allModules := ObjectMemory binaryModuleInfo asOrderedCollection.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1189
        (showBuiltIn and:[showClassLibs]) ifFalse:[