forked from jgfoster/Jade.bak
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathBootJade.st
68 lines (67 loc) · 1.74 KB
/
BootJade.st
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
"Boot a Jade development image"
| list |
list := #(
'JGF Dolphin'
'JGF Fading Dialog'
'GemStone C Interface'
'GemStone Objects'
'GemStone Session'
'GemStone Services'
'VisualWorks Component'
'Jade UI Base'
'Jade Class Browser'
'Jade Method Browser'
'Jade Inspector'
'Jade Autocompletation'
'Jade User Browser'
'Monticello'
'Jade UI'
'Jade Test Browser'
'Jade System Browser'
'Jade Process Browser'
'Object Log Browser'
'Jade Login'
'Jade Deployment'
'Contacts Demo'
'Jade in Dolphin'
'Jade Tests'
'Rowan UI Base'
).
(Delay forMilliseconds: 200) wait.
ProgressDialog showModalWhile: [:progress |
1 to: list size do: [:i |
| name percent |
name := list at: i.
percent := (i * 100 / list size) asInteger.
progress
value: percent;
text: 'Loading package: ' , name;
yourself.
PackageManager current install: 'sources\' , name , '.pax'.
].
].
SessionManager current splashShowAtStartup: false.
SmalltalkSystemShell allInstances first position: 20@50.
(TranscriptShell allInstances , #(nil)) first ifNotNil: [:shell | shell view position: 20@600].
IdeaSpaceShell allInstances isEmpty ifTrue: [
IdeaSpaceShell show
absorbCard: SmalltalkWorkspaceDocument show;
absorbCard: PackageBrowserShell show;
absorbCard: SystemBrowserShell show;
position: 50@80; extent: 1200@700;
yourself.
].
ClassBrowserAbstract allSubclasses do: [:each |
(each plugins includes: DebugInfoPlugin) ifFalse: [each plugins add: DebugInfoPlugin]].
Debugger defaultExtent: 1000@600.
!
JadeLoginShell show
position: 80@20;
yourself.
Transcript clear.
Cursor wait showWhile: [
SourceManager default compressSources.
(Delay forMilliseconds: 200) wait.
SessionManager current saveImage.
].
!