-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from MichaelBuessemeyer/pretty-smalltalk
- Loading branch information
Showing
91 changed files
with
448 additions
and
409 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
8 changes: 4 additions & 4 deletions
8
packages/MagicMouse-Core.package/MMBrowser.class/instance/buildButtonBarWith..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 |
---|---|---|
@@ -1,14 +1,14 @@ | ||
building | ||
buildButtonBarWith: aBuilder | ||
|
||
^ {aBuilder pluggableButtonSpec new | ||
^ { | ||
aBuilder pluggableButtonSpec new | ||
model: self; | ||
action: #showBookmarks; | ||
label: 'Bookmarks'; | ||
yourself. | ||
aBuilder pluggableButtonSpec new | ||
model: self; | ||
action: [(PreferenceBrowser open) selectedCategory: #MagicMouse]; | ||
action: [PreferenceBrowser open selectedCategory: #MagicMouse]; | ||
label: 'Preferences'; | ||
yourself. | ||
} | ||
yourself} |
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
77 changes: 37 additions & 40 deletions
77
packages/MagicMouse-Core.package/MMBrowser.class/instance/buildWith..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 |
---|---|---|
@@ -1,42 +1,39 @@ | ||
building | ||
buildWith: aBuilder | ||
|
||
^ aBuilder build: (aBuilder pluggableWindowSpec new | ||
label: MMBrowserMorph title; | ||
extent: 600@400; | ||
model: self; | ||
children: { | ||
aBuilder pluggablePanelSpec new | ||
wantsResizeHandles: true; | ||
frame: (LayoutFrame fractions: (0@0 extent: 1@0) offsets: ((0@0) extent: (0@ 25))); | ||
children: (self buildTopBarWith: aBuilder); | ||
yourself. | ||
aBuilder pluggablePanelSpec new | ||
frame: (LayoutFrame fractions: (0@0 extent: 1@0) offsets: ((0@25) extent: (0@ 25))); | ||
layout: #horizontal; | ||
children: (self buildButtonBarWith: aBuilder); | ||
yourself. | ||
aBuilder pluggablePanelSpec new | ||
wantsResizeHandles: true; | ||
frame: (LayoutFrame fractions: (0@0 extent: 1@1) | ||
offsets: (0@50 extent: (0@ -50))); | ||
spacing: 5; | ||
children: { | ||
aBuilder pluggablePanelSpec new | ||
model: self; | ||
frame: (0@0 extent: 0.8@1); | ||
children: #getBrowserMorph; | ||
yourself. | ||
aBuilder pluggableListSpec new | ||
model: self; | ||
frame: (0.8@0 corner: 1@1); | ||
list: #extractedObjects; | ||
doubleClick: #exploreExtractedObject; | ||
getSelected: #selectedExtractedObject; | ||
setSelected: #selectedExtractedObject:; | ||
dragItem: #dragExtractedObject:; | ||
yourself | ||
}; | ||
yourself. | ||
}; | ||
yourself) | ||
|
||
^ aBuilder build: (aBuilder pluggableWindowSpec new | ||
label: MMBrowserMorph title; | ||
extent: 600 @ 400; | ||
model: self; | ||
children: { | ||
aBuilder pluggablePanelSpec new | ||
wantsResizeHandles: true; | ||
frame: (LayoutFrame fractions: (0 @ 0 extent: 1 @ 0) offsets: (0 @ 0 extent: 0 @ 25)); | ||
children: (self buildTopBarWith: aBuilder); | ||
yourself. | ||
aBuilder pluggablePanelSpec new | ||
frame: (LayoutFrame fractions: (0 @ 0 extent: 1 @ 0) offsets: (0 @ 25 extent: 0 @ 25)); | ||
layout: #horizontal; | ||
children: (self buildButtonBarWith: aBuilder); | ||
yourself. | ||
aBuilder pluggablePanelSpec new | ||
wantsResizeHandles: true; | ||
frame: (LayoutFrame fractions: (0 @ 0 extent: 1 @ 1) offsets: (0 @ 50 extent: 0 @ -50)); | ||
spacing: 5; | ||
children: { | ||
aBuilder pluggablePanelSpec new | ||
model: self; | ||
frame: (0 @ 0 extent: 0.8 @ 1); | ||
children: #getBrowserMorph; | ||
yourself. | ||
aBuilder pluggableListSpec new | ||
model: self; | ||
frame: (0.8 @ 0 corner: 1 @ 1); | ||
list: #extractedObjects; | ||
doubleClick: #exploreExtractedObject; | ||
getSelected: #selectedExtractedObject; | ||
setSelected: #selectedExtractedObject:; | ||
dragItem: #dragExtractedObject:; | ||
yourself}; | ||
yourself}; | ||
yourself) |
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
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
5 changes: 1 addition & 4 deletions
5
packages/MagicMouse-Core.package/MMBrowserMorph.class/class/chromeProfilePath.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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
preferences | ||
chromeProfilePath | ||
<preference: 'Chrome profile path' category: 'MagicMouse' description: 'The path to the folder to store the Chrome user profile in. You can leave this empty to store it in your Squeak folder.' type: #String> | ||
|
||
<preference: 'Chrome profile path' | ||
category: 'MagicMouse' | ||
description: 'The path to the folder to store the Chrome user profile in. You can leave this empty to store it in your Squeak folder.' | ||
type: #String> | ||
^ ChromeProfilePath ifNil: [(FileDirectory default / 'chromeUserDir') name] |
5 changes: 1 addition & 4 deletions
5
packages/MagicMouse-Core.package/MMBrowserMorph.class/class/debugEnabled.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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
preferences | ||
debugEnabled | ||
<preference: 'Debug to Transcript' category: 'MagicMouse' description: 'Print debug output to the Transcript' type: #Boolean> | ||
|
||
<preference: 'Debug to Transcript' | ||
category: 'MagicMouse' | ||
description: 'Print debug output to the Transcript' | ||
type: #Boolean> | ||
^ DebugEnabled ifNil: [false] |
5 changes: 1 addition & 4 deletions
5
packages/MagicMouse-Core.package/MMBrowserMorph.class/class/debugNodejs.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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
preferences | ||
debugNodejs | ||
<preference: 'Debug Node.js' category: 'MagicMouse' description: 'ONLY FOR DEVELOPMENT. Start Node.js with the --inspect argument' type: #Boolean> | ||
|
||
<preference: 'Debug Node.js' | ||
category: 'MagicMouse' | ||
description: 'ONLY FOR DEVELOPMENT. Start Node.js with the --inspect argument' | ||
type: #Boolean> | ||
^ DebugNodejs ifNil: [false] |
5 changes: 1 addition & 4 deletions
5
packages/MagicMouse-Core.package/MMBrowserMorph.class/class/doNotUsePrebuiltBinary.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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
preferences | ||
doNotUsePrebuiltBinary | ||
<preference: 'Do not use prebuilt binary' category: 'MagicMouse' description: 'ONLY FOR DEVELOPMENT. If checked, will call the run.js script directly instead of using the prebuilt binaries.' type: #Boolean> | ||
|
||
<preference: 'Do not use prebuilt binary' | ||
category: 'MagicMouse' | ||
description: 'ONLY FOR DEVELOPMENT. If checked, will call the run.js script directly instead of using the prebuilt binaries.' | ||
type: #Boolean> | ||
^ DoNotUsePrebuiltBinary ifNil: [false] |
5 changes: 1 addition & 4 deletions
5
packages/MagicMouse-Core.package/MMBrowserMorph.class/class/gitRepositoryPath.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 |
---|---|---|
@@ -1,8 +1,5 @@ | ||
preferences | ||
gitRepositoryPath | ||
<preference: 'Git Repository Path' category: 'MagicMouse' description: 'ONLY FOR DEVELOPMENT. The path to the git repository that contains the run.js file and node_modules folder. You may NOT use the repository checked out by the Git Browser, but need to use a separate copy.' type: #String> | ||
|
||
<preference: 'Git Repository Path' | ||
category: 'MagicMouse' | ||
description: 'ONLY FOR DEVELOPMENT. The path to the git repository that contains the run.js file and node_modules folder. You may NOT use the repository checked out by the Git Browser, but need to use a separate copy.' | ||
type: #String> | ||
^ GitRepositoryPath ifNil: ['.'] |
Oops, something went wrong.