<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body >Hi Jakob, <div><br></div><div>Inspectors do life update and are much quicker if your Object has large Collections. I use them more often than explorers.</div><div><br></div><div>Cheers, </div><div>Herbert</div><br><br><div>-------- Ursprüngliche Nachricht --------</div><div>Von: Jakob Reschke <jakob.reschke@student.hpi.de> </div><div>Datum:03.11.2016 01:19 (GMT+01:00) </div><div>An: ma.chris.m@gmail.com,The general-purpose Squeak        developers list <squeak-dev@lists.squeakfoundation.org> </div><div>Betreff: Re: [squeak-dev] The Inbox: Morphic-jr.1315.mcz </div><div><br></div>There is a toggle button? Ah, yes, it did not cross my mind that the<br>button in the lower right corner would change the tool itself.<br>Actually I did not even really notice the button until now... you may<br>call be routine-blinded. But at first glance I would imagine that<br>button to be linked to the evaluation box left of the button, even if<br>that makes no sense on second thought.<br><br>For reference, the first place I searched for the toggle button was<br>the SystemWindow title bar or rather the window menu, being prejudiced<br>against the actual button. If there ever was a discussion about this<br>feature and the button placement, I clearly missed that as well.<br><br>However, coming back to the debug menu, I cannot imagine a reason to<br>ever want an Inspector rather than an Explorer for the model, except<br>when the Explorer screws up on that particular object, at least when<br>using the StandardToolSet.<br><br>2016-11-03 0:58 GMT+01:00 Chris Muller <asqueaker@gmail.com>:<br>> Now that we have the Inspect/Explore toggle button on both the<br>> Inspector and Explorer, I wondered whether we would have the<br>> opportunity to shorten this menu rather than continue doubling up<br>> every menu item. (inspect, explore) * ("it", world, morph, owner<br>> chain, model) becomes a lot of combinations..<br>><br>> On Wed, Nov 2, 2016 at 10:08 AM, <commits@source.squeak.org> wrote:<br>>> A new version of Morphic was added to project The Inbox:<br>>> http://source.squeak.org/inbox/Morphic-jr.1315.mcz<br>>><br>>> ==================== Summary ====================<br>>><br>>> Name: Morphic-jr.1315<br>>> Author: jr<br>>> Time: 2 November 2016, 4:07:47.490156 pm<br>>> UUID: b62211be-55cc-e34a-a7c5-add76ead2b6f<br>>> Ancestors: Morphic-nice.1314<br>>><br>>> add 'explore model' to a Morph's debug menu<br>>><br>>> in addition to 'inspect model'<br>>><br>>> =============== Diff against Morphic-nice.1314 ===============<br>>><br>>> Item was changed:<br>>> ----- Method: MenuIcons class>>itemsIcons (in category 'menu decoration') -----<br>>> itemsIcons<br>>> "answer a collection of associations wordings -> icon to<br>>> decorate<br>>> the menus all over the image"<br>>> | icons |<br>>> icons := OrderedCollection new.<br>>><br>>> "icons add: #('Test Runner' ) -> self smallTrafficIcon."<br>>><br>>> "<br>>> world menu"<br>>> "icons add: #('previous project' 'go to previous project') -> self smallProjectBackIcon."<br>>> icons add: #('go to next project') -> self smallProjectNextIcon.<br>>> icons add: #('select' ) -> self smallSelectIcon.<br>>> icons add: #('jump to project...' ) -> self smallProjectJumpIcon.<br>>> icons add: #('open...' ) -> self smallOpenIcon.<br>>> icons add: #('appearance...' ) -> self smallConfigurationIcon.<br>>> icons add: #('help...' ) -> self smallHelpIcon.<br>>> "icons add: #('windows...' ) -> self smallWindowIcon."<br>>> icons add: #('changes...' ) -> self smallDocumentClockIcon.<br>>> icons add: #('print PS to file...' ) -> self smallPrintIcon.<br>>> icons add: #('debug...' ) -> self smallDebugIcon.<br>>> icons add: #('export...' ) -> self smallExportIcon.<br>>> icons add: #('save' ) -> self smallSaveIcon.<br>>> "icons add: #('save project on file...' ) -> self smallProjectSaveIcon."<br>>> "icons add: #('save as...') -> self smallSaveAsIcon.<br>>> icons add: #('save as new version') -> self smallSaveNewIcon.<br>>> icons add: #('save and quit' ) -> self smallQuitIcon."<br>>> icons add: #('quit') -> self smallQuitNoSaveIcon.<br>>> "icons add: #('load project from file...' ) -> self smallProjectLoadIcon."<br>>> ""<br>>> icons add: #('do it (d)' ) -> self smallDoItIcon.<br>>> + icons add: #('inspect it (i)' 'inspect world' 'explore world' 'inspect model' 'explore model' 'inspect morph' 'explore morph' 'inspect owner chain' 'explore' 'inspect' 'explore (I)' 'inspect (i)' 'basic inspect' ) -> self smallInspectItIcon.<br>>> - icons add: #('inspect it (i)' 'inspect world' 'explore world' 'inspect model' 'inspect morph' 'explore morph' 'inspect owner chain' 'explore' 'inspect' 'explore (I)' 'inspect (i)' 'basic inspect' ) -> self smallInspectItIcon.<br>>> icons add: #('print it (p)' ) -> self smallPrintIcon.<br>>> icons add: #('debug it (D)' ) -> self smallDebugIcon.<br>>> icons add: #('tally it' ) -> self smallTimerIcon.<br>>> ""<br>>> icons add: #('copy (c)' 'copy to paste buffer' 'copy text' ) -> self smallCopyIcon.<br>>> icons add: #('paste (v)') -> self smallPasteIcon.<br>>> icons add: #('cut (x)' ) -> self smallCutIcon.<br>>> ""<br>>> icons add: #('accept (s)' 'yes' 'Yes' ) -> self smallOkIcon.<br>>> icons add: #('cancel (l)' 'no' 'No' ) -> self smallCancelIcon.<br>>> ""<br>>> icons add: #('redo (Z)' ) -> self smallRedoIcon.<br>>> icons add: #('undo (z)' ) -> self smallUndoIcon.<br>>> ""<br>>> icons add: #( 'find class... (f)' 'find method...' ) -> self smallSearchIcon.<br>>> icons add: #('find...(f)') -> self smallFindIcon.<br>>> ""<br>>> icons add: #('remove' 'remove (x)' 'remove class (x)' 'delete method from changeset (d)' 'remove method from system (x)' 'delete class from change set (d)' 'remove class from system (x)' 'destroy change set (X)' ) -> self smallDeleteIcon.<br>>> icons add: #('add item...' 'new category...' 'new change set... (n)' ) -> self smallNewIcon.<br>>> ""<br>>> icons add: #('objects (o)' ) -> self smallObjectCatalogIcon.<br>>> icons add: #('authoring tools...') -> self smallAuthoringToolsIcon.<br>>> icons add: #('projects...') -> self smallProjectIcon.<br>>> ""<br>>> icons add: #('make screenshot') -> self smallScreenshotIcon.<br>>><br>>> ""<br>>> icons add: #('leftFlush' ) -> self smallLeftFlushIcon.<br>>> icons add: #('rightFlush' ) -> self smallRightFlushIcon.<br>>> icons add: #('centered' 'set alignment... (u)' ) -> self smallCenteredIcon.<br>>> icons add: #('justified' ) -> self smallJustifiedIcon.<br>>> ""<br>>> icons add: #('set font... (k)' 'list font...' 'set subtitles font' 'change font' 'system fonts...' 'change font...' 'default text font...' 'flaps font...' 'eToys font...' 'eToys title font...' 'halo label font...' 'menu font...' 'window-title font...' 'balloon-help font...' 'code font...' 'button font...') -> self smallFontsIcon.<br>>> icons add: #('full screen on') -> self smallFullscreenOnIcon.<br>>> icons add: #('full screen off' ) -> self smallFullscreenOffIcon.<br>>> ""<br>>> ^ icons!<br>>><br>>> Item was changed:<br>>> ----- Method: Morph>>buildDebugMenu: (in category 'debug and other') -----<br>>> buildDebugMenu: aHand<br>>> "Answer a debugging menu for the receiver. The hand argument is seemingly historical and plays no role presently"<br>>><br>>> | aMenu aPlayer |<br>>> aMenu := MenuMorph new defaultTarget: self.<br>>> aMenu addStayUpItem.<br>>> (self hasProperty: #errorOnDraw) ifTrue:<br>>> [aMenu add: 'start drawing again' translated action: #resumeAfterDrawError.<br>>> aMenu addLine].<br>>> (self hasProperty: #errorOnStep) ifTrue:<br>>> [aMenu add: 'start stepping again' translated action: #resumeAfterStepError.<br>>> aMenu addLine].<br>>><br>>> aMenu add: 'inspect morph' translated action: #inspectInMorphic:.<br>>> aMenu add: 'inspect owner chain' translated action: #inspectOwnerChain.<br>>> Smalltalk isMorphic ifFalse:<br>>> [aMenu add: 'inspect morph (in MVC)' translated action: #inspect].<br>>><br>>> self isMorphicModel ifTrue:<br>>> + [aMenu add: 'inspect model' translated target: self model action: #inspect;<br>>> + add: 'explore model' translated target: self model action: #explore].<br>>> - [aMenu add: 'inspect model' translated target: self model action: #inspect].<br>>> (aPlayer := self player) ifNotNil:<br>>> [aMenu add: 'inspect player' translated target: aPlayer action: #inspect].<br>>><br>>> aMenu add: 'explore morph' translated target: self selector: #exploreInMorphic:.<br>>><br>>> aMenu addLine.<br>>> aPlayer ifNotNil:<br>>> [ aMenu add: 'viewer for Player' translated target: self player action: #beViewed.<br>>> aMenu balloonTextForLastItem: 'Opens a viewer on my Player -- this is the same thing you get if you click on the cyan "View" halo handle' translated ].<br>>><br>>> aMenu add: 'viewer for Morph' translated target: self action: #viewMorphDirectly.<br>>> aMenu balloonTextForLastItem: 'Opens a Viewer on this Morph, rather than on its Player' translated.<br>>> aMenu addLine.<br>>><br>>> aPlayer ifNotNil:<br>>> [aPlayer class isUniClass ifTrue: [<br>>> aMenu add: 'browse player class' translated target: aPlayer selector: #haveFullProtocolBrowsedShowingSelector: argumentList: #(nil)]].<br>>> aMenu add: 'browse morph class' translated target: self selector: #browseHierarchy.<br>>> (self isMorphicModel)<br>>> ifTrue: [aMenu<br>>> add: 'browse model class'<br>>> target: self model<br>>> selector: #browseHierarchy].<br>>> aMenu addLine.<br>>><br>>> self addViewingItemsTo: aMenu.<br>>> aMenu<br>>> add: 'make own subclass' translated action: #subclassMorph;<br>>> add: 'save morph in file' translated action: #saveOnFile;<br>>> addLine;<br>>> add: 'call #tempCommand' translated action: #tempCommand;<br>>> add: 'define #tempCommand' translated action: #defineTempCommand;<br>>> addLine;<br>>><br>>> add: 'control-menu...' translated target: self selector: #invokeMetaMenu:;<br>>> add: 'edit balloon help' translated action: #editBalloonHelpText.<br>>><br>>> ^ aMenu!<br>>><br>>><br>><br><br></body>