Tools__ObjectModuleInformation.st
author Claus Gittinger <cg@exept.de>
Tue, 13 Oct 2009 10:46:57 +0200
changeset 2619 09ab6a49e5ce
parent 2618 441ede629ea8
child 2620 fccbd77a9409
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
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
    12
		canBrowseSelectedModulesExtensions canUnloadSelectedDLL'
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
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   200
                  label: 'Dynamically Loaded ClassLibraries Only'
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   201
                  translateLabel: true
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   202
                  hideMenuOnActivated: false
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   203
                  itemValue: showOnlyDynamicallyLoadedClassLibraries
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   204
                )
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   205
               (MenuItem
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   206
                  label: '-'
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   207
                )
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   208
               (MenuItem
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
                  label: 'Builtin'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   211
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
                  indication: showBuiltIn
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
                  label: 'Class Libraries'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   217
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
                  indication: showClassLibs
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   220
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   221
                  label: 'Methods'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   223
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
                  indication: showMethods
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   226
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
                  label: 'C-Objects'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   229
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
                  indication: showCObjects
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
                  label: 'Others'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
                  translateLabel: true
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   235
                  hideMenuOnActivated: false
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
                  indication: showOthers
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
                )
2403
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   238
               (MenuItem
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   239
                  label: '-'
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   240
                )
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   241
               (MenuItem
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   242
                  label: 'Update'
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   243
                  itemValue: menuUpdateModuleList
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   244
                  translateLabel: true
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   245
                )
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
               )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
            )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
          )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
         (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
            label: 'Module'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
            translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
            submenu: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
           (Menu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
              (
2403
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   257
               (MenuItem
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   258
                  enabled: canBrowseSelectedModule
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   259
                  label: 'Browse'
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   260
                  itemValue: browseModule
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   261
                  translateLabel: true
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   262
                )
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   263
               (MenuItem
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   264
                  enabled: canBrowseSelectedModulesExtensions
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   265
                  label: 'Browse Extensions'
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   266
                  itemValue: browseModuleExtensions
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   267
                  translateLabel: true
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   268
                )
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   269
               (MenuItem
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   270
                  label: '-'
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   271
                )
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   272
               (MenuItem
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   273
                  enabled: canCopyClassNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   274
                  label: 'Copy Version Info to Clipboard'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   275
                  itemValue: copyClassOrVMNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   276
                  translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   277
                )
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   278
               (MenuItem
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   279
                  label: '-'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   280
                )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   281
               (MenuItem
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   282
                  label: 'Load Package...'
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   283
                  itemValue: loadPackage
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   284
                  translateLabel: true
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   285
                )
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   286
               (MenuItem
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   287
                  label: '-'
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   288
                )
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   289
               (MenuItem
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   290
                  enabled: canUnloadSelectedModulesPackage
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   291
                  label: 'Unload Package...'
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   292
                  itemValue: unloadSelectedModulesPackage
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   293
                  translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   294
                )
2403
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   295
               (MenuItem
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   296
                  enabled: canUnloadSelectedDLL
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   297
                  label: 'Remove Classes && Unload DLL...'
2403
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   298
                  itemValue: unloadSelectedModuleAndRemoveClasses
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   299
                  translateLabel: true
11c5c82a852c changed #menuUpdateModuleList
Claus Gittinger <cg@exept.de>
parents: 2402
diff changeset
   300
                )
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   301
               (MenuItem
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   302
                  enabled: canUnloadSelectedModule
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   303
                  label: 'Unload DLL...'
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   304
                  itemValue: unloadSelectedModule
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   305
                  translateLabel: true
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   306
                )
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   307
               )
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
              nil
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
         (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   313
            label: 'Help'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   314
            translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   315
            startGroup: conditionalRight
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   316
            submenu: 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   317
           (Menu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   318
              (
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   319
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   320
                  label: 'Documentation'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   321
                  itemValue: openDocumentation
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   322
                  translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   323
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   324
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   325
                  label: '-'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   326
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   327
               (MenuItem
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   328
                  label: 'About this Application...'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   329
                  itemValue: openAboutThisApplication
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   330
                  translateLabel: true
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   331
                )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   332
               )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   333
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   334
              nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   335
            )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   336
          )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   337
         )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   338
        nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   339
        nil
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   340
      )
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   341
!
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
moduleItemMenu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   344
    "This resource specification was automatically generated
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   345
     by the MenuEditor of ST/X."
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   346
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   347
    "Do not manually edit this!! If it is corrupted,
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   348
     the MenuEditor may not be able to read the specification."
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
    "
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   351
     MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#moduleItemMenu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   352
     (Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation moduleItemMenu)) startUp
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
    <resource: #menu>
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   356
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   357
    ^ 
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   358
     #(Menu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   359
        (
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   360
         (MenuItem   
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   361
            enabled: canBrowseSelectedClass
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   362
            label: 'Browse'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   363
            itemValue: browseClass
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   364
            translateLabel: true
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
         (MenuItem   
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   367
            label: '-'
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
         (MenuItem   
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   370
            enabled: canCopyClassNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   371
            label: 'Copy Version Info to Clipboard'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   372
            itemValue: copyClassOrVMNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   373
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   374
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   375
         )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   376
        nil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   377
        nil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   378
      )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   379
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   380
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   381
moduleMenu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   382
    "This resource specification was automatically generated
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   383
     by the MenuEditor of ST/X."
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   384
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   385
    "Do not manually edit this!! If it is corrupted,
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   386
     the MenuEditor may not be able to read the specification."
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   387
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   388
    "
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   389
     MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#moduleMenu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   390
     (Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation moduleMenu)) startUp
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   391
    "
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
    <resource: #menu>
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   394
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   395
    ^ 
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   396
     #(Menu
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   397
        (
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   398
         (MenuItem
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   399
            enabled: canBrowseSelectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   400
            label: 'Browse'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   401
            itemValue: browseModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   402
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   403
          )
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   404
         (MenuItem
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   405
            enabled: canBrowseSelectedModulesExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   406
            label: 'Browse Extensions'
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   407
            itemValue: browseModuleExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   408
            translateLabel: true
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   409
          )
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   410
         (MenuItem
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   411
            label: '-'
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   412
          )
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   413
         (MenuItem
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   414
            enabled: canCopyClassNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   415
            label: 'Copy Version Info to Clipboard'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   416
            itemValue: copyClassOrVMNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   417
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   418
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   419
         (MenuItem
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   420
            label: '-'
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   421
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   422
         (MenuItem
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   423
            enabled: canUnloadSelectedModulesPackage
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   424
            label: 'Unload Package...'
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   425
            itemValue: unloadSelectedModulesPackage
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   426
            translateLabel: true
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
         (MenuItem
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   429
            enabled: canUnloadSelectedModule
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   430
            label: 'Remove Classes && Unload DLL...'
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   431
            itemValue: unloadSelectedModuleAndRemoveClasses
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   432
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   433
          )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   434
         (MenuItem
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   435
            enabled: canUnloadSelectedDLL
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   436
            label: 'Unload DLL...'
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   437
            itemValue: unloadSelectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   438
            translateLabel: true
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   439
          )
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   440
         (MenuItem
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   441
            label: '-'
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   442
          )
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   443
         (MenuItem
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   444
            label: 'Update'
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   445
            itemValue: menuUpdateModuleList
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   446
            translateLabel: true
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   447
          )
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   448
         )
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   449
        nil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   450
        nil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   451
      )
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   452
!
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   453
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   454
toolbarMenu
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   455
    "This resource specification was automatically generated
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   456
     by the MenuEditor of ST/X."
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   457
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   458
    "Do not manually edit this!! If it is corrupted,
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   459
     the MenuEditor may not be able to read the specification."
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   460
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   461
    "
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   462
     MenuEditor new openOnClass:Tools::ObjectModuleInformation andSelector:#toolbarMenu
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   463
     (Menu new fromLiteralArrayEncoding:(Tools::ObjectModuleInformation toolbarMenu)) startUp
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   464
    "
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   465
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   466
    <resource: #menu>
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   467
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   468
    ^ 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   469
     #(Menu
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   470
        (
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   471
         (MenuItem
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   472
            enabled: canBrowseSelectedModule
2617
060a35c37056 changed: #toolbarMenu
Claus Gittinger <cg@exept.de>
parents: 2616
diff changeset
   473
            label: 'Browse the Selected Module''s Classes'
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   474
            itemValue: browseModule
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   475
            translateLabel: true
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   476
            isButton: true
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   477
            labelImage: (ResourceRetriever ToolbarIconLibrary startSystemBrowserIcon)
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   478
          )
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   479
         (MenuItem
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   480
            enabled: canBrowseSelectedModulesExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   481
            label: 'Browse the Selected Module''s Extensions'
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   482
            itemValue: browseModuleExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   483
            translateLabel: true
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   484
            isButton: true
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   485
            labelImage: (ResourceRetriever ToolbarIconLibrary browseClassExtensionsIcon)
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   486
          )
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   487
         )
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   488
        nil
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   489
        nil
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   490
      )
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   493
!ObjectModuleInformation class methodsFor:'tableColumns specs'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   494
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
tableColumns
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
    "This resource specification was automatically generated
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   497
     by the DataSetBuilder of ST/X."
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   499
    "Do not manually edit this!! If it is corrupted,
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   500
     the DataSetBuilder may not be able to read the specification."
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   501
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   502
    "
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   503
     DataSetBuilder new openOnClass:ObjectModuleInformation andSelector:#tableColumns
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   504
    "
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   505
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
    <resource: #tableColumns>
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   507
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   508
    ^#(
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   509
      (DataSetColumnSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   510
         label: 'Name'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   511
         activeHelpKey: ''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
         labelButtonType: Button
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   513
         width: 0.5
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   514
         model: name
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   515
         canSelect: false
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   516
       )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   517
      (DataSetColumnSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   518
         label: 'Version'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   519
         activeHelpKey: ''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   520
         labelButtonType: Button
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   521
         model: version
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   522
         canSelect: false
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   523
       )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   524
      (DataSetColumnSpec
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   525
         label: 'Date'
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   526
         activeHelpKey: ''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   527
         labelButtonType: Button
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   528
         model: date
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   529
         canSelect: false
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   530
       )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   531
      )
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   532
    
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   533
!
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   534
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   535
tableColumnsForSingleInfo
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   536
    "This resource specification was automatically generated
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   537
     by the DataSetBuilder of ST/X."
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   538
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   539
    "Do not manually edit this!! If it is corrupted,
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   540
     the DataSetBuilder may not be able to read the specification."
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   541
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   542
    "
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   543
     DataSetBuilder new openOnClass:Tools::ObjectModuleInformation andSelector:#tableColumnsForSingleInfo
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   544
    "
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   545
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   546
    <resource: #tableColumns>
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   547
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   548
    ^#(
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   549
      (DataSetColumnSpec
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   550
         label: ''
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   551
         activeHelpKey: ''
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   552
         labelButtonType: None
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   553
         width: 0.3
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   554
         model: name
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   555
         canSelect: false
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   556
       )
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   557
      (DataSetColumnSpec
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   558
         label: ''
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   559
         activeHelpKey: ''
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   560
         labelButtonType: None
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   561
         model: value
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   562
         canSelect: false
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   563
       )
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   564
      )
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   565
    
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   566
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   567
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   568
!ObjectModuleInformation methodsFor:'aspects'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   569
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   570
canBrowseSelectedClass
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   571
    ^ [classNamesShown notEmptyOrNil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   572
       and:[ self selectedInfoIndex notNil
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   573
       and:[ self selectedInfoIndex ~~ 0 ]]]
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   574
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   575
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   576
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   577
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   578
canBrowseSelectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   579
    canBrowseSelectedModule isNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   580
        canBrowseSelectedModule := false asValue
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   581
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   582
    ^ canBrowseSelectedModule.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   583
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   584
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   585
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   586
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   587
canBrowseSelectedModulesExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   588
    canBrowseSelectedModulesExtensions isNil ifTrue:[
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   589
        canBrowseSelectedModulesExtensions := false asValue
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   590
    ].
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   591
    ^ canBrowseSelectedModulesExtensions.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   592
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   593
    "Modified: / 05-10-2007 / 10:51:39 / cg"
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   594
!
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   595
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   596
canCopyClassNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   597
    ^ [table1VisibleHolder value 
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   598
    and:[classInfoShown notEmptyOrNil or:[vmInfoShown notEmptyOrNil] ]]
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   599
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   600
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   601
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   602
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   603
canUnloadSelectedDLL
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   604
    canUnloadSelectedDLL isNil ifTrue:[
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   605
        canUnloadSelectedDLL := false asValue
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   606
    ].
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   607
    ^ canUnloadSelectedDLL.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   608
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   609
    "Modified: / 05-10-2007 / 10:51:39 / cg"
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   610
!
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   611
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   612
canUnloadSelectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   613
    canUnloadSelectedModule isNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   614
        canUnloadSelectedModule := false asValue
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   615
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   616
    ^ canUnloadSelectedModule.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   617
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   618
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   619
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   620
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   621
canUnloadSelectedModulesPackage
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   622
    canUnloadSelectedModulesPackage isNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   623
        canUnloadSelectedModulesPackage := false asValue
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   624
    ].
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   625
    ^ canUnloadSelectedModulesPackage.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   626
