eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::Inspector2':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Inspector2 (in Tools)


Inheritance:

   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

Description:


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.


copyright

COPYRIGHT (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.

Class protocol:

help specs
o  helpSpec
This resource specification was automatically generated
by the UIHelpTool of ST/X.

image specs
o  settingsIcon

o  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

o  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

o  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

o  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

o  settingsIcon5

o  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
o  initialize
Invoked at system start or when the class is dynamically loaded.

interface specs
o  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
o  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

o  helpMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

o  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

o  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

o  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

o  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
o  openOn: anObject
open an inspector2 on anObject;
returns the inspector

o  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
o  testSimpleShow
ins inspectItem: (ins history at: 3). "/ Rollback history, zustanou jen prvni 3


Instance protocol:

accessing
o  backButtonEnabled: value

o  currentObject

o  currentState

o  forwardButtonEnabled: value

o  navigationState

o  navigationState: historyItem
subjectChannel:

aspects
o  backButtonEnabledHolder
return/create the 'backButtonEnabledHolder' value holder (automatically generated)

o  browseButtonEnabledHolder

o  colorProfileHolder
return/create the 'colorProfileHolder' value holder (automatically generated)

o  currentObjectHolder

o  currentObjectIsFilename

o  currentObjectIsImage

o  evaluationLanguageComboVisibleHolder
Do not show language combo when language is Smalltalk.

o  evaluationLanguageHolder

o  evaluationLanguageList

o  expandArraysInAllList

o  expandArraysInAllList: aBoolean

o  forwardButtonEnabledHolder
return/create the 'backButtonEnabledHolder' value holder (automatically generated)

o  navigationHistoryHolder
return/create the 'currentItemHolder' value holder (automatically generated)

o  navigationStateAspect

o  operationsMenuEnabledHolder

o  showAlphabeticalHolder

o  showIntegersAsHolder

o  sortOrderHolder

o  suppressPseudoSlotsHolder

o  tabLabelsAspect

o  tabSelectionIndexAspect

o  tabViewAspect

o  toolbarBackgroundHolder
return/create the 'toolbarBackgroundHolder' value holder (automatically generated)

o  windowTitleAspect

change & update
o  setShowAlphabeticalInSubInspectors

o  showAlphabeticalHolderChanged

o  suppressPseudoSlotsHolderChanged

o  update: something with: aParameter from: changedObject
Invoked when an object that I depend upon sends a change notification.

o  updateEvaluationLanguage
Remember user's selection for future...

o  updateEvaluationLanguageList

o  updateOperationsMenu

o  updateWindowLabel
not only the label is updated;
also the current inspected object is fetched from the navigation state

configuration
o  headLineLabelView
for compatibility with InspectorView - dummy

o  hideHashes: aBoolean
compatibiliy with InspectorView - must be implemented

o  hideMessages: aBoolean
compatibiliy with InspectorView - must be implemented

o  hideReceiver: aBoolean
for compatibility with InspectorView - dummy

o  maxItemsInHistory: aNumber

o  suppressPseudoSlots: aBoolean
compatibiliy with InspectorView - must be implemented

initialization
o  initialize
(comment from inherited method)
nothing done here;
but can be redefined in concrete applications

menu
o  backButtonMenuChannel

o  forwardButtonMenuChannel

o  operationsMenu
return an inspected-object-specific operations menu

o  settingsMenu

menu actions
o  backButtonAction

o  browseClassAction
open a class browser, or try to add a tab to the previously opened class browser

o  browseFileAction
open a filebrowser on the file represented by the current object

o  changeColorAction: color

o  closeAllInspectors

o  closeAllOtherInspectors

o  deiconifyAllInspectors

o  editImageAction
open an imageEditor on the current object

o  forwardButtonAction

o  iconifyAllInspectors

o  iconifyAllOtherInspectors

o  menuSetMaxValueDisplayStringLength

o  menuSetWindowTitle

o  openDocumentation
Called when <F1> is pressed

o  refreshTabs
sel := selectionIndex.

open & close
o  closeDownViews
(comment from inherited method)
close down the application's view(s)

o  inspect: anObject
oldLanguage := self evaluationLanguageHolder value.

o  openOn: anObject

o  postBuildEvaluationLanguageCombo: aComboBoxView
aComboBoxView font: (aComboBoxView font asSize: (aComboBoxView font size * 1.5) rounded)

o  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
o  navigationStateFor: anObject

o  setDoItActionForLanguage: language


Private classes:

    NavigationState


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:34:20 GMT