|
Class: Inspector2 (in Tools)
Object
|
+--Model
|
+--ApplicationModel
|
+--Tools::Inspector2
- Package:
- stx:libtool
- Category:
- Interface-Inspector2
- Version:
- rev:
1.132
date: 2024/02/23 08:31:42
- user: cg
- file: Tools__Inspector2.st directory: libtool
- module: stx stc-classLibrary: libtool
an application for a multitab inspector
extendible by the inspected object itself, by providing additional
tabs via the inspector2XXX methods
Interface for objects:
redefine
inspectorExtraAttributes (to get additional pseudo-attributes into the left field list)
inspectorExtraTabs (to get additional tabs into the tab list)
inspectorExtraMenuOperations(to get additional operations menu items into the operations menu)
the operations menu is invisible, if there are no operations.
copyrightCOPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
help specs
-
helpSpec
-
This resource specification was automatically generated
by the UIHelpTool of ST/X.
image specs
-
settingsIcon
-
-
settingsIcon1
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self settingsIcon1 inspect
ImageEditor openOnClass:self andSelector:#settingsIcon1
Icon flushCachedIcons
|
-
settingsIcon2
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self settingsIcon2 inspect
ImageEditor openOnClass:self andSelector:#settingsIcon2
Icon flushCachedIcons
|
-
settingsIcon3
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self settingsIcon3 inspect
ImageEditor openOnClass:self andSelector:#settingsIcon3
Icon flushCachedIcons
|
-
settingsIcon4
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self settingsIcon4 inspect
ImageEditor openOnClass:self andSelector:#settingsIcon4
Icon flushCachedIcons
|
-
settingsIcon5
-
-
settingsIcon6
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self settingsIcon6 inspect
ImageEditor openOnClass:self andSelector:#settingsIcon6
Icon flushCachedIcons
|
initialization
-
initialize
-
Invoked at system start or when the class is dynamically loaded.
interface specs
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:Tools::Inspector2 andSelector:#windowSpec
Tools::Inspector2 new openInterface:#windowSpec
Tools::Inspector2 open
|
menu specs
-
fileMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::Inspector2 andSelector:#fileMenu
(Menu new fromLiteralArrayEncoding:(Tools::Inspector2 fileMenu)) startUp
|
-
helpMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
-
mainMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::Inspector2 andSelector:#mainMenu
(Menu new fromLiteralArrayEncoding:(Tools::Inspector2 mainMenu)) startUp
|
-
settingsMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::Inspector2 andSelector:#settingsMenu
(Menu new fromLiteralArrayEncoding:(Tools::Inspector2 settingsMenu)) startUp
|
-
toolbarMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::Inspector2 andSelector:#toolbarMenu
(Menu new fromLiteralArrayEncoding:(Tools::Inspector2 toolbarMenu)) startUp
|
-
viewMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:Tools::Inspector2 andSelector:#viewMenu
(Menu new fromLiteralArrayEncoding:(Tools::Inspector2 viewMenu)) startUp
|
startup
-
openOn: anObject
-
open an inspector2 on anObject;
returns the inspector
-
openOn: anObject title: aString
-
open an inspector2 on anObject;
returns the inspector
Usage example(s):
self openOn:(Array new:3)
self openOn:(Array new:3) title:'my array'
|
testing
-
testSimpleShow
-
ins inspectItem: (ins history at: 3). "/ Rollback history, zustanou jen prvni 3
accessing
-
backButtonEnabled: value
-
-
currentObject
-
-
currentState
-
-
forwardButtonEnabled: value
-
-
navigationState
-
-
navigationState: historyItem
-
subjectChannel:
aspects
-
backButtonEnabledHolder
-
return/create the 'backButtonEnabledHolder' value holder (automatically generated)
-
browseButtonEnabledHolder
-
-
colorProfileHolder
-
return/create the 'colorProfileHolder' value holder (automatically generated)
-
currentObjectHolder
-
-
currentObjectIsFilename
-
-
currentObjectIsImage
-
-
evaluationLanguageComboVisibleHolder
-
Do not show language combo when language is Smalltalk.
-
evaluationLanguageHolder
-
-
evaluationLanguageList
-
-
expandArraysInAllList
-
-
expandArraysInAllList: aBoolean
-
-
forwardButtonEnabledHolder
-
return/create the 'backButtonEnabledHolder' value holder (automatically generated)
-
navigationHistoryHolder
-
return/create the 'currentItemHolder' value holder (automatically generated)
-
navigationStateAspect
-
-
operationsMenuEnabledHolder
-
-
showAlphabeticalHolder
-
-
showIntegersAsHolder
-
-
sortOrderHolder
-
-
suppressPseudoSlotsHolder
-
-
tabLabelsAspect
-
-
tabSelectionIndexAspect
-
-
tabViewAspect
-
-
toolbarBackgroundHolder
-
return/create the 'toolbarBackgroundHolder' value holder (automatically generated)
-
windowTitleAspect
-
change & update
-
setShowAlphabeticalInSubInspectors
-
-
showAlphabeticalHolderChanged
-
-
suppressPseudoSlotsHolderChanged
-
-
update: something with: aParameter from: changedObject
-
Invoked when an object that I depend upon sends a change notification.
-
updateEvaluationLanguage
-
Remember user's selection for future...
-
updateEvaluationLanguageList
-
-
updateOperationsMenu
-
-
updateWindowLabel
-
not only the label is updated;
also the current inspected object is fetched from the navigation state
configuration
-
headLineLabelView
-
for compatibility with InspectorView - dummy
-
hideHashes: aBoolean
-
compatibiliy with InspectorView - must be implemented
-
hideMessages: aBoolean
-
compatibiliy with InspectorView - must be implemented
-
hideReceiver: aBoolean
-
for compatibility with InspectorView - dummy
-
maxItemsInHistory: aNumber
-
-
suppressPseudoSlots: aBoolean
-
compatibiliy with InspectorView - must be implemented
initialization
-
initialize
-
(comment from inherited method)
nothing done here;
but can be redefined in concrete applications
menu
-
backButtonMenuChannel
-
-
forwardButtonMenuChannel
-
-
operationsMenu
-
return an inspected-object-specific operations menu
-
settingsMenu
-
menu actions
-
backButtonAction
-
-
browseClassAction
-
open a class browser, or try to add a tab to the previously opened class browser
-
browseFileAction
-
open a filebrowser on the file represented by the current object
-
changeColorAction: color
-
-
closeAllInspectors
-
-
closeAllOtherInspectors
-
-
deiconifyAllInspectors
-
-
editImageAction
-
open an imageEditor on the current object
-
forwardButtonAction
-
-
iconifyAllInspectors
-
-
iconifyAllOtherInspectors
-
-
menuSetMaxValueDisplayStringLength
-
-
menuSetWindowTitle
-
-
openDocumentation
-
Called when <F1> is pressed
-
refreshTabs
-
sel := selectionIndex.
open & close
-
closeDownViews
-
(comment from inherited method)
close down the application's view(s)
-
inspect: anObject
-
oldLanguage := self evaluationLanguageHolder value.
-
openOn: anObject
-
-
postBuildEvaluationLanguageCombo: aComboBoxView
-
aComboBoxView font: (aComboBoxView font asSize: (aComboBoxView font size * 1.5) rounded)
-
postBuildWith: aBuilder
-
(comment from inherited method)
this is sent after an interface is built from a spec,
but only iff the appModel is not the same as the topView's app
(i.e. if it is not a build for the same appModel again).
In the other case, postBuildAsSubcanvasWith is invoked.
Can be redefined in subclasses for additional setup after
the view has been built, but not yet opened.
private
-
navigationStateFor: anObject
-
-
setDoItActionForLanguage: language
-
NavigationState
|