Download Jar. Uses 108K of libraries. Click here for Pure Java version (40852L/230K).
1 | !759 |
2 | |
3 | sinterface Derefable { Concept get(); } // not used anymore but some programs have not been recompiled |
4 | |
5 | // TODO: licensed |
6 | |
7 | mainPackage loadableUtils |
8 | mainClassName utils |
9 | |
10 | set flag AllPublic. |
11 | |
12 | import static x30_pkg.x30_util.VF1; |
13 | |
14 | import x30_pkg.x30_util.DynamicObject; |
15 | |
16 | !include once #1001372 // direct nohupJavax |
17 | |
18 | !include once #1016530 // DynamicMethods |
19 | !include once #1011150 // BetterLabel |
20 | !include once #1005319 // SingleComponentPanel |
21 | !include once #1003519 // Snippet |
22 | !include once #1004247 // BWImage |
23 | !include once #1007582 // Cache |
24 | |
25 | !include once #1015892 // DynModule |
26 | !include once #1016205 // DynPrintLog |
27 | !include once #1016978 // DynObjectTable |
28 | !include once #1018873 // DynImageSurface |
29 | !include once #1015977 // DynCalculatedList |
30 | |
31 | please include class SimpleCRUD. |
32 | please include class IntRange. |
33 | please include class LongRange. |
34 | please include class GlobalID. |
35 | please include class SynchronizedArrayList. |
36 | please include class SecretValue. |
37 | |
38 | // We now also include HTML cruds because they're so useful |
39 | please include class HCRUD. |
40 | please include class HCRUD_Concepts. |
41 | please include class DefaultValueConverterForField. |
42 | |
43 | please include function rethrow. |
44 | please include function isAWTThread. |
45 | please include function _handleError. |
46 | please include function call_checkArgs. |
47 | please include function fail. |
48 | please include function multiMapPut. |
49 | please include function endsWithLetterOrDigit. |
50 | please include function getExceptionCause. |
51 | please include function isAndroid. |
52 | please include function isHeadless. |
53 | please include function join. |
54 | please include function joinWithSpace. |
55 | please include function newWeakHashMap. |
56 | please include function javaTok. |
57 | please include function print_append. |
58 | please include function get. |
59 | please include function getOpt. |
60 | please include function getOpt_raw. |
61 | please include function set. |
62 | please include function setOpt. |
63 | please include function setOpt_raw. |
64 | please include function callF. |
65 | please include function call. |
66 | please include function callOpt. |
67 | please include function fixNewLines. |
68 | please include function uniqueString. |
69 | please include function doEvery. |
70 | please include function doLater. |
71 | please include function hasBot. |
72 | please include function nohupJavax. |
73 | please include function jlabel. |
74 | please include function newTypeWriterTextArea. |
75 | please include function struct. |
76 | please include function sfu. |
77 | please include function loadPageSilentlyWithTimeout. |
78 | please include function loadPageWithUserAgent. |
79 | please include function db. |
80 | please include function cget. |
81 | please include function cset. |
82 | please include function print. |
83 | please include function print_byThread. |
84 | please include function print_byThread_dontCreate. |
85 | please include function _threadInfo. |
86 | please include function _threadInheritInfo. |
87 | please include function _threadInfo_addMakerAndRetriever. |
88 | please include function match. |
89 | please include function getField. |
90 | please include function fieldType. |
91 | please include function format3. |
92 | please include function vm_generalIdentityHashSet. |
93 | please include function vm_generalHashMap. |
94 | please include function vm_generalWeakSubMap. |
95 | please include function bindToComponent. |
96 | please include function loadPage. |
97 | please include function loadPage_utf8. |
98 | please include function loadSnippet. |
99 | please include function loadSnippetQuietly. |
100 | please include function sendToLocalBot. |
101 | please include function sendToLocalBotOpt. |
102 | please include function sendToLocalBotQuietly. |
103 | please include function sexyTableWithoutDrag. |
104 | please include function tablePopupMenu. |
105 | please include function tablePopupMenuFirst. |
106 | please include function componentPopupMenu. |
107 | please include function componentPopupMenu_top. |
108 | please include function componentPopupMenu_getEvent. |
109 | please include function dm_current_generic. |
110 | please include function dm_current_mandatory_generic. |
111 | please include function withDBLock. |
112 | please include function makePopupMenuConditional. |
113 | please include function dynamicObjectIsLoading. |
114 | please include function interceptPrintInThisThread. |
115 | please include function rowSorter_setComparators. |
116 | |
117 | sO creator() { |
118 | ret callOpt(assertNotNull("No real MC", realMC_tl())!, 'creator); |
119 | } |
120 | |
121 | sS programID; |
122 | |
123 | sS getProgramID() { |
124 | O mc = realMC_tl()!; |
125 | if (mc != null) ret getProgramID(mc); |
126 | ret nempty(programID) ? formatSnippetIDOpt(programID) : "?"; |
127 | } |
128 | |
129 | ifndef LeanMode |
130 | // TODO: ask JavaX instead |
131 | static String getProgramID(Class c) { |
132 | S id = (String) getOpt(c, "programID"); |
133 | if (nempty(id)) |
134 | ret formatSnippetID(id); |
135 | ret "?"; |
136 | } |
137 | endifndef |
138 | |
139 | static String getProgramID(Object o) { |
140 | ret getProgramID(getMainClass(o)); |
141 | } |
142 | |
143 | static Concepts db_mainConcepts() { |
144 | ret (Concepts) call(assertNotNull("No real MC", realMC()), 'db_mainConcepts); |
145 | } |
Began life as a copy of #1019849
download show line numbers debug dex old transpilations
Travelled to 26 computer(s): abdkfuuuzlrh, bhatertpkbcr, dmudagwnpltw, dpqxeycirhfy, ekrmjmnbrukm, elmgxqgtpvxh, fieshchysztm, hhusmcjygydo, iveijnkanddl, ixlofvyxkrco, lqnftawlhpir, mikhejdllvsw, mowyntqkapby, mqqgnosmbjvj, podlckwnjdmb, pyentgdyhuwx, qtdedymdshqb, rjpzpeejafvs, skddmizpvtmy, ubadkicnhrcp, uhjabitqdyqv, uwytdfmwznxb, veepotesqksf, vouqrxazstgt, xvimeffiorjm, xylnpskcbyhy
No comments. add comment
Snippet ID: | #1029927 |
Snippet name: | Loadable Utils v2 (old) |
Eternal ID of this version: | #1029927/6 |
Text MD5: | 1c0660192aa96096b1d0df56e55eaf6f |
Transpilation MD5: | b2cd873769469e085dbaeaa2f87dddc5 |
Author: | stefan |
Category: | javax |
Type: | JavaX module (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-08-13 15:37:30 |
Source code size: | 4769 bytes / 145 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 531 / 9997 |
Version history: | 5 change(s) |
Referenced in: | [show references] |