!
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   627
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   628
infoTable1ListHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   629
    ^ builder valueAspectFor:#'infoTable1ListHolder' initialValue:#()
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   630
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   631
    "Created: / 05-10-2007 / 12:48:06 / cg"
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   632
!
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   633
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   634
infoTable2ListHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   635
    ^ builder valueAspectFor:#'infoTable2ListHolder' initialValue:#()
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   636
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   637
    "Created: / 05-10-2007 / 12:48:10 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   638
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   639
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   640
listOfModuleNames
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   641
    listOfModuleNames isNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   642
        listOfModuleNames := List new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   643
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   644
    ^ listOfModuleNames.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   645
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   646
    "Modified: / 05-10-2007 / 10:49:19 / cg"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   647
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   648
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   649
middleLabelHolder
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   650
    ^ builder valueAspectFor:#'middleLabelHolder' initialValue:''
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   651
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   652
    "Created: / 05-10-2007 / 11:05:08 / cg"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   653
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   654
2184
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   655
notReadOnly
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   656
    ^ self readOnly not
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   657
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   658
    "Created: / 05-10-2007 / 13:06:00 / cg"
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   659
!
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   660
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   661
readOnly
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   662
    ^ readOnly ? false
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   663
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   664
    "Created: / 05-10-2007 / 13:05:51 / cg"
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   665
!
1ffb97ee0a55 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2183
diff changeset
   666
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   667
readOnly:aBoolean
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   668
    readOnly := aBoolean
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   669
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   670
    "Created: / 05-10-2007 / 13:05:51 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   671
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   672
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   673
selectedInfoIndex
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   674
    |sel|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   675
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   676
    sel := self selectedInfoIndexHolder value.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   677
    ^ sel
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   678
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   679
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   680
selectedInfoIndexHolder
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   681
    selectedInfoIndexHolder isNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   682
        selectedInfoIndexHolder := ValueHolder new.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   683
        selectedInfoIndexHolder onChangeSend:#selectedInfoIndexChanged to:self.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   684
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   685
    ^ selectedInfoIndexHolder.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   686
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   687
    "Modified: / 05-10-2007 / 10:51:39 / cg"
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   688
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   689
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   690
selectedModuleIndex
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   691
    |sel|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   692
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   693
    sel := self selectedModuleIndexHolder value.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   694
    ^ sel
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   695
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   696
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   697
selectedModuleIndexHolder
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   698
    selectedModuleIndexHolder isNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   699
        selectedModuleIndexHolder := ValueHolder new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   700
        selectedModuleIndexHolder onChangeSend:#selectedModuleIndexChanged to:self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   701
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   702
    ^ selectedModuleIndexHolder.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   703
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   704
    "Modified: / 05-10-2007 / 10:51:39 / cg"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   705
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   706
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   707
showBuiltIn
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   708
    showBuiltIn isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   709
        showBuiltIn := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   710
        showBuiltIn onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   711
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   712
    ^ showBuiltIn
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   713
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   714
    "Modified: / 05-10-2007 / 12:43:23 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   715
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   716
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   717
showCObjects
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   718
    showCObjects isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   719
        showCObjects := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   720
        showCObjects onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   721
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   722
    ^ showCObjects
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   723
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   724
    "Modified: / 05-10-2007 / 12:43:16 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   725
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   726
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   727
showClassLibs
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   728
    showClassLibs isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   729
        showClassLibs := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   730
        showClassLibs onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   731
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   732
    ^ showClassLibs
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   733
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   734
    "Modified: / 05-10-2007 / 12:43:10 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   735
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   736
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   737
showMethods
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   738
    showMethods isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   739
        showMethods := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   740
        showMethods onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   741
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   742
    ^ showMethods
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   743
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   744
    "Modified: / 05-10-2007 / 12:43:02 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   746
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   747
showOnlyDynamicallyLoadedClassLibraries
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   748
    self showBuiltIn value:false withoutNotifying:self.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   749
    self showCObjects value:false withoutNotifying:self.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   750
    self showMethods value:false withoutNotifying:self.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   751
    self showOthers value:false withoutNotifying:self.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   752
    self showClassLibs value:true withoutNotifying:self.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   753
    self filterChanged.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   754
