Skip to content

Commit

Permalink
Adding default values to tools with more than one option
Browse files Browse the repository at this point in the history
  • Loading branch information
tesonep committed Jan 18, 2020
1 parent c93ddb7 commit 51ab125
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Tool-Registry/PharoCommonTools.class.st
Expand Up @@ -55,6 +55,7 @@ PharoCommonTools class >> settingsOn: aBuilder [
targetSelector: #tools;
getSelector: #inspectorTool;
setSelector: #inspectorTool:;
default: (Smalltalk at: #GTInspector);
label: 'Inspector';
domainValues: Smalltalk tools recentInspectorTools ];
with: [
Expand All @@ -64,6 +65,7 @@ PharoCommonTools class >> settingsOn: aBuilder [
getSelector: #workspaceTool;
setSelector: #workspaceTool:;
label: 'Workspace';
default: (Smalltalk at: #GTPlayground);
domainValues: Smalltalk tools recentWorkspaceTools ];
with: [
(aBuilder pickOne: #debuggerTool)
Expand All @@ -76,6 +78,7 @@ PharoCommonTools class >> settingsOn: aBuilder [
target: Smalltalk;
targetSelector: #tools;
label: 'Messagelist';
default: (Smalltalk at: #ClyOldMessageBrowserAdapter);
domainValues: Smalltalk tools recentMessageListTools ];
with: [
(aBuilder pickOne: #versionBrowserTool)
Expand All @@ -88,6 +91,7 @@ PharoCommonTools class >> settingsOn: aBuilder [
target: Smalltalk;
targetSelector: #tools;
label: 'Filelist';
default: (Smalltalk at: #FileList);
domainValues: Smalltalk tools recentFileListTools];
with: [
(aBuilder pickOne: #changeSorterTool)
Expand Down

0 comments on commit 51ab125

Please sign in to comment.