# HG changeset patch # User Claus Gittinger # Date 1579181982 -3600 # Node ID 5b4bc73d6e87b27e39c8b1ab4dbc9311d178049f # Parent 077e5ea668e545ab60ea7cab15131809f80ef126 inspector attrs for Rectangle diff -r 077e5ea668e5 -r 5b4bc73d6e87 extensions.st --- a/extensions.st Wed Jan 15 15:14:17 2020 +0100 +++ b/extensions.st Thu Jan 16 14:39:42 2020 +0100 @@ -2785,6 +2785,18 @@ !Rectangle methodsFor:'inspecting'! +inspectorExtraMenuOperations + "returns a string to be shown in the inspector's list" + + ^ super inspectorExtraMenuOperations + , { + { 'Flash on Screen' . [Display rootView flashRectangle:self] } . + { 'Screenshot Area' . [(Image fromScreen:self) inspect] } + } +! ! + +!Rectangle methodsFor:'inspecting'! + inspectorValueStringInListFor:anInspector "returns a string to be shown in the inspector's list"