forked from pharo-project/pharo
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
381 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
" | ||
This class presents an entry point to extend the stylesheet used by the Pharo application. | ||
Subclasses of it should implement #styleSheetContribution returning a StyleSheet that is composed with the default one. | ||
Also subclasses are able to extend the #isApplicable method in the class side and decide to apply or not in different scenarios (e.g., different Operating Systems) | ||
" | ||
Class { | ||
#name : #StPharoStyleContributor, | ||
#superclass : #Object, | ||
#category : #'NewTools-Core-Application' | ||
} | ||
|
||
{ #category : #testing } | ||
StPharoStyleContributor class >> isApplicable [ | ||
|
||
^ true | ||
] | ||
|
||
{ #category : #styles } | ||
StPharoStyleContributor >> styleSheetContribution [ | ||
|
||
^ self subclassResponsibility | ||
|
||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/NewTools-Debugger-Commands/StDebuggerToggleFilterStackCommand.class.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
" | ||
I toggle the stack filtering in the debugger on and off, and I trigger a debugger update. | ||
" | ||
Class { | ||
#name : #StDebuggerToggleFilterStackCommand, | ||
#superclass : #CmCommand, | ||
#category : #'NewTools-Debugger-Commands' | ||
} | ||
|
||
{ #category : #default } | ||
StDebuggerToggleFilterStackCommand class >> defaultDescription [ | ||
^'Toggle stack filtering on and off' | ||
] | ||
|
||
{ #category : #default } | ||
StDebuggerToggleFilterStackCommand class >> defaultName [ | ||
^'Toggle stack filtering' | ||
] | ||
|
||
{ #category : #executing } | ||
StDebuggerToggleFilterStackCommand >> execute [ | ||
StDebuggerActionModel shouldFilterStack: StDebuggerActionModel shouldFilterStack not. | ||
self context updateStep | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/NewTools-Debugger-Extensions/MessageNotUnderstood.extension.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extension { #name : #MessageNotUnderstood } | ||
|
||
{ #category : #'*NewTools-Debugger-Extensions' } | ||
MessageNotUnderstood >> stDebuggerInspectorNodesFor: aStDebuggerContext [ | ||
|
||
^ aStDebuggerContext doesNotUnderstandNodesFor: self | ||
] |
7 changes: 7 additions & 0 deletions
7
src/NewTools-Debugger-Extensions/OupsNullException.extension.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Extension { #name : #OupsNullException } | ||
|
||
{ #category : #'*NewTools-Debugger-Extensions' } | ||
OupsNullException >> stDebuggerInspectorNodesFor: aStDebuggerContext [ | ||
|
||
^ aStDebuggerContext nullExceptionNodesFor: self | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.