Compare commits
978 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60a3f5bc64 | ||
|
|
4b171eda01 | ||
|
|
c759448e0d | ||
|
|
81abd14ca0 | ||
|
|
bcdcfc6278 | ||
|
|
1b8adc04a2 | ||
|
|
f306afc1c0 | ||
|
|
8fbcdf83c0 | ||
|
|
943b5566ce | ||
|
|
387cab5f5b | ||
|
|
288a7e2d1e | ||
|
|
459b08785a | ||
|
|
1ca38d0e9d | ||
|
|
00ae5656cd | ||
|
|
4d96cae462 | ||
|
|
34fa2378f9 | ||
|
|
790cf17df4 | ||
|
|
15f66c32d1 | ||
|
|
eafc1422b3 | ||
|
|
c677e3600a | ||
|
|
76765aa580 | ||
|
|
bd0df2a052 | ||
|
|
1c88b2f8a6 | ||
|
|
7236448766 | ||
|
|
594c9ed01f | ||
|
|
e19bb00950 | ||
|
|
a99f7bac50 | ||
|
|
7426919ce1 | ||
|
|
60e853a371 | ||
|
|
bdbba22ebf | ||
|
|
d213704f9d | ||
|
|
6b1c37ee8c | ||
|
|
6c04fd835e | ||
|
|
0f58116e47 | ||
|
|
d6817a2687 | ||
|
|
bc727bfd3b | ||
|
|
4354c3f6e3 | ||
|
|
8a523bd35c | ||
|
|
2aaeffd621 | ||
|
|
9b96a6a547 | ||
|
|
cfb63b2f47 | ||
|
|
082343e17d | ||
|
|
5f0ecdd12f | ||
|
|
e30875c59b | ||
|
|
086ab1bedc | ||
|
|
0f5ae4499c | ||
|
|
2149457854 | ||
|
|
5475b9302f | ||
|
|
e40b297a75 | ||
|
|
3cee35d8ec | ||
|
|
990254f01a | ||
|
|
4530bba422 | ||
|
|
d578f83f30 | ||
|
|
edb9c14b8c | ||
|
|
50f48a8476 | ||
|
|
4f488daefd | ||
|
|
5585d3e79e | ||
|
|
c94efca695 | ||
|
|
6b434f7272 | ||
|
|
25cce5a312 | ||
|
|
7f55dd4f2f | ||
|
|
b2149dd6c8 | ||
|
|
d8f03e7d34 | ||
|
|
29443cad9a | ||
|
|
52c8ea5a97 | ||
|
|
341b116927 | ||
|
|
6253136ee9 | ||
|
|
d8dbcf3152 | ||
|
|
197a2ddfef | ||
|
|
ad58c1d116 | ||
|
|
2f47ee7bbd | ||
|
|
18ff8e7ca8 | ||
|
|
2032a83d3f | ||
|
|
9e860f3435 | ||
|
|
a63f32a8c8 | ||
|
|
dcf598a1cd | ||
|
|
c89f2d7bff | ||
|
|
d31cf82da2 | ||
|
|
36d9f8ae34 | ||
|
|
996e6846f4 | ||
|
|
25183c156a | ||
|
|
228aeef766 | ||
|
|
d7358fec67 | ||
|
|
51a58bf5dc | ||
|
|
10fc71f9ef | ||
|
|
4e651ab482 | ||
|
|
53b1f1ca29 | ||
|
|
35b925db8c | ||
|
|
406f3420f4 | ||
|
|
bbd4ca0763 | ||
|
|
da867a0d73 | ||
|
|
dbfe0c8790 | ||
|
|
558ba2a1a3 | ||
|
|
763ac5b2ff | ||
|
|
a67ffc61b7 | ||
|
|
348dc4c148 | ||
|
|
f42262c039 | ||
|
|
ee82845d00 | ||
|
|
92dac7b02e | ||
|
|
31fd709cb0 | ||
|
|
a03cf0c4e5 | ||
|
|
9961d7cb45 | ||
|
|
615d972a03 | ||
|
|
c3f114974a | ||
|
|
a2d4800aa0 | ||
|
|
1fab872b02 | ||
|
|
21e269f4c2 | ||
|
|
0590d5d822 | ||
|
|
0de2dd962c | ||
|
|
fb9dbf3a88 | ||
|
|
52dd839b3e | ||
|
|
58317112cf | ||
|
|
45da1acf72 | ||
|
|
cb48ba0b84 | ||
|
|
6a54f22ae0 | ||
|
|
34719749c5 | ||
|
|
9dff8d691f | ||
|
|
f6cd370370 | ||
|
|
795b53a014 | ||
|
|
9298831bab | ||
|
|
b1b8994004 | ||
|
|
1db3e0312e | ||
|
|
a23159ffac | ||
|
|
a2a9e39ec7 | ||
|
|
3f5c0cbbd8 | ||
|
|
253b81dfe8 | ||
|
|
e8974fee90 | ||
|
|
3849600cdd | ||
|
|
dda3b0af66 | ||
|
|
95f5222445 | ||
|
|
b1c4a6ff3f | ||
|
|
e39c4cbfe7 | ||
|
|
5fa8ada075 | ||
|
|
b5743bd6e9 | ||
|
|
ac1f463988 | ||
|
|
efd43c045a | ||
|
|
34c4172bfe | ||
|
|
3505c577b7 | ||
|
|
74d9cf0fb8 | ||
|
|
91caa3b23f | ||
|
|
1d9a30a4d2 | ||
|
|
928a098209 | ||
|
|
94649662ec | ||
|
|
a393c3b01f | ||
|
|
9c14ecd49b | ||
|
|
e75f92c54d | ||
|
|
22a73d8b7d | ||
|
|
f28432c20a | ||
|
|
122daf56a7 | ||
|
|
997f677fc5 | ||
|
|
0f5687c1eb | ||
|
|
dc2957bef6 | ||
|
|
744c80add4 | ||
|
|
f3c34ce9b6 | ||
|
|
f90394b6fb | ||
|
|
a88e734cac | ||
|
|
2d0b1225eb | ||
|
|
4d2c491b2b | ||
|
|
29488f1216 | ||
|
|
b905401ddc | ||
|
|
7582e6a1eb | ||
|
|
cc8641d33a | ||
|
|
99f0eac1a2 | ||
|
|
87e027e6c7 | ||
|
|
06e37c03fb | ||
|
|
5a8bea5106 | ||
|
|
baa4663714 | ||
|
|
40a81c63b8 | ||
|
|
552c37000d | ||
|
|
31308ae8e4 | ||
|
|
0d7bfcafab | ||
|
|
6483f9c7f8 | ||
|
|
8fc946854c | ||
|
|
7a9585170d | ||
|
|
000b184507 | ||
|
|
92ea783f35 | ||
|
|
26f6b1692a | ||
|
|
e0d2bfab81 | ||
|
|
89fa477ecf | ||
|
|
871bbff9ce | ||
|
|
67464baa7a | ||
|
|
0a521a9457 | ||
|
|
16870a7767 | ||
|
|
2064095b24 | ||
|
|
6a4903d458 | ||
|
|
e7d171eac3 | ||
|
|
d2c931b222 | ||
|
|
ccf03a6e2c | ||
|
|
f0e6f0762b | ||
|
|
34982c7509 | ||
|
|
85e1e1e290 | ||
|
|
ef7000f82e | ||
|
|
b14fec6973 | ||
|
|
36f5b8dd54 | ||
|
|
04950cd846 | ||
|
|
049436370f | ||
|
|
5588717cc4 | ||
|
|
791e25aabf | ||
|
|
e50f766540 | ||
|
|
463acdac66 | ||
|
|
c07de94ae3 | ||
|
|
2f8d598ab1 | ||
|
|
47b467dff2 | ||
|
|
0850f3ec01 | ||
|
|
d90b02d794 | ||
|
|
ec343fa4bc | ||
|
|
349adae76a | ||
|
|
1d59997abe | ||
|
|
ee02298743 | ||
|
|
745c0e3248 | ||
|
|
ecc1d3a67c | ||
|
|
fb6d03b012 | ||
|
|
9330807714 | ||
|
|
eddda26255 | ||
|
|
dd80e77a74 | ||
|
|
5d3228cbb3 | ||
|
|
8ffbb1eee1 | ||
|
|
606d3d6cd1 | ||
|
|
211621e750 | ||
|
|
62267e3f02 | ||
|
|
868fd3b043 | ||
|
|
03b38c0c8d | ||
|
|
59ae4174f0 | ||
|
|
80de0f058a | ||
|
|
7231a4ca3b | ||
|
|
3123299828 | ||
|
|
d9c6682945 | ||
|
|
0320ba0b9e | ||
|
|
af509dd90d | ||
|
|
f2f18a01e5 | ||
|
|
e936f852bf | ||
|
|
9ed3284766 | ||
|
|
16aa57cb4b | ||
|
|
d039601207 | ||
|
|
69e0e018d4 | ||
|
|
b596dd66fa | ||
|
|
569029da79 | ||
|
|
70624128b4 | ||
|
|
ed99040266 | ||
|
|
c0500f7d74 | ||
|
|
71eb016652 | ||
|
|
21883705f7 | ||
|
|
2bba3afabc | ||
|
|
180875046c | ||
|
|
efd62d5c81 | ||
|
|
b9638d0527 | ||
|
|
93225a0b60 | ||
|
|
f58e193de0 | ||
|
|
6c53645a84 | ||
|
|
8dc49502e3 | ||
|
|
85138023c1 | ||
|
|
210b864811 | ||
|
|
de0532a7ec | ||
|
|
658a01dd3f | ||
|
|
da14ef4113 | ||
|
|
1ffbc44821 | ||
|
|
e64aa947c4 | ||
|
|
9f61f3723c | ||
|
|
50a5499c50 | ||
|
|
7d7cf3f8af | ||
|
|
9f247462f6 | ||
|
|
db6bef2c70 | ||
|
|
6683daa8c7 | ||
|
|
5a1a07a54f | ||
|
|
a6c8f28b4e | ||
|
|
323cfc4f26 | ||
|
|
c60ef2ef3b | ||
|
|
68703b507d | ||
|
|
abed5710b0 | ||
|
|
4d6c508c34 | ||
|
|
df04313221 | ||
|
|
28b2c4aeaf | ||
|
|
2f7409dee4 | ||
|
|
72f1136161 | ||
|
|
e7b4bb5f00 | ||
|
|
a2078f04e8 | ||
|
|
43051c98f3 | ||
|
|
893d1c4148 | ||
|
|
f2c8d25c73 | ||
|
|
a7d5fce367 | ||
|
|
bc9a3dae9e | ||
|
|
cbf1c89d60 | ||
|
|
907d90158a | ||
|
|
f377bd69c3 | ||
|
|
8db7ed98ea | ||
|
|
ce3f3dd8d3 | ||
|
|
69f8b9fce0 | ||
|
|
bb833cb3e5 | ||
|
|
4e2c4fb4bd | ||
|
|
849e0ffb04 | ||
|
|
015a08b3e8 | ||
|
|
e9076296a9 | ||
|
|
8db365aa80 | ||
|
|
454f269528 | ||
|
|
f2143c7bee | ||
|
|
5c6f569aa5 | ||
|
|
9f36c3b7c7 | ||
|
|
1716627be0 | ||
|
|
12fd79632c | ||
|
|
1e36589fc9 | ||
|
|
e9a892dd41 | ||
|
|
6cea928f70 | ||
|
|
98685a4d93 | ||
|
|
6fe817326c | ||
|
|
68e605f7a4 | ||
|
|
491fc45d00 | ||
|
|
bbac59f218 | ||
|
|
7aae40a95f | ||
|
|
0cecb67ae7 | ||
|
|
ab227cb671 | ||
|
|
2c3b8ec969 | ||
|
|
0e63b7609a | ||
|
|
803f241db6 | ||
|
|
85ab3e2820 | ||
|
|
6759fbba86 | ||
|
|
452ff15c37 | ||
|
|
ec8b80fefc | ||
|
|
b0133ca5b4 | ||
|
|
fc59049c53 | ||
|
|
cb4eb96188 | ||
|
|
a0d2321424 | ||
|
|
ec4b93457e | ||
|
|
f0bc3cdc91 | ||
|
|
8eb2e02296 | ||
|
|
5118c7cd7f | ||
|
|
7bcfb5965d | ||
|
|
fddda74b98 | ||
|
|
38f19ad4b7 | ||
|
|
7de6d649be | ||
|
|
8f7e2b9357 | ||
|
|
44dcc74e78 | ||
|
|
740031d711 | ||
|
|
ecbe1aeb4e | ||
|
|
401e04572a | ||
|
|
8537533873 | ||
|
|
df32a451da | ||
|
|
285a7ec5e3 | ||
|
|
66b3af8b02 | ||
|
|
540b83b6b1 | ||
|
|
429a95440a | ||
|
|
333adf3ae1 | ||
|
|
caa22f1483 | ||
|
|
49c8929c4a | ||
|
|
d3972610f4 | ||
|
|
c85afdbe86 | ||
|
|
1465cf8909 | ||
|
|
adcd85f803 | ||
|
|
a21aaaa7dc | ||
|
|
418461fae2 | ||
|
|
dd2a864f51 | ||
|
|
3a7c0b423c | ||
|
|
d01291bb6e | ||
|
|
8678995ece | ||
|
|
5a17e28602 | ||
|
|
2531ec2c03 | ||
|
|
f623a9cb53 | ||
|
|
66c2adbaa4 | ||
|
|
92ac5f1b9f | ||
|
|
3ae2c2ca54 | ||
|
|
df2736e9cc | ||
|
|
ffbe5e4f50 | ||
|
|
0408a1adae | ||
|
|
b2ffad7180 | ||
|
|
90e6379916 | ||
|
|
be7b82ffe4 | ||
|
|
107bbcc8f4 | ||
|
|
4fa4c137a2 | ||
|
|
347534f43b | ||
|
|
f3a403d0d4 | ||
|
|
bc7e37f4df | ||
|
|
1b42c56aeb | ||
|
|
7d2872604d | ||
|
|
579cc2111a | ||
|
|
09220bdd58 | ||
|
|
d9d3a81168 | ||
|
|
b99ff1ffeb | ||
|
|
a9d034a33c | ||
|
|
fac7f6fd8a | ||
|
|
fa8846d054 | ||
|
|
8175eb6c0e | ||
|
|
ecacc1fb5f | ||
|
|
b1e7b0352e | ||
|
|
f134b5139a | ||
|
|
c6c8882d70 | ||
|
|
f60d27c8f6 | ||
|
|
9964ed243c | ||
|
|
1cfe36b8a1 | ||
|
|
72ffb28a4d | ||
|
|
ad3ca8d8f2 | ||
|
|
ed94b2e90b | ||
|
|
f52b203b13 | ||
|
|
4b983d3b39 | ||
|
|
1c5962a62c | ||
|
|
a75a5f00d6 | ||
|
|
a2201c5ae7 | ||
|
|
0f7dc30816 | ||
|
|
55ef4bc22e | ||
|
|
e5e6ca9d62 | ||
|
|
55925534ec | ||
|
|
a7c6406a8f | ||
|
|
1dc1dcab49 | ||
|
|
d1aacc7cdf | ||
|
|
0dac6431d2 | ||
|
|
bc9f364917 | ||
|
|
fb52866502 | ||
|
|
2549cb015c | ||
|
|
7add953cfe | ||
|
|
4fddc7cbee | ||
|
|
b5c0324f6a | ||
|
|
e585263735 | ||
|
|
246d79484d | ||
|
|
118a4cdb15 | ||
|
|
16155a7d48 | ||
|
|
443bd6a8ef | ||
|
|
c5fd243bce | ||
|
|
97fb020199 | ||
|
|
8f0558c530 | ||
|
|
ccd6d11b80 | ||
|
|
ecc1626f21 | ||
|
|
04b0ebb9c1 | ||
|
|
c09e705e04 | ||
|
|
68c9df4110 | ||
|
|
7a442ce178 | ||
|
|
ab5f1cb24b | ||
|
|
67339c0aab | ||
|
|
9315b88d67 | ||
|
|
4f96480e17 | ||
|
|
8fe5a021a3 | ||
|
|
3a72f5c241 | ||
|
|
98ab03e7e5 | ||
|
|
a2481b51f8 | ||
|
|
50964694fe | ||
|
|
9148e3b4c1 | ||
|
|
2229fb0a55 | ||
|
|
d80199b403 | ||
|
|
1a0a9d1a6f | ||
|
|
7633aaa177 | ||
|
|
fe28b4f768 | ||
|
|
6f5e28aca1 | ||
|
|
c63de8e0a8 | ||
|
|
8e3e3658c5 | ||
|
|
ebc51f0813 | ||
|
|
f7bfb9b472 | ||
|
|
7fe650bc36 | ||
|
|
1e22a7ec76 | ||
|
|
043fde10e5 | ||
|
|
4dcb55b4b5 | ||
|
|
6e86513c3a | ||
|
|
76df5ec473 | ||
|
|
9d02d6ab31 | ||
|
|
1c9496b191 | ||
|
|
b089627fe8 | ||
|
|
6c19542a36 | ||
|
|
adce6fc49a | ||
|
|
7eacf5061e | ||
|
|
5b60edebb8 | ||
|
|
bd1d9eea88 | ||
|
|
59f2891c07 | ||
|
|
02332d6aa7 | ||
|
|
c8006a68d5 | ||
|
|
c8bd8e9a0f | ||
|
|
b6ae33fc2e | ||
|
|
5cdf6e6e08 | ||
|
|
2be5ac062d | ||
|
|
453d1a42b0 | ||
|
|
e98b7ce059 | ||
|
|
f2851186bb | ||
|
|
d40b6daac9 | ||
|
|
2e52e9dff2 | ||
|
|
056f3ea7aa | ||
|
|
b670ed41d6 | ||
|
|
f48920fb62 | ||
|
|
e7058ee0c3 | ||
|
|
82a7a9f030 | ||
|
|
5fc92453b6 | ||
|
|
a8d5a91270 | ||
|
|
ec0853a113 | ||
|
|
4204f82a1a | ||
|
|
5e2a37a5a0 | ||
|
|
6b2595360b | ||
|
|
32addb490d | ||
|
|
4f54397ad8 | ||
|
|
f3455aa584 | ||
|
|
ca37022cf0 | ||
|
|
9c306e4183 | ||
|
|
d7e6943136 | ||
|
|
20563e146d | ||
|
|
e5401e4491 | ||
|
|
b345a7f5f8 | ||
|
|
ac161a1e17 | ||
|
|
42be28cece | ||
|
|
d799afdc04 | ||
|
|
fe4cab6eeb | ||
|
|
ffbeca8c2e | ||
|
|
0b215ddf60 | ||
|
|
297ae75019 | ||
|
|
6caae4568d | ||
|
|
71365ab05c | ||
|
|
c6083c20e5 | ||
|
|
b15796424e | ||
|
|
fc58b54ba3 | ||
|
|
4138ab60c8 | ||
|
|
717114d206 | ||
|
|
8fcf72ddc8 | ||
|
|
929f1f0d78 | ||
|
|
57bd8dc7e1 | ||
|
|
c8a68bace6 | ||
|
|
c03ab32ab5 | ||
|
|
2e7b00b7d5 | ||
|
|
6f9021ff80 | ||
|
|
9f7bdd313a | ||
|
|
f6337de7b6 | ||
|
|
1807fe2b97 | ||
|
|
4cea49cf1c | ||
|
|
2fecfdfb50 | ||
|
|
9e461a5bdd | ||
|
|
0dc0bf82b2 | ||
|
|
ff12384283 | ||
|
|
fb095c0504 | ||
|
|
646224fc01 | ||
|
|
062847f5cd | ||
|
|
2928b8143b | ||
|
|
4b1e242299 | ||
|
|
1d67e1d25c | ||
|
|
eee15b163e | ||
|
|
b6aabd98fc | ||
|
|
b56f92d23b | ||
|
|
3ca95fc7a6 | ||
|
|
165244b534 | ||
|
|
2cd5cbcaca | ||
|
|
44aa1a1519 | ||
|
|
4350001c77 | ||
|
|
3dd5cb3c26 | ||
|
|
fc36794c8e | ||
|
|
513053fd42 | ||
|
|
6858434567 | ||
|
|
463af2bb25 | ||
|
|
c3552d0201 | ||
|
|
38e8cbedc6 | ||
|
|
c8a7806d4f | ||
|
|
a1e4e3ec94 | ||
|
|
875eea0ac0 | ||
|
|
3020470ba9 | ||
|
|
69530c282e | ||
|
|
d9b194669c | ||
|
|
092df72269 | ||
|
|
e786504157 | ||
|
|
c39e794a3a | ||
|
|
459a0ea703 | ||
|
|
3477036199 | ||
|
|
b427ee34cb | ||
|
|
92fbd1ca18 | ||
|
|
d9f838f739 | ||
|
|
545b7e4f62 | ||
|
|
68141df565 | ||
|
|
597abb5082 | ||
|
|
da33a7de28 | ||
|
|
9812da470c | ||
|
|
659ca734bb | ||
|
|
63c98ed888 | ||
|
|
ddc444d7b2 | ||
|
|
edb7cf2a91 | ||
|
|
355534b206 | ||
|
|
ddfbf23583 | ||
|
|
de1b872a4e | ||
|
|
28aaf9add2 | ||
|
|
46533a9546 | ||
|
|
b2e851f920 | ||
|
|
647d4a829d | ||
|
|
370ae84e73 | ||
|
|
a4ef2ba11d | ||
|
|
d487d2b19e | ||
|
|
646d12c63f | ||
|
|
3eca12f7b7 | ||
|
|
77dfe98c4e | ||
|
|
ae1dc3db15 | ||
|
|
b0419018b0 | ||
|
|
8166ad7ece | ||
|
|
4e22cb6970 | ||
|
|
e0a15fc51d | ||
|
|
ebdad848b8 | ||
|
|
79a295755e | ||
|
|
367e60a438 | ||
|
|
51a345480a | ||
|
|
54e427219c | ||
|
|
c8b6411661 | ||
|
|
4b2e9eb231 | ||
|
|
f7ea37f1b9 | ||
|
|
6ee252719c | ||
|
|
3927ae9832 | ||
|
|
9ce33168b1 | ||
|
|
14ea0be212 | ||
|
|
8174b8b497 | ||
|
|
441ef80eda | ||
|
|
d971ab32c3 | ||
|
|
f76aa54270 | ||
|
|
9f4b8c2379 | ||
|
|
710733eaa5 | ||
|
|
6358686351 | ||
|
|
d1de009d84 | ||
|
|
9b311f9a7b | ||
|
|
6b53043eea | ||
|
|
4a2921184f | ||
|
|
29440e8636 | ||
|
|
756eea5eec | ||
|
|
d46ed5c358 | ||
|
|
ab464bccd1 | ||
|
|
3d9b153464 | ||
|
|
83e7d32161 | ||
|
|
b6b71da22d | ||
|
|
e4e8777d6b | ||
|
|
fdfb7acee2 | ||
|
|
50a610e81c | ||
|
|
fe4ebb456f | ||
|
|
803014e138 | ||
|
|
1d328ffab8 | ||
|
|
e80aebd528 | ||
|
|
09ef78ff9e | ||
|
|
63d86bcfda | ||
|
|
deaa5d9446 | ||
|
|
5f00e2cd20 | ||
|
|
ca45a0c6cc | ||
|
|
309cfe4fd1 | ||
|
|
87d8424968 | ||
|
|
39d8c22579 | ||
|
|
1833c872a0 | ||
|
|
7861fdb862 | ||
|
|
b4ad1bd707 | ||
|
|
aba715ae04 | ||
|
|
f47678e4ab | ||
|
|
bef3a59d4c | ||
|
|
969313d8cc | ||
|
|
3735e1a4b2 | ||
|
|
83dafe98b2 | ||
|
|
14ecb7850f | ||
|
|
9da2b45a82 | ||
|
|
b0c44a6c6e | ||
|
|
3cc7c78362 | ||
|
|
bdd62705f2 | ||
|
|
b640b025c8 | ||
|
|
8ab0a4d7a9 | ||
|
|
99ff6e5eb2 | ||
|
|
3c4879eb9a | ||
|
|
d9929c525b | ||
|
|
86e3d89e57 | ||
|
|
3ae3654210 | ||
|
|
790bc3042d | ||
|
|
168e2b0ff2 | ||
|
|
37306315b2 | ||
|
|
26c780da72 | ||
|
|
2697216f3a | ||
|
|
aa6165d767 | ||
|
|
fc7983c405 | ||
|
|
136ad92f3d | ||
|
|
e2c297b29f | ||
|
|
8bb4a8ec15 | ||
|
|
d41b0a77b2 | ||
|
|
827a25e39d | ||
|
|
b6db0aad85 | ||
|
|
33a47ac00d | ||
|
|
1437ee2bae | ||
|
|
cd9045f4e8 | ||
|
|
f0ef7211c5 | ||
|
|
ec7f8bf1cb | ||
|
|
5e6c038292 | ||
|
|
a16656700d | ||
|
|
f1c6258165 | ||
|
|
29241c7694 | ||
|
|
95008ab775 | ||
|
|
630d73eb0a | ||
|
|
cac629a070 | ||
|
|
48d3ec1660 | ||
|
|
99706867d4 | ||
|
|
b9c79ae213 | ||
|
|
70202307c0 | ||
|
|
615777b6da | ||
|
|
a3cdb4dcfb | ||
|
|
698094c02b | ||
|
|
fe1d1630dc | ||
|
|
befe056b42 | ||
|
|
a08096e862 | ||
|
|
6804a4e8ef | ||
|
|
2cb9d9610e | ||
|
|
f0d12afc79 | ||
|
|
b298e3e210 | ||
|
|
1d45ee2056 | ||
|
|
7ecbd27b2f | ||
|
|
3715f48dfe | ||
|
|
ea4f164aae | ||
|
|
b00baea4a1 | ||
|
|
64b449dd2a | ||
|
|
731dd43ab4 | ||
|
|
ae4e755124 | ||
|
|
059e448264 | ||
|
|
45f8e241e3 | ||
|
|
f1f86e9fa2 | ||
|
|
cf5e518aff | ||
|
|
38dff2ce4b | ||
|
|
36a04a49a7 | ||
|
|
179908ef64 | ||
|
|
1c42f2e0d3 | ||
|
|
9129869b7b | ||
|
|
bf2763ee4e | ||
|
|
9015c7d020 | ||
|
|
7c923b06e9 | ||
|
|
695e7abd65 | ||
|
|
f3e3c0e552 | ||
|
|
ff511fc3b1 | ||
|
|
57dabb4fcb | ||
|
|
6ec4c76bb7 | ||
|
|
27a4da4686 | ||
|
|
0e04930c24 | ||
|
|
1e49d39e6b | ||
|
|
2a6a483ba0 | ||
|
|
161f43b05a | ||
|
|
1e09fae226 | ||
|
|
6b67fc8340 | ||
|
|
932d8f3242 | ||
|
|
948cea9d3f | ||
|
|
109504ddc4 | ||
|
|
f5cc909878 | ||
|
|
f60907fd0a | ||
|
|
189c383d48 | ||
|
|
4fb42021d7 | ||
|
|
b5ec095ae5 | ||
|
|
f45af85d60 | ||
|
|
14b6adc782 | ||
|
|
0e5cf24bb3 | ||
|
|
18c2b3a604 | ||
|
|
aeb1b5f21c | ||
|
|
3b50ea9003 | ||
|
|
6144fe8e3e | ||
|
|
8242ae771a | ||
|
|
52da428ead | ||
|
|
4a362b1ee2 | ||
|
|
9d5ff382c1 | ||
|
|
c448d362ba | ||
|
|
f092fd7939 | ||
|
|
054a64704a | ||
|
|
a7cdf34685 | ||
|
|
fe12031643 | ||
|
|
e2890ec21a | ||
|
|
c28ab2107b | ||
|
|
0c7d8c2c75 | ||
|
|
b267c3b746 | ||
|
|
49ad80cabb | ||
|
|
2d8b7bbf47 | ||
|
|
1aa82b740b | ||
|
|
540f1f640a | ||
|
|
6b68aa3dcb | ||
|
|
bedd4eef34 | ||
|
|
6f9ae46ab8 | ||
|
|
f3c71ee7ef | ||
|
|
3630a38b8f | ||
|
|
44a80db3ca | ||
|
|
37f438af87 | ||
|
|
cc6627376c | ||
|
|
fe12d75a7a | ||
|
|
a1269f9d94 | ||
|
|
d914009a33 | ||
|
|
b046ce6d82 | ||
|
|
f6ba69c1a4 | ||
|
|
ac52b07e8d | ||
|
|
8e03026cf7 | ||
|
|
9af3b7b6bf | ||
|
|
0d4785d9a3 | ||
|
|
fa892cff0f | ||
|
|
d87089df64 | ||
|
|
072306e2f0 | ||
|
|
5091305900 | ||
|
|
ca985b5697 | ||
|
|
e2b3310cb6 | ||
|
|
ffcb07d286 | ||
|
|
bd39fefcf9 | ||
|
|
6d08d079f0 | ||
|
|
1788cb3419 | ||
|
|
0c7e3a5aaf | ||
|
|
ad5fef1fce | ||
|
|
4e01039ec9 | ||
|
|
e174ee8284 | ||
|
|
b6dbc8cf63 | ||
|
|
44444bd9c0 | ||
|
|
8a7edaa6c1 | ||
|
|
a553eec7c9 | ||
|
|
73799b19b5 | ||
|
|
fa874d3a36 | ||
|
|
071bdf5302 | ||
|
|
9dcada3fc2 | ||
|
|
2517825e13 | ||
|
|
b28ffeff6e | ||
|
|
b57ca9ed91 | ||
|
|
449d7efefd | ||
|
|
c2fe3112f6 | ||
|
|
609c288c72 | ||
|
|
632c83fb46 | ||
|
|
7c754d9268 | ||
|
|
c6e81a130b | ||
|
|
12198cdafd | ||
|
|
3da24841be | ||
|
|
4c82d94e47 | ||
|
|
00d6396ea0 | ||
|
|
897278fce0 | ||
|
|
eca52f9d2c | ||
|
|
d0c78cb9cf | ||
|
|
28ced6a8e3 | ||
|
|
1c84fa3582 | ||
|
|
731e9ea8a9 | ||
|
|
d748c0e679 | ||
|
|
64a14d6a9b | ||
|
|
bea7a516fb | ||
|
|
5e94e3bf69 | ||
|
|
73379adb82 | ||
|
|
3e4831d05d | ||
|
|
cf105cf085 | ||
|
|
22260fb95d | ||
|
|
192678a793 | ||
|
|
413cf8882e | ||
|
|
fe81f4fc03 | ||
|
|
d1eae8a7fe | ||
|
|
74b3de5c3b | ||
|
|
09fd47bcef | ||
|
|
6ff4206fe4 | ||
|
|
d66b42f4b5 | ||
|
|
d35e1bbd88 | ||
|
|
91e177bfd9 | ||
|
|
9b8118e3f7 | ||
|
|
e37f0f7e34 | ||
|
|
8171c4e3d7 | ||
|
|
50c4a23cac | ||
|
|
b8633a3b01 | ||
|
|
ee07f33cc5 | ||
|
|
74faacc945 | ||
|
|
da50d1d60b | ||
|
|
c936a75ed0 | ||
|
|
034e883c86 | ||
|
|
4d46dbd62c | ||
|
|
6a3f9fd998 | ||
|
|
2d1fcda0d7 | ||
|
|
20de63f383 | ||
|
|
7b4a7f7bdc | ||
|
|
1de8ce55c1 | ||
|
|
1dce4ceddd | ||
|
|
b4ae1216b3 | ||
|
|
873a9176c7 | ||
|
|
97c80b8c84 | ||
|
|
7df6cdd788 | ||
|
|
f7be937495 | ||
|
|
eba63ce088 | ||
|
|
fbde930522 | ||
|
|
16436dc54d | ||
|
|
5f46dc3001 | ||
|
|
9d9f5afb8e | ||
|
|
e4417bdabf | ||
|
|
b2066f470b | ||
|
|
025ca5d66a | ||
|
|
44b60b7c42 | ||
|
|
3bc508df8a | ||
|
|
95dc5f8473 | ||
|
|
8ad3454b18 | ||
|
|
949d3854a5 | ||
|
|
2fa9f3bee9 | ||
|
|
02a6cd7914 | ||
|
|
c3732ffc5d | ||
|
|
9879011723 | ||
|
|
fec04e0a18 | ||
|
|
f3eff961d3 | ||
|
|
54618c0601 | ||
|
|
7f63928012 | ||
|
|
d732419d95 | ||
|
|
00e6ff0db3 | ||
|
|
bd5f86fee1 | ||
|
|
fcbf2d1245 | ||
|
|
a44852b8fe | ||
|
|
7f530b42c8 | ||
|
|
20dba03e99 | ||
|
|
22e8b43f70 | ||
|
|
97ff80a1d9 | ||
|
|
0354556bc5 | ||
|
|
e4c9db984f | ||
|
|
e91ae90285 | ||
|
|
41be304870 | ||
|
|
5628d956d5 | ||
|
|
d7394859b3 | ||
|
|
8b4c5a01d2 | ||
|
|
4a6a921201 | ||
|
|
7023495557 | ||
|
|
c04b76a222 | ||
|
|
271059534c | ||
|
|
873c578994 | ||
|
|
1193f0f9db | ||
|
|
fae39068e8 | ||
|
|
ac6523031e | ||
|
|
c09d716d34 | ||
|
|
61dd937d11 | ||
|
|
a8fc1db8c1 | ||
|
|
c65bf79ac2 | ||
|
|
a6f6acaf27 | ||
|
|
43dbd05dde | ||
|
|
6acd06f8b5 | ||
|
|
46aa35c92c | ||
|
|
038b983b34 | ||
|
|
2270e88840 | ||
|
|
e9e432633b | ||
|
|
cc0b15ccd8 | ||
|
|
040fbc1535 | ||
|
|
26625ab7f5 | ||
|
|
038a30dde3 | ||
|
|
398aa66a77 | ||
|
|
72e64424e0 | ||
|
|
c5b951e990 | ||
|
|
efd2515395 | ||
|
|
aa985271fd | ||
|
|
2703662478 | ||
|
|
6f5da73160 | ||
|
|
634c79b98d | ||
|
|
18dbebd143 | ||
|
|
4c95421013 | ||
|
|
39285cadc4 | ||
|
|
3916f38bd4 | ||
|
|
1bdca97b29 | ||
|
|
4333dd3520 | ||
|
|
9ac27197df | ||
|
|
02ef4bbc8c | ||
|
|
d1e9333931 | ||
|
|
a2ef1138ad | ||
|
|
23aea10d3e | ||
|
|
fdd75a4bbb | ||
|
|
e2a366414c | ||
|
|
f7cbc30ff9 | ||
|
|
b4be323f02 | ||
|
|
1f7f81d687 | ||
|
|
2720870af6 | ||
|
|
5a843be073 | ||
|
|
1dce7af76f | ||
|
|
9620b88f07 | ||
|
|
29aa2aecb4 | ||
|
|
1267284a6f | ||
|
|
d969562df7 | ||
|
|
5967d518b5 | ||
|
|
696e17c0ba | ||
|
|
07198ddeda | ||
|
|
a9cd129c27 | ||
|
|
3f961d6062 | ||
|
|
74ee57a572 | ||
|
|
1a0c261469 | ||
|
|
3fce795f6c | ||
|
|
19fc7593d1 | ||
|
|
d44be8e3a0 | ||
|
|
a0b0fb42fd | ||
|
|
ef9b3891fc | ||
|
|
9d7b3f41e0 | ||
|
|
86ac930e55 | ||
|
|
72d83e3708 | ||
|
|
f521ab4f1a | ||
|
|
b6c292d65d | ||
|
|
36d2406edc | ||
|
|
762ea5875b | ||
|
|
3a96c0f73d | ||
|
|
6aa1d81c2f | ||
|
|
7690c18be2 | ||
|
|
9e5e0e9d44 | ||
|
|
f8d7c817f6 | ||
|
|
705c4c6b85 | ||
|
|
85148f4cf0 | ||
|
|
3a5617e9f7 | ||
|
|
5917bb24f3 | ||
|
|
c201c739e4 | ||
|
|
7d7546ef37 | ||
|
|
07ef2f8f38 | ||
|
|
ac061d0424 | ||
|
|
64cefa94d1 | ||
|
|
a82afd549a | ||
|
|
6a55242693 | ||
|
|
18f3386a98 | ||
|
|
db3709508b | ||
|
|
4db94beee6 | ||
|
|
ac0b8d6ebe | ||
|
|
e3cd9f9e06 |
13
.hgtags
@@ -5,3 +5,16 @@ bf2517e15f0c0f950e5b3143c4ca11e2df73dcc1 jdk7-b25
|
|||||||
18dc4ba4739a537fd146f77da51db16efce28da2 jdk7-b28
|
18dc4ba4739a537fd146f77da51db16efce28da2 jdk7-b28
|
||||||
bfe4572fd301a6fcd120373cdb2eff5d2da0c72c jdk7-b29
|
bfe4572fd301a6fcd120373cdb2eff5d2da0c72c jdk7-b29
|
||||||
bee4731164a06ddece1297ae58db24aca6a1c626 jdk7-b30
|
bee4731164a06ddece1297ae58db24aca6a1c626 jdk7-b30
|
||||||
|
cd8b8f500face60d1566d850857a7fccadbd383a jdk7-b31
|
||||||
|
a9f1805e3ba9ca520cad199d522c84af5433e85a jdk7-b32
|
||||||
|
6838c1a3296aaa3572364d2ce7d70826cee96286 jdk7-b33
|
||||||
|
90cf935adb353bb0af4b46fb0677e841fd24c000 jdk7-b34
|
||||||
|
6d909d5803e3a22850e6c4e5a75b888742ee7e20 jdk7-b35
|
||||||
|
d718a441936196b93d8bc9f084933af9a4c2a350 jdk7-b36
|
||||||
|
c2036bf76829c03b99108fffab52e20910a9be4f jdk7-b37
|
||||||
|
a2879b2837f5a4c87e9542efe69ef138194af8ff jdk7-b38
|
||||||
|
126f365cec6c3c2c72de934fa1c64b5f082b55b5 jdk7-b39
|
||||||
|
3c53424bbe3bb77e01b468b4b0140deec33e11fc jdk7-b40
|
||||||
|
3cb2a607c347934f8e7e86f840a094c28b08d9ea jdk7-b41
|
||||||
|
caf58ffa084568990cbb3441f9ae188e36b31770 jdk7-b42
|
||||||
|
41bd0a702bc8ec6feebd725a63e7c3227f82ab11 jdk7-b43
|
||||||
|
|||||||
@@ -5,3 +5,16 @@ cbc8ad9dd0e085a607427ea35411990982f19a36 jdk7-b25
|
|||||||
56652b46f328937f6b9b5130f1e4cd80f48868ef jdk7-b28
|
56652b46f328937f6b9b5130f1e4cd80f48868ef jdk7-b28
|
||||||
31e08f70e88d77c2053f91c21b49a04296bdc59a jdk7-b29
|
31e08f70e88d77c2053f91c21b49a04296bdc59a jdk7-b29
|
||||||
2dab2f712e1832c92acfa63ec0337048b9422c20 jdk7-b30
|
2dab2f712e1832c92acfa63ec0337048b9422c20 jdk7-b30
|
||||||
|
3300a35a0bd56d695b92fe0b34f03ebbfc939064 jdk7-b31
|
||||||
|
64da805be725721bf2004e7409a0d7a16fc8ddbc jdk7-b32
|
||||||
|
bb1ef4ee3d2c8cbf43a37d372325a7952be590b9 jdk7-b33
|
||||||
|
46a989ab932992b2084b946eeb322fa99b9fee6c jdk7-b34
|
||||||
|
143c1abedb7d3095eff0f9ee5fec9bf48e3490fc jdk7-b35
|
||||||
|
4b4f5fea8d7d0743f0c30d91fcd9bf9d96e5d2ad jdk7-b36
|
||||||
|
744554f5a3290e11c71cd2ddb1aff49e431f9ed0 jdk7-b37
|
||||||
|
cc47a76899ed33a2c513cb688348244c9b5a1288 jdk7-b38
|
||||||
|
ab523b49de1fc73fefe6855ce1e0349bdbd7af29 jdk7-b39
|
||||||
|
44be42de6693063fb191989bf0e188de2fa51e7c jdk7-b40
|
||||||
|
541bdc5ad32fc33255944d0a044ad992f3d915e8 jdk7-b41
|
||||||
|
94052b87287303527125026fe4b2698cf867ea83 jdk7-b42
|
||||||
|
848e684279d2ba42577d9621d5b2e5af3823d12d jdk7-b43
|
||||||
|
|||||||
375
Makefile
@@ -49,27 +49,17 @@ ifndef JDK_MAKE_SHARED_DIR
|
|||||||
JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
|
JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# For start and finish echo lines
|
||||||
|
TITLE_TEXT = Control $(PLATFORM) $(ARCH) $(RELEASE)
|
||||||
|
DAYE_STAMP = `$(DATE) '+%y-%m-%d %H:%M'`
|
||||||
|
START_ECHO = echo "$(TITLE_TEXT) $@ build started: $(DATE_STAMP)"
|
||||||
|
FINISH_ECHO = echo "$(TITLE_TEXT) $@ build finished: $(DATE_STAMP)"
|
||||||
|
|
||||||
|
default: all
|
||||||
|
|
||||||
include $(JDK_MAKE_SHARED_DIR)/Defs-control.gmk
|
include $(JDK_MAKE_SHARED_DIR)/Defs-control.gmk
|
||||||
|
|
||||||
include ./make/Defs-internal.gmk
|
include ./make/Defs-internal.gmk
|
||||||
|
|
||||||
all::
|
|
||||||
@$(ECHO) $(PLATFORM) $(ARCH) $(RELEASE) build started: `$(DATE) '+%y-%m-%d %H:%M'`
|
|
||||||
$(MKDIR) -p $(OUTPUTDIR)
|
|
||||||
|
|
||||||
# Rules for sanity checks
|
|
||||||
include ./make/sanity-rules.gmk
|
include ./make/sanity-rules.gmk
|
||||||
|
|
||||||
dev : dev-build
|
|
||||||
|
|
||||||
dev-build:
|
|
||||||
$(MAKE) DEV_ONLY=true all
|
|
||||||
dev-sanity:
|
|
||||||
$(MAKE) DEV_ONLY=true sanity
|
|
||||||
dev-clobber:
|
|
||||||
$(MAKE) DEV_ONLY=true clobber
|
|
||||||
|
|
||||||
# Rules for various components
|
|
||||||
include ./make/hotspot-rules.gmk
|
include ./make/hotspot-rules.gmk
|
||||||
include ./make/langtools-rules.gmk
|
include ./make/langtools-rules.gmk
|
||||||
include ./make/corba-rules.gmk
|
include ./make/corba-rules.gmk
|
||||||
@@ -80,11 +70,205 @@ include ./make/install-rules.gmk
|
|||||||
include ./make/sponsors-rules.gmk
|
include ./make/sponsors-rules.gmk
|
||||||
include ./make/deploy-rules.gmk
|
include ./make/deploy-rules.gmk
|
||||||
|
|
||||||
all:: setup build
|
# What "all" means
|
||||||
|
all::
|
||||||
|
@$(START_ECHO)
|
||||||
|
|
||||||
setup: openjdk_check
|
all:: openjdk_check sanity
|
||||||
|
|
||||||
|
ifeq ($(SKIP_FASTDEBUG_BUILD), false)
|
||||||
|
all:: fastdebug_build
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(SKIP_DEBUG_BUILD), false)
|
||||||
|
all:: debug_build
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(SKIP_OPENJDK_BUILD), true)
|
||||||
|
all:: openjdk_build
|
||||||
|
endif
|
||||||
|
|
||||||
|
all:: all_product_build
|
||||||
|
|
||||||
|
all::
|
||||||
|
@$(FINISH_ECHO)
|
||||||
|
|
||||||
|
# Everything for a full product build
|
||||||
|
all_product_build::
|
||||||
|
@$(START_ECHO)
|
||||||
|
|
||||||
|
ifeq ($(SKIP_PRODUCT_BUILD), false)
|
||||||
|
|
||||||
|
all_product_build:: product_build
|
||||||
|
|
||||||
|
ifeq ($(BUILD_INSTALL), true)
|
||||||
|
all_product_build:: $(INSTALL)
|
||||||
|
clobber:: install-clobber
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_SPONSORS), true)
|
||||||
|
all_product_build:: $(SPONSORS)
|
||||||
|
clobber:: sponsors-clobber
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(SKIP_COMPARE_IMAGES), true)
|
||||||
|
all_product_build:: compare-image
|
||||||
|
endif
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
all_product_build::
|
||||||
|
@$(FINISH_ECHO)
|
||||||
|
|
||||||
|
# Generis build of basic repo series
|
||||||
|
generic_build_repo_series::
|
||||||
|
$(MKDIR) -p $(OUTPUTDIR)
|
||||||
$(MKDIR) -p $(OUTPUTDIR)/j2sdk-image
|
$(MKDIR) -p $(OUTPUTDIR)/j2sdk-image
|
||||||
|
|
||||||
|
ifeq ($(BUILD_LANGTOOLS), true)
|
||||||
|
generic_build_repo_series:: langtools
|
||||||
|
clobber:: langtools-clobber
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_CORBA), true)
|
||||||
|
generic_build_repo_series:: corba
|
||||||
|
clobber:: corba-clobber
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_JAXP), true)
|
||||||
|
generic_build_repo_series:: jaxp
|
||||||
|
clobber:: jaxp-clobber
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_JAXWS), true)
|
||||||
|
generic_build_repo_series:: jaxws
|
||||||
|
clobber:: jaxws-clobber
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_HOTSPOT), true)
|
||||||
|
generic_build_repo_series:: $(HOTSPOT)
|
||||||
|
clobber:: hotspot-clobber
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_JDK), true)
|
||||||
|
generic_build_repo_series:: $(JDK_JAVA_EXE)
|
||||||
|
clobber:: jdk-clobber
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_DEPLOY), true)
|
||||||
|
generic_build_repo_series:: $(DEPLOY)
|
||||||
|
clobber:: deploy-clobber
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BUILD_JDK), true)
|
||||||
|
ifeq ($(BUNDLE_RULES_AVAILABLE), true)
|
||||||
|
generic_build_repo_series:: openjdk-binary-plugs-bundles
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
# The debug build, fastdebug or debug. Needs special handling.
|
||||||
|
# Note that debug builds do NOT do INSTALL steps, but must be done
|
||||||
|
# after the product build and before the INSTALL step of the product build.
|
||||||
|
#
|
||||||
|
# DEBUG_NAME is fastdebug or debug
|
||||||
|
# ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix
|
||||||
|
# The resulting j2sdk-image is used by the install makefiles to create a
|
||||||
|
# debug install bundle jdk-*-debug-** bundle (tar or zip)
|
||||||
|
# which will install in the debug or fastdebug subdirectory of the
|
||||||
|
# normal product install area.
|
||||||
|
# The install process needs to know what the DEBUG_NAME is, so
|
||||||
|
# look for INSTALL_DEBUG_NAME in the install rules.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Location of fresh bootdir output
|
||||||
|
ABS_BOOTDIR_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk
|
||||||
|
FRESH_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/j2sdk-image
|
||||||
|
FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME)/j2sdk-image
|
||||||
|
|
||||||
|
create_fresh_product_bootdir: FRC
|
||||||
|
@$(START_ECHO)
|
||||||
|
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
|
||||||
|
NO_DOCS=true \
|
||||||
|
BOOT_CYCLE_SETTINGS= \
|
||||||
|
build_product_image
|
||||||
|
@$(FINISH_ECHO)
|
||||||
|
|
||||||
|
create_fresh_debug_bootdir: FRC
|
||||||
|
@$(START_ECHO)
|
||||||
|
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
|
||||||
|
NO_DOCS=true \
|
||||||
|
BOOT_CYCLE_DEBUG_SETTINGS= \
|
||||||
|
build_debug_image
|
||||||
|
@$(FINISH_ECHO)
|
||||||
|
|
||||||
|
create_fresh_fastdebug_bootdir: FRC
|
||||||
|
@$(START_ECHO)
|
||||||
|
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
|
||||||
|
NO_DOCS=true \
|
||||||
|
BOOT_CYCLE_DEBUG_SETTINGS= \
|
||||||
|
build_fastdebug_image
|
||||||
|
@$(FINISH_ECHO)
|
||||||
|
|
||||||
|
# Create boot image?
|
||||||
|
ifeq ($(SKIP_BOOT_CYCLE),false)
|
||||||
|
ifneq ($(PLATFORM)$(ARCH_DATA_MODEL),solaris64)
|
||||||
|
DO_BOOT_CYCLE=true
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(DO_BOOT_CYCLE),true)
|
||||||
|
|
||||||
|
# Create the bootdir to use in the build
|
||||||
|
product_build:: create_fresh_product_bootdir
|
||||||
|
debug_build:: create_fresh_debug_bootdir
|
||||||
|
fastdebug_build:: create_fresh_fastdebug_bootdir
|
||||||
|
|
||||||
|
# Define variables to be used now for the boot jdk
|
||||||
|
BOOT_CYCLE_SETTINGS= \
|
||||||
|
ALT_BOOTDIR=$(FRESH_BOOTDIR) \
|
||||||
|
ALT_JDK_IMPORT_PATH=$(FRESH_BOOTDIR)
|
||||||
|
BOOT_CYCLE_DEBUG_SETTINGS= \
|
||||||
|
ALT_BOOTDIR=$(FRESH_DEBUG_BOOTDIR) \
|
||||||
|
ALT_JDK_IMPORT_PATH=$(FRESH_DEBUG_BOOTDIR)
|
||||||
|
|
||||||
|
else
|
||||||
|
|
||||||
|
# Use the supplied ALT_BOOTDIR as the boot
|
||||||
|
BOOT_CYCLE_SETTINGS=
|
||||||
|
BOOT_CYCLE_DEBUG_SETTINGS=
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
|
build_product_image:
|
||||||
|
@$(START_ECHO)
|
||||||
|
$(MAKE) \
|
||||||
|
SKIP_FASTDEBUG_BUILD=true \
|
||||||
|
SKIP_DEBUG_BUILD=true \
|
||||||
|
$(BOOT_CYCLE_SETTINGS) \
|
||||||
|
generic_build_repo_series
|
||||||
|
@$(FINISH_ECHO)
|
||||||
|
|
||||||
|
generic_debug_build:
|
||||||
|
@$(START_ECHO)
|
||||||
|
$(MAKE) \
|
||||||
|
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)-$(DEBUG_NAME) \
|
||||||
|
DEBUG_NAME=$(DEBUG_NAME) \
|
||||||
|
NO_DOCS=true \
|
||||||
|
$(BOOT_CYCLE_DEBUG_SETTINGS) \
|
||||||
|
generic_build_repo_series
|
||||||
|
@$(FINISH_ECHO)
|
||||||
|
|
||||||
|
build_debug_image:
|
||||||
|
$(MAKE) DEBUG_NAME=debug generic_debug_build
|
||||||
|
|
||||||
|
build_fastdebug_image:
|
||||||
|
$(MAKE) DEBUG_NAME=fastdebug generic_debug_build
|
||||||
|
|
||||||
|
# Build final image
|
||||||
|
product_build:: build_product_image
|
||||||
|
debug_build:: build_debug_image
|
||||||
|
fastdebug_build:: build_fastdebug_image
|
||||||
|
|
||||||
# Check on whether we really can build the openjdk, need source etc.
|
# Check on whether we really can build the openjdk, need source etc.
|
||||||
openjdk_check: FRC
|
openjdk_check: FRC
|
||||||
ifneq ($(SKIP_OPENJDK_BUILD), true)
|
ifneq ($(SKIP_OPENJDK_BUILD), true)
|
||||||
@@ -101,113 +285,6 @@ ifneq ($(SKIP_OPENJDK_BUILD), true)
|
|||||||
@$(ECHO) " "
|
@$(ECHO) " "
|
||||||
endif
|
endif
|
||||||
|
|
||||||
build:: sanity
|
|
||||||
|
|
||||||
clobber::
|
|
||||||
|
|
||||||
ifeq ($(BUILD_LANGTOOLS), true)
|
|
||||||
build:: langtools
|
|
||||||
clobber:: langtools-clobber
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_CORBA), true)
|
|
||||||
build:: corba
|
|
||||||
clobber:: corba-clobber
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_JAXP), true)
|
|
||||||
build:: jaxp
|
|
||||||
clobber:: jaxp-clobber
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_JAXWS), true)
|
|
||||||
build:: jaxws
|
|
||||||
clobber:: jaxws-clobber
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_HOTSPOT), true)
|
|
||||||
build:: $(HOTSPOT)
|
|
||||||
clobber:: hotspot-clobber
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_JDK), true)
|
|
||||||
build:: $(JDK_JAVA_EXE)
|
|
||||||
clobber:: jdk-clobber
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_DEPLOY), true)
|
|
||||||
build:: $(DEPLOY)
|
|
||||||
clobber:: deploy-clobber
|
|
||||||
endif
|
|
||||||
|
|
||||||
#
|
|
||||||
# Generic debug build, fastdebug or debug. Needs special handling.
|
|
||||||
# Note that debug builds do NOT do INSTALL steps, but must be done
|
|
||||||
# after the product build and before the INSTALL step of the product build.
|
|
||||||
#
|
|
||||||
# DEBUG_NAME is fastdebug or debug
|
|
||||||
# ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix
|
|
||||||
# The resulting j2sdk-image is used by the install makefiles to create a
|
|
||||||
# debug install bundle jdk-*-debug-** bundle (tar or zip)
|
|
||||||
# which will install in the debug or fastdebug subdirectory of the
|
|
||||||
# normal product install area.
|
|
||||||
# The install process needs to know what the DEBUG_NAME is, so
|
|
||||||
# look for INSTALL_DEBUG_NAME in the install rules.
|
|
||||||
#
|
|
||||||
|
|
||||||
COMMON_DEBUG_FLAGS= \
|
|
||||||
DEBUG_NAME=$(DEBUG_NAME) \
|
|
||||||
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)-$(DEBUG_NAME) \
|
|
||||||
NO_DOCS=true
|
|
||||||
|
|
||||||
product_build: setup
|
|
||||||
@$(ECHO) $@ build started: `$(DATE) '+%y-%m-%d %H:%M'`
|
|
||||||
$(MAKE) SKIP_FASTDEBUG_BUILD=true SKIP_DEBUG_BUILD=true all
|
|
||||||
@$(ECHO) $@ build finished: `$(DATE) '+%y-%m-%d %H:%M'`
|
|
||||||
|
|
||||||
generic_debug_build:
|
|
||||||
@$(ECHO) $@ build started: `$(DATE) '+%y-%m-%d %H:%M'`
|
|
||||||
$(MAKE) $(COMMON_DEBUG_FLAGS) setup build
|
|
||||||
@$(ECHO) $@ build finished: `$(DATE) '+%y-%m-%d %H:%M'`
|
|
||||||
|
|
||||||
debug_build: setup
|
|
||||||
$(MAKE) DEBUG_NAME=debug generic_debug_build
|
|
||||||
|
|
||||||
fastdebug_build: setup
|
|
||||||
$(MAKE) DEBUG_NAME=fastdebug generic_debug_build
|
|
||||||
|
|
||||||
ifeq ($(SKIP_FASTDEBUG_BUILD), false)
|
|
||||||
all:: fastdebug_build
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(SKIP_DEBUG_BUILD), false)
|
|
||||||
all:: debug_build
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_JDK), true)
|
|
||||||
ifeq ($(BUNDLE_RULES_AVAILABLE), true)
|
|
||||||
all:: openjdk-binary-plugs-bundles
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_INSTALL), true)
|
|
||||||
all :: $(INSTALL)
|
|
||||||
clobber:: install-clobber
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(BUILD_SPONSORS), true)
|
|
||||||
all :: $(SPONSORS)
|
|
||||||
clobber:: sponsors-clobber
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SKIP_COMPARE_IMAGES), true)
|
|
||||||
all :: compare-image
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SKIP_OPENJDK_BUILD), true)
|
|
||||||
all :: openjdk_build
|
|
||||||
endif
|
|
||||||
|
|
||||||
# If we have bundle rules, we have a chance here to do a complete cycle
|
# If we have bundle rules, we have a chance here to do a complete cycle
|
||||||
# build, of production and open build.
|
# build, of production and open build.
|
||||||
# FIXUP: We should create the openjdk source bundle and build that?
|
# FIXUP: We should create the openjdk source bundle and build that?
|
||||||
@@ -235,6 +312,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
openjdk_build:
|
openjdk_build:
|
||||||
|
@$(START_ECHO)
|
||||||
@$(ECHO) " "
|
@$(ECHO) " "
|
||||||
@$(ECHO) "================================================="
|
@$(ECHO) "================================================="
|
||||||
@$(ECHO) "Starting openjdk build"
|
@$(ECHO) "Starting openjdk build"
|
||||||
@@ -245,6 +323,7 @@ openjdk_build:
|
|||||||
$(MKDIR) -p $(OPENJDK_OUTPUTDIR)
|
$(MKDIR) -p $(OPENJDK_OUTPUTDIR)
|
||||||
($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \
|
($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \
|
||||||
OPENJDK=true \
|
OPENJDK=true \
|
||||||
|
NO_DOCS=true \
|
||||||
ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
|
ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
|
||||||
ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
|
ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
|
||||||
ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \
|
ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \
|
||||||
@@ -261,6 +340,7 @@ openjdk_build:
|
|||||||
@$(ECHO) " Binary Bundle: $(OPENJDK_BUILD_BINARY_ZIP)"
|
@$(ECHO) " Binary Bundle: $(OPENJDK_BUILD_BINARY_ZIP)"
|
||||||
@$(ECHO) "================================================="
|
@$(ECHO) "================================================="
|
||||||
@$(ECHO) " "
|
@$(ECHO) " "
|
||||||
|
@$(FINISH_ECHO)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@@ -274,8 +354,18 @@ clobber::
|
|||||||
|
|
||||||
clean: clobber
|
clean: clobber
|
||||||
|
|
||||||
all::
|
#
|
||||||
@$(ECHO) Control build finished: `$(DATE) '+%y-%m-%d %H:%M'`
|
# Dev builds
|
||||||
|
#
|
||||||
|
|
||||||
|
dev : dev-build
|
||||||
|
|
||||||
|
dev-build:
|
||||||
|
$(MAKE) DEV_ONLY=true all
|
||||||
|
dev-sanity:
|
||||||
|
$(MAKE) DEV_ONLY=true sanity
|
||||||
|
dev-clobber:
|
||||||
|
$(MAKE) DEV_ONLY=true clobber
|
||||||
|
|
||||||
#
|
#
|
||||||
# Quick jdk verification build
|
# Quick jdk verification build
|
||||||
@@ -460,16 +550,6 @@ ifeq ($(BUNDLE_RULES_AVAILABLE), true)
|
|||||||
include $(BUNDLE_RULES)
|
include $(BUNDLE_RULES)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
################################################################
|
|
||||||
# Cycle build. Build the jdk, use it to build the jdk again.
|
|
||||||
################################################################
|
|
||||||
|
|
||||||
ABS_BOOTDIR_OUTPUTDIR=$(ABS_OUTPUTDIR)/bootjdk
|
|
||||||
|
|
||||||
boot_cycle:
|
|
||||||
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) product_build
|
|
||||||
$(MAKE) ALT_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/j2sdk-image product_build
|
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
# JPRT rule to build
|
# JPRT rule to build
|
||||||
################################################################
|
################################################################
|
||||||
@@ -480,9 +560,20 @@ include ./make/jprt.gmk
|
|||||||
# PHONY
|
# PHONY
|
||||||
################################################################
|
################################################################
|
||||||
|
|
||||||
.PHONY: all build what clobber insane \
|
.PHONY: all \
|
||||||
fastdebug_build debug_build product_build setup \
|
generic_build_repo_series \
|
||||||
dev dev-build dev-sanity dev-clobber
|
what clobber insane \
|
||||||
|
dev dev-build dev-sanity dev-clobber \
|
||||||
|
product_build \
|
||||||
|
fastdebug_build \
|
||||||
|
debug_build \
|
||||||
|
build_product_image \
|
||||||
|
build_debug_image \
|
||||||
|
build_fastdebug_image \
|
||||||
|
create_fresh_product_bootdir \
|
||||||
|
create_fresh_debug_bootdir \
|
||||||
|
create_fresh_fastdebug_bootdir \
|
||||||
|
generic_debug_build
|
||||||
|
|
||||||
# Force target
|
# Force target
|
||||||
FRC:
|
FRC:
|
||||||
|
|||||||
@@ -5,15 +5,12 @@
|
|||||||
</head>
|
</head>
|
||||||
<body style="background-color:lightcyan">
|
<body style="background-color:lightcyan">
|
||||||
<!-- ====================================================== -->
|
<!-- ====================================================== -->
|
||||||
<table width="100%" style="background-color:white">
|
<table width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="http://openjdk.java.net" border="0">
|
|
||||||
<img alt="OpenJDK"
|
<img alt="OpenJDK"
|
||||||
src="http://openjdk.java.net/images/openjdk.png"
|
src="http://openjdk.java.net/images/openjdk.png"
|
||||||
width=256
|
width=256 />
|
||||||
style="border-style: none"/>
|
|
||||||
</a>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -42,6 +39,11 @@
|
|||||||
<li><a href="#introduction">Introduction</a></li>
|
<li><a href="#introduction">Introduction</a></li>
|
||||||
<li><a href="#MBE">Minimum Build Environments</a></li>
|
<li><a href="#MBE">Minimum Build Environments</a></li>
|
||||||
<li><a href="#SDBE">Specific Developer Build Environments</a></li>
|
<li><a href="#SDBE">Specific Developer Build Environments</a></li>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#fedora">Fedora Linux</a> </li>
|
||||||
|
<li><a href="#centos">CentOS Linux</a> </li>
|
||||||
|
<li><a href="#ubuntu">Ubuntu Linux</a> </li>
|
||||||
|
</ul>
|
||||||
<li><a href="#directories">Source Directory Structure</a> </li>
|
<li><a href="#directories">Source Directory Structure</a> </li>
|
||||||
<li><a href="#building">Build Information</a>
|
<li><a href="#building">Build Information</a>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -54,6 +56,7 @@
|
|||||||
<li><a href="#bootjdk">Bootstrap JDK</a> </li>
|
<li><a href="#bootjdk">Bootstrap JDK</a> </li>
|
||||||
<li><a href="#binaryplugs">Binary Plugs</a> </li>
|
<li><a href="#binaryplugs">Binary Plugs</a> </li>
|
||||||
<li><a href="#importjdk">Optional Import JDK</a> </li>
|
<li><a href="#importjdk">Optional Import JDK</a> </li>
|
||||||
|
<li><a href="#ant">Ant</a> </li>
|
||||||
<li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
|
<li><a href="#cacerts">Certificate Authority File (cacert)</a> </li>
|
||||||
<li><a href="#compilers">Compilers</a>
|
<li><a href="#compilers">Compilers</a>
|
||||||
<ul>
|
<ul>
|
||||||
@@ -95,7 +98,8 @@
|
|||||||
<h2><a name="MBE">Minimum Build Environments</a></h2>
|
<h2><a name="MBE">Minimum Build Environments</a></h2>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
This file often describes specific requirements for what we call the
|
This file often describes specific requirements for what we call the
|
||||||
"minimum build environments" (MBE) for the JDK.
|
"minimum build environments" (MBE) for this
|
||||||
|
specific release of the JDK,
|
||||||
Building with the MBE will generate the most compatible
|
Building with the MBE will generate the most compatible
|
||||||
bits that install on, and run correctly on, the most variations
|
bits that install on, and run correctly on, the most variations
|
||||||
of the same base OS and hardware architecture.
|
of the same base OS and hardware architecture.
|
||||||
@@ -113,68 +117,79 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th>Base OS and Architecture</th>
|
<th>Base OS and Architecture</th>
|
||||||
<th>OS</th>
|
<th>OS</th>
|
||||||
<th>Compiler</th>
|
<th>C/C++ Compiler</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Linux X86 (32bit)</td>
|
<td>Linux X86 (32-bit)</td>
|
||||||
<td>Red Hat Enterprise Linux 4 </td>
|
<td>Fedora 9</td>
|
||||||
<td>gcc 4 </td>
|
<td>gcc 4 </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Linux X64 (64bit)</td>
|
<td>Linux X64 (64-bit)</td>
|
||||||
<td>Red Hat Enterprise Linux 4 </td>
|
<td>Fedora 9</td>
|
||||||
<td>gcc 4 </td>
|
<td>gcc 4 </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Solaris SPARC (32bit)</td>
|
<td>Solaris SPARC (32-bit)</td>
|
||||||
<td>Solaris 10 + patches
|
<td>Solaris 10 + patches
|
||||||
<br>
|
<br>
|
||||||
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
|
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
|
||||||
SunSolve</a> for patch downloads.
|
SunSolve</a> for patch downloads.
|
||||||
</td>
|
</td>
|
||||||
<td>Sun Studio 11 </td>
|
<td>Sun Studio 12</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Solaris SPARCV9 (64bit)</td>
|
<td>Solaris SPARCV9 (64-bit)</td>
|
||||||
<td>Solaris 10 + patches
|
<td>Solaris 10 + patches
|
||||||
<br>
|
<br>
|
||||||
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
|
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
|
||||||
SunSolve</a> for patch downloads.
|
SunSolve</a> for patch downloads.
|
||||||
</td>
|
</td>
|
||||||
<td>Sun Studio 11</td>
|
<td>Sun Studio 12</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Solaris X86 (32bit)</td>
|
<td>Solaris X86 (32-bit)</td>
|
||||||
<td>Solaris 10 + patches
|
<td>Solaris 10 + patches
|
||||||
<br>
|
<br>
|
||||||
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
|
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
|
||||||
SunSolve</a> for patch downloads.
|
SunSolve</a> for patch downloads.
|
||||||
</td>
|
</td>
|
||||||
<td>Sun Studio 11</td>
|
<td>Sun Studio 12</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Solaris X64 (64bit)</td>
|
<td>Solaris X64 (64-bit)</td>
|
||||||
<td>Solaris 10 + patches
|
<td>Solaris 10 + patches
|
||||||
<br>
|
<br>
|
||||||
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
|
See <a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/JavaSE" target="_blank">
|
||||||
SunSolve</a> for patch downloads.
|
SunSolve</a> for patch downloads.
|
||||||
</td>
|
</td>
|
||||||
<td>Sun Studio 11</td>
|
<td>Sun Studio 12</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Windows X86 (32bit)</td>
|
<td>Windows X86 (32-bit)</td>
|
||||||
<td>Windows XP</td>
|
<td>Windows XP</td>
|
||||||
<td>Microsoft Visual Studio .NET 2003 Professional</td>
|
<td>Microsoft Visual Studio C++ 2008 Standard Edition</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Windows X64 (64bit)</td>
|
<td>Windows X64 (64-bit)</td>
|
||||||
<td>Windows Server 2003 - Enterprise x64 Edition</td>
|
<td>Windows Server 2003 - Enterprise x64 Edition</td>
|
||||||
<td>Microsoft Platform SDK - April 2005</td>
|
<td>Microsoft Platform SDK - April 2005</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<p>
|
||||||
|
These same sources do indeed build on many more systems than the
|
||||||
|
above older generation systems, again the above is just a minimum.
|
||||||
|
<p>
|
||||||
|
Compilation problems with newer or different C/C++ compilers is a
|
||||||
|
common problem.
|
||||||
|
Similarly, compilation problems related to changes to the
|
||||||
|
<tt>/usr/include</tt> or system header files is also a
|
||||||
|
common problem with newer or unreleased OS versions.
|
||||||
|
Please report these types of problems as bugs so that they
|
||||||
|
can be dealt with accordingly.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
<hr>
|
<hr>
|
||||||
@@ -184,14 +199,64 @@
|
|||||||
we will try to provide what information we have available to us.
|
we will try to provide what information we have available to us.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
<h3><a name="fedora">Fedora</a></h3>
|
<h3><a name="fedora">Fedora 9</a></h3>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
TBD
|
After installing
|
||||||
|
<a href="http://www.fedoraproject.org/">Fedora 9</a>
|
||||||
|
you need to make sure you have
|
||||||
|
the "Software Development" bundle installed, plus the
|
||||||
|
following packages:
|
||||||
|
<blockquote>
|
||||||
|
<ul>
|
||||||
|
<li>cups devel: Cups Development Package</li>
|
||||||
|
<li>freetype 2.3+ devel: Freetype 2.3 Development Package</li>
|
||||||
|
<li>hg: Mercurial, if you need to clone or manage source repositories</li>
|
||||||
|
<li>ksh: May be needed when using <tt>webrev</tt></li>
|
||||||
|
</ul>
|
||||||
|
</blockquote>
|
||||||
|
<p>
|
||||||
|
Always a good idea to do a complete Software Update/Refresh
|
||||||
|
after you get all the packages installed.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
<h3><a name="debian">Debian</a></h3>
|
<h3><a name="centos">CentOS 5.2</a></h3>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
TBD
|
After installing
|
||||||
|
<a href="http://www.centos.org/">CentOS 5.2</a>
|
||||||
|
you need to make sure you have
|
||||||
|
the following Development bundles installed:
|
||||||
|
<blockquote>
|
||||||
|
<ul>
|
||||||
|
<li>Development Libraries</li>
|
||||||
|
<li>Development Tools</li>
|
||||||
|
<li>Java Development</li>
|
||||||
|
<li>X Software Development</li>
|
||||||
|
</ul>
|
||||||
|
</blockquote>
|
||||||
|
<p>
|
||||||
|
Plus the following packages:
|
||||||
|
<blockquote>
|
||||||
|
<ul>
|
||||||
|
<li>cups devel: Cups Development Package</li>
|
||||||
|
<li>alsa devel: Alsa Development Package</li>
|
||||||
|
<li>ant: Ant Package</li>
|
||||||
|
<li>Xi devel: libXi.so Development Package</li>
|
||||||
|
</ul>
|
||||||
|
</blockquote>
|
||||||
|
<p>
|
||||||
|
The freetype 2.3 packages don't seem to be available,
|
||||||
|
but the freetype 2.3 sources can be downloaded, built,
|
||||||
|
and installed easily enough from
|
||||||
|
<a href="http://downloads.sourceforge.net/freetype">
|
||||||
|
the freetype site</a>.
|
||||||
|
Build and install with something like:
|
||||||
|
<blockquote>
|
||||||
|
<tt>./configure && make && sudo -u root make install</tt>
|
||||||
|
</blockquote>
|
||||||
|
<p>
|
||||||
|
Mercurial packages could not be found easily, but a Google
|
||||||
|
search should find ones, and they usually include Python if
|
||||||
|
it's needed.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
<h3><a name="ubuntu">Ubuntu</a></h3>
|
<h3><a name="ubuntu">Ubuntu</a></h3>
|
||||||
@@ -424,24 +489,37 @@
|
|||||||
you should use <tt>gmake</tt>
|
you should use <tt>gmake</tt>
|
||||||
which will be located in either the <tt>/opt/sfw/bin</tt> or
|
which will be located in either the <tt>/opt/sfw/bin</tt> or
|
||||||
<tt>/usr/sfw/bin</tt> directory.
|
<tt>/usr/sfw/bin</tt> directory.
|
||||||
|
In more recent versions of Solaris GNU make can be found
|
||||||
|
at <tt>/usr/bin/gmake</tt>.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<strong>Windows:</strong>
|
<strong>Windows:</strong>
|
||||||
Make sure you start your build inside a bash/sh/ksh shell.
|
Make sure you start your build inside a bash/sh/ksh shell.
|
||||||
<br>
|
<br>
|
||||||
<b>WARNING:</b> Watch out for make version 3.81, it may
|
<b>WARNING:</b> Watch out for make version 3.81, it may
|
||||||
not work due to a lack of support for drive letter paths
|
not work due to a lack of support for MS-DOS drive letter paths
|
||||||
like <tt>C:/</tt>. See
|
like <tt>C:/</tt> or <tt>C:\</tt>.
|
||||||
<a href="#gmake">section on gmake</a>.
|
|
||||||
Use a 3.80 version, or find a newer
|
Use a 3.80 version, or find a newer
|
||||||
version that has this problem fixed.
|
version that has this problem fixed.
|
||||||
The older 3.80 version of make.exe can be downloaded with this
|
The older 3.80 version of make.exe can be downloaded with this
|
||||||
<a href="http://cygwin.paracoda.com/release/make/make-3.80-1.tar.bz2" target="_blank">
|
<a href="http://cygwin.paracoda.com/release/make/make-3.80-1.tar.bz2" target="_blank">
|
||||||
link</a>.
|
link</a>.
|
||||||
|
Use of this older 3.80 make.exe may require that you install the
|
||||||
|
libintl2.dll library or libintl2 cygwin package which is
|
||||||
|
no longer installed by default by the cygwin installer.
|
||||||
|
<br>
|
||||||
Also see the
|
Also see the
|
||||||
<a href="http://developer.mozilla.org/en/docs/Windows_build_prerequisites_using_cygwin#make" target="_blank">
|
<a href="http://developer.mozilla.org/en/docs/Windows_build_prerequisites_using_cygwin#make" target="_blank">
|
||||||
mozilla developer center</a>
|
mozilla developer center</a>
|
||||||
on this topic.
|
on this topic.
|
||||||
|
<br>
|
||||||
|
It's hoped that when make 3.82 starts shipping in a future cygwin
|
||||||
|
release that this MS-DOS path issue will be fixed.
|
||||||
|
In addition to the above 3.80 make.exe you can download
|
||||||
|
this
|
||||||
|
<a href="http://www.cmake.org/files/cygwin/make.exe">
|
||||||
|
www.cmake.org make.exe</a> which will not have a libintl2.dll
|
||||||
|
dependency.
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
@@ -507,6 +585,11 @@
|
|||||||
Install or upgrade the <a href="#freetype">FreeType development
|
Install or upgrade the <a href="#freetype">FreeType development
|
||||||
package</a>.
|
package</a>.
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
Install
|
||||||
|
<a href="#ant">Ant</a>,
|
||||||
|
make sure it is in your PATH.
|
||||||
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
@@ -521,7 +604,7 @@
|
|||||||
Approximately 1.4 GB of free disk
|
Approximately 1.4 GB of free disk
|
||||||
space is needed for a 32-bit build.
|
space is needed for a 32-bit build.
|
||||||
<p>
|
<p>
|
||||||
If you are building the 64bit version, you should
|
If you are building the 64-bit version, you should
|
||||||
run the command "isainfo -v" to verify that you have a
|
run the command "isainfo -v" to verify that you have a
|
||||||
64-bit installation, it should say <tt>sparcv9</tt> or
|
64-bit installation, it should say <tt>sparcv9</tt> or
|
||||||
<tt>amd64</tt>.
|
<tt>amd64</tt>.
|
||||||
@@ -567,6 +650,11 @@
|
|||||||
<a href="#cups">CUPS Include files</a>, set
|
<a href="#cups">CUPS Include files</a>, set
|
||||||
<tt><a href="#ALT_CUPS_HEADERS_PATH">ALT_CUPS_HEADERS_PATH</a></tt>.
|
<tt><a href="#ALT_CUPS_HEADERS_PATH">ALT_CUPS_HEADERS_PATH</a></tt>.
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
Install
|
||||||
|
<a href="#ant">Ant</a>,
|
||||||
|
make sure it is in your PATH.
|
||||||
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
@@ -574,11 +662,11 @@
|
|||||||
<h3><a name="windows">Basic Windows System Setup</a></h3>
|
<h3><a name="windows">Basic Windows System Setup</a></h3>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<strong>i586 only:</strong>
|
<strong>i586 only:</strong>
|
||||||
The minimum recommended hardware for building the 32bit or X86
|
The minimum recommended hardware for building the 32-bit or X86
|
||||||
Windows version is an Pentium class processor or better, at least
|
Windows version is an Pentium class processor or better, at least
|
||||||
512 MB of RAM, and approximately 600 MB of free disk space.
|
512 MB of RAM, and approximately 600 MB of free disk space.
|
||||||
<strong>
|
<strong>
|
||||||
NOTE: The Windows 2000 build machines need to use the
|
NOTE: The Windows build machines need to use the
|
||||||
file system NTFS.
|
file system NTFS.
|
||||||
Build machines formatted to FAT32 will not work
|
Build machines formatted to FAT32 will not work
|
||||||
because FAT32 doesn't support case-sensitivity in file names.
|
because FAT32 doesn't support case-sensitivity in file names.
|
||||||
@@ -643,7 +731,10 @@
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
Install the
|
Install the
|
||||||
<a href="#msvc">Microsoft Visual Studio .NET 2003 Professional</a> or the
|
<a href="#msvc">Microsoft Visual Studio Compilers</a> (32-bit).
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Install the
|
||||||
<a href="#mssdk">Microsoft Platform SDK</a>.
|
<a href="#mssdk">Microsoft Platform SDK</a>.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
@@ -654,6 +745,12 @@
|
|||||||
Install
|
Install
|
||||||
<a href="#dxsdk">Microsoft DirectX SDK</a>.
|
<a href="#dxsdk">Microsoft DirectX SDK</a>.
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
Install
|
||||||
|
<a href="#ant">Ant</a>,
|
||||||
|
make sure it is in your PATH and set
|
||||||
|
<tt><a href="#ANT_HOME">ANT_HOME</a></tt>.
|
||||||
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
@@ -706,7 +803,9 @@
|
|||||||
you must first download and install the appropriate
|
you must first download and install the appropriate
|
||||||
binary plug bundles for the OpenJDK, go to the
|
binary plug bundles for the OpenJDK, go to the
|
||||||
<a href="http://openjdk.java.net" target="_blank">OpenJDK</a> site and select
|
<a href="http://openjdk.java.net" target="_blank">OpenJDK</a> site and select
|
||||||
the "<b>Bundles(7)</b>" link and download the binaryplugs for
|
the
|
||||||
|
"<b>Bundles(7)</b>"
|
||||||
|
link and download the binaryplugs for
|
||||||
your particular platform.
|
your particular platform.
|
||||||
The file downloaded is a jar file that must be extracted by running
|
The file downloaded is a jar file that must be extracted by running
|
||||||
the jar file with:
|
the jar file with:
|
||||||
@@ -736,6 +835,20 @@
|
|||||||
and the build will copy the needed files from this import area.
|
and the build will copy the needed files from this import area.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
|
<h4><a name="ant">Ant</a></h4>
|
||||||
|
<blockquote>
|
||||||
|
All OpenJDK builds require access to least Ant 1.6.5.
|
||||||
|
The Ant tool is available from the
|
||||||
|
<a href="http://ant.apache.org" target="_blank">
|
||||||
|
Ant download site</a>.
|
||||||
|
You should always make sure <tt>ant</tt> is in your PATH, and
|
||||||
|
on Windows you may also need to set
|
||||||
|
<tt><a href="#ANT_HOME">ANT_HOME</a></tt>
|
||||||
|
to point to the location of
|
||||||
|
the Ant installation, this is the directory pathname
|
||||||
|
that contains a <tt>bin and lib</tt>.
|
||||||
|
</blockquote>
|
||||||
|
<!-- ------------------------------------------------------ -->
|
||||||
<h4><a name="cacerts">Certificate Authority File (cacert)</a></h4>
|
<h4><a name="cacerts">Certificate Authority File (cacert)</a></h4>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
See <a href="http://en.wikipedia.org/wiki/Certificate_Authority" target="_blank">
|
See <a href="http://en.wikipedia.org/wiki/Certificate_Authority" target="_blank">
|
||||||
@@ -765,32 +878,16 @@
|
|||||||
<blockquote>
|
<blockquote>
|
||||||
<strong><a name="gcc">Linux gcc/binutils</a></strong>
|
<strong><a name="gcc">Linux gcc/binutils</a></strong>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
The GNU gcc compiler version should be 3.2.2 or newer.
|
The GNU gcc compiler version should be 4 or newer.
|
||||||
The binutils package should be 2.11.93.0.2-11 or newer.
|
|
||||||
The compiler used should be the default compiler installed
|
The compiler used should be the default compiler installed
|
||||||
in <tt>/usr/bin</tt>.
|
in <tt>/usr/bin</tt>.
|
||||||
<p>
|
|
||||||
Older Linux systems may require a gcc and bunutils update.
|
|
||||||
The Redhat Enterprise Advanced Server 2.1 update 2 system
|
|
||||||
is one of these systems.
|
|
||||||
RedHat Linux users can obtain this binutils package from
|
|
||||||
<a href="http://www.redhat.com"
|
|
||||||
target="_blank">Redhat web site</a>.
|
|
||||||
You will need to remove the default compiler and binutils
|
|
||||||
packages and install the required packages
|
|
||||||
into the default location on the system.
|
|
||||||
However if you have a new video card driver, like
|
|
||||||
Geforce 4 it is best to use
|
|
||||||
the same compiler as the kernel was built with to
|
|
||||||
build the new video card driver module.
|
|
||||||
So you should build the modules before making this change.
|
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<strong><a name="studio">Solaris: Sun Studio</a></strong>
|
<strong><a name="studio">Solaris: Sun Studio</a></strong>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
At a minimum, the
|
At a minimum, the
|
||||||
<a href="http://developers.sun.com/sunstudio/index.jsp" target="_blank">
|
<a href="http://developers.sun.com/sunstudio/index.jsp" target="_blank">
|
||||||
Sun Studio 11 Compilers</a>
|
Sun Studio 12 Compilers</a>
|
||||||
(containing version 5.8 of the C and C++ compilers) is required,
|
(containing version 5.9 of the C and C++ compilers) is required,
|
||||||
with patches from the
|
with patches from the
|
||||||
<a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access" target="_blank">
|
<a href="http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access" target="_blank">
|
||||||
SunSolve web site</a>.
|
SunSolve web site</a>.
|
||||||
@@ -806,19 +903,20 @@
|
|||||||
are also an option, although these compilers have not
|
are also an option, although these compilers have not
|
||||||
been extensively used yet.
|
been extensively used yet.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<strong><a name="msvc">Windows i586: Microsoft Visual Studio .NET 2003 Professional</a></strong>
|
<strong><a name="msvc">Windows i586: Microsoft Visual Studio Compilers</a></strong>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
The 32-bit OpenJDK Windows build
|
The 32-bit OpenJDK Windows build
|
||||||
requires Microsoft Visual Studio .NET 2003 (VS2003) Professional
|
requires
|
||||||
|
Microsoft Visual Studio C++ 2008 (VS2008) Standard
|
||||||
Edition compiler.
|
Edition compiler.
|
||||||
The compiler and other tools are expected to reside
|
The compiler and other tools are expected to reside
|
||||||
in the location defined by the variable <tt>VS71COMNTOOLS</tt> which
|
in the location defined by the variable
|
||||||
is set by the Microsoft Visual Studio .NET installer.
|
<tt>VS90COMNTOOLS</tt> which
|
||||||
|
is set by the Microsoft Visual Studio installer.
|
||||||
<p>
|
<p>
|
||||||
Once the compiler is installed,
|
Once the compiler is installed,
|
||||||
it is recommended that you run <tt>VCVARS32.BAT</tt>
|
it is recommended that you run <tt>VCVARS32.BAT</tt>
|
||||||
to set the compiler environment variables
|
to set the compiler environment variables
|
||||||
<tt>MSVCDIR</tt>,
|
|
||||||
<tt>INCLUDE</tt>,
|
<tt>INCLUDE</tt>,
|
||||||
<tt>LIB</tt>, and
|
<tt>LIB</tt>, and
|
||||||
<tt>PATH</tt>
|
<tt>PATH</tt>
|
||||||
@@ -826,11 +924,12 @@
|
|||||||
OpenJDK.
|
OpenJDK.
|
||||||
The above environment variables <b>MUST</b> be set.
|
The above environment variables <b>MUST</b> be set.
|
||||||
<p>
|
<p>
|
||||||
The Microsoft Visual Studio .NET 2005 (VS2005) compiler
|
<b>WARNING:</b> Make sure you check out the
|
||||||
will not work at this time due to the new runtime dll
|
<a href="#cygwin">CYGWIN link.exe WARNING</a>.
|
||||||
and the manifest requirements.
|
The path <tt>/usr/bin</tt> must be after the path to the
|
||||||
|
Visual Studio product.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<strong><a name="mssdk">Windows X64: Microsoft Platform SDK April 2005</a></strong>
|
<strong><a name="mssdk">Windows: Microsoft Platform SDK</a></strong>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
On <b>X64</b>, the Microsoft Platform Software
|
On <b>X64</b>, the Microsoft Platform Software
|
||||||
Development Kit (SDK), April 2005 Edition compiler,
|
Development Kit (SDK), April 2005 Edition compiler,
|
||||||
@@ -851,10 +950,9 @@
|
|||||||
OpenJDK.
|
OpenJDK.
|
||||||
The above environment variables <b>MUST</b> be set.
|
The above environment variables <b>MUST</b> be set.
|
||||||
<p>
|
<p>
|
||||||
Note that this compiler may say it's version is a
|
This Platform SDK compiler is only used on X64 builds
|
||||||
Microsoft Visual Studio .NET 2005 (VS2005), but be careful,
|
but other parts of the Platform SDK may be used
|
||||||
it will not match the official VS2005 product.
|
for the X86 builds.
|
||||||
This Platform SDK compiler is only used on X64 builds.
|
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
@@ -915,6 +1013,21 @@
|
|||||||
and
|
and
|
||||||
<tt><a href="#ALT_FREETYPE_HEADERS_PATH">ALT_FREETYPE_HEADERS_PATH</a></tt>
|
<tt><a href="#ALT_FREETYPE_HEADERS_PATH">ALT_FREETYPE_HEADERS_PATH</a></tt>
|
||||||
to refer to place where library and header files are installed.
|
to refer to place where library and header files are installed.
|
||||||
|
<p>
|
||||||
|
Building the freetype 2 libraries from scratch is also possible,
|
||||||
|
however on Windows refer to the
|
||||||
|
<a href="http://freetype.freedesktop.org/wiki/FreeType_DLL">
|
||||||
|
Windows FreeType DLL build instructions</a>.
|
||||||
|
<p>
|
||||||
|
Note that by default FreeType is built with byte code hinting
|
||||||
|
support disabled due to licensing restrictions.
|
||||||
|
In this case, text appearance and metrics are expected to
|
||||||
|
differ from Sun's official JDK build.
|
||||||
|
See
|
||||||
|
<a href="http://freetype.sourceforge.net/freetype2/index.html">
|
||||||
|
the SourceForge FreeType2 Home Page
|
||||||
|
</a>
|
||||||
|
for more information.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
<h4><a name="alsa">Advanced Linux Sound Architecture (ALSA) (Linux only)</a></h4>
|
<h4><a name="alsa">Advanced Linux Sound Architecture (ALSA) (Linux only)</a></h4>
|
||||||
@@ -1022,6 +1135,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Binary Name</td>
|
<td>Binary Name</td>
|
||||||
|
<td>Category</td>
|
||||||
<td>Package</td>
|
<td>Package</td>
|
||||||
<td>Description</td>
|
<td>Description</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -1030,49 +1144,59 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>ar.exe</td>
|
<td>ar.exe</td>
|
||||||
<td>Devel</td>
|
<td>Devel</td>
|
||||||
<td>binutils: The GNU assembler, linker and binary
|
<td>binutils</td>
|
||||||
|
<td>The GNU assembler, linker and binary
|
||||||
utilities</td>
|
utilities</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>make.exe</td>
|
<td>make.exe</td>
|
||||||
<td>Devel</td>
|
<td>Devel</td>
|
||||||
<td>make: The GNU version of the 'make' utility</td>
|
<td>make</td>
|
||||||
|
<td>The GNU version of the 'make' utility built for CYGWIN.<br>
|
||||||
|
<b>NOTE</b>: See <a href="#gmake">the GNU make section</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>m4.exe</td>
|
<td>m4.exe</td>
|
||||||
<td>Interpreters</td>
|
<td>Interpreters</td>
|
||||||
<td>m4: GNU implementation of the traditional Unix macro
|
<td>m4</td>
|
||||||
|
<td>GNU implementation of the traditional Unix macro
|
||||||
processor</td>
|
processor</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>cpio.exe</td>
|
<td>cpio.exe</td>
|
||||||
<td>Utils</td>
|
<td>Utils</td>
|
||||||
<td>cpio: A program to manage archives of files</td>
|
<td>cpio</td>
|
||||||
|
<td>A program to manage archives of files</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>awk.exe</td>
|
<td>gawk.exe</td>
|
||||||
<td>Utils</td>
|
<td>Utils</td>
|
||||||
<td>awk: Pattern-directed scanning and processing language</td>
|
<td>awk</td>
|
||||||
|
<td>Pattern-directed scanning and processing language</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>file.exe</td>
|
<td>file.exe</td>
|
||||||
<td>Utils</td>
|
<td>Utils</td>
|
||||||
<td>file: Determines file type using 'magic' numbers</td>
|
<td>file</td>
|
||||||
|
<td>Determines file type using 'magic' numbers</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>zip.exe</td>
|
<td>zip.exe</td>
|
||||||
<td>Utils</td>
|
<td>Archive</td>
|
||||||
<td>zip: Package and compress (archive) files</td>
|
<td>zip</td>
|
||||||
|
<td>Package and compress (archive) files</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>unzip.exe</td>
|
<td>unzip.exe</td>
|
||||||
<td>Utils</td>
|
<td>Archive</td>
|
||||||
<td>unzip: Extract compressed files in a ZIP archive</td>
|
<td>unzip</td>
|
||||||
|
<td>Extract compressed files in a ZIP archive</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>free.exe</td>
|
<td>free.exe</td>
|
||||||
<td>Utils</td>
|
<td>System</td>
|
||||||
<td>free: Display amount of free and used memory in the system</td>
|
<td>procps</td>
|
||||||
|
<td>Display amount of free and used memory in the system</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@@ -1086,6 +1210,13 @@
|
|||||||
section on
|
section on
|
||||||
<a href="http://cygwin.com/faq/faq.using.html#faq.using.bloda" target="_blank">
|
<a href="http://cygwin.com/faq/faq.using.html#faq.using.bloda" target="_blank">
|
||||||
BLODA (applications that interfere with CYGWIN)</a>.
|
BLODA (applications that interfere with CYGWIN)</a>.
|
||||||
|
<p>
|
||||||
|
<b>WARNING:</b>
|
||||||
|
Be very careful with <b><tt>link.exe</tt></b>, it will conflict
|
||||||
|
with the Visual Studio version. You need the Visual Studio
|
||||||
|
version of <tt>link.exe</tt>, not the CYGWIN one.
|
||||||
|
So it's important that the Visual Studio paths in PATH preceed
|
||||||
|
the CYGWIN path <tt>/usr/bin</tt>.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<strong><a name="dxsdk">Microsoft DirectX 9.0 SDK header files and libraries</a></strong>
|
<strong><a name="dxsdk">Microsoft DirectX 9.0 SDK header files and libraries</a></strong>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
@@ -1106,37 +1237,37 @@
|
|||||||
<strong><a name="msvcrt"><tt>MSVCRT.DLL</tt></a></strong>
|
<strong><a name="msvcrt"><tt>MSVCRT.DLL</tt></a></strong>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<strong>i586 only:</strong>
|
<strong>i586 only:</strong>
|
||||||
The OpenJDK 32bit build requires access to
|
The OpenJDK 32-bit build requires access to a redistributable
|
||||||
<tt>MSVCRT.DLL</tt> version 6.00.8337.0 or newer.
|
<tt>MSVCRT.DLL</tt>.
|
||||||
If the <tt>MSVCRT.DLL</tt> is not installed in
|
If the <tt>MSVCRT.DLL</tt> is not installed in
|
||||||
the system32 directory set the
|
the system32 directory set the
|
||||||
<a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a>
|
<a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a>
|
||||||
variable to the location.
|
variable to the location of this file.
|
||||||
<p>
|
<p>
|
||||||
<strong>X64 only:</strong>
|
<strong>X64 only:</strong>
|
||||||
The OpenJDK 64bit build requires access to
|
The OpenJDK 64-bit build requires access to a redistributable
|
||||||
<tt>MSVCRT.DLL</tt> version 7.0.3790.0 or newer, which is
|
<tt>MSVCRT.DLL</tt>, which is
|
||||||
usually supplied by the
|
usually supplied by the
|
||||||
<a href="#mssdk">Platform SDK</a>.
|
<a href="#mssdk">Platform SDK</a>.
|
||||||
If it is not available from the Platform SDK,
|
If it is not available from the Platform SDK,
|
||||||
set the
|
set the
|
||||||
<a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a>
|
<a href="#ALT_MSVCRT_DLL_PATH"><tt>ALT_MSVCRT_DLL_PATH</tt></a>
|
||||||
variable to the location.
|
variable to the location of this file.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<strong><tt><a name="msvcr71">MSVCR71.DLL</a></tt></strong>
|
<strong><tt><a name="msvcr90">MSVCR90.DLL</a></tt></strong>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<strong>i586 only:</strong>
|
<strong>i586 only:</strong>
|
||||||
The
|
The
|
||||||
OpenJDK
|
OpenJDK
|
||||||
build requires access to
|
build requires access to a redistributable
|
||||||
MSVCR71.DLL version 7.10.3052.4 or newer which should be
|
<tt>MSVCR90.DLL</tt> which should be
|
||||||
supplied by the
|
supplied by the
|
||||||
<a href="#msvc">Visual Studio product</a>
|
<a href="#msvc">Visual Studio product</a>.
|
||||||
If the <tt>MSVCR71.DLL</tt> is not available from the
|
If the <tt>MSVCR90.DLL</tt> is not available from the
|
||||||
Visual Studio product
|
Visual Studio product
|
||||||
set the
|
set the
|
||||||
<a href="#ALT_MSVCR71_DLL_PATH"><tt>ALT_MSVCR71_DLL_PATH</tt></a>
|
<a href="#ALT_MSVCR90_DLL_PATH"><tt>ALT_MSVCR90_DLL_PATH</tt></a>
|
||||||
variable to the location.
|
variable to the location of this file.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<!-- ------------------------------------------------------ -->
|
<!-- ------------------------------------------------------ -->
|
||||||
@@ -1330,20 +1461,9 @@
|
|||||||
<tt>$(ALT_JDK_DEVTOOLS_PATH)/linux/bin</tt>,
|
<tt>$(ALT_JDK_DEVTOOLS_PATH)/linux/bin</tt>,
|
||||||
on Solaris
|
on Solaris
|
||||||
<tt>$(ALT_JDK_DEVTOOLS_PATH)/<i>{sparc,i386}</i>/bin</tt>,
|
<tt>$(ALT_JDK_DEVTOOLS_PATH)/<i>{sparc,i386}</i>/bin</tt>,
|
||||||
on Windows with MKS
|
|
||||||
<tt>%SYSTEMDRIVE%/UTILS</tt>,
|
|
||||||
and on Windows with CYGWIN
|
and on Windows with CYGWIN
|
||||||
<tt>/usr/bin</tt>.
|
<tt>/usr/bin</tt>.
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a name="ALT_UNIXCOMMAND_PATH"><tt>ALT_UNIXCOMMAND_PATH</tt></a> </dt>
|
|
||||||
<dd>
|
|
||||||
An override for specifying where the
|
|
||||||
Unix command set are located.
|
|
||||||
The default location varies depending on the platform,
|
|
||||||
<tt>"%SYSTEMDRIVE%/MKSNT"</tt> or
|
|
||||||
<tt>$(ROOTDIR)</tt> on Windows with MKS, otherwise it's
|
|
||||||
<tt>"/bin"</tt> or <tt>/usr/bin</tt>.
|
|
||||||
</dd>
|
|
||||||
<dt><a name="ALT_UNIXCCS_PATH"><tt>ALT_UNIXCCS_PATH</tt></a></dt>
|
<dt><a name="ALT_UNIXCCS_PATH"><tt>ALT_UNIXCCS_PATH</tt></a></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<strong>Solaris only:</strong>
|
<strong>Solaris only:</strong>
|
||||||
@@ -1351,13 +1471,7 @@
|
|||||||
command set are located.
|
command set are located.
|
||||||
The default location is <tt>/usr/ccs/bin</tt>
|
The default location is <tt>/usr/ccs/bin</tt>
|
||||||
</dd>
|
</dd>
|
||||||
<dt><a name="ALT_USRBIN_PATH"><tt>ALT_USRBIN_PATH</tt></a></dt>
|
<dt><a name="ALT_SLASH_JAVA"><tt>ALT_SLASH_JAVA</tt></a></dt>
|
||||||
<dd>
|
|
||||||
An override for specifying where the
|
|
||||||
Unix <tt>/usr/bin</tt> commands are located. You usually do not need
|
|
||||||
to set this variable: the default location is <tt>/usr/bin</tt>)
|
|
||||||
</dd>
|
|
||||||
<dt><a name="ALT_SLASHJAVA"><tt>ALT_SLASHJAVA</tt></a></dt>
|
|
||||||
<dd>
|
<dd>
|
||||||
The default root location for many of the ALT path locations
|
The default root location for many of the ALT path locations
|
||||||
of the following ALT variables.
|
of the following ALT variables.
|
||||||
@@ -1410,7 +1524,8 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><a name="ALT_MSDEVTOOLS_PATH"><tt>ALT_MSDEVTOOLS_PATH</tt></a> </dt>
|
<dt><a name="ALT_MSDEVTOOLS_PATH"><tt>ALT_MSDEVTOOLS_PATH</tt></a> </dt>
|
||||||
<dd>
|
<dd>
|
||||||
The location of the Microsoft Visual Studio .NET 2003
|
The location of the
|
||||||
|
Microsoft Visual Studio
|
||||||
tools 'bin' directory.
|
tools 'bin' directory.
|
||||||
The default is usually derived from
|
The default is usually derived from
|
||||||
<a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a>.
|
<a href="#ALT_COMPILER_PATH"><tt>ALT_COMPILER_PATH</tt></a>.
|
||||||
@@ -1428,11 +1543,11 @@
|
|||||||
The location of the
|
The location of the
|
||||||
<a href="#msvcrt"><tt>MSVCRT.DLL</tt></a>.
|
<a href="#msvcrt"><tt>MSVCRT.DLL</tt></a>.
|
||||||
</dd>
|
</dd>
|
||||||
<dt><tt><a name="ALT_MSVCR71_DLL_PATH">ALT_MSVCR71_DLL_PATH</a></tt> </dt>
|
<dt><tt><a name="ALT_MSVCR90_DLL_PATH">ALT_MSVCR90_DLL_PATH</a></tt> </dt>
|
||||||
<dd>
|
<dd>
|
||||||
<strong>i586 only:</strong>
|
<strong>i586 only:</strong>
|
||||||
The location of the
|
The location of the
|
||||||
<a href="#msvcr71"><tt>MSVCR71.DLL</tt></a>.
|
<a href="#msvcr90"><tt>MSVCR90.DLL</tt></a>.
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</dd>
|
</dd>
|
||||||
@@ -1522,8 +1637,8 @@
|
|||||||
This is caused by a missing libstdc++.a library.
|
This is caused by a missing libstdc++.a library.
|
||||||
This is installed as part of a specific package
|
This is installed as part of a specific package
|
||||||
(e.g. libstdc++.so.devel.386).
|
(e.g. libstdc++.so.devel.386).
|
||||||
By default some 64bit Linux versions (e.g. Fedora)
|
By default some 64-bit Linux versions (e.g. Fedora)
|
||||||
only install the 64bit version of the libstdc++ package.
|
only install the 64-bit version of the libstdc++ package.
|
||||||
Various parts of the JDK build require a static
|
Various parts of the JDK build require a static
|
||||||
link of the C++ runtime libraries to allow for maximum
|
link of the C++ runtime libraries to allow for maximum
|
||||||
portability of the built images.
|
portability of the built images.
|
||||||
|
|||||||
@@ -5,3 +5,16 @@ e84e9018bebbf3e5bafc5706e7882a15cb1c7d99 jdk7-b27
|
|||||||
27509b7d21ed783b3f6eb7b7612781c675a30c2f jdk7-b28
|
27509b7d21ed783b3f6eb7b7612781c675a30c2f jdk7-b28
|
||||||
8b71960f79ce0a6fb8ddfeec03f03d400a361747 jdk7-b29
|
8b71960f79ce0a6fb8ddfeec03f03d400a361747 jdk7-b29
|
||||||
c0252adbb2abbfdd6c35595429ac6fbdd98e20ac jdk7-b30
|
c0252adbb2abbfdd6c35595429ac6fbdd98e20ac jdk7-b30
|
||||||
|
ef6af34d75a7b44e77083f1d4ee47631fa09d3b4 jdk7-b31
|
||||||
|
80a0f46a6203e727012bd579fe38a609b83decce jdk7-b32
|
||||||
|
6a5b9d2f8b20de54e3bfe33cd12bd0793caedc4e jdk7-b33
|
||||||
|
0a812b9824e5d17b073765d1505594b49ff88a10 jdk7-b34
|
||||||
|
3867c4d14a5bfdbb37c97b4874ccb0ee5343111c jdk7-b35
|
||||||
|
0723891eb8d1c27e67c54163af0b4cea05a4e036 jdk7-b36
|
||||||
|
59d5848bdedebe91cc2753acce78911bcb4a66db jdk7-b37
|
||||||
|
08be802754b0296c91a7713b6d85a015dbcd5349 jdk7-b38
|
||||||
|
55078b6661e286e90387d1d9950bd865f5cc436e jdk7-b39
|
||||||
|
184e21992f47a8d730df1adc5b21a108f3125489 jdk7-b40
|
||||||
|
c90eeda9594ed2983403e2049aed8d503126c62e jdk7-b41
|
||||||
|
ccd6a16502e0650d91d85c4b86be05cbcd461a87 jdk7-b42
|
||||||
|
9cd740d48a4855321d69f137a7109c00bcda76be jdk7-b43
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2000-2003 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -41,4 +41,7 @@ com_sun_corba_se_impl_dynamicany_java = \
|
|||||||
com/sun/corba/se/impl/dynamicany/DynSequenceImpl.java \
|
com/sun/corba/se/impl/dynamicany/DynSequenceImpl.java \
|
||||||
com/sun/corba/se/impl/dynamicany/DynStructImpl.java \
|
com/sun/corba/se/impl/dynamicany/DynStructImpl.java \
|
||||||
com/sun/corba/se/impl/dynamicany/DynUnionImpl.java \
|
com/sun/corba/se/impl/dynamicany/DynUnionImpl.java \
|
||||||
com/sun/corba/se/impl/dynamicany/DynValueImpl.java
|
com/sun/corba/se/impl/dynamicany/DynValueImpl.java \
|
||||||
|
com/sun/corba/se/impl/dynamicany/DynValueBoxImpl.java \
|
||||||
|
com/sun/corba/se/impl/dynamicany/DynValueCommonImpl.java
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -52,6 +52,8 @@ com_sun_corba_se_impl_encoding_java = \
|
|||||||
com/sun/corba/se/impl/encoding/CodeSetComponentInfo.java \
|
com/sun/corba/se/impl/encoding/CodeSetComponentInfo.java \
|
||||||
com/sun/corba/se/impl/encoding/EncapsInputStream.java \
|
com/sun/corba/se/impl/encoding/EncapsInputStream.java \
|
||||||
com/sun/corba/se/impl/encoding/EncapsOutputStream.java \
|
com/sun/corba/se/impl/encoding/EncapsOutputStream.java \
|
||||||
|
com/sun/corba/se/impl/encoding/IDLJavaSerializationInputStream.java \
|
||||||
|
com/sun/corba/se/impl/encoding/IDLJavaSerializationOutputStream.java \
|
||||||
com/sun/corba/se/impl/encoding/MarkAndResetHandler.java \
|
com/sun/corba/se/impl/encoding/MarkAndResetHandler.java \
|
||||||
com/sun/corba/se/impl/encoding/MarshalInputStream.java \
|
com/sun/corba/se/impl/encoding/MarshalInputStream.java \
|
||||||
com/sun/corba/se/impl/encoding/MarshalOutputStream.java \
|
com/sun/corba/se/impl/encoding/MarshalOutputStream.java \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2000-2004 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -63,6 +63,7 @@ com_sun_corba_se_impl_ior_java = \
|
|||||||
com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java \
|
com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java \
|
||||||
com/sun/corba/se/impl/ior/iiop/IIOPProfileTemplateImpl.java \
|
com/sun/corba/se/impl/ior/iiop/IIOPProfileTemplateImpl.java \
|
||||||
com/sun/corba/se/impl/ior/iiop/JavaCodebaseComponentImpl.java \
|
com/sun/corba/se/impl/ior/iiop/JavaCodebaseComponentImpl.java \
|
||||||
|
com/sun/corba/se/impl/ior/iiop/JavaSerializationComponent.java \
|
||||||
com/sun/corba/se/impl/ior/iiop/MaxStreamFormatVersionComponentImpl.java \
|
com/sun/corba/se/impl/ior/iiop/MaxStreamFormatVersionComponentImpl.java \
|
||||||
com/sun/corba/se/impl/ior/iiop/RequestPartitioningComponentImpl.java \
|
com/sun/corba/se/impl/ior/iiop/RequestPartitioningComponentImpl.java \
|
||||||
com/sun/corba/se/impl/ior/iiop/ORBTypeComponentImpl.java
|
com/sun/corba/se/impl/ior/iiop/ORBTypeComponentImpl.java
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2000-2003 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -27,6 +27,7 @@ com_sun_corba_se_impl_orbutil_java = \
|
|||||||
com/sun/corba/se/impl/orbutil/CacheTable.java \
|
com/sun/corba/se/impl/orbutil/CacheTable.java \
|
||||||
com/sun/corba/se/impl/orbutil/CorbaResourceUtil.java \
|
com/sun/corba/se/impl/orbutil/CorbaResourceUtil.java \
|
||||||
com/sun/corba/se/impl/orbutil/DenseIntMapImpl.java \
|
com/sun/corba/se/impl/orbutil/DenseIntMapImpl.java \
|
||||||
|
com/sun/corba/se/impl/orbutil/GetPropertyAction.java \
|
||||||
com/sun/corba/se/impl/orbutil/HexOutputStream.java \
|
com/sun/corba/se/impl/orbutil/HexOutputStream.java \
|
||||||
com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3.java \
|
com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3.java \
|
||||||
com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3_1.java \
|
com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3_1.java \
|
||||||
@@ -76,6 +77,7 @@ com_sun_corba_se_impl_orbutil_java = \
|
|||||||
com/sun/corba/se/impl/copyobject/FallbackObjectCopierImpl.java \
|
com/sun/corba/se/impl/copyobject/FallbackObjectCopierImpl.java \
|
||||||
com/sun/corba/se/impl/copyobject/ORBStreamObjectCopierImpl.java \
|
com/sun/corba/se/impl/copyobject/ORBStreamObjectCopierImpl.java \
|
||||||
com/sun/corba/se/impl/copyobject/ReferenceObjectCopierImpl.java \
|
com/sun/corba/se/impl/copyobject/ReferenceObjectCopierImpl.java \
|
||||||
|
com/sun/corba/se/impl/copyobject/JavaStreamObjectCopierImpl.java \
|
||||||
com/sun/corba/se/impl/orbutil/graph/Node.java \
|
com/sun/corba/se/impl/orbutil/graph/Node.java \
|
||||||
com/sun/corba/se/impl/orbutil/graph/NodeData.java \
|
com/sun/corba/se/impl/orbutil/graph/NodeData.java \
|
||||||
com/sun/corba/se/impl/orbutil/graph/Graph.java \
|
com/sun/corba/se/impl/orbutil/graph/Graph.java \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -63,6 +63,7 @@ com_sun_corba_se_impl_protocol_java = \
|
|||||||
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_0.java \
|
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_0.java \
|
||||||
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_1.java \
|
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_1.java \
|
||||||
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_2.java \
|
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_2.java \
|
||||||
|
com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyOrReplyMessage.java \
|
||||||
com/sun/corba/se/impl/protocol/giopmsgheaders/Message.java \
|
com/sun/corba/se/impl/protocol/giopmsgheaders/Message.java \
|
||||||
com/sun/corba/se/impl/protocol/giopmsgheaders/MessageBase.java \
|
com/sun/corba/se/impl/protocol/giopmsgheaders/MessageBase.java \
|
||||||
com/sun/corba/se/impl/protocol/giopmsgheaders/MessageHandler.java \
|
com/sun/corba/se/impl/protocol/giopmsgheaders/MessageHandler.java \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
|
|
||||||
com_sun_corba_se_spi_legacy_interceptor_java = \
|
com_sun_corba_se_spi_legacy_interceptor_java = \
|
||||||
com/sun/corba/se/spi/legacy/interceptor/IORInfoExt.java \
|
com/sun/corba/se/spi/legacy/interceptor/IORInfoExt.java \
|
||||||
|
com/sun/corba/se/spi/legacy/interceptor/ORBInitInfoExt.java \
|
||||||
com/sun/corba/se/spi/legacy/interceptor/RequestInfoExt.java \
|
com/sun/corba/se/spi/legacy/interceptor/RequestInfoExt.java \
|
||||||
com/sun/corba/se/spi/legacy/interceptor/UnknownType.java
|
com/sun/corba/se/spi/legacy/interceptor/UnknownType.java
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -35,5 +35,6 @@ FILES_java = \
|
|||||||
com/sun/corba/se/spi/monitoring/MonitoredObjectFactory.java \
|
com/sun/corba/se/spi/monitoring/MonitoredObjectFactory.java \
|
||||||
com/sun/corba/se/spi/monitoring/MonitoredAttribute.java \
|
com/sun/corba/se/spi/monitoring/MonitoredAttribute.java \
|
||||||
com/sun/corba/se/spi/monitoring/MonitoredAttributeInfoFactory.java \
|
com/sun/corba/se/spi/monitoring/MonitoredAttributeInfoFactory.java \
|
||||||
|
com/sun/corba/se/spi/monitoring/MonitoringConstants.java \
|
||||||
com/sun/corba/se/spi/monitoring/MonitoringManager.java \
|
com/sun/corba/se/spi/monitoring/MonitoringManager.java \
|
||||||
com/sun/corba/se/spi/monitoring/MonitoringManagerFactory.java
|
com/sun/corba/se/spi/monitoring/MonitoringManagerFactory.java
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -27,6 +27,7 @@ com_sun_corba_se_spi_presentation_rmi_java = \
|
|||||||
com/sun/corba/se/spi/presentation/rmi/DynamicMethodMarshaller.java \
|
com/sun/corba/se/spi/presentation/rmi/DynamicMethodMarshaller.java \
|
||||||
com/sun/corba/se/spi/presentation/rmi/DynamicStub.java \
|
com/sun/corba/se/spi/presentation/rmi/DynamicStub.java \
|
||||||
com/sun/corba/se/spi/presentation/rmi/IDLNameTranslator.java \
|
com/sun/corba/se/spi/presentation/rmi/IDLNameTranslator.java \
|
||||||
|
com/sun/corba/se/spi/presentation/rmi/PresentationDefaults.java \
|
||||||
com/sun/corba/se/spi/presentation/rmi/PresentationManager.java \
|
com/sun/corba/se/spi/presentation/rmi/PresentationManager.java \
|
||||||
com/sun/corba/se/spi/presentation/rmi/StubAdapter.java
|
com/sun/corba/se/spi/presentation/rmi/StubAdapter.java
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2002-2004 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -26,6 +26,7 @@
|
|||||||
com_sun_corba_se_spi_transport_java = \
|
com_sun_corba_se_spi_transport_java = \
|
||||||
com/sun/corba/se/spi/transport/CorbaAcceptor.java \
|
com/sun/corba/se/spi/transport/CorbaAcceptor.java \
|
||||||
com/sun/corba/se/spi/transport/CorbaConnection.java \
|
com/sun/corba/se/spi/transport/CorbaConnection.java \
|
||||||
|
com/sun/corba/se/spi/transport/CorbaConnectionCache.java \
|
||||||
com/sun/corba/se/spi/transport/CorbaContactInfo.java \
|
com/sun/corba/se/spi/transport/CorbaContactInfo.java \
|
||||||
com/sun/corba/se/spi/transport/CorbaContactInfoList.java \
|
com/sun/corba/se/spi/transport/CorbaContactInfoList.java \
|
||||||
com/sun/corba/se/spi/transport/CorbaContactInfoListFactory.java \
|
com/sun/corba/se/spi/transport/CorbaContactInfoListFactory.java \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 1997-2002 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -47,6 +47,7 @@ NS_GENERATED_java = \
|
|||||||
org/omg/CosNaming/NamingContext.java \
|
org/omg/CosNaming/NamingContext.java \
|
||||||
org/omg/CosNaming/NamingContextHelper.java \
|
org/omg/CosNaming/NamingContextHelper.java \
|
||||||
org/omg/CosNaming/NamingContextHolder.java \
|
org/omg/CosNaming/NamingContextHolder.java \
|
||||||
|
org/omg/CosNaming/NamingContextOperations.java \
|
||||||
org/omg/CosNaming/_NamingContextStub.java \
|
org/omg/CosNaming/_NamingContextStub.java \
|
||||||
org/omg/CosNaming/NamingContextPackage/AlreadyBound.java \
|
org/omg/CosNaming/NamingContextPackage/AlreadyBound.java \
|
||||||
org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java \
|
org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2000-2002 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -47,6 +47,10 @@ DYNANY_GENERATED_java = \
|
|||||||
org/omg/DynamicAny/DynUnionOperations.java \
|
org/omg/DynamicAny/DynUnionOperations.java \
|
||||||
org/omg/DynamicAny/DynValue.java \
|
org/omg/DynamicAny/DynValue.java \
|
||||||
org/omg/DynamicAny/DynValueOperations.java \
|
org/omg/DynamicAny/DynValueOperations.java \
|
||||||
|
org/omg/DynamicAny/DynValueBox.java \
|
||||||
|
org/omg/DynamicAny/DynValueBoxOperations.java \
|
||||||
|
org/omg/DynamicAny/DynValueCommon.java \
|
||||||
|
org/omg/DynamicAny/DynValueCommonOperations.java \
|
||||||
org/omg/DynamicAny/NameDynAnyPair.java \
|
org/omg/DynamicAny/NameDynAnyPair.java \
|
||||||
org/omg/DynamicAny/NameValuePair.java \
|
org/omg/DynamicAny/NameValuePair.java \
|
||||||
org/omg/DynamicAny/DynAnyPackage/InvalidValue.java \
|
org/omg/DynamicAny/DynAnyPackage/InvalidValue.java \
|
||||||
@@ -70,8 +74,16 @@ DYNANY_GENERATED_java = \
|
|||||||
org/omg/DynamicAny/DynSequenceHelper.java \
|
org/omg/DynamicAny/DynSequenceHelper.java \
|
||||||
org/omg/DynamicAny/NameDynAnyPairSeqHelper.java \
|
org/omg/DynamicAny/NameDynAnyPairSeqHelper.java \
|
||||||
org/omg/DynamicAny/NameValuePairHelper.java \
|
org/omg/DynamicAny/NameValuePairHelper.java \
|
||||||
org/omg/DynamicAny/NameValuePairSeqHelper.java
|
org/omg/DynamicAny/NameValuePairSeqHelper.java \
|
||||||
|
org/omg/DynamicAny/_DynAnyFactoryStub.java \
|
||||||
|
org/omg/DynamicAny/_DynAnyStub.java \
|
||||||
|
org/omg/DynamicAny/_DynArrayStub.java \
|
||||||
|
org/omg/DynamicAny/_DynEnumStub.java \
|
||||||
|
org/omg/DynamicAny/_DynFixedStub.java \
|
||||||
|
org/omg/DynamicAny/_DynSequenceStub.java \
|
||||||
|
org/omg/DynamicAny/_DynStructStub.java \
|
||||||
|
org/omg/DynamicAny/_DynUnionStub.java \
|
||||||
|
org/omg/DynamicAny/_DynValueStub.java
|
||||||
|
|
||||||
DYNANY_HELP_HOLD_java = \
|
DYNANY_HELP_HOLD_java = \
|
||||||
org/omg/DynamicAny/AnySeqHolder.java \
|
org/omg/DynamicAny/AnySeqHolder.java \
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2000-2003 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -106,6 +106,7 @@ PI_GENERATED_java = \
|
|||||||
org/omg/IOP/CodecPackage/TypeMismatchHelper.java \
|
org/omg/IOP/CodecPackage/TypeMismatchHelper.java \
|
||||||
org/omg/IOP/ENCODING_CDR_ENCAPS.java \
|
org/omg/IOP/ENCODING_CDR_ENCAPS.java \
|
||||||
org/omg/IOP/Encoding.java \
|
org/omg/IOP/Encoding.java \
|
||||||
|
org/omg/IOP/ExceptionDetailMessage.java \
|
||||||
org/omg/Dynamic/Parameter.java
|
org/omg/Dynamic/Parameter.java
|
||||||
|
|
||||||
# Helper and Holder files to be removed:
|
# Helper and Holder files to be removed:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -46,6 +46,8 @@ CORBA_JMK_DIRECTORY=$(TOPDIR)/make/com/sun/corba/minclude/
|
|||||||
include $(CORBA_JMK_DIRECTORY)com_sun_corba_se_PortableActivationIDL.jmk
|
include $(CORBA_JMK_DIRECTORY)com_sun_corba_se_PortableActivationIDL.jmk
|
||||||
include $(CORBA_JMK_DIRECTORY)com_sun_corba_se_impl_logging.jmk
|
include $(CORBA_JMK_DIRECTORY)com_sun_corba_se_impl_logging.jmk
|
||||||
|
|
||||||
|
FILES_java += com/sun/corba/se/org/omg/CORBA/ORB.java
|
||||||
|
|
||||||
#
|
#
|
||||||
# Dirs
|
# Dirs
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -58,11 +58,24 @@ PLATFORM_INCLUDE = $(INCLUDEDIR)/$(PLATFORM_INCLUDE_NAME)
|
|||||||
|
|
||||||
# The following DLL's are considered MS runtime libraries and should
|
# The following DLL's are considered MS runtime libraries and should
|
||||||
# not to be REBASEd, see deploy/make/common/Release.gmk.
|
# not to be REBASEd, see deploy/make/common/Release.gmk.
|
||||||
# msvcrt.dll, msvcr71.dll: Microsoft runtimes
|
# msvcrt.dll, msvcrnn.dll [msvcr71 or msvcr80 or msvcr90] : Microsoft runtimes
|
||||||
MS_RUNTIME_LIBRARIES = msvcrt.dll
|
MS_RUNTIME_LIBRARIES = msvcrt.dll
|
||||||
|
MSVCRNN_DLL =
|
||||||
ifeq ($(ARCH_DATA_MODEL), 32)
|
ifeq ($(ARCH_DATA_MODEL), 32)
|
||||||
ifeq ($(COMPILER_VERSION), VS2003)
|
ifeq ($(COMPILER_VERSION), VS2003)
|
||||||
MS_RUNTIME_LIBRARIES += msvcr71.dll
|
MSVCRNN_DLL = msvcr71.dll
|
||||||
|
MSVCPNN_DLL = msvcp71.dll
|
||||||
|
MS_RUNTIME_LIBRARIES += $(MSVCRNN_DLL)
|
||||||
|
endif
|
||||||
|
ifeq ($(COMPILER_VERSION), VS2005)
|
||||||
|
MSVCRNN_DLL = msvcr80.dll
|
||||||
|
MSVCPNN_DLL = msvcp80.dll
|
||||||
|
MS_RUNTIME_LIBRARIES += $(MSVCRNN_DLL)
|
||||||
|
endif
|
||||||
|
ifeq ($(COMPILER_VERSION), VS2008)
|
||||||
|
MSVCRNN_DLL = msvcr90.dll
|
||||||
|
MSVCPNN_DLL = msvcp90.dll
|
||||||
|
MS_RUNTIME_LIBRARIES += $(MSVCRNN_DLL)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@@ -148,6 +161,20 @@ ifeq ($(CC_VERSION),msvc)
|
|||||||
CC_LOWER_OPT = -O1
|
CC_LOWER_OPT = -O1
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(COMPILER_VERSION), VS2008)
|
||||||
|
# Automatic precompiled header option to use (if COMPILE_APPROACH=batch)
|
||||||
|
AUTOMATIC_PCH_OPTION =
|
||||||
|
GX_OPTION = -EHsc
|
||||||
|
ifeq ($(ARCH_DATA_MODEL), 32)
|
||||||
|
CC_HIGHEST_OPT = -O2
|
||||||
|
CC_HIGHER_OPT = -O1
|
||||||
|
CC_LOWER_OPT = -O1
|
||||||
|
else
|
||||||
|
CC_HIGHEST_OPT = -O2
|
||||||
|
CC_HIGHER_OPT = -O1
|
||||||
|
CC_LOWER_OPT = -O1
|
||||||
|
endif
|
||||||
|
endif
|
||||||
CC_NO_OPT = -Od
|
CC_NO_OPT = -Od
|
||||||
else # CC_VERSION
|
else # CC_VERSION
|
||||||
# GCC not supported, but left for historical reference...
|
# GCC not supported, but left for historical reference...
|
||||||
@@ -179,7 +206,7 @@ endif
|
|||||||
# -MTd Use static debug version (better than -MDd, no runtime issues)
|
# -MTd Use static debug version (better than -MDd, no runtime issues)
|
||||||
# -D_DEBUG Change use of malloc/free/etc to use special debug ones (-MTd)
|
# -D_DEBUG Change use of malloc/free/etc to use special debug ones (-MTd)
|
||||||
#
|
#
|
||||||
# NOTE: We also will use /D _STATIC_CPPLIB so we don't need msvcp71.dll
|
# NOTE: We also will use /D _STATIC_CPPLIB so we don't need msvcpnn.dll
|
||||||
#
|
#
|
||||||
ifeq ($(MS_RUNTIME_STATIC),true)
|
ifeq ($(MS_RUNTIME_STATIC),true)
|
||||||
MS_RUNTIME_OPTION=-MT
|
MS_RUNTIME_OPTION=-MT
|
||||||
@@ -217,7 +244,7 @@ ifeq ($(CC_VERSION),msvc)
|
|||||||
# -YX -Fp/.../foobar.pch Use precompiled headers (try someday?)
|
# -YX -Fp/.../foobar.pch Use precompiled headers (try someday?)
|
||||||
# -nologo Don't print out startup message
|
# -nologo Don't print out startup message
|
||||||
# /D _STATIC_CPPLIB
|
# /D _STATIC_CPPLIB
|
||||||
# Use static link for the C++ runtime (so msvcp71.dll not needed)
|
# Use static link for the C++ runtime (so msvcpnn.dll not needed)
|
||||||
#
|
#
|
||||||
CFLAGS_COMMON += -Zi -nologo
|
CFLAGS_COMMON += -Zi -nologo
|
||||||
CFLAGS_OPT = $(POPT)
|
CFLAGS_OPT = $(POPT)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -47,24 +47,17 @@ ifeq ($(PLATFORM), windows)
|
|||||||
# unset any GNU Make settings of MFLAGS and MAKEFLAGS which may mess up nmake
|
# unset any GNU Make settings of MFLAGS and MAKEFLAGS which may mess up nmake
|
||||||
NMAKE = MFLAGS= MAKEFLAGS= $(COMPILER_PATH)nmake -nologo
|
NMAKE = MFLAGS= MAKEFLAGS= $(COMPILER_PATH)nmake -nologo
|
||||||
|
|
||||||
|
# Compiler version and type (Always get word after "Version")
|
||||||
|
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(SED) 's/.*\(Version.*\)/\1/' | $(NAWK) '{print $$2}')
|
||||||
|
|
||||||
# SDK-64 and MSVC6 put REBASE.EXE in a different places - go figure...
|
# SDK-64 and MSVC6 put REBASE.EXE in a different places - go figure...
|
||||||
ifeq ($(ARCH_DATA_MODEL), 32)
|
ifeq ($(ARCH_DATA_MODEL), 32)
|
||||||
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(NAWK) '{print $$8}')
|
|
||||||
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
|
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
|
||||||
CC_TYPE := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(NAWK) '{print $$5}')
|
|
||||||
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
|
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
|
||||||
REQUIRED_CCTYPE = Optimizing
|
|
||||||
REQUIRED_CC_VER = 13.10.3077
|
|
||||||
REQUIRED_LINK_VER = 7.10.3077
|
|
||||||
ifeq ($(CC_MAJORVER), 12)
|
|
||||||
# This should be: CC_VER=12.00.8168 LINK_VER=6.00.8447
|
|
||||||
COMPILER_NAME=Visual C++ 6.0 Professional + VC6-SP 3
|
|
||||||
COMPILER_VERSION=VC6
|
|
||||||
REBASE = $(COMPILER_PATH)rebase
|
|
||||||
MTL = $(COMPILER_PATH)midl
|
|
||||||
endif
|
|
||||||
ifeq ($(CC_MAJORVER), 13)
|
ifeq ($(CC_MAJORVER), 13)
|
||||||
# This should be: CC_VER=13.10.3077 LINK_VER=7.10.3077
|
# This should be: CC_VER=13.10.3077 LINK_VER=7.10.3077
|
||||||
|
REQUIRED_CC_VER = 13.10.3077
|
||||||
|
REQUIRED_LINK_VER = 7.10.3077
|
||||||
COMPILER_NAME=Visual Studio .NET 2003 Professional C++
|
COMPILER_NAME=Visual Studio .NET 2003 Professional C++
|
||||||
COMPILER_VERSION=VS2003
|
COMPILER_VERSION=VS2003
|
||||||
REBASE = $(COMPILER_PATH)../../Common7/Tools/Bin/rebase
|
REBASE = $(COMPILER_PATH)../../Common7/Tools/Bin/rebase
|
||||||
@@ -74,9 +67,10 @@ ifeq ($(PLATFORM), windows)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(CC_MAJORVER), 14)
|
ifeq ($(CC_MAJORVER), 14)
|
||||||
# This should be: CC_VER=14.00.0000 LINK_VER=8.00.0000
|
# This should be: CC_VER=14.00.50727.42 LINK_VER=8.00.50727.42
|
||||||
# NOTE: This compiler has not been tried yet on 32bit systems
|
REQUIRED_CC_VER = 14.00.50727.42
|
||||||
COMPILER_NAME=Visual Studio .NET 2005
|
REQUIRED_LINK_VER = 8.00.50727.42
|
||||||
|
COMPILER_NAME=Visual Studio 8
|
||||||
COMPILER_VERSION=VS2005
|
COMPILER_VERSION=VS2005
|
||||||
REBASE = $(COMPILER_PATH)../../Common8/Tools/Bin/rebase
|
REBASE = $(COMPILER_PATH)../../Common8/Tools/Bin/rebase
|
||||||
MTL = $(COMPILER_PATH)../../Common8/Tools/Bin/midl
|
MTL = $(COMPILER_PATH)../../Common8/Tools/Bin/midl
|
||||||
@@ -84,10 +78,22 @@ ifeq ($(PLATFORM), windows)
|
|||||||
COMPILER_PATH := $(error COMPILER_PATH cannot be empty here)
|
COMPILER_PATH := $(error COMPILER_PATH cannot be empty here)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CC_MAJORVER), 15)
|
||||||
|
# This should be: CC_VER=15.00.21022.08 LINK_VER=9.00.21022.08
|
||||||
|
REQUIRED_CC_VER = 15.00.21022.08
|
||||||
|
REQUIRED_LINK_VER = 9.00.21022.08
|
||||||
|
COMPILER_NAME=Visual Studio 9
|
||||||
|
COMPILER_VERSION=VS2008
|
||||||
|
#rebase and midl moved out of Visual Studio into the SDK:
|
||||||
|
REBASE = $(MSDEVTOOLS_PATH)/rebase
|
||||||
|
MTL = $(MSDEVTOOLS_PATH)/midl.exe
|
||||||
|
ifndef COMPILER_PATH
|
||||||
|
COMPILER_PATH := $(error COMPILER_PATH cannot be empty here)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(NAWK) '{print $$7}')
|
# else ARCH_DATA_MODEL is 64
|
||||||
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
|
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
|
||||||
CC_TYPE := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(NAWK) '{print $$4}')
|
|
||||||
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
|
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
|
||||||
CC_MINORVER :=$(call MinorVersion,$(CC_VER))
|
CC_MINORVER :=$(call MinorVersion,$(CC_VER))
|
||||||
CC_MICROVER :=$(call MicroVersion,$(CC_VER))
|
CC_MICROVER :=$(call MicroVersion,$(CC_VER))
|
||||||
|
|||||||
@@ -31,11 +31,8 @@ COMPILER_NAME=Sun Studio
|
|||||||
|
|
||||||
# Sun Studio Compiler settings specific to Solaris
|
# Sun Studio Compiler settings specific to Solaris
|
||||||
ifeq ($(PLATFORM), solaris)
|
ifeq ($(PLATFORM), solaris)
|
||||||
# FIXUP: Change to SS12 when validated
|
COMPILER_VERSION=SS12
|
||||||
#COMPILER_VERSION=SS12
|
REQUIRED_CC_VER=5.9
|
||||||
#REQUIRED_CC_VER=5.9
|
|
||||||
COMPILER_VERSION=SS11
|
|
||||||
REQUIRED_CC_VER=5.8
|
|
||||||
CC = $(COMPILER_PATH)cc
|
CC = $(COMPILER_PATH)cc
|
||||||
CPP = $(COMPILER_PATH)cc -E
|
CPP = $(COMPILER_PATH)cc -E
|
||||||
CXX = $(COMPILER_PATH)CC
|
CXX = $(COMPILER_PATH)CC
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2005-2007 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -67,16 +67,6 @@ ifeq ($(PLATFORM),windows)
|
|||||||
UTILS_DEVTOOL_PATH=$(DEVTOOLS_PATH)
|
UTILS_DEVTOOL_PATH=$(DEVTOOLS_PATH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Utilities ant and findbugs
|
|
||||||
ifndef ANT_HOME
|
|
||||||
ANT_HOME = $(JDK_DEVTOOLS_DIR)/share/ant/latest
|
|
||||||
endif
|
|
||||||
ANT = $(ANT_HOME)/bin/ant
|
|
||||||
ifndef FINDBUGS_HOME
|
|
||||||
FINDBUGS_HOME = $(JDK_DEVTOOLS_DIR)/share/findbugs/latest
|
|
||||||
endif
|
|
||||||
FINDBUGS = $(FINDBUGS_HOME)/bin/findbugs
|
|
||||||
|
|
||||||
# Utilities
|
# Utilities
|
||||||
ADB = $(UTILS_COMMAND_PATH)adb
|
ADB = $(UTILS_COMMAND_PATH)adb
|
||||||
AR = $(UTILS_CCS_BIN_PATH)ar
|
AR = $(UTILS_CCS_BIN_PATH)ar
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -35,7 +35,7 @@ include $(BUILDDIR)/common/Defs.gmk
|
|||||||
#
|
#
|
||||||
# Files to compile
|
# Files to compile
|
||||||
#
|
#
|
||||||
AUTO_FILES_JAVA_DIRS = javax/transaction/xa
|
AUTO_FILES_JAVA_DIRS = javax/transaction
|
||||||
|
|
||||||
#
|
#
|
||||||
# Rules
|
# Rules
|
||||||
|
|||||||
@@ -93,23 +93,13 @@ jdk_import="${ALT_JDK_IMPORT_PATH}"
|
|||||||
jdk_devtools="${slashjava}/devtools"
|
jdk_devtools="${slashjava}/devtools"
|
||||||
share="${jdk_devtools}/share"
|
share="${jdk_devtools}/share"
|
||||||
|
|
||||||
# Needed for langtools, maybe other parts of the build
|
|
||||||
ANT_HOME="${share}/ant/latest"
|
|
||||||
export ANT_HOME
|
|
||||||
FINDBUGS_HOME="${share}/findbugs/latest"
|
|
||||||
export FINDBUGS_HOME
|
|
||||||
|
|
||||||
# The 3 bin directories in common to all platforms
|
# The 3 bin directories in common to all platforms
|
||||||
sharebin="${share}/bin"
|
sharebin="${share}/bin"
|
||||||
antbin="${ANT_HOME}/bin"
|
|
||||||
findbugsbin="${FINDBUGS_HOME}/bin"
|
|
||||||
|
|
||||||
# Check input
|
# Check input
|
||||||
dirMustExist "${bootdir}" ALT_BOOTDIR
|
dirMustExist "${bootdir}" ALT_BOOTDIR
|
||||||
dirMustExist "${slashjava}" ALT_SLASH_JAVA
|
dirMustExist "${slashjava}" ALT_SLASH_JAVA
|
||||||
dirMustExist "${jdk_import}" ALT_JDK_IMPORT_PATH
|
dirMustExist "${jdk_import}" ALT_JDK_IMPORT_PATH
|
||||||
dirMustExist "${ANT_HOME}" ANT_HOME
|
|
||||||
dirMustExist "${FINDBUGS_HOME}" FINDBUGS_HOME
|
|
||||||
|
|
||||||
# Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise.
|
# Uses 'uname -s', but only expect SunOS or Linux, assume Windows otherwise.
|
||||||
osname=`uname -s`
|
osname=`uname -s`
|
||||||
@@ -127,15 +117,13 @@ if [ "${osname}" = SunOS ] ; then
|
|||||||
if [ "${JPRT_SOLARIS_COMPILER_NAME}" != "" ] ; then
|
if [ "${JPRT_SOLARIS_COMPILER_NAME}" != "" ] ; then
|
||||||
compiler_name=${JPRT_SOLARIS_COMPILER_NAME}
|
compiler_name=${JPRT_SOLARIS_COMPILER_NAME}
|
||||||
else
|
else
|
||||||
# FIXUP: Change to SS12 when validated
|
compiler_name=SS12
|
||||||
#compiler_name=SS12
|
|
||||||
compiler_name=SS11
|
|
||||||
fi
|
fi
|
||||||
compiler_path=${jdk_devtools}/${solaris_arch}/SUNWspro/${compiler_name}/bin
|
compiler_path=${jdk_devtools}/${solaris_arch}/SUNWspro/${compiler_name}/bin
|
||||||
ALT_COMPILER_PATH="${compiler_path}"
|
ALT_COMPILER_PATH="${compiler_path}"
|
||||||
export ALT_COMPILER_PATH
|
export ALT_COMPILER_PATH
|
||||||
dirMustExist "${compiler_path}" ALT_COMPILER_PATH
|
dirMustExist "${compiler_path}" ALT_COMPILER_PATH
|
||||||
path4sdk=${compiler_path}:${sharebin}:${antbin}:${findbugsbin}
|
path4sdk=${compiler_path}:${sharebin}
|
||||||
|
|
||||||
# Add basic solaris system paths
|
# Add basic solaris system paths
|
||||||
path4sdk=${path4sdk}:/usr/ccs/bin:/usr/ccs/lib:/usr/bin:/bin:/usr/sfw/bin
|
path4sdk=${path4sdk}:/usr/ccs/bin:/usr/ccs/lib:/usr/bin:/bin:/usr/sfw/bin
|
||||||
@@ -172,7 +160,7 @@ elif [ "${osname}" = Linux ] ; then
|
|||||||
ALT_COMPILER_PATH="${compiler_path}"
|
ALT_COMPILER_PATH="${compiler_path}"
|
||||||
export ALT_COMPILER_PATH
|
export ALT_COMPILER_PATH
|
||||||
dirMustExist "${compiler_path}" ALT_COMPILER_PATH
|
dirMustExist "${compiler_path}" ALT_COMPILER_PATH
|
||||||
path4sdk=${compiler_path}:${sharebin}:${antbin}:${findbugsbin}
|
path4sdk=${compiler_path}:${sharebin}
|
||||||
|
|
||||||
# Add basic paths
|
# Add basic paths
|
||||||
path4sdk=${path4sdk}:/usr/bin:/bin:/usr/sbin:/sbin
|
path4sdk=${path4sdk}:/usr/bin:/bin:/usr/sbin:/sbin
|
||||||
@@ -213,7 +201,7 @@ else
|
|||||||
dosname="${mkshome}/mksnt/dosname -s"
|
dosname="${mkshome}/mksnt/dosname -s"
|
||||||
# Most unix utilities are in the mksnt directory of ROOTDIR
|
# Most unix utilities are in the mksnt directory of ROOTDIR
|
||||||
unixcommand_path="${mkshome}/mksnt"
|
unixcommand_path="${mkshome}/mksnt"
|
||||||
path4sdk="${sharebin};${antbin};${findbugsbin};${unixcommand_path}"
|
path4sdk="${sharebin};${unixcommand_path}"
|
||||||
dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH
|
dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH
|
||||||
devtools_path="${jdk_devtools}/win32/bin"
|
devtools_path="${jdk_devtools}/win32/bin"
|
||||||
path4sdk="${devtools_path};${path4sdk}"
|
path4sdk="${devtools_path};${path4sdk}"
|
||||||
@@ -231,7 +219,7 @@ else
|
|||||||
dosname="/usr/bin/cygpath -a -m -s"
|
dosname="/usr/bin/cygpath -a -m -s"
|
||||||
# Most unix utilities are in the /usr/bin
|
# Most unix utilities are in the /usr/bin
|
||||||
unixcommand_path="/usr/bin"
|
unixcommand_path="/usr/bin"
|
||||||
path4sdk="${sharebin};${antbin};${findbugsbin};${unixcommand_path}"
|
path4sdk="${sharebin};${unixcommand_path}"
|
||||||
dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH
|
dirMustExist "${unixcommand_path}" ALT_UNIXCOMMAND_PATH
|
||||||
# Find GNU make
|
# Find GNU make
|
||||||
make="${unixcommand_path}/make.exe"
|
make="${unixcommand_path}/make.exe"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright 1997-2004 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -47,8 +47,8 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
FILES_java = \
|
FILES_java = \
|
||||||
$(ORG_OMG_SENDINGCONTEXT_java) \
|
$(org_omg_SendingContext_java) \
|
||||||
$(ORG_OMG_CORBA_2_3_java) \
|
$(org_omg_CORBA_2_3_java) \
|
||||||
$(ORG_OMG_CORBA_java)
|
$(ORG_OMG_CORBA_java)
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -5,3 +5,16 @@ e3d2692f8442e2d951166dc9bd9a330684754438 jdk7-b27
|
|||||||
c14dab40ed9bf45ad21150bd70c9c80cdf655415 jdk7-b28
|
c14dab40ed9bf45ad21150bd70c9c80cdf655415 jdk7-b28
|
||||||
4f91c08b3e4498213a9c5a24898f7d9c38cf86fb jdk7-b29
|
4f91c08b3e4498213a9c5a24898f7d9c38cf86fb jdk7-b29
|
||||||
d1605aabd0a15ecf93787c47de63073c33fba52d jdk7-b30
|
d1605aabd0a15ecf93787c47de63073c33fba52d jdk7-b30
|
||||||
|
9c2ecc2ffb125f14fab3857fe7689598956348a0 jdk7-b31
|
||||||
|
b727c32788a906c04839516ae7443a085185a300 jdk7-b32
|
||||||
|
585535ec8a14adafa6bfea65d6975e29094c8cec jdk7-b33
|
||||||
|
5251a9cd8eb8743eee647365bee1c8afdc131556 jdk7-b34
|
||||||
|
5fa96a5a7e76da7c8dad12486293a0456c2c116c jdk7-b35
|
||||||
|
e91159f921a58af3698e6479ea1fc5818da66d09 jdk7-b36
|
||||||
|
9ee9cf798b59e7d51f8c0a686959f313867a55d6 jdk7-b37
|
||||||
|
d9bc824aa078573829bb66572af847e26e1bd12e jdk7-b38
|
||||||
|
49ca90d77f34571b0757ebfcb8a7848ef2696b88 jdk7-b39
|
||||||
|
81a0cbe3b28460ce836109934ece03db7afaf9cc jdk7-b40
|
||||||
|
f9d938ede1960d18cb7cf23c645b026519c1a678 jdk7-b41
|
||||||
|
ad8c8ca4ab0f4c86e74c061958f44a8f4a930f2c jdk7-b42
|
||||||
|
fc6a5ae3fef5ebacfa896dbb3ae37715e388e282 jdk7-b43
|
||||||
|
|||||||
@@ -32,6 +32,12 @@ else
|
|||||||
include $(GAMMADIR)/make/defs.make
|
include $(GAMMADIR)/make/defs.make
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq "x$(HOTSPOT_BUILD_VERSION)" "x"
|
||||||
|
SA_BUILD_VERSION=$(HOTSPOT_RELEASE_VERSION)
|
||||||
|
else
|
||||||
|
SA_BUILD_VERSION=$(HOTSPOT_RELEASE_VERSION)-$(HOTSPOT_BUILD_VERSION)
|
||||||
|
endif
|
||||||
|
|
||||||
PKGLIST = \
|
PKGLIST = \
|
||||||
sun.jvm.hotspot \
|
sun.jvm.hotspot \
|
||||||
sun.jvm.hotspot.asm \
|
sun.jvm.hotspot.asm \
|
||||||
@@ -117,7 +123,9 @@ sun.jvm.hotspot.ui.tree \
|
|||||||
sun.jvm.hotspot.ui.treetable \
|
sun.jvm.hotspot.ui.treetable \
|
||||||
sun.jvm.hotspot.utilities \
|
sun.jvm.hotspot.utilities \
|
||||||
sun.jvm.hotspot.utilities.memo \
|
sun.jvm.hotspot.utilities.memo \
|
||||||
sun.jvm.hotspot.utilities.soql
|
sun.jvm.hotspot.utilities.soql \
|
||||||
|
com.sun.java.swing.action \
|
||||||
|
com.sun.java.swing.ui
|
||||||
#END PKGLIST
|
#END PKGLIST
|
||||||
|
|
||||||
# Generated using the build-filelist script
|
# Generated using the build-filelist script
|
||||||
@@ -198,7 +206,9 @@ sun/jvm/hotspot/ui/tree/*.java \
|
|||||||
sun/jvm/hotspot/ui/treetable/*.java \
|
sun/jvm/hotspot/ui/treetable/*.java \
|
||||||
sun/jvm/hotspot/utilities/*.java \
|
sun/jvm/hotspot/utilities/*.java \
|
||||||
sun/jvm/hotspot/utilities/memo/*.java \
|
sun/jvm/hotspot/utilities/memo/*.java \
|
||||||
sun/jvm/hotspot/utilities/soql/*.java
|
sun/jvm/hotspot/utilities/soql/*.java \
|
||||||
|
com/sun/java/swing/action/*.java \
|
||||||
|
com/sun/java/swing/ui/*.java
|
||||||
#END FILELIST
|
#END FILELIST
|
||||||
|
|
||||||
ifneq "x$(ALT_BOOTDIR)" "x"
|
ifneq "x$(ALT_BOOTDIR)" "x"
|
||||||
@@ -220,8 +230,6 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
SRC_DIR = ../src/share/classes
|
SRC_DIR = ../src/share/classes
|
||||||
LIB_DIR = ../src/share/lib
|
|
||||||
CLOSED_LIB_DIR = ../closed/src/share/lib
|
|
||||||
BUILD_DIR = ../build
|
BUILD_DIR = ../build
|
||||||
OUTPUT_DIR = $(BUILD_DIR)/classes
|
OUTPUT_DIR = $(BUILD_DIR)/classes
|
||||||
DOC_DIR = $(BUILD_DIR)/doc
|
DOC_DIR = $(BUILD_DIR)/doc
|
||||||
@@ -231,9 +239,9 @@ DOC_DIR = $(BUILD_DIR)/doc
|
|||||||
ALLFILES := $(patsubst %,$(SRC_DIR)/%,$(FILELIST))
|
ALLFILES := $(patsubst %,$(SRC_DIR)/%,$(FILELIST))
|
||||||
ALLFILES := $(shell /bin/ls $(ALLFILES))
|
ALLFILES := $(shell /bin/ls $(ALLFILES))
|
||||||
|
|
||||||
|
# tools.jar is used by the sa-jdi binding
|
||||||
|
CLASSPATH = $(JDK_HOME)/lib/tools.jar
|
||||||
|
|
||||||
# tools.jar is needed by the JDI - SA binding
|
|
||||||
CLASSPATH = $(LIB_DIR)/maf-1_0.jar$(CPS)$(JDK_HOME)/lib/tools.jar
|
|
||||||
CLASSPATH := $(subst \,/,$(CLASSPATH))
|
CLASSPATH := $(subst \,/,$(CLASSPATH))
|
||||||
|
|
||||||
# FIXME: autogenerate call to rmic
|
# FIXME: autogenerate call to rmic
|
||||||
@@ -241,24 +249,36 @@ CLASSPATH := $(subst \,/,$(CLASSPATH))
|
|||||||
SA_BUILD_VERSION_PROP = "sun.jvm.hotspot.runtime.VM.saBuildVersion=$(SA_BUILD_VERSION)"
|
SA_BUILD_VERSION_PROP = "sun.jvm.hotspot.runtime.VM.saBuildVersion=$(SA_BUILD_VERSION)"
|
||||||
|
|
||||||
SA_PROPERTIES = $(OUTPUT_DIR)/sa.properties
|
SA_PROPERTIES = $(OUTPUT_DIR)/sa.properties
|
||||||
|
JAVAC = $(JDK_HOME)/bin/javac
|
||||||
|
JAVADOC = $(JDK_HOME)/bin/javadoc
|
||||||
|
RMIC = $(JDK_HOME)/bin/rmic
|
||||||
|
|
||||||
# Tagging it on because there's no reason not to run it
|
# Tagging it on because there's no reason not to run it
|
||||||
all: filelist
|
all: filelist
|
||||||
@mkdir -p $(OUTPUT_DIR)
|
@mkdir -p $(OUTPUT_DIR)
|
||||||
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
|
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
|
||||||
@${JDK_HOME}/bin/javac -source 1.4 -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
|
$(JAVAC) -source 1.4 -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
|
||||||
@${JDK_HOME}/bin/rmic -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
||||||
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
|
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
|
||||||
cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
|
cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
|
||||||
|
mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
|
||||||
|
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
|
||||||
|
cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
|
||||||
|
cp -r $(SRC_DIR)/images/* $(OUTPUT_DIR)/
|
||||||
|
|
||||||
allprof: filelist
|
allprof: filelist
|
||||||
@mkdir -p $(OUTPUT_DIR)
|
@mkdir -p $(OUTPUT_DIR)
|
||||||
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
|
@echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)
|
||||||
@${JDK_HOME}/bin/javac -source 1.4 -J-Xprof -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
|
$(JAVAC) -source 1.4 -J-Xprof -classpath $(CLASSPATH) -deprecation -sourcepath $(SRC_DIR) -g -d $(OUTPUT_DIR) @filelist
|
||||||
@${JDK_HOME}/bin/rmic -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
$(RMIC) -classpath $(OUTPUT_DIR) -d $(OUTPUT_DIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
|
||||||
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
|
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql/sa.js
|
||||||
cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
|
cp $(SRC_DIR)/sun/jvm/hotspot/utilities/soql/sa.js $(OUTPUT_DIR)/sun/jvm/hotspot/utilities/soql
|
||||||
|
mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
|
||||||
|
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
|
||||||
|
cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
|
||||||
|
cp -r $(SRC_DIR)/images/* $(OUTPUT_DIR)/
|
||||||
|
|
||||||
|
.PHONY: filelist
|
||||||
filelist: $(ALLFILES)
|
filelist: $(ALLFILES)
|
||||||
@if [ ! -f $(JDK_HOME)/lib/tools.jar ] ; then \
|
@if [ ! -f $(JDK_HOME)/lib/tools.jar ] ; then \
|
||||||
echo "Missing $(JDK_HOME)/lib/tools.jar file. Use 1.6.0 or later version jdk to build SA."; \
|
echo "Missing $(JDK_HOME)/lib/tools.jar file. Use 1.6.0 or later version jdk to build SA."; \
|
||||||
@@ -274,36 +294,23 @@ natives:
|
|||||||
|
|
||||||
.PHONY: sa-jdi.jar
|
.PHONY: sa-jdi.jar
|
||||||
sa-jdi.jar:
|
sa-jdi.jar:
|
||||||
if [ ! -f $(JDK_HOME)/lib/tools.jar ] ; then \
|
echo "sa-jdi.jar is built by a hotspot build."
|
||||||
echo "Missing $(JDK_HOME)/lib/tools.jar file. Use 1.6.0 or later version jdk to build SA.";\
|
|
||||||
exit 1; \
|
|
||||||
fi
|
|
||||||
rm -f $(BUILD_DIR)/sa-jdi.jar
|
|
||||||
rm -f $(OUTPUT_DIR)/jdi_class_files
|
|
||||||
javac -source 1.4 ClosureFinder.java -d $(OUTPUT_DIR)
|
|
||||||
cd $(OUTPUT_DIR) ; find sun/jvm/hotspot/jdi -name "*.class" > jdi_class_files
|
|
||||||
cd $(OUTPUT_DIR) ; jar cvf ../sa-jdi.jar `java ClosureFinder jdi_class_files .`
|
|
||||||
cd $(BUILD_DIR) ; jar uvf sa-jdi.jar -C $(SRC_DIR) META-INF/services/com.sun.jdi.connect.Connector
|
|
||||||
cd $(BUILD_DIR) ; jar uvf sa-jdi.jar -C $(OUTPUT_DIR) sa.properties
|
|
||||||
rm -f $(OUTPUT_DIR)/ClosureFinder.class
|
|
||||||
rm -f $(OUTPUT_DIR)/jdi_class_files
|
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
@javadoc -private -classpath $(CLASSPATH) -sourcepath $(SRC_DIR) -d $(DOC_DIR) $(PKGLIST)
|
@$(JAVADOC) -private -classpath $(CLASSPATH) -sourcepath $(SRC_DIR) -d $(DOC_DIR) $(PKGLIST)
|
||||||
|
|
||||||
sizes: $(ALLFILES)
|
sizes: $(ALLFILES)
|
||||||
wc -l $(ALLFILES)
|
wc -l $(ALLFILES)
|
||||||
|
|
||||||
cscope: $(ALLFILES)
|
cscope: $(ALLFILES)
|
||||||
|
rm -f java.files
|
||||||
echo $(ALLFILES) > java.files
|
echo $(ALLFILES) > java.files
|
||||||
cscope -b -i java.files -f java.out
|
cscope -b -i java.files -f java.out
|
||||||
|
rm -f java.files
|
||||||
|
|
||||||
.PHONY: sa.jar
|
.PHONY: sa.jar
|
||||||
sa.jar:
|
sa.jar:
|
||||||
rm -f $(BUILD_DIR)/sa.jar
|
rm -f $(BUILD_DIR)/sa.jar
|
||||||
mkdir -p $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources
|
|
||||||
rm -f $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/*
|
|
||||||
cp $(SRC_DIR)/sun/jvm/hotspot/ui/resources/*.png $(OUTPUT_DIR)/sun/jvm/hotspot/ui/resources/
|
|
||||||
cd $(OUTPUT_DIR) ; jar cvf ../sa.jar *
|
cd $(OUTPUT_DIR) ; jar cvf ../sa.jar *
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
REM
|
REM
|
||||||
REM Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.
|
REM Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
REM
|
REM
|
||||||
REM This code is free software; you can redistribute it and/or modify it
|
REM This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -22,4 +22,4 @@ REM have any questions.
|
|||||||
REM
|
REM
|
||||||
REM
|
REM
|
||||||
|
|
||||||
java -showversion -cp ..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar sun.jvm.hotspot.bugspot.Main
|
java -showversion -cp ..\build\classes;..\src\share\lib\js.jar;.\sa.jar;lib\js.jar sun.jvm.hotspot.bugspot.Main
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ FIND=$MKS_HOME/find
|
|||||||
SED=$MKS_HOME/sed
|
SED=$MKS_HOME/sed
|
||||||
SORT=$MKS_HOME/sort
|
SORT=$MKS_HOME/sort
|
||||||
|
|
||||||
$CD ../src/share/classes; $FIND sun/jvm/hotspot \( -name SCCS -prune \) -o -type d -print | $SED -e 's/\//./g' | $SORT > ../../../make/pkglist.txt
|
$CD ../src/share/classes; $FIND sun/jvm/hotspot com/sun/java/swing -type d -print | $SED -e 's/\//./g' | $SORT > ../../../make/pkglist.txt
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!--
|
<!--
|
||||||
Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved.
|
Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
|
||||||
This code is free software; you can redistribute it and/or modify it
|
This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -42,7 +42,6 @@
|
|||||||
|
|
||||||
<property name="app.name" value="sa"/>
|
<property name="app.name" value="sa"/>
|
||||||
<property name="dist.jar" value="${app.name}.jar"/>
|
<property name="dist.jar" value="${app.name}.jar"/>
|
||||||
<property name="libs" value="../src/share/lib"/>
|
|
||||||
<property name="classes" value="../build/classes"/>
|
<property name="classes" value="../build/classes"/>
|
||||||
|
|
||||||
<!-- The "prepare" target is used to construct the deployment home
|
<!-- The "prepare" target is used to construct the deployment home
|
||||||
@@ -83,11 +82,6 @@
|
|||||||
home directory structure will be created if needed the first time.
|
home directory structure will be created if needed the first time.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<path id="javac.classpath">
|
|
||||||
<pathelement path="${libs}/maf-1_0.jar" />
|
|
||||||
<pathelement path="${libs}/jlfgr-1_0.jar" />
|
|
||||||
</path>
|
|
||||||
|
|
||||||
<target name="compile" depends="prepare" description="Compiles the sources">
|
<target name="compile" depends="prepare" description="Compiles the sources">
|
||||||
<javac srcdir="../src/share/classes"
|
<javac srcdir="../src/share/classes"
|
||||||
destdir="${classes}"
|
destdir="${classes}"
|
||||||
@@ -110,6 +104,18 @@
|
|||||||
<copy todir="${classes}/sun/jvm/hotspot/ui/resources">
|
<copy todir="${classes}/sun/jvm/hotspot/ui/resources">
|
||||||
<fileset dir="../src/share/classes/sun/jvm/hotspot/ui/resources" includes="*.png" />
|
<fileset dir="../src/share/classes/sun/jvm/hotspot/ui/resources" includes="*.png" />
|
||||||
</copy>
|
</copy>
|
||||||
|
<copy todir="${classes}/toolbarButtonGraphics/development/">
|
||||||
|
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/development/" includes="*.gif" />
|
||||||
|
</copy>
|
||||||
|
<copy todir="${classes}/toolbarButtonGraphics/general/">
|
||||||
|
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/general/" includes="*.gif" />
|
||||||
|
</copy>
|
||||||
|
<copy todir="${classes}/toolbarButtonGraphics/navigation/">
|
||||||
|
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/navigation/" includes="*.gif" />
|
||||||
|
</copy>
|
||||||
|
<copy todir="${classes}/toolbarButtonGraphics/text/">
|
||||||
|
<fileset dir="../src/share/classes/images/toolbarButtonGraphics/text/" includes="*.gif" />
|
||||||
|
</copy>
|
||||||
|
|
||||||
<jar jarfile="${classes}/${dist.jar}"
|
<jar jarfile="${classes}/${dist.jar}"
|
||||||
basedir="${classes}"/>
|
basedir="${classes}"/>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
REM
|
REM
|
||||||
REM Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.
|
REM Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
REM
|
REM
|
||||||
REM This code is free software; you can redistribute it and/or modify it
|
REM This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -22,4 +22,4 @@ REM have any questions.
|
|||||||
REM
|
REM
|
||||||
REM
|
REM
|
||||||
|
|
||||||
java -showversion -cp ..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar sun.jvm.hotspot.HSDB %1 %2
|
java -showversion -cp ..\build\classes;..\src\share\lib\js.jar;.\sa.jar;lib\js.jar sun.jvm.hotspot.HSDB %1 %2
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright 2002-2003 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -29,4 +29,4 @@ if [ "x$SA_JAVA" = "x" ]; then
|
|||||||
SA_JAVA=java
|
SA_JAVA=java
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$SA_JAVA -showversion -cp $STARTDIR/../build/classes:$STARTDIR/../src/share/lib/maf-1_0.jar:$STARTDIR/../src/share/lib/jlfgr-1_0.jar:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/maf-1_0.jar:$STARTDIR/lib/jlfgr-1_0.jar:$STARTDIR/lib/js.jar sun.jvm.hotspot.HSDB $*
|
$SA_JAVA -showversion -cp $STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar sun.jvm.hotspot.HSDB $*
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
REM
|
REM
|
||||||
REM Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
|
REM Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
REM
|
REM
|
||||||
REM This code is free software; you can redistribute it and/or modify it
|
REM This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -39,7 +39,7 @@ set SA_JAVA=java
|
|||||||
|
|
||||||
:sa_java_set
|
:sa_java_set
|
||||||
|
|
||||||
set SA_CLASSPATH=..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar
|
set SA_CLASSPATH=..\build\classes;..\src\share\lib\js.jar;sa.jar;lib\js.jar
|
||||||
|
|
||||||
set SA_LIBPATH=..\src\os\win32\windbg\i386;.\win32\i386
|
set SA_LIBPATH=..\src\os\win32\windbg\i386;.\win32\i386
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -58,7 +58,7 @@ if [ "x$SA_DISABLE_VERS_CHK" != "x" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/maf-1_0.jar:$STARTDIR/../src/share/lib/jlfgr-1_0.jar:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/maf-1_0.jar:$STARTDIR/lib/jlfgr-1_0.jar:$STARTDIR/lib/js.jar
|
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/js.jar
|
||||||
|
|
||||||
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
|
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
REM
|
REM
|
||||||
REM Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
|
REM Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
REM
|
REM
|
||||||
REM This code is free software; you can redistribute it and/or modify it
|
REM This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -43,7 +43,7 @@ set SA_JAVA=java
|
|||||||
|
|
||||||
:sa_java_set
|
:sa_java_set
|
||||||
|
|
||||||
set SA_CLASSPATH=..\build\classes;..\src\share\lib\maf-1_0.jar;..\src\share\lib\jlfgr-1_0.jar;..\src\share\lib\js.jar;sa.jar;lib\maf-1_0.jar;lib\jlfgr-1_0.jar;lib\js.jar
|
set SA_CLASSPATH=..\build\classes;..\src\share\lib\js.jar;sa.jar;lib\js.jar
|
||||||
|
|
||||||
REM For now, only AMD-64, IA-64 stack walking is not working anyway
|
REM For now, only AMD-64, IA-64 stack walking is not working anyway
|
||||||
set SA_LIBPATH=.\src\os\win32\windbg\amd64;.\win32\amd64
|
set SA_LIBPATH=.\src\os\win32\windbg\amd64;.\win32\amd64
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
|
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@@ -55,7 +55,7 @@ if [ "x$SA_DISABLE_VERS_CHK" != "x" ]; then
|
|||||||
OPTIONS="-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck ${OPTIONS}"
|
OPTIONS="-Dsun.jvm.hotspot.runtime.VM.disableVersionCheck ${OPTIONS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/maf-1_0.jar:$STARTDIR/../src/share/lib/jlfgr-1_0.jar:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar:$STARTDIR/lib/maf-1_0.jar:$STARTDIR/lib/jlfgr-1_0.jar:$STARTDIR/lib/js.jar
|
SA_CLASSPATH=$STARTDIR/../build/classes:$STARTDIR/../src/share/lib/js.jar:$STARTDIR/sa.jar::$STARTDIR/lib/js.jar
|
||||||
|
|
||||||
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
|
OPTIONS="-Djava.system.class.loader=sun.jvm.hotspot.SALauncherLoader ${OPTIONS}"
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class AboutAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public AboutAction()
|
||||||
|
{
|
||||||
|
this("general/About16.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
public AboutAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("About...", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "about-command");
|
||||||
|
putValue("ShortDescription", "About...");
|
||||||
|
putValue("LongDescription", "System information and version of the application.");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "about-command";
|
||||||
|
public static final String VALUE_NAME = "About...";
|
||||||
|
public static final String VALUE_SMALL_ICON = "general/About16.gif";
|
||||||
|
public static final String VALUE_LARGE_ICON = "general/About24.gif";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(65);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "About...";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "System information and version of the application.";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import java.util.HashMap;
|
||||||
|
import javax.swing.Action;
|
||||||
|
import javax.swing.ImageIcon;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, StateChangeAction, ActionUtilities
|
||||||
|
|
||||||
|
public abstract class ActionManager
|
||||||
|
{
|
||||||
|
|
||||||
|
protected ActionManager()
|
||||||
|
{
|
||||||
|
actions = new HashMap();
|
||||||
|
addActions();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static ActionManager getInstance()
|
||||||
|
{
|
||||||
|
return manager;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected abstract void addActions();
|
||||||
|
|
||||||
|
protected void addAction(String cmdname, Action action)
|
||||||
|
{
|
||||||
|
actions.put(cmdname, action);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Action getAction(String key)
|
||||||
|
{
|
||||||
|
return (Action)actions.get(key);
|
||||||
|
}
|
||||||
|
|
||||||
|
public DelegateAction getDelegateAction(String name)
|
||||||
|
{
|
||||||
|
Action a = getAction(name);
|
||||||
|
if(a instanceof DelegateAction)
|
||||||
|
return (DelegateAction)a;
|
||||||
|
else
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public StateChangeAction getStateChangeAction(String name)
|
||||||
|
{
|
||||||
|
Action a = getAction(name);
|
||||||
|
if(a instanceof StateChangeAction)
|
||||||
|
return (StateChangeAction)a;
|
||||||
|
else
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static ImageIcon getIcon(String name)
|
||||||
|
{
|
||||||
|
return utilities.getIcon(name);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setActionEnabled(String name, boolean enabled)
|
||||||
|
{
|
||||||
|
Action action = getAction(name);
|
||||||
|
if(action != null)
|
||||||
|
action.setEnabled(enabled);
|
||||||
|
}
|
||||||
|
|
||||||
|
private HashMap actions;
|
||||||
|
private static ActionUtilities utilities = new ActionUtilities();
|
||||||
|
protected static ActionManager manager;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.ImageIcon;
|
||||||
|
|
||||||
|
class ActionUtilities
|
||||||
|
{
|
||||||
|
|
||||||
|
ActionUtilities()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public ImageIcon getIcon(String name)
|
||||||
|
{
|
||||||
|
String imagePath = "/toolbarButtonGraphics/" + name;
|
||||||
|
java.net.URL url = getClass().getResource(imagePath);
|
||||||
|
if(url != null)
|
||||||
|
return new ImageIcon(url);
|
||||||
|
else
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String IMAGE_DIR = "/toolbarButtonGraphics/";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// StateChangeAction, ActionManager
|
||||||
|
|
||||||
|
public class AlignCenterAction extends StateChangeAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public AlignCenterAction()
|
||||||
|
{
|
||||||
|
this("text/AlignCenter16.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
public AlignCenterAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Center", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "align-center-command");
|
||||||
|
putValue("ShortDescription", "Center");
|
||||||
|
putValue("LongDescription", "Adjust the placement of text to the center of the line");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "align-center-command";
|
||||||
|
public static final String VALUE_NAME = "Center";
|
||||||
|
public static final String VALUE_SMALL_ICON = "text/AlignCenter16.gif";
|
||||||
|
public static final String VALUE_LARGE_ICON = "text/AlignCenter24.gif";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(78);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(69, 2);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Center";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Adjust the placement of text to the center of the line";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// StateChangeAction, ActionManager
|
||||||
|
|
||||||
|
public class AlignLeftAction extends StateChangeAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public AlignLeftAction()
|
||||||
|
{
|
||||||
|
this("text/AlignLeft16.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
public AlignLeftAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Left Align", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "align-left-command");
|
||||||
|
putValue("ShortDescription", "Left Align");
|
||||||
|
putValue("LongDescription", "Adjust the placement of text along the left edge");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "align-left-command";
|
||||||
|
public static final String VALUE_NAME = "Left Align";
|
||||||
|
public static final String VALUE_SMALL_ICON = "text/AlignLeft16.gif";
|
||||||
|
public static final String VALUE_LARGE_ICON = "text/AlignLeft24.gif";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(76);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(76, 2);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Left Align";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Adjust the placement of text along the left edge";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// StateChangeAction, ActionManager
|
||||||
|
|
||||||
|
public class AlignRightAction extends StateChangeAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public AlignRightAction()
|
||||||
|
{
|
||||||
|
this("text/AlignRight16.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
public AlignRightAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Right Align", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "align-right-command");
|
||||||
|
putValue("ShortDescription", "Right Align");
|
||||||
|
putValue("LongDescription", "Adjust the placement of text along the right edge");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "align-right-command";
|
||||||
|
public static final String VALUE_NAME = "Right Align";
|
||||||
|
public static final String VALUE_SMALL_ICON = "text/AlignRight16.gif";
|
||||||
|
public static final String VALUE_LARGE_ICON = "text/AlignRight24.gif";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(82);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(82, 2);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Right Align";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Adjust the placement of text along the right edge";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class ApplyAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public ApplyAction()
|
||||||
|
{
|
||||||
|
this(VALUE_SMALL_ICON);
|
||||||
|
}
|
||||||
|
|
||||||
|
public ApplyAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Apply", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "apply-command");
|
||||||
|
putValue("ShortDescription", "Apply the activity");
|
||||||
|
putValue("LongDescription", "Apply the activity");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "apply-command";
|
||||||
|
public static final String VALUE_NAME = "Apply";
|
||||||
|
public static final String VALUE_SMALL_ICON = null;
|
||||||
|
public static final String VALUE_LARGE_ICON = null;
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(65);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Apply the activity";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Apply the activity";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class BackAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public BackAction()
|
||||||
|
{
|
||||||
|
this(VALUE_SMALL_ICON);
|
||||||
|
}
|
||||||
|
|
||||||
|
public BackAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("< Back", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "back-command");
|
||||||
|
putValue("ShortDescription", "Select previous item");
|
||||||
|
putValue("LongDescription", "Select previous item");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "back-command";
|
||||||
|
public static final String VALUE_NAME = "< Back";
|
||||||
|
public static final String VALUE_SMALL_ICON = null;
|
||||||
|
public static final String VALUE_LARGE_ICON = null;
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(66);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Select previous item";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Select previous item";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class CancelAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public CancelAction()
|
||||||
|
{
|
||||||
|
this(VALUE_SMALL_ICON);
|
||||||
|
}
|
||||||
|
|
||||||
|
public CancelAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Cancel", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "cancel-command");
|
||||||
|
putValue("ShortDescription", "Cancels the action");
|
||||||
|
putValue("LongDescription", "Cancels the action");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "cancel-command";
|
||||||
|
public static final String VALUE_NAME = "Cancel";
|
||||||
|
public static final String VALUE_SMALL_ICON = null;
|
||||||
|
public static final String VALUE_LARGE_ICON = null;
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(67);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Cancels the action";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Cancels the action";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
import javax.swing.Icon;
|
||||||
|
|
||||||
|
public abstract class DelegateAction extends AbstractAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public DelegateAction(String name, Icon icon)
|
||||||
|
{
|
||||||
|
super(name, icon);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void addActionListener(ActionListener listener)
|
||||||
|
{
|
||||||
|
this.listener = listener;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void removeActionListener(ActionListener listener)
|
||||||
|
{
|
||||||
|
this.listener = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ActionListener[] getActionListeners()
|
||||||
|
{
|
||||||
|
return (new ActionListener[] {
|
||||||
|
listener
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
if(listener != null)
|
||||||
|
listener.actionPerformed(evt);
|
||||||
|
}
|
||||||
|
|
||||||
|
private ActionListener listener;
|
||||||
|
}
|
||||||
@@ -0,0 +1,55 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class ExitAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public ExitAction()
|
||||||
|
{
|
||||||
|
super("Exit", ActionManager.getIcon(VALUE_SMALL_ICON));
|
||||||
|
putValue("ActionCommandKey", "exit-command");
|
||||||
|
putValue("ShortDescription", "Exits the application");
|
||||||
|
putValue("LongDescription", "Exits the application");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "exit-command";
|
||||||
|
public static final String VALUE_NAME = "Exit";
|
||||||
|
public static final String VALUE_SMALL_ICON = null;
|
||||||
|
public static final String VALUE_LARGE_ICON = null;
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(88);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Exits the application";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Exits the application";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
|
||||||
|
public class FileMenu extends AbstractAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public FileMenu()
|
||||||
|
{
|
||||||
|
super("File");
|
||||||
|
putValue("ActionCommandKey", "file-menu-command");
|
||||||
|
putValue("ShortDescription", "File operations");
|
||||||
|
putValue("LongDescription", "File operations");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent actionevent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "file-menu-command";
|
||||||
|
public static final String VALUE_NAME = "File";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(70);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "File operations";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "File operations";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class FinishAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public FinishAction()
|
||||||
|
{
|
||||||
|
this(VALUE_SMALL_ICON);
|
||||||
|
}
|
||||||
|
|
||||||
|
public FinishAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Finish", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "finish-command");
|
||||||
|
putValue("ShortDescription", "Finish the activity");
|
||||||
|
putValue("LongDescription", "Finish the activity");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "finish-command";
|
||||||
|
public static final String VALUE_NAME = "Finish";
|
||||||
|
public static final String VALUE_SMALL_ICON = null;
|
||||||
|
public static final String VALUE_LARGE_ICON = null;
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(70);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Finish the activity";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Finish the activity";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class HelpAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public HelpAction()
|
||||||
|
{
|
||||||
|
this("general/Help16.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
public HelpAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Help", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "help-command");
|
||||||
|
putValue("ShortDescription", "Help...");
|
||||||
|
putValue("LongDescription", "Provide information which may aid the user.");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "help-command";
|
||||||
|
public static final String VALUE_NAME = "Help";
|
||||||
|
public static final String VALUE_SMALL_ICON = "general/Help16.gif";
|
||||||
|
public static final String VALUE_LARGE_ICON = "general/Help24.gif";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(72);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(112, 0);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Help...";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Provide information which may aid the user.";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
|
||||||
|
public class HelpMenu extends AbstractAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public HelpMenu()
|
||||||
|
{
|
||||||
|
super("Help");
|
||||||
|
putValue("ActionCommandKey", "help-menu-command");
|
||||||
|
putValue("ShortDescription", "Help operations");
|
||||||
|
putValue("LongDescription", "Help operations");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent actionevent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "help-menu-command";
|
||||||
|
public static final String VALUE_NAME = "Help";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(72);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Help operations";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Help operations";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class NewAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public NewAction()
|
||||||
|
{
|
||||||
|
this("general/New16.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
public NewAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("New", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "new-command");
|
||||||
|
putValue("ShortDescription", "Create a new object.");
|
||||||
|
putValue("LongDescription", "Create a new object.");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "new-command";
|
||||||
|
public static final String VALUE_NAME = "New";
|
||||||
|
public static final String VALUE_SMALL_ICON = "general/New16.gif";
|
||||||
|
public static final String VALUE_LARGE_ICON = "general/New24.gif";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(78);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(78, 2);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Create a new object.";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Create a new object.";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class NextAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public NextAction()
|
||||||
|
{
|
||||||
|
this(VALUE_SMALL_ICON);
|
||||||
|
}
|
||||||
|
|
||||||
|
public NextAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Next >", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "next-command");
|
||||||
|
putValue("ShortDescription", "Select next item");
|
||||||
|
putValue("LongDescription", "Select next item");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "next-command";
|
||||||
|
public static final String VALUE_NAME = "Next >";
|
||||||
|
public static final String VALUE_SMALL_ICON = null;
|
||||||
|
public static final String VALUE_LARGE_ICON = null;
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(78);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Select next item";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Select next item";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class OkAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public OkAction()
|
||||||
|
{
|
||||||
|
this(VALUE_SMALL_ICON);
|
||||||
|
}
|
||||||
|
|
||||||
|
public OkAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("OK", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "ok-command");
|
||||||
|
putValue("ShortDescription", "Acknowleges the action");
|
||||||
|
putValue("LongDescription", "Acknowleges the action");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "ok-command";
|
||||||
|
public static final String VALUE_NAME = "OK";
|
||||||
|
public static final String VALUE_SMALL_ICON = null;
|
||||||
|
public static final String VALUE_LARGE_ICON = null;
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(79);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = null;
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Acknowleges the action";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Acknowleges the action";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class OpenAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public OpenAction()
|
||||||
|
{
|
||||||
|
this("general/Open16.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
public OpenAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Open...", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "open-command");
|
||||||
|
putValue("ShortDescription", "Open the specified object.");
|
||||||
|
putValue("LongDescription", "Open the specified object.");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "open-command";
|
||||||
|
public static final String VALUE_NAME = "Open...";
|
||||||
|
public static final String VALUE_SMALL_ICON = "general/Open16.gif";
|
||||||
|
public static final String VALUE_LARGE_ICON = "general/Open24.gif";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(79);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(79, 2);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Open the specified object.";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Open the specified object.";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import javax.swing.KeyStroke;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class SaveAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public SaveAction()
|
||||||
|
{
|
||||||
|
this("general/Save16.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
public SaveAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Save", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "save-command");
|
||||||
|
putValue("ShortDescription", "Commit changes to a permanent storage area");
|
||||||
|
putValue("LongDescription", "Commit changes to a permanent storage area");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
putValue("AcceleratorKey", VALUE_ACCELERATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "save-command";
|
||||||
|
public static final String VALUE_NAME = "Save";
|
||||||
|
public static final String VALUE_SMALL_ICON = "general/Save16.gif";
|
||||||
|
public static final String VALUE_LARGE_ICON = "general/Save24.gif";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(83);
|
||||||
|
public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(83, 2);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Commit changes to a permanent storage area";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Commit changes to a permanent storage area";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction, ActionManager
|
||||||
|
|
||||||
|
public class SaveAsAction extends DelegateAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public SaveAsAction()
|
||||||
|
{
|
||||||
|
this("general/SaveAs16.gif");
|
||||||
|
}
|
||||||
|
|
||||||
|
public SaveAsAction(String iconPath)
|
||||||
|
{
|
||||||
|
super("Save As", ActionManager.getIcon(iconPath));
|
||||||
|
putValue("ActionCommandKey", "save-as-command");
|
||||||
|
putValue("ShortDescription", "Save as a new file");
|
||||||
|
putValue("LongDescription", "Saves the current object as another object");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "save-as-command";
|
||||||
|
public static final String VALUE_NAME = "Save As";
|
||||||
|
public static final String VALUE_SMALL_ICON = "general/SaveAs16.gif";
|
||||||
|
public static final String VALUE_LARGE_ICON = "general/SaveAs24.gif";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(65);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "Save as a new file";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "Saves the current object as another object";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,88 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import java.awt.event.ItemEvent;
|
||||||
|
import java.awt.event.ItemListener;
|
||||||
|
import javax.swing.Icon;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.action:
|
||||||
|
// DelegateAction
|
||||||
|
|
||||||
|
public abstract class StateChangeAction extends DelegateAction
|
||||||
|
implements ItemListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public StateChangeAction(String name)
|
||||||
|
{
|
||||||
|
super(name, null);
|
||||||
|
selected = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public StateChangeAction(String name, Icon icon)
|
||||||
|
{
|
||||||
|
super(name, icon);
|
||||||
|
selected = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSelected()
|
||||||
|
{
|
||||||
|
return selected;
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void setSelected(boolean newValue)
|
||||||
|
{
|
||||||
|
boolean oldValue = selected;
|
||||||
|
if(oldValue != newValue)
|
||||||
|
{
|
||||||
|
selected = newValue;
|
||||||
|
firePropertyChange("selected", Boolean.valueOf(oldValue), Boolean.valueOf(newValue));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setItemListener(ItemListener listener)
|
||||||
|
{
|
||||||
|
this.listener = listener;
|
||||||
|
}
|
||||||
|
|
||||||
|
public ItemListener getItemListener()
|
||||||
|
{
|
||||||
|
return listener;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void itemStateChanged(ItemEvent evt)
|
||||||
|
{
|
||||||
|
if(evt.getStateChange() == 1)
|
||||||
|
setSelected(true);
|
||||||
|
else
|
||||||
|
setSelected(false);
|
||||||
|
if(listener != null)
|
||||||
|
listener.itemStateChanged(evt);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected boolean selected;
|
||||||
|
private ItemListener listener;
|
||||||
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.action;
|
||||||
|
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import javax.swing.AbstractAction;
|
||||||
|
|
||||||
|
public class ViewMenu extends AbstractAction
|
||||||
|
{
|
||||||
|
|
||||||
|
public ViewMenu()
|
||||||
|
{
|
||||||
|
super("View");
|
||||||
|
putValue("ActionCommandKey", "view-menu-command");
|
||||||
|
putValue("ShortDescription", "View operations");
|
||||||
|
putValue("LongDescription", "View operations");
|
||||||
|
putValue("MnemonicKey", VALUE_MNEMONIC);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent actionevent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String VALUE_COMMAND = "view-menu-command";
|
||||||
|
public static final String VALUE_NAME = "View";
|
||||||
|
public static final Integer VALUE_MNEMONIC = new Integer(86);
|
||||||
|
public static final String VALUE_SHORT_DESCRIPTION = "View operations";
|
||||||
|
public static final String VALUE_LONG_DESCRIPTION = "View operations";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,108 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import com.sun.java.swing.action.ActionManager;
|
||||||
|
import com.sun.java.swing.action.StateChangeAction;
|
||||||
|
import javax.swing.*;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.ui:
|
||||||
|
// ToggleActionPropertyChangeListener, StatusBar
|
||||||
|
|
||||||
|
public abstract class CommonMenuBar extends JMenuBar
|
||||||
|
{
|
||||||
|
|
||||||
|
protected CommonMenuBar(ActionManager manager)
|
||||||
|
{
|
||||||
|
this(manager, StatusBar.getInstance());
|
||||||
|
}
|
||||||
|
|
||||||
|
protected CommonMenuBar(ActionManager manager, StatusBar status)
|
||||||
|
{
|
||||||
|
this.manager = manager;
|
||||||
|
statusBar = status;
|
||||||
|
configureMenu();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected abstract void configureMenu();
|
||||||
|
|
||||||
|
protected void configureToggleMenuItem(JMenuItem menuItem, Action action)
|
||||||
|
{
|
||||||
|
configureMenuItem(menuItem, action);
|
||||||
|
action.addPropertyChangeListener(new ToggleActionPropertyChangeListener(menuItem));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void configureMenuItem(JMenuItem menuItem, Action action)
|
||||||
|
{
|
||||||
|
menuItem.addMouseListener(statusBar);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected JMenu createMenu(String name, char mnemonic)
|
||||||
|
{
|
||||||
|
JMenu menu = new JMenu(name);
|
||||||
|
menu.setMnemonic(mnemonic);
|
||||||
|
return menu;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addMenuItem(JMenu menu, Action action)
|
||||||
|
{
|
||||||
|
JMenuItem menuItem = menu.add(action);
|
||||||
|
configureMenuItem(menuItem, action);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addCheckBoxMenuItem(JMenu menu, StateChangeAction a)
|
||||||
|
{
|
||||||
|
addCheckBoxMenuItem(menu, a, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addCheckBoxMenuItem(JMenu menu, StateChangeAction a, boolean selected)
|
||||||
|
{
|
||||||
|
JCheckBoxMenuItem mi = new JCheckBoxMenuItem(a);
|
||||||
|
mi.addItemListener(a);
|
||||||
|
mi.setSelected(selected);
|
||||||
|
menu.add(mi);
|
||||||
|
configureToggleMenuItem(mi, a);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addRadioButtonMenuItem(JMenu menu, ButtonGroup group, StateChangeAction a)
|
||||||
|
{
|
||||||
|
addRadioButtonMenuItem(menu, group, a, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addRadioButtonMenuItem(JMenu menu, ButtonGroup group, StateChangeAction a, boolean selected)
|
||||||
|
{
|
||||||
|
JRadioButtonMenuItem mi = new JRadioButtonMenuItem(a);
|
||||||
|
mi.addItemListener(a);
|
||||||
|
mi.setSelected(selected);
|
||||||
|
menu.add(mi);
|
||||||
|
if(group != null)
|
||||||
|
group.add(mi);
|
||||||
|
configureToggleMenuItem(mi, a);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected ActionManager manager;
|
||||||
|
private StatusBar statusBar;
|
||||||
|
}
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import com.sun.java.swing.action.ActionManager;
|
||||||
|
import com.sun.java.swing.action.StateChangeAction;
|
||||||
|
import java.awt.Dimension;
|
||||||
|
import java.awt.Insets;
|
||||||
|
import javax.swing.*;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.ui:
|
||||||
|
// ToggleActionPropertyChangeListener, StatusBar, CommonUI
|
||||||
|
|
||||||
|
public abstract class CommonToolBar extends JToolBar
|
||||||
|
{
|
||||||
|
|
||||||
|
protected CommonToolBar(ActionManager manager)
|
||||||
|
{
|
||||||
|
this(manager, StatusBar.getInstance());
|
||||||
|
}
|
||||||
|
|
||||||
|
protected CommonToolBar(ActionManager manager, StatusBar status)
|
||||||
|
{
|
||||||
|
this.manager = manager;
|
||||||
|
statusBar = status;
|
||||||
|
buttonSize = new Dimension(CommonUI.buttconPrefSize);
|
||||||
|
buttonInsets = new Insets(0, 0, 0, 0);
|
||||||
|
addComponents();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected abstract void addComponents();
|
||||||
|
|
||||||
|
protected void addButton(Action action)
|
||||||
|
{
|
||||||
|
javax.swing.JButton button = add(action);
|
||||||
|
configureButton(button, action);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addToggleButton(StateChangeAction a)
|
||||||
|
{
|
||||||
|
addToggleButton(a, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void addToggleButton(StateChangeAction a, ButtonGroup group)
|
||||||
|
{
|
||||||
|
JToggleButton button = new JToggleButton(a);
|
||||||
|
button.addItemListener(a);
|
||||||
|
button.setSelected(a.isSelected());
|
||||||
|
if(group != null)
|
||||||
|
group.add(button);
|
||||||
|
add(button);
|
||||||
|
configureToggleButton(button, a);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void configureToggleButton(JToggleButton button, Action action)
|
||||||
|
{
|
||||||
|
configureButton(button, action);
|
||||||
|
action.addPropertyChangeListener(new ToggleActionPropertyChangeListener(button));
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void configureButton(AbstractButton button, Action action)
|
||||||
|
{
|
||||||
|
button.setToolTipText((String)action.getValue("Name"));
|
||||||
|
button.setText("");
|
||||||
|
button.addMouseListener(statusBar);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected ActionManager manager;
|
||||||
|
private Dimension buttonSize;
|
||||||
|
private Insets buttonInsets;
|
||||||
|
private StatusBar statusBar;
|
||||||
|
}
|
||||||
@@ -0,0 +1,392 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import java.awt.*;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.awt.event.KeyListener;
|
||||||
|
import java.util.StringTokenizer;
|
||||||
|
import java.util.Vector;
|
||||||
|
import javax.swing.*;
|
||||||
|
import javax.swing.border.Border;
|
||||||
|
import javax.swing.text.*;
|
||||||
|
|
||||||
|
public class CommonUI
|
||||||
|
{
|
||||||
|
private static class NumberDocument extends PlainDocument
|
||||||
|
{
|
||||||
|
|
||||||
|
public void insertString(int offs, String str, AttributeSet atts)
|
||||||
|
throws BadLocationException
|
||||||
|
{
|
||||||
|
if(!Character.isDigit(str.charAt(0)))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
super.insertString(offs, str, atts);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private NumberDocument()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public CommonUI()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JLabel createLabel(String text, int mnemonic, Component comp)
|
||||||
|
{
|
||||||
|
JLabel label = new JLabel(" " + text);
|
||||||
|
label.setMinimumSize(labelPrefSize);
|
||||||
|
if(mnemonic != -1)
|
||||||
|
label.setDisplayedMnemonic(mnemonic);
|
||||||
|
if(comp != null)
|
||||||
|
label.setLabelFor(comp);
|
||||||
|
if(text.length() == 0)
|
||||||
|
label.setPreferredSize(labelPrefSize);
|
||||||
|
return label;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JLabel createLabel(String text)
|
||||||
|
{
|
||||||
|
return createLabel(text, -1, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JTextField createTextField(String text, KeyListener listener, boolean numbers)
|
||||||
|
{
|
||||||
|
JTextField field = new JTextField(text);
|
||||||
|
field.setMinimumSize(textPrefSize);
|
||||||
|
if(text.length() == 0)
|
||||||
|
field.setPreferredSize(textPrefSize);
|
||||||
|
if(listener != null)
|
||||||
|
field.addKeyListener(listener);
|
||||||
|
if(numbers)
|
||||||
|
field.setDocument(new NumberDocument());
|
||||||
|
return field;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JTextField createTextField(String text, boolean numbers)
|
||||||
|
{
|
||||||
|
return createTextField(text, null, numbers);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JTextField createTextField(String text, KeyListener listener)
|
||||||
|
{
|
||||||
|
return createTextField(text, listener, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JTextField createTextField(String text)
|
||||||
|
{
|
||||||
|
return createTextField(text, null, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JRadioButton createRadioButton(String text, int mnemonic, ActionListener listener, boolean selected)
|
||||||
|
{
|
||||||
|
JRadioButton button = new JRadioButton(text);
|
||||||
|
button.setMnemonic(mnemonic);
|
||||||
|
button.setSelected(selected);
|
||||||
|
button.setMinimumSize(labelPrefSize);
|
||||||
|
if(listener != null)
|
||||||
|
button.addActionListener(listener);
|
||||||
|
if(text.length() == 0)
|
||||||
|
button.setPreferredSize(labelPrefSize);
|
||||||
|
return button;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JRadioButton createRadioButton(String text, int mnemonic, boolean selected)
|
||||||
|
{
|
||||||
|
return createRadioButton(text, mnemonic, null, selected);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JRadioButton createRadioButton(String text, int mnemonic, ActionListener listener)
|
||||||
|
{
|
||||||
|
return createRadioButton(text, mnemonic, listener, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JRadioButton createRadioButton(String text, int mnemonic)
|
||||||
|
{
|
||||||
|
return createRadioButton(text, mnemonic, null, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JRadioButton createRadioButton(String text)
|
||||||
|
{
|
||||||
|
return createRadioButton(text, -1, null, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JCheckBox createCheckBox(String text, int mnemonic, ActionListener listener, boolean selected)
|
||||||
|
{
|
||||||
|
JCheckBox checkbox = new JCheckBox(text);
|
||||||
|
checkbox.setMinimumSize(labelPrefSize);
|
||||||
|
if(mnemonic != -1)
|
||||||
|
checkbox.setMnemonic(mnemonic);
|
||||||
|
checkbox.setSelected(selected);
|
||||||
|
if(text.length() == 0)
|
||||||
|
checkbox.setPreferredSize(labelPrefSize);
|
||||||
|
if(listener != null)
|
||||||
|
checkbox.addActionListener(listener);
|
||||||
|
return checkbox;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JCheckBox createCheckBox(String text, int mnemonic, ActionListener listener)
|
||||||
|
{
|
||||||
|
return createCheckBox(text, mnemonic, listener, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JCheckBox createCheckBox(String text, int mnemonic, boolean selected)
|
||||||
|
{
|
||||||
|
return createCheckBox(text, mnemonic, null, selected);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JCheckBox createCheckBox(String text, int mnemonic)
|
||||||
|
{
|
||||||
|
return createCheckBox(text, mnemonic, null, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JCheckBox createCheckBox(String text)
|
||||||
|
{
|
||||||
|
return createCheckBox(text, -1, null, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JComboBox createComboBox(Object items[], ActionListener listener, boolean editable)
|
||||||
|
{
|
||||||
|
JComboBox comboBox = new JComboBox(items);
|
||||||
|
if(listener != null)
|
||||||
|
comboBox.addActionListener(listener);
|
||||||
|
comboBox.setEditable(editable);
|
||||||
|
return comboBox;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JComboBox createComboBox(Object items[], boolean editable)
|
||||||
|
{
|
||||||
|
return createComboBox(items, null, editable);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JComboBox createComboBox(Vector items, ActionListener listener, boolean editable)
|
||||||
|
{
|
||||||
|
JComboBox comboBox = new JComboBox(items);
|
||||||
|
if(listener != null)
|
||||||
|
comboBox.addActionListener(listener);
|
||||||
|
comboBox.setEditable(editable);
|
||||||
|
return comboBox;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JComboBox createComboBox(Vector items, boolean editable)
|
||||||
|
{
|
||||||
|
return createComboBox(items, null, editable);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JButton createButton(Action action)
|
||||||
|
{
|
||||||
|
JButton button = new JButton(action);
|
||||||
|
setButtonSize(button, buttonPrefSize);
|
||||||
|
return button;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JButton createButton(String text, ActionListener listener, int mnemonic)
|
||||||
|
{
|
||||||
|
JButton button = new JButton(text);
|
||||||
|
if(listener != null)
|
||||||
|
button.addActionListener(listener);
|
||||||
|
if(mnemonic != -1)
|
||||||
|
button.setMnemonic(mnemonic);
|
||||||
|
setButtonSize(button, buttonPrefSize);
|
||||||
|
return button;
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void setButtonSize(JButton button, Dimension size)
|
||||||
|
{
|
||||||
|
String text = button.getText();
|
||||||
|
button.setMinimumSize(size);
|
||||||
|
if(text.length() == 0)
|
||||||
|
{
|
||||||
|
button.setPreferredSize(size);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
Dimension psize = button.getPreferredSize();
|
||||||
|
if(psize.width < size.width)
|
||||||
|
button.setPreferredSize(size);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JButton createButton(String text, ActionListener listener)
|
||||||
|
{
|
||||||
|
return createButton(text, listener, -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JButton createSmallButton(String text, ActionListener listener, int mnemonic)
|
||||||
|
{
|
||||||
|
JButton button = createButton(text, listener, mnemonic);
|
||||||
|
setButtonSize(button, smbuttonPrefSize);
|
||||||
|
return button;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JButton createSmallButton(String text, ActionListener listener)
|
||||||
|
{
|
||||||
|
return createSmallButton(text, listener, -1);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Border createBorder(String text)
|
||||||
|
{
|
||||||
|
Border border = BorderFactory.createEtchedBorder();
|
||||||
|
return BorderFactory.createTitledBorder(border, text, 0, 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Border createBorder()
|
||||||
|
{
|
||||||
|
return BorderFactory.createEmptyBorder(4, 4, 4, 4);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JScrollPane createListPane(JList list, String text)
|
||||||
|
{
|
||||||
|
JScrollPane pane = new JScrollPane(list);
|
||||||
|
pane.setBorder(BorderFactory.createCompoundBorder(createBorder(text), BorderFactory.createLoweredBevelBorder()));
|
||||||
|
return pane;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void centerComponent(Component source, Component parent)
|
||||||
|
{
|
||||||
|
Dimension dim = source.getSize();
|
||||||
|
Rectangle rect;
|
||||||
|
if(parent != null)
|
||||||
|
{
|
||||||
|
rect = parent.getBounds();
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
|
||||||
|
rect = new Rectangle(0, 0, d.width, d.height);
|
||||||
|
}
|
||||||
|
int x = rect.x + (rect.width - dim.width) / 2;
|
||||||
|
int y = rect.y + (rect.height - dim.height) / 2;
|
||||||
|
source.setLocation(x, y);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void centerComponent(Component source)
|
||||||
|
{
|
||||||
|
centerComponent(source, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static JFrame getParentFrame(Component source)
|
||||||
|
{
|
||||||
|
Container parent;
|
||||||
|
for(parent = source.getParent(); parent != null; parent = parent.getParent())
|
||||||
|
if(parent instanceof JFrame)
|
||||||
|
break;
|
||||||
|
|
||||||
|
if(parent == null)
|
||||||
|
return null;
|
||||||
|
else
|
||||||
|
return (JFrame)parent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Integer msToSec(Integer ms)
|
||||||
|
{
|
||||||
|
int value = ms.intValue();
|
||||||
|
value /= 1000;
|
||||||
|
return new Integer(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Integer secToMs(Integer sec)
|
||||||
|
{
|
||||||
|
int value = sec.intValue();
|
||||||
|
value *= 1000;
|
||||||
|
return new Integer(value);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String stringFromStringArray(String strings[], String delim)
|
||||||
|
{
|
||||||
|
String string = "";
|
||||||
|
String separator;
|
||||||
|
if(delim == null || delim.equals(""))
|
||||||
|
separator = " ";
|
||||||
|
else
|
||||||
|
separator = delim;
|
||||||
|
for(int i = 0; i < strings.length; i++)
|
||||||
|
{
|
||||||
|
string = string + strings[i];
|
||||||
|
string = string + separator;
|
||||||
|
}
|
||||||
|
|
||||||
|
return string;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String stringFromStringArray(String strings[])
|
||||||
|
{
|
||||||
|
return stringFromStringArray(strings, "");
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String[] stringArrayFromString(String string, String delim)
|
||||||
|
{
|
||||||
|
StringTokenizer st;
|
||||||
|
if(delim == null || delim.equals(""))
|
||||||
|
st = new StringTokenizer(string);
|
||||||
|
else
|
||||||
|
st = new StringTokenizer(string, delim);
|
||||||
|
int numTokens = st.countTokens();
|
||||||
|
String strings[] = new String[numTokens];
|
||||||
|
int index = 0;
|
||||||
|
while(st.hasMoreTokens())
|
||||||
|
strings[index++] = st.nextToken();
|
||||||
|
return strings;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String[] stringArrayFromString(String string)
|
||||||
|
{
|
||||||
|
return stringArrayFromString(string, "");
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void setWaitCursor(Component comp)
|
||||||
|
{
|
||||||
|
comp.setCursor(Cursor.getPredefinedCursor(3));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void setDefaultCursor(Component comp)
|
||||||
|
{
|
||||||
|
comp.setCursor(Cursor.getPredefinedCursor(0));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final int BUTTON_WIDTH = 100;
|
||||||
|
public static final int BUTTON_HEIGHT = 26;
|
||||||
|
public static final int BUTTCON_WIDTH = 28;
|
||||||
|
public static final int BUTTCON_HEIGHT = 28;
|
||||||
|
public static final int SM_BUTTON_WIDTH = 72;
|
||||||
|
public static final int SM_BUTTON_HEIGHT = 26;
|
||||||
|
public static final int LABEL_WIDTH = 100;
|
||||||
|
public static final int LABEL_HEIGHT = 20;
|
||||||
|
public static final int TEXT_WIDTH = 150;
|
||||||
|
public static final int TEXT_HEIGHT = 20;
|
||||||
|
public static Dimension buttonPrefSize = new Dimension(100, 26);
|
||||||
|
public static Dimension buttconPrefSize = new Dimension(28, 28);
|
||||||
|
public static Dimension smbuttonPrefSize = new Dimension(72, 26);
|
||||||
|
public static Dimension labelPrefSize = new Dimension(100, 20);
|
||||||
|
public static Dimension textPrefSize = new Dimension(150, 20);
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import com.sun.java.swing.action.*;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import javax.swing.JPanel;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.ui:
|
||||||
|
// CommonUI
|
||||||
|
|
||||||
|
public class OkCancelButtonPanel extends JPanel
|
||||||
|
{
|
||||||
|
|
||||||
|
public OkCancelButtonPanel(ActionListener listener)
|
||||||
|
{
|
||||||
|
DelegateAction okAction = new OkAction();
|
||||||
|
okAction.addActionListener(listener);
|
||||||
|
DelegateAction cancelAction = new CancelAction();
|
||||||
|
cancelAction.addActionListener(listener);
|
||||||
|
add(CommonUI.createButton(okAction));
|
||||||
|
add(CommonUI.createButton(cancelAction));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static final String OK_COMMAND = "ok-command";
|
||||||
|
public static final String CANCEL_COMMAND = "cancel-command";
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,82 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import java.awt.BorderLayout;
|
||||||
|
import java.awt.Container;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import javax.swing.JDialog;
|
||||||
|
import javax.swing.JPanel;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.ui:
|
||||||
|
// OkCancelButtonPanel, CommonUI
|
||||||
|
|
||||||
|
public class OkCancelDialog extends JDialog
|
||||||
|
implements ActionListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public OkCancelDialog(String title, JPanel panel)
|
||||||
|
{
|
||||||
|
this(title, panel, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
public OkCancelDialog(String title, JPanel panel, boolean modal)
|
||||||
|
{
|
||||||
|
setTitle(title);
|
||||||
|
setModal(modal);
|
||||||
|
Container pane = getContentPane();
|
||||||
|
pane.setLayout(new BorderLayout());
|
||||||
|
pane.add(panel, "Center");
|
||||||
|
pane.add(new OkCancelButtonPanel(this), "South");
|
||||||
|
pack();
|
||||||
|
CommonUI.centerComponent(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isOk()
|
||||||
|
{
|
||||||
|
return okPressed;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
String command = evt.getActionCommand();
|
||||||
|
if(command.equals("ok-command"))
|
||||||
|
{
|
||||||
|
okPressed = true;
|
||||||
|
setVisible(false);
|
||||||
|
dispose();
|
||||||
|
} else
|
||||||
|
if(command.equals("cancel-command"))
|
||||||
|
{
|
||||||
|
okPressed = false;
|
||||||
|
setVisible(false);
|
||||||
|
dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private boolean okPressed;
|
||||||
|
}
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import java.awt.*;
|
||||||
|
import javax.swing.ImageIcon;
|
||||||
|
|
||||||
|
public class SplashScreen extends Window
|
||||||
|
{
|
||||||
|
|
||||||
|
public SplashScreen(Frame f)
|
||||||
|
{
|
||||||
|
super(f);
|
||||||
|
setBackground(Color.white);
|
||||||
|
java.net.URL url = getClass().getResource("/images/SplashScreen.jpg");
|
||||||
|
if(url != null)
|
||||||
|
{
|
||||||
|
screen = new ImageIcon(url);
|
||||||
|
MediaTracker mt = new MediaTracker(this);
|
||||||
|
mt.addImage(screen.getImage(), 0);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
mt.waitForAll();
|
||||||
|
}
|
||||||
|
catch(Exception ex) { }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setVisible(boolean val)
|
||||||
|
{
|
||||||
|
if(screen == null)
|
||||||
|
return;
|
||||||
|
if(val)
|
||||||
|
{
|
||||||
|
setSize(screen.getIconWidth(), screen.getIconHeight());
|
||||||
|
setLocation(-500, -500);
|
||||||
|
super.setVisible(true);
|
||||||
|
Dimension d = getToolkit().getScreenSize();
|
||||||
|
Insets i = getInsets();
|
||||||
|
int w = screen.getIconWidth() + i.left + i.right;
|
||||||
|
int h = screen.getIconHeight() + i.top + i.bottom;
|
||||||
|
setSize(w, h);
|
||||||
|
setLocation(d.width / 2 - w / 2, d.height / 2 - h / 2);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
super.setVisible(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void paint(Graphics g)
|
||||||
|
{
|
||||||
|
if(screen != null)
|
||||||
|
{
|
||||||
|
Dimension d = getSize();
|
||||||
|
g.setColor(Color.black);
|
||||||
|
g.drawRect(0, 0, d.width - 1, d.height - 1);
|
||||||
|
g.drawImage(screen.getImage(), 1, 1, this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private ImageIcon screen;
|
||||||
|
}
|
||||||
@@ -0,0 +1,178 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import java.awt.*;
|
||||||
|
import java.awt.event.*;
|
||||||
|
import javax.swing.*;
|
||||||
|
|
||||||
|
public class StatusBar extends JPanel
|
||||||
|
implements ActionListener, MouseListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public StatusBar()
|
||||||
|
{
|
||||||
|
setLayout(new FlowLayout(0));
|
||||||
|
setBorder(BorderFactory.createEtchedBorder());
|
||||||
|
progressBar = new JProgressBar(0, 0, 100);
|
||||||
|
progressBar.setPreferredSize(new Dimension(60, progressBar.getPreferredSize().height + 2));
|
||||||
|
progressBar.setVisible(false);
|
||||||
|
label = new JLabel(" ");
|
||||||
|
preferredSize = new Dimension(getWidth(label.getText()), 2 * getFontHeight());
|
||||||
|
add(progressBar);
|
||||||
|
add(label);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static StatusBar getInstance()
|
||||||
|
{
|
||||||
|
if(statusBar == null)
|
||||||
|
statusBar = new StatusBar();
|
||||||
|
return statusBar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void setInstance(StatusBar sb)
|
||||||
|
{
|
||||||
|
statusBar = sb;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected int getWidth(String s)
|
||||||
|
{
|
||||||
|
FontMetrics fm = getFontMetrics(getFont());
|
||||||
|
if(fm == null)
|
||||||
|
return 0;
|
||||||
|
else
|
||||||
|
return fm.stringWidth(s);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected int getFontHeight()
|
||||||
|
{
|
||||||
|
FontMetrics fm = getFontMetrics(getFont());
|
||||||
|
if(fm == null)
|
||||||
|
return 0;
|
||||||
|
else
|
||||||
|
return fm.getHeight();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Dimension getPreferredSize()
|
||||||
|
{
|
||||||
|
return preferredSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMessage(String message)
|
||||||
|
{
|
||||||
|
label.setText(message);
|
||||||
|
label.repaint();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void startBusyBar()
|
||||||
|
{
|
||||||
|
forward = true;
|
||||||
|
if(timer == null)
|
||||||
|
{
|
||||||
|
setMessage("");
|
||||||
|
progressBar.setVisible(true);
|
||||||
|
timer = new Timer(15, this);
|
||||||
|
timer.start();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void stopBusyBar()
|
||||||
|
{
|
||||||
|
if(timer != null)
|
||||||
|
{
|
||||||
|
timer.stop();
|
||||||
|
timer = null;
|
||||||
|
}
|
||||||
|
setMessage("");
|
||||||
|
progressBar.setVisible(false);
|
||||||
|
progressBar.setValue(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
int value = progressBar.getValue();
|
||||||
|
if(forward)
|
||||||
|
{
|
||||||
|
if(value < 100)
|
||||||
|
{
|
||||||
|
progressBar.setValue(value + 1);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
forward = false;
|
||||||
|
progressBar.setValue(value - 1);
|
||||||
|
}
|
||||||
|
} else
|
||||||
|
if(value > 0)
|
||||||
|
{
|
||||||
|
progressBar.setValue(value - 1);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
forward = true;
|
||||||
|
progressBar.setValue(value + 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void mouseClicked(MouseEvent mouseevent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void mousePressed(MouseEvent mouseevent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void mouseReleased(MouseEvent mouseevent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public void mouseExited(MouseEvent evt)
|
||||||
|
{
|
||||||
|
setMessage("");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void mouseEntered(MouseEvent evt)
|
||||||
|
{
|
||||||
|
if(evt.getSource() instanceof AbstractButton)
|
||||||
|
{
|
||||||
|
AbstractButton button = (AbstractButton)evt.getSource();
|
||||||
|
Action action = button.getAction();
|
||||||
|
if(action != null)
|
||||||
|
{
|
||||||
|
String message = (String)action.getValue("LongDescription");
|
||||||
|
setMessage(message);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static final int PROGRESS_MAX = 100;
|
||||||
|
private static final int PROGRESS_MIN = 0;
|
||||||
|
private JLabel label;
|
||||||
|
private Dimension preferredSize;
|
||||||
|
private JProgressBar progressBar;
|
||||||
|
private Timer timer;
|
||||||
|
private boolean forward;
|
||||||
|
private static StatusBar statusBar;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,221 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import com.sun.java.swing.action.*;
|
||||||
|
import java.awt.*;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.util.Vector;
|
||||||
|
import javax.swing.*;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.ui:
|
||||||
|
// CommonUI
|
||||||
|
|
||||||
|
public class TabsDlg extends JDialog
|
||||||
|
{
|
||||||
|
private class ApplyListener
|
||||||
|
implements ActionListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
if(applyListener != null)
|
||||||
|
{
|
||||||
|
applyListener.actionPerformed(evt);
|
||||||
|
enableApplyButton(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private ApplyListener()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private class CancelListener
|
||||||
|
implements ActionListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
if(cancelListener != null)
|
||||||
|
cancelListener.actionPerformed(evt);
|
||||||
|
setVisible(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
private CancelListener()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private class OkListener
|
||||||
|
implements ActionListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
if(okListener != null)
|
||||||
|
okListener.actionPerformed(evt);
|
||||||
|
setVisible(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
private OkListener()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public TabsDlg(String title, Vector panels)
|
||||||
|
{
|
||||||
|
super(new JFrame(), title, true);
|
||||||
|
okListener = null;
|
||||||
|
cancelListener = null;
|
||||||
|
applyListener = null;
|
||||||
|
Container pane = getContentPane();
|
||||||
|
pane.setLayout(new BorderLayout());
|
||||||
|
tabsPanel = new JTabbedPane();
|
||||||
|
int numPanels = panels.size();
|
||||||
|
for(int i = 0; i < numPanels; i++)
|
||||||
|
{
|
||||||
|
JPanel panel = (JPanel)panels.elementAt(i);
|
||||||
|
tabsPanel.addTab(panel.getName(), panel);
|
||||||
|
}
|
||||||
|
|
||||||
|
pane.add(tabsPanel, "Center");
|
||||||
|
pane.add(createButtonPanel(), "South");
|
||||||
|
pack();
|
||||||
|
CommonUI.centerComponent(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String args[])
|
||||||
|
{
|
||||||
|
JPanel p1 = new JPanel();
|
||||||
|
p1.add(new JButton("One"));
|
||||||
|
p1.setName("One");
|
||||||
|
JPanel p2 = new JPanel();
|
||||||
|
p2.add(new JButton("Two"));
|
||||||
|
p2.setName("Two");
|
||||||
|
JPanel p3 = new JPanel();
|
||||||
|
p3.add(new JButton("Three"));
|
||||||
|
p3.setName("Three");
|
||||||
|
JPanel p4 = new JPanel();
|
||||||
|
p4.add(new JButton("Four"));
|
||||||
|
p4.setName("Four");
|
||||||
|
Vector panels = new Vector();
|
||||||
|
panels.addElement(p1);
|
||||||
|
panels.addElement(p2);
|
||||||
|
panels.addElement(p3);
|
||||||
|
panels.addElement(p4);
|
||||||
|
tabsDlg = new TabsDlg("Test Dialog", panels);
|
||||||
|
tabsDlg.addOkListener(new ActionListener() {
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
System.exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
);
|
||||||
|
tabsDlg.addCancelListener(new ActionListener() {
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
System.exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
);
|
||||||
|
tabsDlg.setVisible(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
private JPanel createButtonPanel()
|
||||||
|
{
|
||||||
|
JPanel panel = new JPanel();
|
||||||
|
okAction = new OkAction();
|
||||||
|
cancelAction = new CancelAction();
|
||||||
|
applyAction = new ApplyAction();
|
||||||
|
okAction.addActionListener(new OkListener());
|
||||||
|
cancelAction.addActionListener(new CancelListener());
|
||||||
|
applyAction.addActionListener(new ApplyListener());
|
||||||
|
panel.add(CommonUI.createButton(okAction));
|
||||||
|
panel.add(CommonUI.createButton(cancelAction));
|
||||||
|
panel.add(CommonUI.createButton(applyAction));
|
||||||
|
JPanel p2 = new JPanel(new BorderLayout());
|
||||||
|
p2.add(panel, "Center");
|
||||||
|
p2.add(new JSeparator(), "North");
|
||||||
|
return p2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void enableApplyButton(boolean enabled)
|
||||||
|
{
|
||||||
|
applyAction.setEnabled(enabled);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void addOkListener(ActionListener l)
|
||||||
|
{
|
||||||
|
okListener = AWTEventMulticaster.add(okListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void removeOkListener(ActionListener l)
|
||||||
|
{
|
||||||
|
okListener = AWTEventMulticaster.remove(okListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void addCancelListener(ActionListener l)
|
||||||
|
{
|
||||||
|
cancelListener = AWTEventMulticaster.add(cancelListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void removeCancelListener(ActionListener l)
|
||||||
|
{
|
||||||
|
cancelListener = AWTEventMulticaster.remove(cancelListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void addApplyListener(ActionListener l)
|
||||||
|
{
|
||||||
|
applyListener = AWTEventMulticaster.add(applyListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void removeApplyListener(ActionListener l)
|
||||||
|
{
|
||||||
|
applyListener = AWTEventMulticaster.remove(applyListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
private JTabbedPane tabsPanel;
|
||||||
|
private DelegateAction okAction;
|
||||||
|
private DelegateAction cancelAction;
|
||||||
|
private DelegateAction applyAction;
|
||||||
|
private ActionListener okListener;
|
||||||
|
private ActionListener cancelListener;
|
||||||
|
private ActionListener applyListener;
|
||||||
|
private static TabsDlg tabsDlg;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import java.beans.PropertyChangeEvent;
|
||||||
|
import java.beans.PropertyChangeListener;
|
||||||
|
import javax.swing.AbstractButton;
|
||||||
|
|
||||||
|
public class ToggleActionPropertyChangeListener
|
||||||
|
implements PropertyChangeListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public ToggleActionPropertyChangeListener(AbstractButton button)
|
||||||
|
{
|
||||||
|
this.button = button;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void propertyChange(PropertyChangeEvent evt)
|
||||||
|
{
|
||||||
|
String propertyName = evt.getPropertyName();
|
||||||
|
if(propertyName.equals("selected"))
|
||||||
|
{
|
||||||
|
Boolean selected = (Boolean)evt.getNewValue();
|
||||||
|
button.setSelected(selected.booleanValue());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private AbstractButton button;
|
||||||
|
}
|
||||||
@@ -0,0 +1,336 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2000-2008 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
|
*
|
||||||
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
* under the terms of the GNU General Public License version 2 only, as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*
|
||||||
|
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||||
|
* version 2 for more details (a copy is included in the LICENSE file that
|
||||||
|
* accompanied this code).
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License version
|
||||||
|
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||||
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
*
|
||||||
|
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||||
|
* CA 95054 USA or visit www.sun.com if you need additional information or
|
||||||
|
* have any questions.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
package com.sun.java.swing.ui;
|
||||||
|
|
||||||
|
import com.sun.java.swing.action.*;
|
||||||
|
import java.awt.*;
|
||||||
|
import java.awt.event.ActionEvent;
|
||||||
|
import java.awt.event.ActionListener;
|
||||||
|
import java.util.Vector;
|
||||||
|
import javax.swing.*;
|
||||||
|
|
||||||
|
// Referenced classes of package com.sun.java.swing.ui:
|
||||||
|
// CommonUI
|
||||||
|
|
||||||
|
public class WizardDlg extends JDialog
|
||||||
|
{
|
||||||
|
private class CancelListener
|
||||||
|
implements ActionListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
if(cancelListener != null)
|
||||||
|
cancelListener.actionPerformed(evt);
|
||||||
|
setVisible(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
private CancelListener()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private class FinishListener
|
||||||
|
implements ActionListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
if(finishListener != null)
|
||||||
|
finishListener.actionPerformed(evt);
|
||||||
|
setVisible(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
private FinishListener()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private class NextListener
|
||||||
|
implements ActionListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
cardShowing++;
|
||||||
|
if(cardShowing > numCards)
|
||||||
|
cardShowing = numCards;
|
||||||
|
else
|
||||||
|
panesLayout.next(panesPanel);
|
||||||
|
if(nextListener != null)
|
||||||
|
nextListener.actionPerformed(evt);
|
||||||
|
enableBackNextButtons();
|
||||||
|
}
|
||||||
|
|
||||||
|
private NextListener()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private class BackListener
|
||||||
|
implements ActionListener
|
||||||
|
{
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
cardShowing--;
|
||||||
|
if(cardShowing < 1)
|
||||||
|
cardShowing = 1;
|
||||||
|
else
|
||||||
|
panesLayout.previous(panesPanel);
|
||||||
|
if(backListener != null)
|
||||||
|
backListener.actionPerformed(evt);
|
||||||
|
enableBackNextButtons();
|
||||||
|
}
|
||||||
|
|
||||||
|
private BackListener()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public WizardDlg(JFrame frame, String title, Vector panels, Vector images)
|
||||||
|
{
|
||||||
|
super(frame, title, true);
|
||||||
|
this.title = title;
|
||||||
|
this.images = images;
|
||||||
|
Container pane = getContentPane();
|
||||||
|
pane.setLayout(new BorderLayout());
|
||||||
|
panesLayout = new CardLayout();
|
||||||
|
panesPanel = new JPanel(panesLayout);
|
||||||
|
pane.add(panesPanel, "Center");
|
||||||
|
pane.add(createButtonPanel(), "South");
|
||||||
|
setPanels(panels);
|
||||||
|
pack();
|
||||||
|
CommonUI.centerComponent(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
public WizardDlg(JFrame frame, String title, Vector panels)
|
||||||
|
{
|
||||||
|
this(frame, title, panels, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public WizardDlg(String title, Vector panels)
|
||||||
|
{
|
||||||
|
this(new JFrame(), title, panels, null);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPanels(Vector panels)
|
||||||
|
{
|
||||||
|
numCards = panels.size();
|
||||||
|
cardShowing = 1;
|
||||||
|
this.panels = panels;
|
||||||
|
panesPanel.removeAll();
|
||||||
|
for(int i = 0; i < numCards; i++)
|
||||||
|
panesPanel.add((JPanel)panels.elementAt(i), (new Integer(i)).toString());
|
||||||
|
|
||||||
|
validate();
|
||||||
|
enableBackNextButtons();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void reset()
|
||||||
|
{
|
||||||
|
cardShowing = 1;
|
||||||
|
panesLayout.first(panesPanel);
|
||||||
|
enableBackNextButtons();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setWestPanel(JPanel panel)
|
||||||
|
{
|
||||||
|
Container pane = getContentPane();
|
||||||
|
pane.add(panel, "West");
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String args[])
|
||||||
|
{
|
||||||
|
JPanel p1 = new JPanel();
|
||||||
|
p1.add(new JButton("One"));
|
||||||
|
JPanel p2 = new JPanel();
|
||||||
|
p2.add(new JButton("Two"));
|
||||||
|
JPanel p3 = new JPanel();
|
||||||
|
p3.add(new JButton("Three"));
|
||||||
|
JPanel p4 = new JPanel();
|
||||||
|
p4.add(new JButton("Four"));
|
||||||
|
Vector panels = new Vector();
|
||||||
|
panels.addElement(p1);
|
||||||
|
panels.addElement(p2);
|
||||||
|
panels.addElement(p3);
|
||||||
|
panels.addElement(p4);
|
||||||
|
wizardDlg = new WizardDlg("Test Dialog", panels);
|
||||||
|
wizardDlg.addFinishListener(new ActionListener() {
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
System.exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
);
|
||||||
|
wizardDlg.addCancelListener(new ActionListener() {
|
||||||
|
|
||||||
|
public void actionPerformed(ActionEvent evt)
|
||||||
|
{
|
||||||
|
System.exit(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
);
|
||||||
|
wizardDlg.setVisible(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
private JPanel createButtonPanel()
|
||||||
|
{
|
||||||
|
JPanel panel = new JPanel();
|
||||||
|
backAction = new BackAction();
|
||||||
|
nextAction = new NextAction();
|
||||||
|
finishAction = new FinishAction();
|
||||||
|
cancelAction = new CancelAction();
|
||||||
|
backAction.setEnabled(false);
|
||||||
|
finishAction.setEnabled(false);
|
||||||
|
backAction.addActionListener(new BackListener());
|
||||||
|
nextAction.addActionListener(new NextListener());
|
||||||
|
finishAction.addActionListener(new FinishListener());
|
||||||
|
cancelAction.addActionListener(new CancelListener());
|
||||||
|
panel.add(CommonUI.createButton(backAction));
|
||||||
|
panel.add(CommonUI.createButton(nextAction));
|
||||||
|
panel.add(CommonUI.createButton(finishAction));
|
||||||
|
panel.add(CommonUI.createButton(cancelAction));
|
||||||
|
JPanel p2 = new JPanel(new BorderLayout());
|
||||||
|
p2.add(panel, "Center");
|
||||||
|
p2.add(new JSeparator(), "North");
|
||||||
|
return p2;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void enableBackNextButtons()
|
||||||
|
{
|
||||||
|
if(cardShowing == 1)
|
||||||
|
{
|
||||||
|
backAction.setEnabled(false);
|
||||||
|
finishAction.setEnabled(false);
|
||||||
|
if(numCards > 1)
|
||||||
|
{
|
||||||
|
nextAction.setEnabled(true);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
finishAction.setEnabled(true);
|
||||||
|
nextAction.setEnabled(false);
|
||||||
|
}
|
||||||
|
} else
|
||||||
|
if(cardShowing == numCards)
|
||||||
|
{
|
||||||
|
nextAction.setEnabled(false);
|
||||||
|
finishAction.setEnabled(true);
|
||||||
|
if(numCards > 1)
|
||||||
|
backAction.setEnabled(true);
|
||||||
|
else
|
||||||
|
backAction.setEnabled(false);
|
||||||
|
} else
|
||||||
|
{
|
||||||
|
backAction.setEnabled(true);
|
||||||
|
nextAction.setEnabled(true);
|
||||||
|
finishAction.setEnabled(false);
|
||||||
|
}
|
||||||
|
setTitle();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void setTitle()
|
||||||
|
{
|
||||||
|
JPanel panel = (JPanel)panels.elementAt(cardShowing - 1);
|
||||||
|
String newTitle = title;
|
||||||
|
String panelTitle = panel.getName();
|
||||||
|
if(panelTitle != null && panelTitle.equals(""))
|
||||||
|
{
|
||||||
|
newTitle = newTitle + " - ";
|
||||||
|
newTitle = newTitle + panelTitle;
|
||||||
|
}
|
||||||
|
super.setTitle(newTitle);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void addFinishListener(ActionListener l)
|
||||||
|
{
|
||||||
|
finishListener = AWTEventMulticaster.add(finishListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void removeFinishListener(ActionListener l)
|
||||||
|
{
|
||||||
|
finishListener = AWTEventMulticaster.remove(finishListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void addCancelListener(ActionListener l)
|
||||||
|
{
|
||||||
|
cancelListener = AWTEventMulticaster.add(cancelListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void removeCancelListener(ActionListener l)
|
||||||
|
{
|
||||||
|
cancelListener = AWTEventMulticaster.remove(cancelListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void addNextListener(ActionListener l)
|
||||||
|
{
|
||||||
|
nextListener = AWTEventMulticaster.add(nextListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void removeNextListener(ActionListener l)
|
||||||
|
{
|
||||||
|
nextListener = AWTEventMulticaster.remove(nextListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void addBackListener(ActionListener l)
|
||||||
|
{
|
||||||
|
backListener = AWTEventMulticaster.add(backListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
public synchronized void removeBackListener(ActionListener l)
|
||||||
|
{
|
||||||
|
backListener = AWTEventMulticaster.remove(backListener, l);
|
||||||
|
}
|
||||||
|
|
||||||
|
private CardLayout panesLayout;
|
||||||
|
private JPanel panesPanel;
|
||||||
|
private DelegateAction backAction;
|
||||||
|
private DelegateAction nextAction;
|
||||||
|
private DelegateAction finishAction;
|
||||||
|
private DelegateAction cancelAction;
|
||||||
|
private ActionListener finishListener;
|
||||||
|
private ActionListener cancelListener;
|
||||||
|
private ActionListener nextListener;
|
||||||
|
private ActionListener backListener;
|
||||||
|
private int numCards;
|
||||||
|
private int cardShowing;
|
||||||
|
private String title;
|
||||||
|
private Vector panels;
|
||||||
|
private Vector images;
|
||||||
|
private static WizardDlg wizardDlg;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
After Width: | Height: | Size: 636 B |
|
After Width: | Height: | Size: 775 B |
|
After Width: | Height: | Size: 644 B |
|
After Width: | Height: | Size: 797 B |
|
After Width: | Height: | Size: 208 B |
|
After Width: | Height: | Size: 249 B |
|
After Width: | Height: | Size: 434 B |
|
After Width: | Height: | Size: 661 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 677 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 661 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 426 B |
|
After Width: | Height: | Size: 778 B |
|
After Width: | Height: | Size: 228 B |
|
After Width: | Height: | Size: 462 B |
|
After Width: | Height: | Size: 206 B |
|
After Width: | Height: | Size: 266 B |
|
After Width: | Height: | Size: 255 B |
|
After Width: | Height: | Size: 348 B |
|
After Width: | Height: | Size: 303 B |
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 484 B |
|
After Width: | Height: | Size: 185 B |
|
After Width: | Height: | Size: 184 B |
|
After Width: | Height: | Size: 163 B |
|
After Width: | Height: | Size: 179 B |
|
After Width: | Height: | Size: 165 B |
|
After Width: | Height: | Size: 178 B |
|
After Width: | Height: | Size: 165 B |