-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generalize SquotTonelPackageBrowser to SquotCodePackageBrowser
- Loading branch information
Showing
48 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
src/Squot.package/SqueakWorkingCopy.class/instance/replaceMapper.with..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,4 @@ | ||
mappers | ||
replaceMapper: aMapper with: anotherMapper | ||
self mappers at: (self mappers indexOf: aMapper) put: anotherMapper. | ||
self changed: #mappers. |
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
4 changes: 2 additions & 2 deletions
4
src/Squot.package/SquotCodeMapper.class/class/projectListMenu.for..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,8 @@ | ||
as yet unclassified | ||
menu | ||
projectListMenu: aMenu for: aWorkingCopy | ||
aWorkingCopy ifNil: [^ self]. | ||
aMenu | ||
add: 'Manage packages' | ||
target: SquotTonelPackageBrowser | ||
target: SquotCodePackageBrowser | ||
selector: #openOnWorkingCopy: | ||
argument: aWorkingCopy. |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
src/Squot.package/SquotCodePackageBrowser.class/instance/actionChangeEncoding.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,6 @@ | ||
actions | ||
actionChangeEncoding | ||
| mapper newMapper | | ||
mapper := self selectedMapper. | ||
newMapper := mapper changeEncoding ifNil: [^ self]. | ||
self workingCopy replaceMapper: mapper with: newMapper. |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
9 changes: 9 additions & 0 deletions
9
src/Squot.package/SquotCodePackageBrowser.class/instance/buildChangeEncodingButton..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,9 @@ | ||
toolbuilder | ||
buildChangeEncodingButton: builder | ||
^ builder pluggableActionButtonSpec new | ||
model: self; | ||
action: #actionChangeEncoding; | ||
enabled: #isSelectedPackageMapped; | ||
label: 'Change package encoding'; | ||
help: 'Change which encoding is used to serialize the package to the repository.'; | ||
yourself |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
src/Squot.package/SquotCodePackageBrowser.class/instance/mappers.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,3 @@ | ||
accessing | ||
mappers | ||
^ self workingCopy mappersOfKind: SquotCodeMapper |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
3 changes: 0 additions & 3 deletions
3
src/Squot.package/SquotTonelPackageBrowser.class/instance/mappers.st
This file was deleted.
Oops, something went wrong.