!
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   755
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   756
showOthers
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   757
    showOthers isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   758
        showOthers := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   759
        showOthers onChangeSend:#filterChanged to:self.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   760
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   761
    ^ showOthers
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   762
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   763
    "Modified: / 05-10-2007 / 12:42:54 / cg"
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   764
!
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   765
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   766
table1VisibleHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   767
    table1VisibleHolder isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   768
        table1VisibleHolder := true asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   769
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   770
    ^ table1VisibleHolder.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   771
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   772
    "Modified: / 05-10-2007 / 12:53:05 / cg"
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   773
!
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   774
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   775
table2VisibleHolder
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   776
    table2VisibleHolder isNil ifTrue:[
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   777
        table2VisibleHolder := false asValue.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   778
    ].
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   779
    ^ table2VisibleHolder.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   780
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   781
    "Modified: / 05-10-2007 / 12:53:14 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   782
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   783
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   784
!ObjectModuleInformation methodsFor:'change & update'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   785
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   786
isExtensionName:nm
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   787
    ^ (nm endsWith:'_extensions')
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   788
!
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   789
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   790
selectedInfoIndexChanged
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   791
!
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
selectedModule
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   794
    |sel|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   795
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   796
    sel := self selectedModuleIndex.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   797
    sel isNil ifTrue:[^ nil].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   798
    ^ objectHandles at:sel.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   799
!
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   800
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   801
selectedModuleIndexChanged
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   802
    |module info |
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   803
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   804
    info := self selectedModuleInfo.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   805
    module := self selectedModule.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   806
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   807
    self canBrowseSelectedModule value:false.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   808
    self canBrowseSelectedModulesExtensions value:false.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   809
    self canUnloadSelectedDLL value:false.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   810
    self canUnloadSelectedModule value:false.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   811
    self canUnloadSelectedModulesPackage value:false.
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   812
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   813
    classNamesShown := nil.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   814
    classInfoShown := nil.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   815
    vmInfoShown := nil.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   816
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   817
    info isNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   818
        "/ selected a method, cObject or unknown
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   819
        self showInfoForNonClassLib:(self selectedModuleIndex).
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   820
        ^ self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   821
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   822
    info == #VM ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   823
        "/ selected the pseudo entry for the VM itself
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   824
        self showInfoForVM.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   825
        ^ self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   826
    ].
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   827
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   828
    "/ selected a class-library package
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   829
    self showInfoForClassLib:info.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   830
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   831
    "Modified: / 05-10-2007 / 12:56:13 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   832
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   833
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   834
selectedModuleInfo
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   835
    |sel info|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   836
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   837
    sel := self selectedModuleIndex.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   838
    sel notNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   839
        (self showClassLibs value or:[self showBuiltIn value]) ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   840
            info := allModules at:sel ifAbsent:nil.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   841
        ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   842
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   843
    ^ info
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   844
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   845
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   846
showInfoForClassLib:info
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   847
    " selected a lib-package; fill bottom list with class-info "
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   848
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   849
    |rows libraryName defClassName libraryDefinition mgr defClassNames 
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   850
     canUnload canUnloadPackage|
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   851
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   852
    self canBrowseSelectedModule value:true.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   853
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   854
    self canBrowseSelectedModulesExtensions 
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   855
        value:(info classNames contains:[:nm | self isExtensionName:nm]).
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   856
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   857
    canUnload := info dynamic and:[self readOnly not].
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   858
    self canUnloadSelectedModule value:canUnload.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   859
    canUnloadPackage := canUnload and:[ self selectedModulesProjectDefinitionClass notNil ].
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   860
    self canUnloadSelectedModulesPackage value:canUnloadPackage.
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   861
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   862
    self middleLabelHolder value:'Contains Components:'.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   863
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   864
    "/ 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
   865
    "/ 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
   866
    "/ special libraries (hand built) might be without a projectDefinition.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   867
    defClassNames := (info classNames ? #()) 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   868
                        select:[:nm |                
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   869
                            |cls| 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   870
                            cls := Smalltalk classNamed:nm.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   871
                            cls isBehavior and:[ cls isProjectDefinition ]].
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   872
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   873
    defClassNames size == 1 ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   874
        libraryName := defClassNames first
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   875
    ] ifFalse:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   876
        "/ fallback - some heuristics...
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   877
        libraryName := info libraryName.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   878
        (libraryName notNil and:[ libraryName startsWith:'lib' ]) ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   879
            defClassName := libraryName copyFrom:4
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   880
        ] ifFalse:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   881
            self halt.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   882
        ].
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   883
    ].
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   884
    defClassName notNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   885
        libraryDefinition := Smalltalk classNamed:defClassName.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   886
    ].
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   887
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
   888
    classNamesShown := self shownClassNamesFor:info.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   889
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
   890
    rows := classNamesShown collect:[:cName |
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   891
                    |cls entry rev listEntry revisionInfo versionString dateString|
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   892
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   893
                    listEntry := InfoRow new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   894
                    listEntry name:cName.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   895
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   896
                    cls := Smalltalk classNamed:cName.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   897
                    cls isNil ifTrue:[
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
   898
                        (self isExtensionName:cName) ifFalse:[
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   899
                            versionString := '(class removed)'.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   900
                        ] ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   901
                            libraryDefinition notNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   902
                                mgr := libraryDefinition sourceCodeManager.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   903
                                versionString := libraryDefinition perform:(mgr nameOfVersionMethodForExtensions) ifNotUnderstood:nil.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   904
                                versionString notNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   905
                                    versionString := '(bin: ',(mgr revisionInfoFromString:versionString) revision,')'.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   906
                                ]
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   907
                            ].
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   908
                        ].
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   909
                    ] ifFalse:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   910
                        rev := cls binaryRevision.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   911
                        rev notNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   912
                            cls isLoaded ifFalse:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   913
                                entry := '(stub for: ' , rev.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   914
                            ] ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   915
                                entry :='(bin: ' , rev.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   916
                            ].    
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   917
                            cls revision ~= rev ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   918
                                entry := entry , ' / src: ' , (cls revision printString)
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   919
                            ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   920
                            entry := entry , ')'.
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   921
                            versionString := entry
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   922
                        ] ifFalse:[
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   923
                            cls revision notNil ifTrue:[
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   924
                                versionString := '(overloaded by: ' , cls revision , ')' 
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   925
                            ]
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   926
                        ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   927
                        revisionInfo := cls revisionInfo.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   928
                        revisionInfo notNil ifTrue:[
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   929
                            dateString := (revisionInfo at:#date)
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   930
                        ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   931
                    ].
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   932
                    listEntry version:versionString.
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   933
                    listEntry date:dateString
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   934
                  ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   935
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   936
    classInfoShown := rows.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   937
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   938
    self infoTable1ListHolder value:rows.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   939
    self table1VisibleHolder value:true.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   940
    self table2VisibleHolder value:false.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   941
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   942
    "Modified: / 05-10-2007 / 13:03:56 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   943
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   944
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   945
showInfoForNonClassLib:sel
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
   946
    " selected a method, cObject or unknown "
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   947
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   948
    |module fileName list entry|
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   949
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   950
    sel isNil ifTrue:[
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   951
        self table1VisibleHolder value:false.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   952
        self table2VisibleHolder value:false.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   953
        ^ self.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   954
    ].
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
   955
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   956
    module := objectHandles at:sel.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   957
    fileName := module pathName.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   958
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   959
    module isMethodHandle ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   960
        |method nm entry1 entry2 entry3|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   961
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   962
        self canUnloadSelectedDLL value:true.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   963
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   964
        self middleLabelHolder value:'Compiled Method:'.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   965
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   966
        (method := module method) isNil ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   967
            nm := '** removed **'.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   968
        ] ifFalse:[
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
   969
            self canBrowseSelectedModule value:true.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   970
"/            menu := PopUpMenu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   971
"/                        labels:#('Inspect' 'Browse')
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   972
"/                        selectors:#(inspect browse).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   973
"/            menu actionAt:#inspect put:[ method inspect ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   974
"/            menu actionAt:#browse put:[ |who|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   975
"/                                        who := method who.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   976
"/                                        UserPreferences systemBrowserClass
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   977
"/                                            openInClass:(who methodClass) 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   978
"/                                            selector:(who methodSelector) 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   979
"/                                      ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   980
"/            listView1 middleButtonMenu:menu.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   981
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   982
            nm := (method whoString) asText emphasizeAllWith:(#color->Color blue).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   983
        ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   984
        entry1 := InfoRow new.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   985
        entry1 name:'Compiled method'; value:nm.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   986
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   987
        entry2 := InfoRow new.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   988
        entry2 name:'Path'; value:fileName.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   989
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   990
        entry3 := InfoRow new.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   991
        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
   992
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   993
        self infoTable2ListHolder value:(Array with:entry1 with:entry2 with:entry3).
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   994
        self table1VisibleHolder value:false.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
   995
        self table2VisibleHolder value:true.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   996
        ^ self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   997
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   998
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   999
    (module isFunctionObjectHandle 
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1000
    and:[module functions notEmpty]) ifTrue:[
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1001
        self middleLabelHolder value:'Functions:'.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1002
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1003
"/        menu := PopUpMenu
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1004
"/                    labels:#('Inspect')
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1005
"/                    selectors:#(inspect).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1006
"/        menu actionAt:#inspect put:[ module functions inspect  ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1007
"/        listView1 middleButtonMenu:menu.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1008
"/
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1009
        list := (module functions select:[:f | f notNil])
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1010
                        collect:[:f | |entry|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1011
                                        entry := InfoRow new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1012
                                        entry name:(f name asText emphasizeAllWith:(#color->Color blue)).
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1013
                                        entry value:('address: (16r) ' , (f code address hexPrintString leftPaddedTo:8 with:$0)).
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1014
                                        entry
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1015
                                ].
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1016
        self infoTable2ListHolder value:list.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1017
        self table1VisibleHolder value:false.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1018
        self table2VisibleHolder value:true.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1019
        ^ self.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1020
    ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1021
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1022
    entry := InfoRow new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1023
    entry name:'Unknown'.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1024
    self infoTable2ListHolder value:(Array with:entry).
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1025
    self table1VisibleHolder value:false.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1026
    self table2VisibleHolder value:true.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1027
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1028
    "Modified: / 05-10-2007 / 13:01:33 / cg"
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1029
!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1030
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1031
showInfoForVM
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1032
    " show file versions of vm info in lower view. "
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1033
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1034
    |l|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1035
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1036
    self canBrowseSelectedModule value:false.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1037
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1038
    self middleLabelHolder value:'Contains Components:'.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1039
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1040
    l := (ObjectMemory getVMIdentificationStrings).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1041
    l := l select:[:entry | entry includesString:'$Header'].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1042
    l := l select:[:entry | entry includesString:',v'].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1043
    l := l collect:[:entry |
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1044
        |i1 i2 file revision date listEntry|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1045
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1046
        listEntry := InfoRow new.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1047
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1048
        i1 := entry indexOfSubCollection:'librun'.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1049
        i1 ~~ 0 ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1050
            i2 := entry indexOfSubCollection:',v' startingAt:i1.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1051
            i2 ~~ 0 ifTrue:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1052
                file := entry copyFrom:i1+7 to:(i2-1).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1053
                listEntry name:file.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1054
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1055
                i1 := i2+3.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1056
                i2 := entry indexOfSeparatorStartingAt:i1.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1057
                revision := entry copyFrom:i1 to:(i2-1).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1058
                listEntry version:revision.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1059
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1060
                i1 := i2+1.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1061
                i2 := entry indexOfSeparatorStartingAt:i1.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1062
                date := entry copyFrom:i1 to:(i2-1).
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1063
                listEntry date:date.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1064
            ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1065
        ].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1066
        listEntry.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1067
    ].
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1068
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1069
    vmInfoShown := l.
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1070
    self infoTable1ListHolder value:l.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1071
    self table1VisibleHolder value:true.
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1072
    self table2VisibleHolder value:false.
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1073
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1074
"/    readOnly ifFalse:[
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1075
"/        unloadButton disable.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1076
"/        unloadAndRemoveButton disable.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1077
"/    ]
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1078
2183
517b70cb2de7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2181
diff changeset
  1079
    "Modified: / 05-10-2007 / 12:53:44 / cg"
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1080
!
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1081
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1082
shownClassNamesFor:info
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1083
    "/ selected a package; fill bottom list with class-info
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1084
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1085
    |classNames|
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1086
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1087
    classNames := info classNames asSortedCollection.
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1088
    ^ classNames 
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1089
        select:[:cName |
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1090
            |cls|
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1091
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1092
            cls := Smalltalk classNamed:cName.
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1093
            cls isNil ifTrue:[
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1094
                true "a removed class"
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1095
            ] ifFalse:[
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1096
                cls isPrivate not
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1097
            ].
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1098
        ].
2181
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1099
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1100
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1101
!ObjectModuleInformation methodsFor:'initialization'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1102
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1103
postBuildWith:aBuilder
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1104
    |canDoIt|
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1105
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1106
    super postBuildWith:aBuilder.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1107
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1108
    canDoIt := ObjectFileLoader notNil and:[ObjectFileLoader canLoadObjectFiles].
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1109
    self showBuiltIn value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1110
    self showCObjects value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1111
    self showClassLibs value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1112
    self showMethods value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1113
    self showOthers value:canDoIt.
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1114
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1115
    self updateModuleList
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1116
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1117
    "Created: / 05-10-2007 / 10:50:27 / cg"
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1118
! !
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1119
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1120
!ObjectModuleInformation methodsFor:'menu actions'!
93db2a1edbe6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
  1121
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1122
browseClass
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1123
    |module info classNames selectedClassName selectedClass|
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1124
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1125
    module := self selectedModule.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1126
    info := self selectedModuleInfo.
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1127
    classNames := (self shownClassNamesFor:info) asSortedCollection.
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1128
    selectedClassName := classNames at:(self selectedInfoIndex).
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1129
    selectedClass := Smalltalk classNamed:selectedClassName.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1130
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1131
    selectedClass notNil ifTrue:[
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1132
        Smalltalk browseInClass:selectedClass.
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1133
        ^ self.
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1134
    ].
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1135
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1136
    "/ clicked on an extensions-module ?
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1137
    (self isExtensionName:selectedClassName) ifTrue:[
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1138
        self browseModuleExtensions.
2616
01e597429c47 preps for package unloading
Claus Gittinger <cg@exept.de>
parents: 2403
diff changeset
  1139
        ^ self.
2402
5db801ca0e35 item selection index fixed.
Claus Gittinger <cg@exept.de>
parents: 2343
diff changeset
  1140
    ].
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1141
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1142
    self breakPoint:#cg.
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1143
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1144
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1145
browseModule
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1146
    |module classes method|
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1147
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1148
    module := self selectedModule.
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1149
    module isMethodHandle ifTrue:[
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1150
        method := module method.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1151
        (method notNil and:[method mclass notNil]) ifFalse:[
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1152
            Dialog information:'The method has been redefined/removed'.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1153
            ^ self.
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1154
        ].
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1155
        UserPreferences systemBrowserClass 
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1156
            openInMethod:method
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1157
    ] ifFalse:[
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1158
        classes := module classNames collect:[:nm | Smalltalk classNamed:nm].
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1159
        UserPreferences systemBrowserClass 
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1160
            browseClasses:classes
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1161
            label:(resources string:'Classes in %1' with:module libraryName)
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1162
    ]
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1163
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1164
2618
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1165
browseModuleExtensions
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1166
    |module name packageID methods|
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1167
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1168
    module := self selectedModule.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1169
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1170
    name := module classNames detect:[:nm | self isExtensionName:nm].
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1171
    packageID := (name copyWithoutLast:('_extensions' size)) asSymbol.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1172
    methods := Smalltalk allExtensionsForPackage:packageID.
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1173
    (UserPreferences browserClass) browseMethods:methods title:('Extensions for ',packageID).
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1174
!
441ede629ea8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2617
diff changeset
  1175
2253
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1176
copyClassOrVMNameList
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1177
    |text|
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1178
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1179
    text := ((classInfoShown ? vmInfoShown)collect:[:eachRow | eachRow infoString]) asStringCollection asString.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1180
    self window setClipboardText:text.
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1181
!
a282d11e1ec4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2184
diff changeset
  1182
2619
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1183
loadPackage
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2618
diff changeset
  1184
    |package ok|
09ab6a49e5ce *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: