From 42ae10e33e17b813d08c884dc01ecc971d9a233b Mon Sep 17 00:00:00 2001
From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
Date: Sun, 17 Nov 2024 10:30:20 +0000
Subject: [PATCH 1/2] syntax formatting
---
.gitignore | 3 +-
cleaner-profile.cfj | 1143 ++++++
src/z2ui5_cl_demo_app_000.clas.abap | 3401 ++++++++---------
src/z2ui5_cl_demo_app_001.clas.abap | 52 +-
src/z2ui5_cl_demo_app_002.clas.abap | 200 +-
src/z2ui5_cl_demo_app_003.clas.abap | 58 +-
src/z2ui5_cl_demo_app_004.clas.abap | 54 +-
src/z2ui5_cl_demo_app_005.clas.abap | 45 +-
src/z2ui5_cl_demo_app_006.clas.abap | 91 +-
src/z2ui5_cl_demo_app_008.clas.abap | 102 +-
src/z2ui5_cl_demo_app_009.clas.abap | 284 +-
src/z2ui5_cl_demo_app_010.clas.abap | 45 +-
src/z2ui5_cl_demo_app_011.clas.abap | 66 +-
src/z2ui5_cl_demo_app_012.clas.abap | 107 +-
src/z2ui5_cl_demo_app_013.clas.abap | 184 +-
src/z2ui5_cl_demo_app_014.clas.abap | 179 +-
src/z2ui5_cl_demo_app_015.clas.abap | 76 +-
src/z2ui5_cl_demo_app_016.clas.abap | 126 +-
src/z2ui5_cl_demo_app_017.clas.abap | 352 +-
...z2ui5_cl_demo_app_017.clas.locals_imp.abap | 384 +-
src/z2ui5_cl_demo_app_018.clas.abap | 97 +-
src/z2ui5_cl_demo_app_019.clas.abap | 180 +-
src/z2ui5_cl_demo_app_020.clas.abap | 58 +-
src/z2ui5_cl_demo_app_021.clas.abap | 47 +-
src/z2ui5_cl_demo_app_022.clas.abap | 28 +-
src/z2ui5_cl_demo_app_024.clas.abap | 30 +-
src/z2ui5_cl_demo_app_025.clas.abap | 53 +-
src/z2ui5_cl_demo_app_026.clas.abap | 99 +-
src/z2ui5_cl_demo_app_027.clas.abap | 89 +-
src/z2ui5_cl_demo_app_028.clas.abap | 54 +-
src/z2ui5_cl_demo_app_029.clas.abap | 97 +-
src/z2ui5_cl_demo_app_030.clas.abap | 194 +-
src/z2ui5_cl_demo_app_031.clas.abap | 268 +-
src/z2ui5_cl_demo_app_032.clas.abap | 67 +-
src/z2ui5_cl_demo_app_033.clas.abap | 60 +-
src/z2ui5_cl_demo_app_034.clas.abap | 60 +-
src/z2ui5_cl_demo_app_035.clas.abap | 44 +-
...z2ui5_cl_demo_app_035.clas.locals_imp.abap | 207 +-
src/z2ui5_cl_demo_app_036.clas.abap | 121 +-
src/z2ui5_cl_demo_app_037.clas.abap | 126 +-
src/z2ui5_cl_demo_app_038.clas.abap | 136 +-
src/z2ui5_cl_demo_app_039.clas.abap | 257 +-
src/z2ui5_cl_demo_app_040.clas.abap | 65 +-
src/z2ui5_cl_demo_app_041.clas.abap | 38 +-
src/z2ui5_cl_demo_app_042.clas.abap | 343 +-
...z2ui5_cl_demo_app_042.clas.locals_imp.abap | 384 +-
src/z2ui5_cl_demo_app_043.clas.abap | 3 +-
src/z2ui5_cl_demo_app_044.clas.abap | 8 +-
src/z2ui5_cl_demo_app_045.clas.abap | 61 +-
src/z2ui5_cl_demo_app_046.clas.abap | 65 +-
src/z2ui5_cl_demo_app_047.clas.abap | 46 +-
src/z2ui5_cl_demo_app_048.clas.abap | 135 +-
src/z2ui5_cl_demo_app_049.clas.abap | 77 +-
src/z2ui5_cl_demo_app_050.clas.abap | 123 +-
src/z2ui5_cl_demo_app_051.clas.abap | 46 +-
src/z2ui5_cl_demo_app_052.clas.abap | 161 +-
src/z2ui5_cl_demo_app_053.clas.abap | 65 +-
src/z2ui5_cl_demo_app_054.clas.abap | 22 +-
src/z2ui5_cl_demo_app_055.clas.abap | 21 +-
src/z2ui5_cl_demo_app_056.clas.abap | 93 +-
src/z2ui5_cl_demo_app_057.clas.abap | 77 +-
src/z2ui5_cl_demo_app_058.clas.abap | 201 +-
src/z2ui5_cl_demo_app_059.clas.abap | 56 +-
src/z2ui5_cl_demo_app_060.clas.abap | 511 ++-
src/z2ui5_cl_demo_app_061.clas.abap | 49 +-
src/z2ui5_cl_demo_app_062.clas.abap | 79 +-
src/z2ui5_cl_demo_app_063.clas.abap | 35 +-
src/z2ui5_cl_demo_app_064.clas.abap | 86 +-
src/z2ui5_cl_demo_app_065.clas.abap | 43 +-
src/z2ui5_cl_demo_app_067.clas.abap | 105 +-
src/z2ui5_cl_demo_app_068.clas.abap | 109 +-
src/z2ui5_cl_demo_app_069.clas.abap | 161 +-
src/z2ui5_cl_demo_app_070.clas.abap | 284 +-
src/z2ui5_cl_demo_app_071.clas.abap | 42 +-
src/z2ui5_cl_demo_app_072.clas.abap | 217 +-
src/z2ui5_cl_demo_app_073.clas.abap | 32 +-
src/z2ui5_cl_demo_app_074.clas.abap | 45 +-
src/z2ui5_cl_demo_app_075.clas.abap | 52 +-
src/z2ui5_cl_demo_app_076.clas.abap | 109 +-
src/z2ui5_cl_demo_app_078.clas.abap | 51 +-
src/z2ui5_cl_demo_app_079.clas.abap | 64 +-
src/z2ui5_cl_demo_app_080.clas.abap | 124 +-
src/z2ui5_cl_demo_app_081.clas.abap | 124 +-
src/z2ui5_cl_demo_app_082.clas.abap | 53 +-
src/z2ui5_cl_demo_app_083.clas.abap | 215 +-
src/z2ui5_cl_demo_app_084.clas.abap | 199 +-
src/z2ui5_cl_demo_app_085.clas.abap | 668 ++--
src/z2ui5_cl_demo_app_086.clas.abap | 30 +-
src/z2ui5_cl_demo_app_087.clas.abap | 74 +-
src/z2ui5_cl_demo_app_088.clas.abap | 75 +-
src/z2ui5_cl_demo_app_090.clas.abap | 274 +-
src/z2ui5_cl_demo_app_091.clas.abap | 137 +-
src/z2ui5_cl_demo_app_093.clas.abap | 34 +-
src/z2ui5_cl_demo_app_094.clas.abap | 50 +-
src/z2ui5_cl_demo_app_095.clas.abap | 65 +-
src/z2ui5_cl_demo_app_096.clas.abap | 19 +-
src/z2ui5_cl_demo_app_097.clas.abap | 132 +-
src/z2ui5_cl_demo_app_098.clas.abap | 166 +-
src/z2ui5_cl_demo_app_099.clas.abap | 196 +-
src/z2ui5_cl_demo_app_100.clas.abap | 203 +-
src/z2ui5_cl_demo_app_101.clas.abap | 84 +-
src/z2ui5_cl_demo_app_103.clas.abap | 24 +-
src/z2ui5_cl_demo_app_104.clas.abap | 109 +-
src/z2ui5_cl_demo_app_105.clas.abap | 32 +-
src/z2ui5_cl_demo_app_106.clas.abap | 48 +-
src/z2ui5_cl_demo_app_107.clas.abap | 110 +-
src/z2ui5_cl_demo_app_108.clas.abap | 74 +-
src/z2ui5_cl_demo_app_109.clas.abap | 98 +-
src/z2ui5_cl_demo_app_110.clas.abap | 76 +-
src/z2ui5_cl_demo_app_111.clas.abap | 312 +-
src/z2ui5_cl_demo_app_112.clas.abap | 32 +-
src/z2ui5_cl_demo_app_113.clas.abap | 94 +-
src/z2ui5_cl_demo_app_114.clas.abap | 107 +-
src/z2ui5_cl_demo_app_115.clas.abap | 21 +-
src/z2ui5_cl_demo_app_116.clas.abap | 196 +-
src/z2ui5_cl_demo_app_117.clas.abap | 12 +-
src/z2ui5_cl_demo_app_118.clas.abap | 76 +-
src/z2ui5_cl_demo_app_120.clas.abap | 144 +-
src/z2ui5_cl_demo_app_121.clas.abap | 48 +-
src/z2ui5_cl_demo_app_122.clas.abap | 76 +-
src/z2ui5_cl_demo_app_123.clas.abap | 127 +-
src/z2ui5_cl_demo_app_124.clas.abap | 50 +-
src/z2ui5_cl_demo_app_125.clas.abap | 27 +-
src/z2ui5_cl_demo_app_126.clas.abap | 19 +-
src/z2ui5_cl_demo_app_129.clas.abap | 113 +-
src/z2ui5_cl_demo_app_130.clas.abap | 536 ++-
src/z2ui5_cl_demo_app_131.clas.abap | 22 +-
src/z2ui5_cl_demo_app_132.clas.abap | 9 +-
src/z2ui5_cl_demo_app_133.clas.abap | 51 +-
src/z2ui5_cl_demo_app_134.clas.abap | 66 +-
src/z2ui5_cl_demo_app_135.clas.abap | 84 +-
...z2ui5_cl_demo_app_135.clas.locals_imp.abap | 88 +-
src/z2ui5_cl_demo_app_136.clas.abap | 43 +-
src/z2ui5_cl_demo_app_137.clas.abap | 49 +-
...z2ui5_cl_demo_app_137.clas.locals_imp.abap | 8 +-
src/z2ui5_cl_demo_app_138.clas.abap | 41 +-
src/z2ui5_cl_demo_app_139.clas.abap | 19 +-
src/z2ui5_cl_demo_app_140.clas.abap | 86 +-
src/z2ui5_cl_demo_app_141.clas.abap | 128 +-
src/z2ui5_cl_demo_app_143.clas.abap | 95 +-
src/z2ui5_cl_demo_app_144.clas.abap | 58 +-
src/z2ui5_cl_demo_app_149.clas.abap | 34 +-
src/z2ui5_cl_demo_app_150.clas.abap | 24 +-
src/z2ui5_cl_demo_app_151.clas.abap | 21 +-
src/z2ui5_cl_demo_app_152.clas.abap | 76 +-
src/z2ui5_cl_demo_app_153.clas.abap | 41 +-
src/z2ui5_cl_demo_app_154.clas.abap | 30 +-
src/z2ui5_cl_demo_app_155.clas.abap | 22 +-
src/z2ui5_cl_demo_app_156.clas.abap | 26 +-
src/z2ui5_cl_demo_app_157.clas.abap | 26 +-
src/z2ui5_cl_demo_app_158.clas.abap | 64 +-
src/z2ui5_cl_demo_app_159.clas.abap | 67 +-
src/z2ui5_cl_demo_app_160.clas.abap | 253 +-
src/z2ui5_cl_demo_app_161.clas.abap | 64 +-
src/z2ui5_cl_demo_app_162.clas.abap | 57 +-
src/z2ui5_cl_demo_app_163.clas.abap | 79 +-
src/z2ui5_cl_demo_app_164.clas.abap | 46 +-
src/z2ui5_cl_demo_app_166.clas.abap | 43 +-
src/z2ui5_cl_demo_app_167.clas.abap | 57 +-
src/z2ui5_cl_demo_app_168.clas.abap | 20 +-
src/z2ui5_cl_demo_app_169.clas.abap | 28 +-
src/z2ui5_cl_demo_app_170.clas.abap | 113 +-
src/z2ui5_cl_demo_app_171.clas.abap | 21 +-
src/z2ui5_cl_demo_app_172.clas.abap | 202 +-
src/z2ui5_cl_demo_app_173.clas.abap | 59 +-
src/z2ui5_cl_demo_app_174.clas.abap | 73 +-
src/z2ui5_cl_demo_app_175.clas.abap | 32 +-
src/z2ui5_cl_demo_app_176.clas.abap | 43 +-
src/z2ui5_cl_demo_app_177.clas.abap | 145 +-
src/z2ui5_cl_demo_app_178.clas.abap | 122 +-
src/z2ui5_cl_demo_app_179.clas.abap | 366 +-
src/z2ui5_cl_demo_app_180.clas.abap | 40 +-
src/z2ui5_cl_demo_app_181.clas.abap | 145 +-
src/z2ui5_cl_demo_app_182.clas.abap | 259 +-
src/z2ui5_cl_demo_app_183.clas.abap | 148 +-
src/z2ui5_cl_demo_app_184.clas.abap | 15 +-
src/z2ui5_cl_demo_app_185.clas.abap | 61 +-
src/z2ui5_cl_demo_app_186.clas.abap | 97 +-
src/z2ui5_cl_demo_app_187.clas.abap | 31 +-
src/z2ui5_cl_demo_app_189.clas.abap | 42 +-
src/z2ui5_cl_demo_app_190.clas.abap | 13 +-
src/z2ui5_cl_demo_app_191.clas.abap | 65 +-
src/z2ui5_cl_demo_app_192.clas.abap | 3 +-
...z2ui5_cl_demo_app_192.clas.locals_imp.abap | 8 +-
src/z2ui5_cl_demo_app_193.clas.abap | 19 +-
...z2ui5_cl_demo_app_193.clas.locals_imp.abap | 8 +-
src/z2ui5_cl_demo_app_194.clas.abap | 11 +-
src/z2ui5_cl_demo_app_195.clas.abap | 65 +-
src/z2ui5_cl_demo_app_196.clas.abap | 229 +-
src/z2ui5_cl_demo_app_197.clas.abap | 178 +-
src/z2ui5_cl_demo_app_199.clas.abap | 7 +-
src/z2ui5_cl_demo_app_201.clas.abap | 520 ++-
src/z2ui5_cl_demo_app_202.clas.abap | 97 +-
src/z2ui5_cl_demo_app_205.clas.abap | 170 +-
src/z2ui5_cl_demo_app_206.clas.abap | 106 +-
src/z2ui5_cl_demo_app_207.clas.abap | 79 +-
src/z2ui5_cl_demo_app_208.clas.abap | 113 +-
src/z2ui5_cl_demo_app_209.clas.abap | 183 +-
src/z2ui5_cl_demo_app_210.clas.abap | 82 +-
src/z2ui5_cl_demo_app_211.clas.abap | 7 +-
src/z2ui5_cl_demo_app_212.clas.abap | 20 +-
src/z2ui5_cl_demo_app_213.clas.abap | 48 +-
src/z2ui5_cl_demo_app_214.clas.abap | 49 +-
src/z2ui5_cl_demo_app_215.clas.abap | 46 +-
src/z2ui5_cl_demo_app_216.clas.abap | 37 +-
src/z2ui5_cl_demo_app_217.clas.abap | 49 +-
src/z2ui5_cl_demo_app_218.clas.abap | 44 +-
src/z2ui5_cl_demo_app_219.clas.abap | 63 +-
src/z2ui5_cl_demo_app_220.clas.abap | 161 +-
src/z2ui5_cl_demo_app_221.clas.abap | 53 +-
src/z2ui5_cl_demo_app_222.clas.abap | 53 +-
src/z2ui5_cl_demo_app_223.clas.abap | 55 +-
src/z2ui5_cl_demo_app_224.clas.abap | 49 +-
src/z2ui5_cl_demo_app_225.clas.abap | 114 +-
src/z2ui5_cl_demo_app_226.clas.abap | 69 +-
src/z2ui5_cl_demo_app_227.clas.abap | 71 +-
src/z2ui5_cl_demo_app_228.clas.abap | 82 +-
src/z2ui5_cl_demo_app_229.clas.abap | 63 +-
src/z2ui5_cl_demo_app_230.clas.abap | 41 +-
src/z2ui5_cl_demo_app_231.clas.abap | 146 +-
src/z2ui5_cl_demo_app_232.clas.abap | 72 +-
src/z2ui5_cl_demo_app_233.clas.abap | 70 +-
src/z2ui5_cl_demo_app_234.clas.abap | 55 +-
src/z2ui5_cl_demo_app_235.clas.abap | 155 +-
src/z2ui5_cl_demo_app_236.clas.abap | 169 +-
src/z2ui5_cl_demo_app_237.clas.abap | 148 +-
src/z2ui5_cl_demo_app_238.clas.abap | 138 +-
src/z2ui5_cl_demo_app_239.clas.abap | 145 +-
src/z2ui5_cl_demo_app_240.clas.abap | 118 +-
src/z2ui5_cl_demo_app_241.clas.abap | 102 +-
src/z2ui5_cl_demo_app_242.clas.abap | 81 +-
src/z2ui5_cl_demo_app_243.clas.abap | 79 +-
src/z2ui5_cl_demo_app_244.clas.abap | 191 +-
src/z2ui5_cl_demo_app_245.clas.abap | 110 +-
src/z2ui5_cl_demo_app_246.clas.abap | 90 +-
src/z2ui5_cl_demo_app_247.clas.abap | 65 +-
src/z2ui5_cl_demo_app_248.clas.abap | 66 +-
src/z2ui5_cl_demo_app_249.clas.abap | 75 +-
src/z2ui5_cl_demo_app_250.clas.abap | 179 +-
src/z2ui5_cl_demo_app_251.clas.abap | 114 +-
src/z2ui5_cl_demo_app_252.clas.abap | 85 +-
src/z2ui5_cl_demo_app_253.clas.abap | 115 +-
src/z2ui5_cl_demo_app_254.clas.abap | 152 +-
src/z2ui5_cl_demo_app_255.clas.abap | 194 +-
src/z2ui5_cl_demo_app_256.clas.abap | 139 +-
src/z2ui5_cl_demo_app_257.clas.abap | 202 +-
src/z2ui5_cl_demo_app_258.clas.abap | 187 +-
src/z2ui5_cl_demo_app_259.clas.abap | 181 +-
src/z2ui5_cl_demo_app_260.clas.abap | 100 +-
src/z2ui5_cl_demo_app_261.clas.abap | 92 +-
src/z2ui5_cl_demo_app_262.clas.abap | 111 +-
src/z2ui5_cl_demo_app_263.clas.abap | 77 +-
src/z2ui5_cl_demo_app_264.clas.abap | 105 +-
src/z2ui5_cl_demo_app_265.clas.abap | 80 +-
src/z2ui5_cl_demo_app_266.clas.abap | 126 +-
src/z2ui5_cl_demo_app_267.clas.abap | 88 +-
src/z2ui5_cl_demo_app_268.clas.abap | 155 +-
src/z2ui5_cl_demo_app_269.clas.abap | 4 +-
src/z2ui5_cl_demo_app_270.clas.abap | 27 +-
src/z2ui5_cl_demo_app_271.clas.abap | 76 +-
src/z2ui5_cl_demo_app_272.clas.abap | 84 +-
src/z2ui5_cl_demo_app_273.clas.abap | 219 +-
src/z2ui5_cl_demo_app_274.clas.abap | 83 +-
src/z2ui5_cl_demo_app_275.clas.abap | 56 +-
src/z2ui5_cl_demo_app_276.clas.abap | 74 +-
src/z2ui5_cl_demo_app_277.clas.abap | 319 +-
src/z2ui5_cl_demo_app_278.clas.abap | 89 +-
src/z2ui5_cl_demo_app_279.clas.abap | 72 +-
src/z2ui5_cl_demo_app_280.clas.abap | 124 +-
src/z2ui5_cl_demo_app_281.clas.abap | 187 +-
src/z2ui5_cl_demo_app_282.clas.abap | 169 +-
src/z2ui5_cl_demo_app_283.clas.abap | 137 +-
src/z2ui5_cl_demo_app_284.clas.abap | 103 +-
src/z2ui5_cl_demo_app_285.clas.abap | 119 +-
src/z2ui5_cl_demo_app_286.clas.abap | 84 +-
src/z2ui5_cl_demo_app_287.clas.abap | 134 +-
src/z2ui5_cl_demo_app_288.clas.abap | 124 +-
src/z2ui5_cl_demo_app_289.clas.abap | 87 +-
src/z2ui5_cl_demo_app_290.clas.abap | 115 +-
src/z2ui5_cl_demo_app_291.clas.abap | 113 +-
src/z2ui5_cl_demo_app_292.clas.abap | 79 +-
src/z2ui5_cl_demo_app_293.clas.abap | 106 +-
src/z2ui5_cl_demo_app_294.clas.abap | 75 +-
src/z2ui5_cl_demo_app_295.clas.abap | 68 +-
src/z2ui5_cl_demo_app_296.clas.abap | 51 +-
src/z2ui5_cl_demo_app_297.clas.abap | 83 +-
src/z2ui5_cl_demo_app_298.clas.abap | 172 +-
src/z2ui5_cl_demo_app_299.clas.abap | 86 +-
src/z2ui5_cl_demo_app_300.clas.abap | 546 ++-
src/z2ui5_cl_demo_app_301.clas.abap | 106 +-
src/z2ui5_cl_demo_app_302.clas.abap | 77 +-
src/z2ui5_cl_demo_app_303.clas.abap | 2 +
292 files changed, 18223 insertions(+), 16424 deletions(-)
create mode 100644 cleaner-profile.cfj
diff --git a/.gitignore b/.gitignore
index 7d74cbe0..bcc7f25a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
downport
node_modules
-output
\ No newline at end of file
+output
+.cleanup
\ No newline at end of file
diff --git a/cleaner-profile.cfj b/cleaner-profile.cfj
new file mode 100644
index 00000000..6b499870
--- /dev/null
+++ b/cleaner-profile.cfj
@@ -0,0 +1,1143 @@
+{
+ "requiredVersion": 1,
+ "programVersion": 26,
+ "ruleCount": 98,
+ "autoActivateNewFeatures": true,
+ "rules": [
+ {
+ "ruleID": "EMPTY_LINES_WITHIN_METHODS",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "MaxEmptyLinesWithinMethods": "1",
+ "MaxEmptyLinesAtMethodStart": "1",
+ "EmptyLineAboveFirstExecutable": "1",
+ "MaxEmptyLinesAtMethodEnd": "1"
+ }
+ },
+ {
+ "ruleID": "EMPTY_LINES_OUTSIDE_METHODS",
+ "isActive": true,
+ "settingCount": 3,
+ "settings": {
+ "EmptyLinesBetweenClasses": "2",
+ "EmptyLinesBetweenClassAndMethod": "1",
+ "EmptyLinesBetweenMethods": "1"
+ }
+ },
+ {
+ "ruleID": "EMPTY_LINES_IN_CLASS_DEFINITION",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "RemoveIncludeWarnings": "1",
+ "RemoveEmptyLineAboveEndClass": "0",
+ "AddEmptyLineAboveSections": "1",
+ "RemoveEmptyLineBelowSections": "1",
+ "MaxEmptyLines": "1",
+ "AddLineBetweenDefTypes": "2"
+ }
+ },
+ {
+ "ruleID": "CDS_TEST_CLASS_LINES",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "RemoveToDoComments": "1",
+ "EmptyLineAboveInsertTestData": "1",
+ "RemoveAbapDoc": "1",
+ "EmptyLineBelowSelect": "1",
+ "EmptyLineAboveSelect": "1",
+ "MovePrepareMethods": "0"
+ }
+ },
+ {
+ "ruleID": "SPACES_IN_EMPTY_BRACKETS",
+ "isActive": true,
+ "settingCount": 5,
+ "settings": {
+ "SeparateFromCharLiterals": "1",
+ "SeparateFromComments": "1",
+ "SeparateFromOperators": "1",
+ "SeparateCondensedCases": "1",
+ "SeparateFromKeywords": "1"
+ }
+ },
+ {
+ "ruleID": "CLOSING_BRACKETS_POSITION",
+ "isActive": false,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "SPACE_BEFORE_PERIOD",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "MoveAcrossCommentLines": "1",
+ "ExecuteOnClassDefinitionSections": "1",
+ "ExecuteOnComma": "1",
+ "ExecuteOnPeriod": "1"
+ }
+ },
+ {
+ "ruleID": "SPACE_AROUND_COMMENT_SIGN",
+ "isActive": true,
+ "settingCount": 2,
+ "settings": {
+ "SpaceBeforeCommentSign": "1",
+ "SpaceAfterCommentSign": "1"
+ }
+ },
+ {
+ "ruleID": "NEEDLESS_SPACES",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "ProcessLineEndComments": "0",
+ "SearchAcrossCommentLines": "1",
+ "SearchAcrossEmptyLines": "1",
+ "ProcessEmptyBrackets": "1"
+ }
+ },
+ {
+ "ruleID": "DECLARATION_CHAIN",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "ExecuteOnClassDefinitionSections": "1",
+ "ExecuteOnSimpleCommands": "0",
+ "ExecuteOnLocalDeclarations": "1",
+ "ExecuteOnInterfaces": "1",
+ "KeepTablesWithStructures": "1",
+ "ExecuteOnComplexCommands": "1"
+ }
+ },
+ {
+ "ruleID": "NEEDLESS_CLEAR",
+ "isActive": true,
+ "settingCount": 3,
+ "settings": {
+ "ActionAtEnd": "1",
+ "ActionAtStart": "0",
+ "KeepStrucBeforeAssign": "1"
+ }
+ },
+ {
+ "ruleID": "LOCAL_DECLARATION_ORDER",
+ "isActive": false,
+ "settingCount": 10,
+ "settings": {
+ "MoveComments": "1",
+ "FieldSymbolsOrder": "1",
+ "TypesOrder": "0",
+ "DataOrder": "1",
+ "StaticsOrder": "1",
+ "EmptyLine": "1",
+ "DistinctBlocks": "1",
+ "RearrangeChains": "1",
+ "ConstantsOrder": "0",
+ "ConsiderComments": "0"
+ }
+ },
+ {
+ "ruleID": "UNUSED_PARAMETERS",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "ChangingParamScope": "1",
+ "ImportingParamScope": "1",
+ "ReturningParamScope": "4",
+ "ExportingParamScope": "0",
+ "IgnoreEmptyMethods": "1",
+ "IgnoreExportingByValue": "1"
+ }
+ },
+ {
+ "ruleID": "UNUSED_VARIABLES",
+ "isActive": true,
+ "settingCount": 7,
+ "settings": {
+ "MeasureForConstantsOnlyUsedInComment": "1",
+ "MeasureForVarsNeverUsed": "0",
+ "MeasureForAssignedVars": "0",
+ "MeasureForConstantsNeverUsed": "1",
+ "MeasureForVarsOnlyUsedInComment": "1",
+ "MeasureForAssignedVarsOnlyUsedInComment": "0",
+ "MeasureForVarsOnlyAssignedInMessageInto": "0"
+ }
+ },
+ {
+ "ruleID": "CHAIN_OF_ONE",
+ "isActive": true,
+ "settingCount": 3,
+ "settings": {
+ "ExecuteOnClassDefinitionSections": "1",
+ "ExecuteOnLocalDeclarations": "1",
+ "ExecuteOnNonDeclarations": "1"
+ }
+ },
+ {
+ "ruleID": "IMPLICIT_TYPE",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "ExecuteOnDataAndClassData": "1",
+ "ExecuteOnTypes": "1",
+ "ReplaceParenthesisWithLength": "1",
+ "ExecuteOnConstantsAndStatics": "1"
+ }
+ },
+ {
+ "ruleID": "FINAL_VARIABLE",
+ "isActive": false,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "CLASS_DEFINITION",
+ "isActive": true,
+ "settingCount": 14,
+ "settings": {
+ "NewLineForPublic": "1",
+ "NewLineForBehavior": "1",
+ "NewLineForAbstractOrFinal": "0",
+ "NewLineForLocalFriends": "0",
+ "MaxLineLength": "120",
+ "NewLineForRiskAndDuration": "0",
+ "NewLineForFriends": "1",
+ "NewLineForTesting": "1",
+ "NewLineForCreate": "1",
+ "NewLineForFriendNames": "1",
+ "IndentStyle": "0",
+ "NewLineForSharedMemory": "1",
+ "OneLinerAction": "2",
+ "NewLineForInheriting": "1"
+ }
+ },
+ {
+ "ruleID": "ESCAPE_CHAR_FOR_PARAMS",
+ "isActive": true,
+ "settingCount": 1,
+ "settings": {
+ "UseEscapeCharForParams": "3"
+ }
+ },
+ {
+ "ruleID": "EMPTY_SECTIONS",
+ "isActive": false,
+ "settingCount": 1,
+ "settings": {
+ "EmptySectionsMeasure": "1"
+ }
+ },
+ {
+ "ruleID": "ABAP_DOC_PARAMETERS",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "OnlyAddToExistingDetails": "0",
+ "DeleteParameters": "1",
+ "AddParameters": "2",
+ "Update order": "1",
+ "DeleteExceptions": "1",
+ "AddExceptions": "2"
+ }
+ },
+ {
+ "ruleID": "ABAP_DOC_LANG",
+ "isActive": true,
+ "settingCount": 1,
+ "settings": {
+ "RemoveNonEnglishLang": "0"
+ }
+ },
+ {
+ "ruleID": "COMMENT_TYPE",
+ "isActive": true,
+ "settingCount": 2,
+ "settings": {
+ "MeasureForLeadingAsterisks": "3",
+ "MeasureForTrailingAsterisks": "1"
+ }
+ },
+ {
+ "ruleID": "END_OF_COMMENT",
+ "isActive": true,
+ "settingCount": 3,
+ "settings": {
+ "LineLimitInsideMethod": "50",
+ "EndOfCommentActionInsideMethod": "1",
+ "EndOfCommentActionOutsideMethod": "1"
+ }
+ },
+ {
+ "ruleID": "PSEUDO_COMMENT",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "PRAGMA_POSITION",
+ "isActive": true,
+ "settingCount": 1,
+ "settings": {
+ "MovePragmaFromLineStartToEnd": "0"
+ }
+ },
+ {
+ "ruleID": "TYPO",
+ "isActive": true,
+ "settingCount": 7,
+ "settings": {
+ "ProcessAbapDoc": "1",
+ "ProcessComments": "1",
+ "AddTodoBeforeMessage": "1",
+ "CorrectTypos": "1",
+ "ConvertBritishToAmerican": "1",
+ "ProcessShorttexts": "1",
+ "MeasureForLiterals": "1"
+ }
+ },
+ {
+ "ruleID": "EQUALS_SIGN_CHAIN",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "CALCULATION_ASSIGNMENT",
+ "isActive": true,
+ "settingCount": 3,
+ "settings": {
+ "ConvertMinusToMultiplication": "0",
+ "AllowVariableAtEnd": "1",
+ "AllowMinusBeforeMultOrDiv": "1"
+ }
+ },
+ {
+ "ruleID": "COMPARISON_OPERATOR",
+ "isActive": true,
+ "settingCount": 3,
+ "settings": {
+ "ReplaceObsoleteOperators": "1",
+ "PreferredOperatorSet": "0",
+ "ReplaceRegularOperators": "1"
+ }
+ },
+ {
+ "ruleID": "NOT_IS",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "LOGICAL_OPERATOR_POSITION",
+ "isActive": true,
+ "settingCount": 2,
+ "settings": {
+ "MoveBooleanOperators": "1",
+ "MoveKeyword": "1"
+ }
+ },
+ {
+ "ruleID": "STRING_TEMPLATE",
+ "isActive": true,
+ "settingCount": 5,
+ "settings": {
+ "AlwaysConvertLiterals": "1",
+ "IgnoreMultiLineOperands": "1",
+ "RequireOperandsOnSameLine": "0",
+ "KeepControlCharsSeparate": "1",
+ "StringTemplateCondition": "1"
+ }
+ },
+ {
+ "ruleID": "NEEDLESS_PARENTHESES",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "RemoveOrParenthesisAnd": "0",
+ "RemoveAroundSameOp": "0",
+ "RemoveAroundRelExpr": "0",
+ "RemoveAroundAll": "1"
+ }
+ },
+ {
+ "ruleID": "EMPTY_COMMAND",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "VALUE_STATEMENT",
+ "isActive": true,
+ "settingCount": 7,
+ "settings": {
+ "MoveIntegerLiterals": "1",
+ "MoveFloatLiterals": "1",
+ "MoveIdentifiers": "1",
+ "SkipIfRowsCommentedOut": "1",
+ "MoveComplexExpressions": "1",
+ "MoveMethodCalls": "0",
+ "MoveStringLiterals": "1"
+ }
+ },
+ {
+ "ruleID": "SELF_REFERENCE_ME",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "RECEIVING_KEYWORD",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "EXPORTING_KEYWORD",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "CHECK_OUTSIDE_LOOP",
+ "isActive": true,
+ "settingCount": 5,
+ "settings": {
+ "NegationStyle": "1",
+ "AllowCheckAfterCheckpoints": "1",
+ "KeepCondition": "2",
+ "ConvertAbapFalseAndAbapTrue": "1",
+ "ProcessChains": "1"
+ }
+ },
+ {
+ "ruleID": "CHECK_IN_LOOP",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "NegationStyle": "1",
+ "KeepCondition": "0",
+ "ConvertAbapFalseAndAbapTrue": "1",
+ "ProcessChains": "1"
+ }
+ },
+ {
+ "ruleID": "IF_BLOCK_AT_LOOP_END",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "NegationStyle": "1",
+ "EnsureEmptyLineAfterEndIf": "1",
+ "MinLinePercentage": "50",
+ "ConvertAbapFalseAndAbapTrue": "1",
+ "MinLineCount": "10",
+ "KeepExceptionalLogicInIf": "1"
+ }
+ },
+ {
+ "ruleID": "IF_BLOCK_AT_METHOD_END",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "NegationStyle": "1",
+ "EnsureEmptyLineAfterEndIf": "1",
+ "MinLinePercentage": "50",
+ "ConvertAbapFalseAndAbapTrue": "1",
+ "MinLineCount": "10",
+ "KeepExceptionalLogicInIf": "1"
+ }
+ },
+ {
+ "ruleID": "CALL_METHOD",
+ "isActive": true,
+ "settingCount": 1,
+ "settings": {
+ "ProcessChains": "1"
+ }
+ },
+ {
+ "ruleID": "CREATE_OBJECT",
+ "isActive": true,
+ "settingCount": 1,
+ "settings": {
+ "ProcessChains": "1"
+ }
+ },
+ {
+ "ruleID": "RAISE_TYPE",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "ADD_TO_ETC",
+ "isActive": true,
+ "settingCount": 2,
+ "settings": {
+ "ProcessChains": "1",
+ "AddToReplacementStyle": "1"
+ }
+ },
+ {
+ "ruleID": "MOVE_TO",
+ "isActive": true,
+ "settingCount": 1,
+ "settings": {
+ "ProcessChains": "1"
+ }
+ },
+ {
+ "ruleID": "TRANSLATE",
+ "isActive": true,
+ "settingCount": 5,
+ "settings": {
+ "ReplaceTranslateToUpperLower": "1",
+ "SkipUnknownTypes": "1",
+ "ReplaceUnevenMasks": "1",
+ "ProcessChains": "1",
+ "ReplaceTranslateUsing": "1"
+ }
+ },
+ {
+ "ruleID": "CONDENSE",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "SpecifyFromForNoGaps": "1",
+ "SpecifyValName": "0",
+ "KeepParamsOnOneLine": "0",
+ "SpecifyDel": "0"
+ }
+ },
+ {
+ "ruleID": "DESCRIBE_TABLE",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "READ_TABLE",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "ReplaceWithLineExists": "1",
+ "ReplaceWithLineIndex": "1",
+ "ReplaceWithAssign": "1",
+ "UseComponentsKeyword": "0"
+ }
+ },
+ {
+ "ruleID": "ASSERT_EQUALS_BOOLEAN",
+ "isActive": true,
+ "settingCount": 1,
+ "settings": {
+ "RemoveActIfOnlyParameter": "1"
+ }
+ },
+ {
+ "ruleID": "ASSERT_EQUALS_SUBRC",
+ "isActive": true,
+ "settingCount": 1,
+ "settings": {
+ "RemoveExpEqualsZero": "1"
+ }
+ },
+ {
+ "ruleID": "ASSERT_CLASS",
+ "isActive": false,
+ "settingCount": 2,
+ "settings": {
+ "ProcessChains": "1",
+ "AssertClassName": "cx_assert"
+ }
+ },
+ {
+ "ruleID": "ASSERT_PARAMETER_ORDER",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "NumTextTableParamOrder": "0",
+ "ReturnCodeParamOrder": "0",
+ "ComparisonParamOrder": "0",
+ "AssertClassName": ""
+ }
+ },
+ {
+ "ruleID": "UPPER_AND_LOWER_CASE",
+ "isActive": true,
+ "settingCount": 8,
+ "settings": {
+ "DeriveCaseMethod": "0",
+ "ImplementationKeywordStyle": "2",
+ "ImplementationIdentifierStyle": "1",
+ "KeepMixedCaseInIdentifiers": "1",
+ "DefinitionKeywordStyle": "2",
+ "DefinitionIdentifierStyle": "1",
+ "PragmaStyle": "2",
+ "PragmaParameterStyle": "2"
+ }
+ },
+ {
+ "ruleID": "CAMEL_CASE_NAME",
+ "isActive": true,
+ "settingCount": 10,
+ "settings": {
+ "MinLengthOfSureMatch": "11",
+ "ContextWithUnknownAction": "3",
+ "CustomViewNamesFile": "CustomViewNames.txt",
+ "ContextAllKnownAction": "0",
+ "ProcessComments": "1",
+ "RequireApprovalForSureMatch": "0",
+ "ProcessFieldNames": "1",
+ "CustomFieldNamesFile": "CustomFieldNames.txt",
+ "DeviationAction": "1",
+ "ProcessViewNames": "1"
+ }
+ },
+ {
+ "ruleID": "CAMEL_CASE_IN_CDS_TEST",
+ "isActive": true,
+ "settingCount": 5,
+ "settings": {
+ "ProcessComments": "1",
+ "AddPseudoCommentNoWhere": "1",
+ "ProcessClassName": "1",
+ "ProcessVariableNames": "1",
+ "ProcessLiterals": "1"
+ }
+ },
+ {
+ "ruleID": "INSET",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "AlignWithFollowingCatch": "1",
+ "ExecuteOnClassDefinitionSections": "1",
+ "AlignWithFollowingElse": "1",
+ "AlignWithFollowingWhen": "1"
+ }
+ },
+ {
+ "ruleID": "ALIGN_ABAP_DOC",
+ "isActive": true,
+ "settingCount": 2,
+ "settings": {
+ "AlignAcrossNonEmptyLines": "1",
+ "AlignAcrossEmptyLines": "1"
+ }
+ },
+ {
+ "ruleID": "ALIGN_METHODS_DECLARATION",
+ "isActive": true,
+ "settingCount": 9,
+ "settings": {
+ "FillPercentageToJustifyOwnColumn": "40",
+ "HandleOneLiners": "2",
+ "ContinueAfterKeyword": "0",
+ "SeparateWithEmptyLine": "1",
+ "AlignAcrossEmptyLines": "1",
+ "AlignConsecutive": "2",
+ "ContinueAfterAccess": "2",
+ "AlignAcrossCommentLines": "0",
+ "ContinueAfterMethodName": "2"
+ }
+ },
+ {
+ "ruleID": "ALIGN_METHODS_FOR_TESTING",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "ContinueAfterKeyword": "0",
+ "AlignAcrossEmptyLines": "1",
+ "AlignAcrossCommentLines": "1",
+ "ContinueAfterMethodName": "0"
+ }
+ },
+ {
+ "ruleID": "ALIGN_METHODS_REDEFINITION",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "ContinueAfterKeyword": "0",
+ "AlignAcrossEmptyLines": "1",
+ "AlignAcrossCommentLines": "1",
+ "ContinueAfterMethodName": "0"
+ }
+ },
+ {
+ "ruleID": "ALIGN_ALIASES_FOR",
+ "isActive": true,
+ "settingCount": 2,
+ "settings": {
+ "AlignAcrossEmptyLines": "1",
+ "AlignAcrossCommentLines": "1"
+ }
+ },
+ {
+ "ruleID": "ALIGN_DECLARATIONS",
+ "isActive": true,
+ "settingCount": 11,
+ "settings": {
+ "CondenseInnerSpaces": "1",
+ "AlignNonChainsAction": "0",
+ "FillPercentageToJustifyOwnColumn": "20",
+ "ExecuteOnClassDefinitionSections": "1",
+ "StructureAlignStyle": "1",
+ "AlignEnumAction": "0",
+ "AlignChainAction": "0",
+ "AlignAcrossEmptyLines": "1",
+ "AlignStructureAction": "0",
+ "MaxLineLength": "130",
+ "AlignAcrossCommentLines": "1"
+ }
+ },
+ {
+ "ruleID": "ALIGN_ASSIGNMENTS",
+ "isActive": true,
+ "settingCount": 2,
+ "settings": {
+ "AlignAcrossEmptyLines": "1",
+ "AlignAcrossCommentLines": "1"
+ }
+ },
+ {
+ "ruleID": "ALIGN_WITH_SECOND_WORD",
+ "isActive": true,
+ "settingCount": 0,
+ "settings": {}
+ },
+ {
+ "ruleID": "ALIGN_CLEAR_FREE_AND_SORT",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "DistinctLineSort": "0",
+ "DistinctLineClear": "0",
+ "DistinctLineFree": "0",
+ "MaxLineLength": "120"
+ }
+ },
+ {
+ "ruleID": "ALIGN_SELECT_CLAUSES",
+ "isActive": true,
+ "settingCount": 10,
+ "settings": {
+ "MaxSelectListLengthBeforeFrom": "30",
+ "NextSelectPos": "2",
+ "SelectUnionIntoIndent": "0",
+ "NewLineForFromWithJoins": "1",
+ "SelectUnionIndent": "0",
+ "SelectClauseIndent": "0",
+ "MaxLineLength": "120",
+ "SubQueryOneLinerAction": "1",
+ "MaxSelectListLengthBeforeInto": "30",
+ "MainQueryOneLinerAction": "1"
+ }
+ },
+ {
+ "ruleID": "ALIGN_SELECT_FROM",
+ "isActive": true,
+ "settingCount": 7,
+ "settings": {
+ "AlignAsAcrossJoins": "0",
+ "FirstTableNamePosition": "0",
+ "SelectJoinIndent": "1",
+ "AlignOnAcrossJoins": "0",
+ "SelectOnPosition": "0",
+ "FurtherTableNamePositions": "2",
+ "SelectClientPosition": "2"
+ }
+ },
+ {
+ "ruleID": "ALIGN_SELECT_LISTS",
+ "isActive": true,
+ "settingCount": 11,
+ "settings": {
+ "SimpleSelectListLayout": "2",
+ "SelectIntoLayout": "2",
+ "SimpleGroupByListLayout": "2",
+ "SimpleOrderByListLayout": "2",
+ "AlignAsInSelectList": "1",
+ "ComplexSelectListLayout": "0",
+ "ComplexGroupByListLayout": "0",
+ "ComplexOrderByListLayout": "0",
+ "ConsiderTildeAsComplex": "1",
+ "MaxLineLength": "120",
+ "AlignAdditionsInOrderByList": "0"
+ }
+ },
+ {
+ "ruleID": "ALIGN_PARAMETERS",
+ "isActive": true,
+ "settingCount": 11,
+ "settings": {
+ "AlignAcrossTableRows": "1",
+ "PutFunctionalCallKeywordsOnOwnLine": "0",
+ "KeepParametersOnSingleLine": "1",
+ "MaxParamCountBehindProceduralCall": "0",
+ "KeepOtherOneLiners": "0",
+ "PutProceduralCallKeywordsOnOwnLine": "0",
+ "MaxLineLength": "120",
+ "MaxParamCountBehindFunctionalCall": "100",
+ "AlignAssignments": "1",
+ "AllowContentLeftOfAssignOp": "1",
+ "MaxLineLengthForSingleLine": "160"
+ }
+ },
+ {
+ "ruleID": "ALIGN_LOGICAL_EXPRESSIONS",
+ "isActive": true,
+ "settingCount": 13,
+ "settings": {
+ "AlignSqlWhenWithBoolOps": "0",
+ "AlignIfWithBoolOps": "0",
+ "AlignSqlOnWithBoolOps": "1",
+ "AlignCheckWithBoolOps": "0",
+ "AlignElseIfWithBoolOps": "0",
+ "AlignSqlHavingWithBoolOps": "2",
+ "OnlyAlignSameObjects": "0",
+ "AlignUntilWithBoolOps": "0",
+ "AlignWhileWithBoolOps": "0",
+ "RightAlignComparisonOps": "1",
+ "MaxInnerSpaces": "20",
+ "AlignWhereWithBoolOps": "0",
+ "AlignSqlWhereWithBoolOps": "2"
+ }
+ },
+ {
+ "ruleID": "ALIGN_COND_EXPRESSIONS",
+ "isActive": true,
+ "settingCount": 8,
+ "settings": {
+ "SimpleStyle": "0",
+ "TabularStyle": "0",
+ "GapAfterElse": "1",
+ "ContinueAfterElse": "0",
+ "MaxLineLength": "120",
+ "OneLinerStyle": "1",
+ "ThenOnWhenLine": "1",
+ "ValueInset": "1"
+ }
+ },
+ {
+ "ruleID": "ALIGN_FORM_DECLARATION",
+ "isActive": true,
+ "settingCount": 5,
+ "settings": {
+ "ContinueAfterParamGroupKeyword": "1",
+ "RemoveEmptyLine": "1",
+ "ParamCountBehindFormName": "3",
+ "AlignTypes": "1",
+ "AddEmptyLine": "1"
+ }
+ },
+ {
+ "ruleID": "ALIGN_PERFORM",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "BreakAfterAdditions": "0",
+ "ParamCountToCondense": "16",
+ "ContinueAfterParamGroupKeyword": "1",
+ "ParamCountAfterPerform": "3",
+ "MaxLineLength": "120",
+ "AlignWithFormName": "0"
+ }
+ },
+ {
+ "ruleID": "DDL_ANNO_LAYOUT",
+ "isActive": true,
+ "settingCount": 8,
+ "settings": {
+ "SpaceInsideBrackets": "1",
+ "MaxOneLinerElemCountMain": "4",
+ "AlignTablesInArrays": "1",
+ "AlignValues": "0",
+ "SpaceInsideBraces": "1",
+ "MaxOneLinerElemCountList": "4",
+ "SpaceAfterColon": "1",
+ "MaxLineLength": "120"
+ }
+ },
+ {
+ "ruleID": "DDL_ANNO_NESTING",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "NestingAllowList": "",
+ "NestingBlockList": "",
+ "EmptyLinesMain": "1",
+ "SortOrder": "1",
+ "EmptyLinesList": "3",
+ "NestingMinDepth": "1"
+ }
+ },
+ {
+ "ruleID": "DDL_POSITION_DEFINE",
+ "isActive": true,
+ "settingCount": 7,
+ "settings": {
+ "BreakBeforeDefine": "0",
+ "DefineIndent": "0",
+ "EntityNameIndent": "2",
+ "BreakBeforeEntityName": "2",
+ "ParamsIndent": "4",
+ "WithParamsIndent": "2",
+ "BreakBeforeWithParams": "0"
+ }
+ },
+ {
+ "ruleID": "DDL_POSITION_SELECT",
+ "isActive": true,
+ "settingCount": 8,
+ "settings": {
+ "BreakBeforeSelectFrom": "0",
+ "AsSelectFromIndent": "2",
+ "BreakBeforeAsSelectFrom": "0",
+ "BreakBeforeDataSource": "2",
+ "DataSourceIndent": "4",
+ "SelectFromIndent": "2",
+ "AsProjectionOnIndent": "2",
+ "BreakBeforeAsProjectionOn": "0"
+ }
+ },
+ {
+ "ruleID": "DDL_POSITION_JOIN",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "KeywordsIndent": "4",
+ "BreakBeforeCondition": "1",
+ "BreakBeforeKeywords": "0",
+ "BreakBeforeDataSource": "2",
+ "DataSourceIndent": "4",
+ "ConditionIndent": "6"
+ }
+ },
+ {
+ "ruleID": "DDL_POSITION_ASSOCIATION",
+ "isActive": true,
+ "settingCount": 8,
+ "settings": {
+ "KeywordsIndent": "2",
+ "BreakBeforeCondition": "1",
+ "BreakBeforeKeywords": "0",
+ "BreakBeforeDataSource": "2",
+ "DataSourceIndent": "2",
+ "ConditionIndent": "4",
+ "BreakBeforeFilter": "0",
+ "FilterIndent": "4"
+ }
+ },
+ {
+ "ruleID": "DDL_POSITION_BRACES",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "FromIndent": "2",
+ "BreakBeforeFrom": "0",
+ "BreakBeforeOpeningBrace": "0",
+ "ClosingBraceIndent": "0",
+ "OpeningBraceIndent": "0",
+ "BreakBeforeClosingBrace": "0"
+ }
+ },
+ {
+ "ruleID": "DDL_POSITION_CLAUSES",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "BreakBeforeUnionEtc": "0",
+ "UnionEtcIndent": "0",
+ "WhereEtcIndent": "0",
+ "BreakBeforeWhereEtc": "0"
+ }
+ },
+ {
+ "ruleID": "DDL_SPACES_AROUND_SIGNS",
+ "isActive": true,
+ "settingCount": 8,
+ "settings": {
+ "SpaceAroundArithmeticOps": "0",
+ "SpaceAfterCommaInAbapType": "2",
+ "SpaceBeforeCommentSign": "0",
+ "SpaceBeforeColon": "1",
+ "SpaceAfterCommentSign": "0",
+ "SpaceAfterColon": "0",
+ "SpaceAfterComma": "0",
+ "SpaceBeforeComma": "2"
+ }
+ },
+ {
+ "ruleID": "DDL_SPACES_AROUND_BRACKETS",
+ "isActive": true,
+ "settingCount": 9,
+ "settings": {
+ "SpacesInsidePathBrackets": "2",
+ "SpacesInsideCardBrackets": "2",
+ "SpacesAroundCardBrackets": "0",
+ "SpacesInsideArithParens": "2",
+ "SpacesBeforeFuncParens": "2",
+ "SpacesInsideFuncParens": "2",
+ "SpacesBeforeTypeParens": "2",
+ "SpacesBeforePathBrackets": "2",
+ "SpacesInsideTypeParens": "2"
+ }
+ },
+ {
+ "ruleID": "DDL_CAMEL_CASE_NAME",
+ "isActive": true,
+ "settingCount": 6,
+ "settings": {
+ "FixAliases": "1",
+ "OnlyApprovedNames": "1",
+ "RequireAllFieldsKnown": "1",
+ "FixFieldNames": "1",
+ "FixRefsInAnnotations": "1",
+ "FixEntityName": "1"
+ }
+ },
+ {
+ "ruleID": "DDL_TYPO",
+ "isActive": true,
+ "settingCount": 5,
+ "settings": {
+ "ProcessAnnotations": "1",
+ "ProcessComments": "1",
+ "ProcessAnnotationRefs": "0",
+ "CorrectTypos": "1",
+ "ConvertBritishToAmerican": "1"
+ }
+ },
+ {
+ "ruleID": "DDL_ALIGN_ENTITY_PARAMETERS",
+ "isActive": true,
+ "settingCount": 2,
+ "settings": {
+ "AlignColons": "1",
+ "AlignTypes": "1"
+ }
+ },
+ {
+ "ruleID": "DDL_ALIGN_SOURCE_PARAMETERS",
+ "isActive": true,
+ "settingCount": 4,
+ "settings": {
+ "ParameterPos": "3",
+ "AlignActualParams": "1",
+ "AlignAssignmentOps": "1",
+ "AsAliasPos": "0"
+ }
+ },
+ {
+ "ruleID": "DDL_ALIGN_FUNCTION_PARAMETERS",
+ "isActive": true,
+ "settingCount": 3,
+ "settings": {
+ "ParameterPos": "0",
+ "AlignActualParams": "1",
+ "AlignAssignmentOps": "1"
+ }
+ },
+ {
+ "ruleID": "DDL_ALIGN_LOGICAL_EXPRESSIONS",
+ "isActive": true,
+ "settingCount": 13,
+ "settings": {
+ "AlignFilterWithBoolOps": "2",
+ "AlignAssociationOn": "1",
+ "AlignPathExpressions": "1",
+ "AlignWhenWithBoolOps": "2",
+ "AlignWhere": "1",
+ "AlignOnWithBoolOps": "1",
+ "AlignHavingWithBoolOps": "2",
+ "AlignJoinOn": "1",
+ "AlignWhen": "1",
+ "RightAlignComparisonOps": "1",
+ "AlignHaving": "1",
+ "MaxInnerSpaces": "20",
+ "AlignWhereWithBoolOps": "2"
+ }
+ },
+ {
+ "ruleID": "DDL_ALIGN_FIELD_LISTS",
+ "isActive": true,
+ "settingCount": 7,
+ "settings": {
+ "SimpleGroupByListLayout": "0",
+ "NameListPos": "1",
+ "ComplexGroupByListLayout": "0",
+ "ConsiderDotAsComplex": "1",
+ "MaxLineLength": "120",
+ "NameListLayout": "0",
+ "GroupByListPos": "0"
+ }
+ },
+ {
+ "ruleID": "DDL_ALIGN_DATA_SOURCES",
+ "isActive": true,
+ "settingCount": 5,
+ "settings": {
+ "AlignDataSources": "1",
+ "AlignAssociationsWithJoins": "0",
+ "AlignOnConditions": "1",
+ "ConsiderAllParamAssignLines": "0",
+ "AlignAliases": "1"
+ }
+ },
+ {
+ "ruleID": "DDL_ALIGN_SELECT_LIST",
+ "isActive": true,
+ "settingCount": 8,
+ "settings": {
+ "ConsiderAllElementLines": "0",
+ "AlignCommentedOutCode": "1",
+ "ConsiderSimpleElementsWithoutAlias": "1",
+ "ConsiderComplexElementsWithoutAlias": "0",
+ "AlignTextualComments": "1",
+ "MaxAliasStart": "120",
+ "AlignAliases": "1",
+ "AlignKeyKeyword": "1"
+ }
+ },
+ {
+ "ruleID": "DDL_EMPTY_LINES_BETWEEN",
+ "isActive": true,
+ "settingCount": 10,
+ "settings": {
+ "BetweenEntityAnnosAndDefine": "0",
+ "BetweenParametersAndAsSelect": "0",
+ "BeforeSelectListStart": "0",
+ "AfterSelectListStart": "3",
+ "BetweenSelectFromAndJoins": "1",
+ "BetweenJoinsAndAssociations": "0",
+ "BeforeSelectListEnd": "3",
+ "AfterSelectListEnd": "0",
+ "MaxConsecutiveEmptyLines": "2",
+ "RemoveAtDocumentEnd": "1"
+ }
+ },
+ {
+ "ruleID": "DDL_EMPTY_LINES_WITHIN",
+ "isActive": true,
+ "settingCount": 12,
+ "settings": {
+ "SurroundAssociationLineCountMin": "2",
+ "CondenseParameters": "2",
+ "CondenseAssociations": "2",
+ "DetachExposedAssociations": "1",
+ "CondenseClauses": "3",
+ "SurroundParameterLineCountMin": "2",
+ "CondenseJoins": "2",
+ "DetachKeyFields": "1",
+ "CondenseElements": "2",
+ "SurroundJoinLineCountMin": "2",
+ "SurroundElementLineCountMin": "2",
+ "SurroundClauseLineCountMin": "2"
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/src/z2ui5_cl_demo_app_000.clas.abap b/src/z2ui5_cl_demo_app_000.clas.abap
index e78c678a..b7f8c541 100644
--- a/src/z2ui5_cl_demo_app_000.clas.abap
+++ b/src/z2ui5_cl_demo_app_000.clas.abap
@@ -1,428 +1,380 @@
- CLASS z2ui5_cl_demo_app_000 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_000 DEFINITION PUBLIC.
- PUBLIC SECTION.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app.
+ DATA:
+ BEGIN OF ms_check_expanded,
+ basics TYPE abap_bool,
+ more TYPE abap_bool,
+ features TYPE abap_bool,
+ extensions TYPE abap_bool,
+ demos TYPE abap_bool,
+ custom_controls TYPE abap_bool,
+ input TYPE abap_bool,
+ popups TYPE abap_bool,
+ version TYPE abap_bool,
+ built_in TYPE abap_bool,
+ END OF ms_check_expanded.
- DATA:
- BEGIN OF ms_check_expanded,
- basics TYPE abap_bool,
- more TYPE abap_bool,
- features TYPE abap_bool,
- extensions TYPE abap_bool,
- demos TYPE abap_bool,
- custom_controls TYPE abap_bool,
- input TYPE abap_bool,
- popups TYPE abap_bool,
- version TYPE abap_bool,
- built_in TYPE abap_bool,
- END OF ms_check_expanded.
+ DATA mt_scroll TYPE z2ui5_if_types=>ty_t_name_value.
+ DATA mv_set_scroll TYPE abap_bool.
- DATA mt_scroll TYPE z2ui5_if_types=>ty_t_name_value.
- DATA mv_set_scroll TYPE abap_bool.
+ PROTECTED SECTION.
- PROTECTED SECTION.
- PRIVATE SECTION.
- METHODS expand_all.
+ PRIVATE SECTION.
+ METHODS expand_all.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
+ METHOD z2ui5_if_app~main.
+
+ CONSTANTS c_title TYPE string VALUE ` abap2UI5 - Samples`.
+
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(ls_get) = client->get( ).
+
+ IF client->get( )-check_on_navigated = abap_true.
+ IF mt_scroll IS INITIAL.
+ mt_scroll = VALUE #( ( n = `page` ) ).
+ ENDIF.
+ mv_set_scroll = abap_true.
+ ENDIF.
+
+ CASE client->get( )-event.
+
+ WHEN 'BACK'.
+ client->nav_app_leave( ).
+
+ WHEN 'expand-all'.
+ expand_all( ).
+ WHEN 'collapse-all'.
+ CLEAR ms_check_expanded.
+ WHEN OTHERS.
+ TRY.
+ DATA(lv_classname) = to_upper( client->get( )-event ).
+ DATA li_app TYPE REF TO z2ui5_if_app.
+ CREATE OBJECT li_app TYPE (lv_classname).
+ client->nav_app_call( li_app ).
+ RETURN.
+ CATCH cx_root.
+ ENDTRY.
+ ENDCASE.
+
+ DATA(page) = z2ui5_cl_xml_view=>factory(
+ )->shell( )->page( id = `page`
+ title = c_title
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->header_content(
+ )->toolbar_spacer(
+ )->link( text = 'Install with abapGit from GitHub'
+ target = '_blank'
+ href = 'https://github.com/oblomov-dev/abap2ui5'
+ )->get_parent( ).
+
+ IF client->get( )-check_launchpad_active = abap_true.
+ page->_z2ui5( )->lp_title( c_title ).
+ ENDIF.
+
+ page->_z2ui5( )->scrolling( setupdate = client->_bind_edit( mv_set_scroll )
+ items = client->_bind_edit( mt_scroll ) ).
+
+ page = page->grid( 'L12 M12 S12'
+ )->content( 'layout' ).
+
+ page->formatted_text(
+ |
Explore and copy code samples! All samples are abap2UI5 implementations of the SAP UI5 sample page. If you miss a control or find a b| &&
+ |ug please create an | &&
+ |issue or send a PR | &&
+ |.
| &&
+ |Always press CTRL+F12 to see code samples and classname of the app.
|
+).
- METHOD z2ui5_if_app~main.
-
- CONSTANTS c_title TYPE string VALUE ` abap2UI5 - Samples`.
-
- DATA(ls_get) = client->get( ).
-
- IF client->get( )-check_on_navigated = abap_true.
- IF mt_scroll IS INITIAL.
- mt_scroll = VALUE #( ( n = `page` ) ).
- ENDIF.
- mv_set_scroll = abap_true.
- ENDIF.
-
- CASE client->get( )-event.
-
- WHEN 'BACK'.
- client->nav_app_leave( ).
-
- WHEN 'expand-all'.
- expand_all( ).
- WHEN 'collapse-all'.
- CLEAR: ms_check_expanded.
- WHEN OTHERS.
- TRY.
- DATA(lv_classname) = to_upper( client->get( )-event ).
- DATA li_app TYPE REF TO z2ui5_if_app.
- CREATE OBJECT li_app TYPE (lv_classname).
- client->nav_app_call( li_app ).
- RETURN.
- CATCH cx_root.
- ENDTRY.
- ENDCASE.
-
- DATA(page) = z2ui5_cl_xml_view=>factory(
- )->shell( )->page(
- id = `page`
- title = c_title
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->header_content(
- )->toolbar_spacer(
- )->link( text = 'Install with abapGit from GitHub' target = '_blank' href = 'https://github.com/oblomov-dev/abap2ui5'
- )->get_parent( ).
-
- IF client->get( )-check_launchpad_active = abap_true.
- page->_z2ui5( )->lp_title( c_title ).
- ENDIF.
-
- page->_z2ui5( )->scrolling(
- setupdate = client->_bind_edit( mv_set_scroll )
- items = client->_bind_edit( mt_scroll ) ).
-
- page = page->grid( 'L12 M12 S12'
- )->content( 'layout' ).
-
- page->formatted_text(
- `Explore and copy code samples! All samples are abap2UI5 implementations of the SAP UI5 sample page. If you miss a control or find a b` &&
- `ug please create an ` &&
- `issue or send a PR ` &&
- `.
` &&
- `Always press CTRL+F12 to see code samples and classname of the app.
`
- ).
+ page->hbox(
+ )->button( press = client->_event( 'expand-all' )
+ icon = 'sap-icon://expand-all'
+ )->button( press = client->_event( 'collapse-all' )
+ icon = 'sap-icon://collapse-all' ).
- page->hbox(
- )->button( press = client->_event( 'expand-all' ) icon = 'sap-icon://expand-all'
- )->button( press = client->_event( 'collapse-all' ) icon = 'sap-icon://collapse-all' ).
+ DATA(page2) = page.
- DATA(page2) = page.
+ page = page->panel( expandable = abap_true
+ expanded = client->_bind_edit( ms_check_expanded-basics )
+ headertext = `General` ).
- page = page->panel(
- expandable = abap_true
- expanded = client->_bind_edit( ms_check_expanded-basics )
- headertext = `General` ).
+ DATA(panel) = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Binding`
+ ).
- DATA(panel) = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Binding`
- ).
+ panel->generic_tile( header = 'Binding I'
+ subheader = 'Simple - Send values to the backend'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_001' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Binding I'
- subheader = 'Simple - Send values to the backend'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_001' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Binding II'
+ subheader = 'Structure Component Level'
+ press = client->_event( 'z2ui5_cl_demo_app_166' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Binding II'
- subheader = 'Structure Component Level'
- press = client->_event( 'z2ui5_cl_demo_app_166' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Binding III'
- subheader = 'Table Cell Level'
- press = client->_event( 'z2ui5_cl_demo_app_144' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
-
- panel->generic_tile(
- header = 'setSizeLimit'
-* subheader = 'Table Cell Level'
- press = client->_event( 'z2ui5_cl_demo_app_071' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
-
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Events`
- ).
+ panel->generic_tile( header = 'Binding III'
+ subheader = 'Table Cell Level'
+ press = client->_event( 'z2ui5_cl_demo_app_144' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
+
+ panel->generic_tile( header = 'setSizeLimit'
+* subheader = 'Table Cell Level'
+ press = client->_event( 'z2ui5_cl_demo_app_071' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
+
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Events`
+ ).
+
+ panel->generic_tile( header = 'Event I'
+ subheader = 'Handle events & change the view'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_004' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
+
+ panel->generic_tile( header = 'Event II'
+ subheader = 'Call other apps & exchange data'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_024' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
+
+ panel->generic_tile( header = 'Event III'
+ subheader = 'Additional Infos with t_args'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_167' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
+
+ panel->generic_tile( header = 'Event IV'
+ subheader = `Facet Filter - T_arg with Objects`
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_197' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+ panel->generic_tile( header = 'Follow Up Action'
+ subheader = ``
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_180' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Event I'
- subheader = 'Handle events & change the view'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_004' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
-
- panel->generic_tile(
- header = 'Event II'
- subheader = 'Call other apps & exchange data'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_024' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
-
- panel->generic_tile(
- header = 'Event III'
- subheader = 'Additional Infos with t_args'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_167' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
-
- panel->generic_tile(
- header = 'Event IV'
- subheader = `Facet Filter - T_arg with Objects`
- press = client->_event( 'Z2UI5_CL_DEMO_APP_197' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
-).
-
- panel->generic_tile(
- header = 'Follow Up Action'
- subheader = ``
- press = client->_event( 'Z2UI5_CL_DEMO_APP_180' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Features`
).
+ panel->generic_tile( header = 'Timer I'
+ subheader = 'Wait n MS and call again the server'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_028' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+ panel->generic_tile( header = 'Timer II'
+ subheader = 'Set Loading Indicator while Server Request'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_064' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Features`
- ).
+ panel->generic_tile( header = 'New Tab'
+ subheader = 'Open an URL in a new tab'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_073' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Timer I'
- subheader = 'Wait n MS and call again the server'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_028' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Focus I'
+ press = client->_event( 'z2ui5_cl_demo_app_133' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Timer II'
- subheader = 'Set Loading Indicator while Server Request'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_064' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'New Tab'
- subheader = 'Open an URL in a new tab'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_073' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Focus II'
+ press = client->_event( 'z2ui5_cl_demo_app_189' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Focus I'
- press = client->_event( 'z2ui5_cl_demo_app_133' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Scrolling'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_134' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Focus II'
- press = client->_event( 'z2ui5_cl_demo_app_189' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Scrolling'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_134' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'History'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_139' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'History'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_139' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = `Data Loss Protection`
+ press = client->_event( 'z2ui5_cl_demo_app_279' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = `Data Loss Protection`
- press = client->_event( 'z2ui5_cl_demo_app_279' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Tab Title'
+ press = client->_event( 'z2ui5_cl_demo_app_125' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Tab Title'
- press = client->_event( 'z2ui5_cl_demo_app_125' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Session Stickyness I'
+ subheader = 'Stateful mode'
+ press = client->_event( 'z2ui5_cl_demo_app_137' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+ panel->generic_tile( header = 'Session Stickyness II'
+ subheader = 'Use Locks'
+ press = client->_event( 'z2ui5_cl_demo_app_135' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Session Stickyness I'
- subheader = 'Stateful mode'
- press = client->_event( 'z2ui5_cl_demo_app_137' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Messages`
).
- panel->generic_tile(
- header = 'Session Stickyness II'
- subheader = 'Use Locks'
- press = client->_event( 'z2ui5_cl_demo_app_135' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
-).
+ panel->generic_tile( header = 'Basic'
+ subheader = 'Toast, Box & Strip'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_008' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Messages`
- ).
+ panel->generic_tile( header = 'Message Box'
+ subheader = 'sy, bapiret, cx_root'
+ press = client->_event( 'z2ui5_cl_demo_app_187' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Basic'
- subheader = 'Toast, Box & Strip'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_008' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popup'
+ subheader = 'Messages & Exception'
+ press = client->_event( 'z2ui5_cl_demo_app_154' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Message Box'
- subheader = 'sy, bapiret, cx_root'
- press = client->_event( 'z2ui5_cl_demo_app_187' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Message View'
+ " TODO: check spelling: Ouput (typo) -> Output (ABAP cleaner)
+ subheader = 'Custom Popup, Popover & Ouput'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_038' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Popup'
- subheader = 'Messages & Exception'
- press = client->_event( 'z2ui5_cl_demo_app_154' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Messages'
+ subheader = 'More...'
+ press = client->_event( 'z2ui5_cl_demo_app_084' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Message View'
- subheader = 'Custom Popup, Popover & Ouput'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_038' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `File API`
+ ).
- panel->generic_tile(
- header = 'Messages'
- subheader = 'More...'
- press = client->_event( 'z2ui5_cl_demo_app_084' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Download CSV'
+ subheader = 'Export Table as CSV'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_057' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `File API`
- ).
+ panel->generic_tile( header = 'Upload CSV'
+ subheader = 'Import CSV as internal Table'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_074' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Download CSV'
- subheader = 'Export Table as CSV'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_057' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'File Uploader'
+ subheader = 'Upload files to the Backend'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_075' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Upload CSV'
- subheader = 'Import CSV as internal Table'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_074' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'File Download'
+ subheader = 'Download files to the Frontend'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_186' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'File Uploader'
- subheader = 'Upload files to the Backend'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_075' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `S-RTTI - Dynamic Typing`
+ ).
- panel->generic_tile(
- header = 'File Download'
- subheader = 'Download files to the Frontend'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_186' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Dynamic Types'
+ subheader = 'Use S-RTTI to send tables to the frontend'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_061' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `S-RTTI - Dynamic Typing`
- ).
-
-
- panel->generic_tile(
- header = 'Dynamic Types'
- subheader = 'Use S-RTTI to send tables to the frontend'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_061' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
-
- panel->generic_tile(
- header = 'Dynamic Objects I'
- subheader = 'Use S-RTTI to render different Subapps'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_131' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Dynamic Objects II'
- subheader = 'User Generic Data Refs in Subapps'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_117' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Dynamic Objects I'
+ subheader = 'Use S-RTTI to render different Subapps'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_131' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Dynamic Objects III'
- subheader = 'User Generic Data Refs in Subapps'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_185' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Dynamic Objects II'
+ subheader = 'User Generic Data Refs in Subapps'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_117' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Device Capabilities`
- ).
+ panel->generic_tile( header = 'Dynamic Objects III'
+ subheader = 'User Generic Data Refs in Subapps'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_185' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Geolocation'
- subheader = ''
- press = client->_event( 'z2ui5_cl_demo_app_120' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Device Capabilities`
+ ).
- panel->generic_tile(
- header = 'Frontend Infos'
- subheader = ''
- press = client->_event( 'z2ui5_cl_demo_app_122' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Geolocation'
+ subheader = ''
+ press = client->_event( 'z2ui5_cl_demo_app_120' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+ panel->generic_tile( header = 'Frontend Infos'
+ subheader = ''
+ press = client->_event( 'z2ui5_cl_demo_app_122' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
* panel->generic_tile(
* header = 'Camera & Picture'
@@ -431,875 +383,753 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
* class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
* ).
- page = page2->panel(
- expandable = abap_true
- expanded = client->_bind_edit( ms_check_expanded-input )
- headertext = `Input & Output` ).
+ page = page2->panel( expandable = abap_true
+ expanded = client->_bind_edit( ms_check_expanded-input )
+ headertext = `Input & Output` ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Output`
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Output`
+ ).
- panel->generic_tile(
- header = 'Label'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_051' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Label'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_051' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Progress Indicator'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_022' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Progress Indicator'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_022' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'PDF Viewer'
- subheader = 'Display PDFs via iframe'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_079' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'PDF Viewer'
+ subheader = 'Display PDFs via iframe'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_079' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Formatted Text'
- subheader = 'Display HTML'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_015' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Formatted Text'
+ subheader = 'Display HTML'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_015' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Text'
- subheader = 'Max Lines'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_206' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Text'
+ subheader = 'Max Lines'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_206' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'InfoLabel'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_209' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'InfoLabel'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_209' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Busy Indicator'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_215' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Busy Indicator'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_215' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Object Header'
- subheader = 'with Circle-shaped Image'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_272' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Object Header'
+ subheader = 'with Circle-shaped Image'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_272' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Object Page Header'
- subheader = 'with Header Container'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_303' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Object Page Header'
+ subheader = 'with Header Container'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_303' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Object Marker in a table'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_289' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Object Marker in a table'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_289' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Link'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_293' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Link'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_293' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Object Status'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_300' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Object Status'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_300' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Object Attribute inside Table'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_302' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Object Attribute inside Table'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_302' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = 'Input'
+ ).
+ panel->generic_tile( header = 'Step Input'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_041' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = 'Input'
+ panel->generic_tile( header = 'Range Slider'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_005' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Text Area'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_021' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Step Input'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_041' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Code Editor'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_035' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Range Slider'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_005' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Rich Text Editor'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_106' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Text Area'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_021' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Feed Input'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_101' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+ panel->generic_tile( header = 'Radio Button'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_207' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Code Editor'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_035' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Radio Button Group'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_208' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Rich Text Editor'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_106' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Input'
+ subheader = 'Types'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_210' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Feed Input'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_101' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Input'
+ subheader = 'Password'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_213' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+ panel->generic_tile( header = 'Rating Indicator'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_220' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Radio Button'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_207' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'ComboBox'
+ subheader = 'Suggestions wrapping'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_229' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Radio Button Group'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_208' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Segmented Button in Input List Item'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_230' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Input'
- subheader = 'Types'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_210' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Date Range Selection'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_231' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Input'
- subheader = 'Password'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_213' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Multi Input'
+ subheader = 'Suggestions wrapping'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_232' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Rating Indicator'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_220' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Multi Combo Box'
+ subheader = 'Suggestions wrapping'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_233' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'ComboBox'
- subheader = 'Suggestions wrapping'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_229' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Text Area'
+ subheader = 'Value States'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_234' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Segmented Button in Input List Item'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_230' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Text Area'
+ subheader = 'Growing'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_236' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Date Range Selection'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_231' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Slider'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_237' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Multi Input'
- subheader = 'Suggestions wrapping'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_232' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Checkbox'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_239' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Multi Combo Box'
- subheader = 'Suggestions wrapping'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_233' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Switch'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_240' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Text Area'
- subheader = 'Value States'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_234' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'HTML'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_242' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Text Area'
- subheader = 'Growing'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_236' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Input'
+ subheader = 'Suggestions wrapping'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_246' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Slider'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_237' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Input'
+ subheader = 'Description'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_251' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Checkbox'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_239' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Button'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_259' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Switch'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_240' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Step Input'
+ subheader = 'Value States'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_264' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Code Editor'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_265' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Toggle Button'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_266' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ panel->generic_tile( header = 'Multi Input'
+ subheader = 'Value States'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_267' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'HTML'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_242' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Icon'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_268' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Input'
- subheader = 'Suggestions wrapping'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_246' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'InvisibleText'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_282' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Input'
- subheader = 'Description'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_251' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Feed Input 2'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_283' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Button'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_259' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Select'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_288' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Step Input'
- subheader = 'Value States'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_264' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Date Picker'
+ subheader = 'Value States'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_294' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Code Editor'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_265' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Date Range Selection'
+ subheader = 'Value States'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_295' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Toggle Button'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_266' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Select'
+ subheader = 'with icons'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_297' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Multi Input'
- subheader = 'Value States'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_267' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Select'
+ subheader = 'Validation states'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_298' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Icon'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_268' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Select'
+ subheader = 'Wrapping text'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_299' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'InvisibleText'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_282' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Expandable Text'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_301' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Feed Input 2'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_283' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = 'Interaction'
+ ).
- panel->generic_tile(
- header = 'Select'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_288' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Search Field I'
+ subheader = 'Filter with enter'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_053' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Date Picker'
- subheader = 'Value States'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_294' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Search Field II'
+ subheader = 'Filter with Live Change Event'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_059' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Date Range Selection'
- subheader = 'Value States'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_295' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Input with Suggestion'
+ subheader = 'Create Suggestion Table on the Server'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_060' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Select'
- subheader = 'with icons'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_297' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Multi Input'
+ subheader = 'Token & Range Handling'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_078' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Select'
- subheader = 'Validation states'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_298' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Color Picker'
+* subheader = 'Token & Range Handling'
+ press = client->_event( 'z2ui5_cl_demo_app_270' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Select'
- subheader = 'Wrapping text'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_299' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Breadcrumbs'
+ subheader = 'sample with current page link'
+ press = client->_event( 'z2ui5_cl_demo_app_292' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Expandable Text'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_301' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Search Field'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_296' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = 'Interaction'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = 'Formatting & Calculations'
+ ).
- panel->generic_tile(
- header = 'Search Field I'
- subheader = 'Filter with enter'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_053' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Data Types'
+ subheader = 'Use of Integer, Decimals, Dates & Time'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_047' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Search Field II'
- subheader = 'Filter with Live Change Event'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_059' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Formatting'
+ subheader = 'Currencies'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_067' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Input with Suggestion'
- subheader = 'Create Suggestion Table on the Server'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_060' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Mask Input'
+ subheader = ``
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_110' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Multi Input'
- subheader = 'Token & Range Handling'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_078' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Expression Binding'
+ subheader = 'Use calculations & more functions directly in views'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_027' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Color Picker'
-* subheader = 'Token & Range Handling'
- press = client->_event( 'z2ui5_cl_demo_app_270' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = 'Tiles'
+).
- panel->generic_tile(
- header = 'Breadcrumbs'
- subheader = 'sample with current page link'
- press = client->_event( 'z2ui5_cl_demo_app_292' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Tile'
+ subheader = 'Numeric Content Without Margins'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_228' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Search Field'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_296' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Tile'
+ subheader = 'Tile Content'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_241' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = 'Formatting & Calculations'
- ).
+ panel->generic_tile( header = 'Tile'
+ subheader = 'News Content'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_261' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Data Types'
- subheader = 'Use of Integer, Decimals, Dates & Time'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_047' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Tile'
+ subheader = 'Numeric Content of Different Colors'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_262' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Formatting'
- subheader = 'Currencies'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_067' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Tile'
+ subheader = 'Numeric Content with Icon'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_263' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Mask Input'
- subheader = ``
- press = client->_event( 'Z2UI5_CL_DEMO_APP_110' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Tile'
+ subheader = 'Image Content'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_271' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Expression Binding'
- subheader = 'Use calculations & more functions directly in views'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_027' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Tile'
+ subheader = 'Feed Content'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_275' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = 'Tiles'
- ).
+ panel->generic_tile( header = 'Tile'
+ subheader = 'Monitor Tile'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_276' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'Numeric Content Without Margins'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_228' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Tile'
+ subheader = 'KPI Tile'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_277' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'Tile Content'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_241' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Tile'
+ subheader = 'Feed and News Tile'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_278' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'News Content'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_261' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Tile'
+ subheader = 'Statuses'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_281' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'Numeric Content of Different Colors'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_262' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ page = page2->panel( expandable = abap_true
+ expanded = client->_bind_edit( ms_check_expanded-more )
+ headertext = `Tables & Trees`
+ ).
+
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Table`
+ ).
+
+ panel->generic_tile( header = 'Toolbar'
+ subheader = 'Add a container & toolbar'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_006' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'Numeric Content with Icon'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_263' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Selection Modes'
+ subheader = 'Single Select & Multi Select'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_019' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'Image Content'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_271' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Editable'
+ subheader = 'Set columns editable'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_011' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'Feed Content'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_275' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Visualization'
+ subheader = 'Object Number, Object States & Tab Filter'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_072' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'Monitor Tile'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_276' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Column Menu'
+ press = client->_event( 'z2ui5_cl_demo_app_183' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'KPI Tile'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_277' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'ui.Table I'
+ subheader = 'Simple example'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_070' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'Feed and News Tile'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_278' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'ui.Table II'
+ subheader = 'Events on Cell Level'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_160' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Tile'
- subheader = 'Statuses'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_281' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'ui.Table III'
+ subheader = 'Focus Handling'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_172' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- page = page2->panel(
- expandable = abap_true
- expanded = client->_bind_edit( ms_check_expanded-more )
- headertext = `Tables & Trees`
- ).
-
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Table`
- ).
-
- panel->generic_tile(
- header = 'Toolbar'
- subheader = 'Add a container & toolbar'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_006' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Lists`
+ ).
- panel->generic_tile(
- header = 'Selection Modes'
- subheader = 'Single Select & Multi Select'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_019' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'List I'
+ subheader = 'Basic'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_003' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Editable'
- subheader = 'Set columns editable'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_011' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'List II'
+ subheader = 'Events & Visualization'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_048' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
- panel->generic_tile(
- header = 'Visualization'
- subheader = 'Object Number, Object States & Tab Filter'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_072' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Column Menu'
- press = client->_event( 'z2ui5_cl_demo_app_183' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'ui.Table I'
- subheader = 'Simple example'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_070' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Action List Item'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_216' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
- panel->generic_tile(
- header = 'ui.Table II'
- subheader = 'Events on Cell Level'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_160' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Input List Item'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_219' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ).
+
+ panel->generic_tile( header = 'Standard List Item'
+ subheader = 'Info State Inverted'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_286' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'ui.Table III'
- subheader = 'Focus Handling'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_172' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Standard List Item'
+ subheader = 'Wrapping'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_287' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Lists`
- ).
+ panel->generic_tile( header = 'Object List Item'
+ subheader = 'markers aggregation'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_290' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'List I'
- subheader = 'Basic'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_003' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Trees`
+ ).
- panel->generic_tile(
- header = 'List II'
- subheader = 'Events & Visualization'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_048' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom').
+ panel->generic_tile( header = 'Tree Table I'
+ subheader = 'Popup Select Entry'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_068' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Action List Item'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_216' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom').
+ panel->generic_tile( header = 'Tree Table II'
+ subheader = 'Keep expanded state popup'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_178' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Input List Item'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_219' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom').
-
- panel->generic_tile(
- header = 'Standard List Item'
- subheader = 'Info State Inverted'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_286' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Tree Table III'
+ subheader = 'Keep expanded state normal'
+ press = client->_event( 'z2ui5_cl_demo_app_116' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Standard List Item'
- subheader = 'Wrapping'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_287' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ page = page2->panel( expandable = abap_true
+ expanded = client->_bind_edit( ms_check_expanded-popups )
+ headertext = `Popups & Popovers` ).
- panel->generic_tile(
- header = 'Object List Item'
- subheader = 'markers aggregation'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_290' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Popups`
).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Trees`
- ).
-
- panel->generic_tile(
- header = 'Tree Table I'
- subheader = 'Popup Select Entry'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_068' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Flow Logic'
+ subheader = 'Different ways of calling Popups'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_012' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Tree Table II'
- subheader = 'Keep expanded state popup'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_178' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Call Popup in Popup'
+ subheader = 'Backend Popup Stack Handling'
+ press = client->_event( 'z2ui5_cl_demo_app_161' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Tree Table III'
- subheader = 'Keep expanded state normal'
- press = client->_event( 'z2ui5_cl_demo_app_116' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'F4-Value-Help'
+ subheader = 'Popup for value help'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_009' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- page = page2->panel(
- expandable = abap_true
- expanded = client->_bind_edit( ms_check_expanded-popups )
- headertext = `Popups & Popovers` ).
+ panel->generic_tile( header = 'LightBox'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_273' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Popups`
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Popovers`
+ ).
- panel->generic_tile(
- header = 'Flow Logic'
- subheader = 'Different ways of calling Popups'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_012' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popover'
+ subheader = 'Simple Example'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_026' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Call Popup in Popup'
- subheader = 'Backend Popup Stack Handling'
- press = client->_event( 'z2ui5_cl_demo_app_161' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popover Item Level'
+ subheader = 'Create a Popover for a specific entry of a table'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_052' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'F4-Value-Help'
- subheader = 'Popup for value help'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_009' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popover with List'
+ subheader = 'List to select in Popover'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_081' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'LightBox'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_273' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popover with Quick View'
+ subheader = ''
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_109' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+ panel->generic_tile( header = 'Popover with Action Sheet'
+ subheader = ''
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_163' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Popovers`
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Built-in Popups`
+ ).
- panel->generic_tile(
- header = 'Popover'
- subheader = 'Simple Example'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_026' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popup to Inform'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_151' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Popover Item Level'
- subheader = 'Create a Popover for a specific entry of a table'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_052' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Popover with List'
- subheader = 'List to select in Popover'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_081' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Popover with Quick View'
- subheader = ''
- press = client->_event( 'Z2UI5_CL_DEMO_APP_109' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Popover with Action Sheet'
- subheader = ''
- press = client->_event( 'Z2UI5_CL_DEMO_APP_163' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
-
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Built-in Popups`
- ).
-
- panel->generic_tile(
- header = 'Popup to Inform'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_151' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Popup to Confirm'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_150' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popup to Confirm'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_150' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
* panel->generic_tile(
* header = 'Popup to Error'
@@ -1308,12 +1138,11 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
* class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
* ).
- panel->generic_tile(
- header = 'Popup to Select'
- press = client->_event( 'z2ui5_cl_demo_app_174' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popup to Select'
+ press = client->_event( 'z2ui5_cl_demo_app_174' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
* panel->generic_tile(
* header = 'Popup Messages'
@@ -1322,769 +1151,659 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
* class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
* ).
- panel->generic_tile(
- header = 'Popup Textedit'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_155' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Popup Input Value'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_156' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Popup File Upload'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_157' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popup Textedit'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_155' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Popup Display PDF'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_158' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popup Input Value'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_156' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Popup Get Range'
- subheader = 'Create Select-Options in Multi Inputs'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_056' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popup File Upload'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_157' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Popup Get Range Multi'
- subheader = 'Create Select-Options for Structures & Tables'
- press = client->_event( 'z2ui5_cl_demo_app_162' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popup Display PDF'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_158' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Popup Display Table'
- subheader = ''
- press = client->_event( 'z2ui5_cl_demo_app_164' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Popup Get Range'
+ subheader = 'Create Select-Options in Multi Inputs'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_056' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Popup Get Range Multi'
+ subheader = 'Create Select-Options for Structures & Tables'
+ press = client->_event( 'z2ui5_cl_demo_app_162' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Popup Display Table'
+ subheader = ''
+ press = client->_event( 'z2ui5_cl_demo_app_164' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Popup Display Download'
+ subheader = ''
+ press = client->_event( 'z2ui5_cl_demo_app_168' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Popup Display Download'
- subheader = ''
- press = client->_event( 'z2ui5_cl_demo_app_168' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Popup Display HTML'
+ subheader = ''
+ press = client->_event( 'z2ui5_cl_demo_app_149' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ page = page2->panel( expandable = abap_true
+ expanded = client->_bind_edit( ms_check_expanded-features )
+ headertext = `More Controls`
).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Visualization`
+ ).
- panel->generic_tile(
- header = 'Popup Display HTML'
- subheader = ''
- press = client->_event( 'z2ui5_cl_demo_app_149' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Planning Calendar'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_080' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- page = page2->panel(
- expandable = abap_true
- expanded = client->_bind_edit( ms_check_expanded-features )
- headertext = `More Controls`
- ).
+ panel->generic_tile( header = 'Wizard Control I'
+ press = client->_event( 'z2ui5_cl_demo_app_175' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ panel->generic_tile( header = 'Wizard Control II'
+ subheader = 'Next step & SubSequentStep'
+ press = client->_event( 'z2ui5_cl_demo_app_202' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+ panel->generic_tile( header = 'Cards'
+ press = client->_event( 'z2ui5_cl_demo_app_181' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Visualization`
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Layouts`
+ ).
- panel->generic_tile(
- header = 'Planning Calendar'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_080' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Header, Footer, Grid'
+ subheader = 'Split view in different areas'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_010' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Wizard Control I'
- press = client->_event( 'z2ui5_cl_demo_app_175' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Dynamic Page'
+ subheader = 'Display items'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_030' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Wizard Control II'
- subheader = 'Next step & SubSequentStep'
- press = client->_event( 'z2ui5_cl_demo_app_202' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Flexible Column Layout'
+ subheader = 'Master details with tree'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_069' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Cards'
- press = client->_event( 'z2ui5_cl_demo_app_181' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Splitting Container'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_103' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Layouts`
- ).
+ panel->generic_tile( header = 'Flex Box'
+ subheader = 'Basic Alignment'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_205' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Header, Footer, Grid'
- subheader = 'Split view in different areas'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_010' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Icon Tab Header'
+ subheader = 'Standalone Icon Tab Header'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_214' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Dynamic Page'
- subheader = 'Display items'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_030' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Overflow Toolbar'
+ subheader = 'Placing a Title in OverflowToolbar/Toolbar'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_217' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Flexible Column Layout'
- subheader = 'Master details with tree'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_069' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Splitting Container'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_103' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
-
- panel->generic_tile(
- header = 'Flex Box'
- subheader = 'Basic Alignment'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_205' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Icon Tab Header'
- subheader = 'Standalone Icon Tab Header'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_214' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Overflow Toolbar'
- subheader = 'Placing a Title in OverflowToolbar/Toolbar'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_217' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Flex Box'
- subheader = 'Opposing Alignment'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_218' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Standard Margins'
- subheader = 'Negative Margins'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_243' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Flex Box'
- subheader = 'Size Adjustments'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_244' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Flex Box'
- subheader = 'Direction & Order'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_245' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Splitter Layout'
- subheader = '2 areas'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_247' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Splitter Layout'
- subheader = '2 non-resizable areas'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_248' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Splitter Layout'
- subheader = '3 areas'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_249' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'OverflowToolbar'
- subheader = 'Alignment'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_250' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Flex Box'
- subheader = 'Render Type'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_252' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Flex Box'
- subheader = 'Equal Height Cols'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_253' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Flex Box'
- subheader = 'Nested'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_254' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Flex Box'
- subheader = 'Navigation Examples'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_255' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Fix Flex'
- subheader = 'Fix container size'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_256' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Generic Tag with Different Configurations'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_257' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Nested Splitter Layouts'
- subheader = '7 Areas'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_260' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Shell Bar'
- subheader = 'title mega menu'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_269' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Flex Box'
+ subheader = 'Opposing Alignment'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_218' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Slide Tile'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_274' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Standard Margins'
+ subheader = 'Negative Margins'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_243' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Nested Views`
- ).
-
- panel->generic_tile(
- header = 'Nested Views I'
- subheader = 'Basic Example'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_065' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Flex Box'
+ subheader = 'Size Adjustments'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_244' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Nested Views II'
- subheader = 'Head & Item Table'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_097' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Flex Box'
+ subheader = 'Direction & Order'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_245' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Nested Views III'
- subheader = 'Head & Item Table & Detail'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_098' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Splitter Layout'
+ subheader = '2 areas'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_247' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Nested Views IV'
- subheader = 'Sub-App'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_104' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
-).
+ panel->generic_tile( header = 'Splitter Layout'
+ subheader = '2 non-resizable areas'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_248' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Navigation Container`
- ).
+ panel->generic_tile( header = 'Splitter Layout'
+ subheader = '3 areas'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_249' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Nav Container I'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_088' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'OverflowToolbar'
+ subheader = 'Alignment'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_250' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Icon Tab Bar'
- subheader = 'Icons Only'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_221' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Flex Box'
+ subheader = 'Render Type'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_252' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Icon Tab Bar'
- subheader = 'Text and Count'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_222' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Flex Box'
+ subheader = 'Equal Height Cols'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_253' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Icon Tab Bar'
- subheader = 'Inline Mode'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_223' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Flex Box'
+ subheader = 'Nested'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_254' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Icon Tab Bar'
- subheader = 'Text Only'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_224' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Flex Box'
+ subheader = 'Navigation Examples'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_255' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Icon Tab Bar'
- subheader = 'Separator'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_225' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Fix Flex'
+ subheader = 'Fix container size'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_256' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Icon Tab Bar'
- subheader = 'Sub tabs'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_226' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Generic Tag with Different Configurations'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_257' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Bar'
- subheader = 'Page, Toolbar & Bar'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_227' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Nested Splitter Layouts'
+ subheader = '7 Areas'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_260' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Bar'
- subheader = 'Toolbar vs Bar vs OverflowToolbar'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_235' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Shell Bar'
+ subheader = 'title mega menu'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_269' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Message Strip'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_238' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Slide Tile'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_274' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Header Container'
- subheader = 'Vertical Mode'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_280' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Nested Views`
+ ).
- panel->generic_tile(
- header = 'Page'
- subheader = 'Flexible sizing - Toolbar'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_284' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Nested Views I'
+ subheader = 'Basic Example'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_065' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Page'
- subheader = 'Flexible sizing - Icon Tab Bar'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_285' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Nested Views II'
+ subheader = 'Head & Item Table'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_097' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Message Strip'
- subheader = 'with enableFormattedText'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_291' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Nested Views III'
+ subheader = 'Head & Item Table & Detail'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_098' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Templating`
- ).
+ panel->generic_tile( header = 'Nested Views IV'
+ subheader = 'Sub-App'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_104' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Templating I'
- subheader = 'Basic Example'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_173' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Navigation Container`
+ ).
- panel->generic_tile(
- header = 'Templating II'
- subheader = 'Nested Views'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_176' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Nav Container I'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_088' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ panel->generic_tile( header = 'Icon Tab Bar'
+ subheader = 'Icons Only'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_221' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- page = page2->panel(
- expandable = abap_true
- expanded = client->_bind_edit( ms_check_expanded-extensions )
- headertext = `Custom Extensions`
- ).
+ panel->generic_tile( header = 'Icon Tab Bar'
+ subheader = 'Text and Count'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_222' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `General`
- ).
+ panel->generic_tile( header = 'Icon Tab Bar'
+ subheader = 'Inline Mode'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_223' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+ panel->generic_tile( header = 'Icon Tab Bar'
+ subheader = 'Text Only'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_224' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Import View'
- subheader = 'Copy & paste views of the UI5 Documentation'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_031' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Icon Tab Bar'
+ subheader = 'Separator'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_225' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Custom Control'
- subheader = 'Integrate your own JS Custom Control'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_037' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Icon Tab Bar'
+ subheader = 'Sub tabs'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_226' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Change CSS'
- subheader = 'Send your own CSS to the frontend'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_050' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
-
- panel->generic_tile(
- header = 'HTML, JS, CSS'
- subheader = 'Display normal HTML without UI5'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_032' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Bar'
+ subheader = 'Page, Toolbar & Bar'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_227' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Canvas & SVG'
- subheader = 'Integrate more HTML5 functionalities'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_036' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Bar'
+ subheader = 'Toolbar vs Bar vs OverflowToolbar'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_235' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ panel->generic_tile( header = 'Message Strip'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_238' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ panel->generic_tile( header = 'Header Container'
+ subheader = 'Vertical Mode'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_280' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ panel->generic_tile( header = 'Page'
+ subheader = 'Flexible sizing - Toolbar'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_284' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ panel->generic_tile( header = 'Page'
+ subheader = 'Flexible sizing - Icon Tab Bar'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_285' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ panel->generic_tile( header = 'Message Strip'
+ subheader = 'with enableFormattedText'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_291' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Ext. Library'
- subheader = 'Load external JS libraries'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_040' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Custom Function'
- subheader = 'Call imported function'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_093' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Apps with add. Javascript`
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Templating`
).
- panel->generic_tile(
- header = 'p13n Dialog'
- subheader = 'Popup for F4 Helps'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_090' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Templating I'
+ subheader = 'Basic Example'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_173' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+ panel->generic_tile( header = 'Templating II'
+ subheader = 'Nested Views'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_176' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Upload Set'
- subheader = ''
- press = client->_event( 'Z2UI5_CL_DEMO_APP_107' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ page = page2->panel( expandable = abap_true
+ expanded = client->_bind_edit( ms_check_expanded-extensions )
+ headertext = `Custom Extensions`
).
- panel->generic_tile(
- header = 'Smart Variant Management'
- subheader = ''
- press = client->_event( 'Z2UI5_CL_DEMO_APP_111' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `General`
+ ).
+
+ panel->generic_tile( header = 'Import View'
+ subheader = 'Copy & paste views of the UI5 Documentation'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_031' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Custom Control'
+ subheader = 'Integrate your own JS Custom Control'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_037' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Change CSS'
+ subheader = 'Send your own CSS to the frontend'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_050' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- page = page2->panel(
- expandable = abap_true
- expanded = client->_bind_edit( ms_check_expanded-demos )
- headertext = `Demos`
- ).
-
- page->generic_tile(
- header = 'Selection Screen'
- subheader = 'Explore Input Controls'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_002' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'HTML, JS, CSS'
+ subheader = 'Display normal HTML without UI5'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_032' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- page->generic_tile(
- header = 'Sample App'
- subheader = 'Nested View, Object Page, App Navigation, Tables, Lists, Images, Progress & Rating Indicator'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_085' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Canvas & SVG'
+ subheader = 'Integrate more HTML5 functionalities'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_036' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+ panel->generic_tile( header = 'Ext. Library'
+ subheader = 'Load external JS libraries'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_040' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- page = page2->panel(
- expandable = abap_true
- expanded = client->_bind_edit( ms_check_expanded-version )
- headertext = `UI5 Version Specific & WIP`
- ).
-
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `UI5-Only`
- ).
-
- panel->message_strip( `Not working with OpenUI5...` ).
-
- panel->generic_tile(
- header = 'Table with RadialMicroChart'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_177' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Donut Chart'
-* subheader = 'Use RTTI to send tables to the frontend'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_013' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Line Chart'
-* subheader = 'sap.ui.Table'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_014' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Custom Function'
+ subheader = 'Call imported function'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_093' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Bar Chart'
-* subheader = 'sap.ui.Table'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_016' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Apps with add. Javascript`
+ ).
- panel->generic_tile(
- header = 'Radial Chart'
-*subheader = 'sap.ui.Table'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_029' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
-
- panel->generic_tile(
- header = 'Gantt Chart'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_076' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'p13n Dialog'
+ subheader = 'Popup for F4 Helps'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_090' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+ panel->generic_tile( header = 'Upload Set'
+ subheader = ''
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_107' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Process Flow'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_091' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Smart Variant Management'
+ subheader = ''
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_111' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ page = page2->panel( expandable = abap_true
+ expanded = client->_bind_edit( ms_check_expanded-demos )
+ headertext = `Demos`
+ ).
+
+ page->generic_tile( header = 'Selection Screen'
+ subheader = 'Explore Input Controls'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_002' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Map Container'
- press = client->_event( 'z2ui5_cl_demo_app_123' )
+ page->generic_tile(
+ header = 'Sample App'
+ subheader = 'Nested View, Object Page, App Navigation, Tables, Lists, Images, Progress & Rating Indicator'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_085' )
mode = 'LineMode'
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
+ page = page2->panel( expandable = abap_true
+ expanded = client->_bind_edit( ms_check_expanded-version )
+ headertext = `UI5 Version Specific & WIP`
+ ).
+
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `UI5-Only`
+ ).
- panel->generic_tile(
- header = 'Timeline'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_113' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->message_strip( `Not working with OpenUI5...` ).
+
+ panel->generic_tile( header = 'Table with RadialMicroChart'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_177' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Donut Chart'
+* subheader = 'Use RTTI to send tables to the frontend'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_013' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Line Chart'
+* subheader = 'sap.ui.Table'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_014' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Network Graph'
- press = client->_event( 'z2ui5_cl_demo_app_182' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
-).
+ panel->generic_tile( header = 'Bar Chart'
+* subheader = 'sap.ui.Table'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_016' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Status Indicator Library'
- subheader = ``
- press = client->_event( 'Z2UI5_CL_DEMO_APP_196' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Radial Chart'
+*subheader = 'sap.ui.Table'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_029' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Higher-Releases-Only`
+ panel->generic_tile( header = 'Gantt Chart'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_076' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->message_strip( `Only for newer UI5 releases....` ).
+ panel->generic_tile( header = 'Process Flow'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_091' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Generic Tag'
- subheader = 'Since 1.70'
- press = client->_event( 'z2ui5_cl_demo_app_062' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Map Container'
+ press = client->_event( 'z2ui5_cl_demo_app_123' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+ panel->generic_tile( header = 'Timeline'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_113' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Object Page with Avatar'
- subheader = 'Since 1.73'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_017' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Network Graph'
+ press = client->_event( 'z2ui5_cl_demo_app_182' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+ panel->generic_tile( header = 'Status Indicator Library'
+ subheader = ``
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_196' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Badge'
- subheader = 'Since 1.80'
- press = client->_event( 'z2ui5_cl_demo_app_063' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Higher-Releases-Only`
+).
- panel->generic_tile(
- header = 'Illustrated Message'
- subheader = 'Since 1.98'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_033' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->message_strip( `Only for newer UI5 releases....` ).
+
+ panel->generic_tile( header = 'Generic Tag'
+ subheader = 'Since 1.70'
+ press = client->_event( 'z2ui5_cl_demo_app_062' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+ panel->generic_tile( header = 'Object Page with Avatar'
+ subheader = 'Since 1.73'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_017' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- panel->generic_tile(
- header = 'Barcode Scanner'
- subheader = 'Since 1.102'
- press = client->_event( 'z2ui5_cl_demo_app_124' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Badge'
+ subheader = 'Since 1.80'
+ press = client->_event( 'z2ui5_cl_demo_app_063' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Side Panel'
- subheader = `Since 1.107`
- press = client->_event( 'Z2UI5_CL_DEMO_APP_108' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel->generic_tile( header = 'Illustrated Message'
+ subheader = 'Since 1.98'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_033' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
+
+ panel->generic_tile( header = 'Barcode Scanner'
+ subheader = 'Since 1.102'
+ press = client->_event( 'z2ui5_cl_demo_app_124' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
+
+ panel->generic_tile( header = 'Side Panel'
+ subheader = `Since 1.107`
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_108' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
* panel->generic_tile(
* header = `Messaging`
@@ -2102,74 +1821,66 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.
* class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
* ).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `For Testing only...`
- ).
-
- panel->generic_tile(
- header = 'Model I'
- subheader = 'RTTI Data'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_191' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `For Testing only...`
).
- panel->generic_tile(
- header = 'Model II'
- subheader = 'RTTI Data'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_195' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Model I'
+ subheader = 'RTTI Data'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_191' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Model III'
- subheader = 'RTTI Data'
- press = client->_event( 'Z2UI5_CL_DEMO_APP_199' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Model II'
+ subheader = 'RTTI Data'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_195' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel->generic_tile(
- header = 'Date Format Error in internal table'
- subheader = ''
- press = client->_event( 'Z2UI5_CL_DEMO_APP_118' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ panel->generic_tile( header = 'Model III'
+ subheader = 'RTTI Data'
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_199' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
- panel = page->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Work in Progress`
- ).
- panel->message_strip( `Give it a try....` ).
+ panel->generic_tile( header = 'Date Format Error in internal table'
+ subheader = ''
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_118' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+).
- panel->generic_tile(
- header = 'Gantt Chart with Relationships'
- subheader = ``
- press = client->_event( 'Z2UI5_CL_DEMO_APP_179' )
- mode = 'LineMode'
- class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
- ).
+ panel = page->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Work in Progress`
+).
+ panel->message_strip( `Give it a try....` ).
- client->view_display( page->stringify( ) ).
+ panel->generic_tile( header = 'Gantt Chart with Relationships'
+ subheader = ``
+ press = client->_event( 'Z2UI5_CL_DEMO_APP_179' )
+ mode = 'LineMode'
+ class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
+ ).
- ENDMETHOD.
+ client->view_display( page->stringify( ) ).
+ ENDMETHOD.
- METHOD expand_all.
+ METHOD expand_all.
- DO.
- ASSIGN COMPONENT sy-index OF STRUCTURE ms_check_expanded TO FIELD-SYMBOL().
- IF sy-subrc <> 0.
- EXIT.
- ENDIF.
- = abap_true.
- ENDDO.
+ DO.
+ ASSIGN COMPONENT sy-index OF STRUCTURE ms_check_expanded TO FIELD-SYMBOL().
+ IF sy-subrc <> 0.
+ EXIT.
+ ENDIF.
+ = abap_true.
+ ENDDO.
- ENDMETHOD.
+ ENDMETHOD.
- ENDCLASS.
+ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_001.clas.abap b/src/z2ui5_cl_demo_app_001.clas.abap
index 078e849b..c2c12cae 100644
--- a/src/z2ui5_cl_demo_app_001.clas.abap
+++ b/src/z2ui5_cl_demo_app_001.clas.abap
@@ -1,15 +1,13 @@
CLASS z2ui5_cl_demo_app_001 DEFINITION PUBLIC CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA product TYPE string.
- DATA quantity TYPE string.
+ DATA product TYPE string.
+ DATA quantity TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS z2ui5_set_data.
@@ -17,6 +15,7 @@ CLASS z2ui5_cl_demo_app_001 DEFINITION PUBLIC CREATE PUBLIC.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -25,7 +24,6 @@ CLASS z2ui5_cl_demo_app_001 DEFINITION PUBLIC CREATE PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_001 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
@@ -42,31 +40,29 @@ CLASS z2ui5_cl_demo_app_001 IMPLEMENTATION.
ENDMETHOD.
-
METHOD display_view.
- DATA(view) = z2ui5_cl_xml_view=>factory( ).
- client->view_display( val = view->shell(
- )->page(
- title = 'abap2UI5 - First Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
-
- )->simple_form( title = 'Form Title' editable = abap_true
- )->content( 'form'
- )->title( 'Input'
- )->label( 'quantity'
- )->input( client->_bind_edit( quantity )
- )->label( `product`
- )->input( value = product enabled = abap_false
- )->button(
- text = 'post'
- press = client->_event( val = 'BUTTON_POST' )
- )->stringify( ) ).
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
+ client->view_display( val = view->shell(
+ )->page( title = 'abap2UI5 - First Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+
+ )->simple_form( title = 'Form Title'
+ editable = abap_true
+ )->content( 'form'
+ )->title( 'Input'
+ )->label( 'quantity'
+ )->input( client->_bind_edit( quantity )
+ )->label( `product`
+ )->input( value = product
+ enabled = abap_false
+ )->button( text = 'post'
+ press = client->_event( val = 'BUTTON_POST' )
+ )->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -78,11 +74,11 @@ CLASS z2ui5_cl_demo_app_001 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
- product = 'products'.
- quantity = '500'.
+ product = 'products'.
+ quantity = '500'.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_002.clas.abap b/src/z2ui5_cl_demo_app_002.clas.abap
index d3931c8e..aa153d5b 100644
--- a/src/z2ui5_cl_demo_app_002.clas.abap
+++ b/src/z2ui5_cl_demo_app_002.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_002 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA:
@@ -24,6 +23,7 @@ CLASS z2ui5_cl_demo_app_002 DEFINITION PUBLIC.
value TYPE string,
descr TYPE string,
END OF s_suggestion_items.
+
DATA mt_suggestion TYPE STANDARD TABLE OF s_suggestion_items WITH EMPTY KEY.
TYPES:
@@ -34,14 +34,11 @@ CLASS z2ui5_cl_demo_app_002 DEFINITION PUBLIC.
TYPES ty_t_combo TYPE STANDARD TABLE OF s_combobox WITH EMPTY KEY.
-
-
DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
PROTECTED SECTION.
-
METHODS z2ui5_on_rendering.
METHODS z2ui5_on_event.
METHODS z2ui5_on_init.
@@ -50,10 +47,8 @@ CLASS z2ui5_cl_demo_app_002 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_002 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -69,23 +64,29 @@ CLASS z2ui5_cl_demo_app_002 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
WHEN 'BUTTON_MCONFIRM'.
- client->message_box_display( type = 'confirm' text = 'Confirm MessageBox' ).
+ client->message_box_display( type = 'confirm'
+ text = 'Confirm MessageBox' ).
WHEN 'BUTTON_MALERT'.
- client->message_box_display( type = 'alert' text = 'Alert MessageBox' ).
+ client->message_box_display( type = 'alert'
+ text = 'Alert MessageBox' ).
WHEN 'BUTTON_MERROR'.
- client->message_box_display( type = 'error' text = 'Error MessageBox' ).
+ client->message_box_display( type = 'error'
+ text = 'Error MessageBox' ).
WHEN 'BUTTON_MINFO'.
- client->message_box_display( type = 'information' text = 'Information MessageBox' ).
+ client->message_box_display( type = 'information'
+ text = 'Information MessageBox' ).
WHEN 'BUTTON_MWARNING'.
- client->message_box_display( type = 'warning' text = 'Warning MessageBox' ).
+ client->message_box_display( type = 'warning'
+ text = 'Warning MessageBox' ).
WHEN 'BUTTON_MSUCCESS'.
- client->message_box_display( type = 'success' text = 'Success MessageBox' icon = `sap-icon://accept` ).
+ client->message_box_display( type = 'success'
+ text = 'Success MessageBox'
+ icon = `sap-icon://accept` ).
WHEN 'BUTTON_SEND'.
client->message_box_display( 'success - values send to the server' ).
WHEN 'BUTTON_CLEAR'.
@@ -98,59 +99,54 @@ CLASS z2ui5_cl_demo_app_002 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
- screen = VALUE #(
- check_is_active = abap_true
- colour = 'BLUE'
- combo_key = 'GRAY'
- segment_key = 'GREEN'
- date = '07.12.22'
- date_time = '23.12.2022, 19:27:20'
- time_start = '05:24:00'
- time_end = '17:23:57').
-
- mt_suggestion = VALUE #(
- ( descr = 'Green' value = 'GREEN' )
- ( descr = 'Blue' value = 'BLUE' )
- ( descr = 'Black' value = 'BLACK' )
- ( descr = 'Gray' value = 'GRAY' )
- ( descr = 'Blue2' value = 'BLUE2' )
- ( descr = 'Blue3' value = 'BLUE3' ) ).
+ screen = VALUE #( check_is_active = abap_true
+ colour = 'BLUE'
+ combo_key = 'GRAY'
+ segment_key = 'GREEN'
+ date = '07.12.22'
+ date_time = '23.12.2022, 19:27:20'
+ time_start = '05:24:00'
+ time_end = '17:23:57' ).
+
+ mt_suggestion = VALUE #( ( descr = 'Green' value = 'GREEN' )
+ ( descr = 'Blue' value = 'BLUE' )
+ ( descr = 'Black' value = 'BLACK' )
+ ( descr = 'Gray' value = 'GRAY' )
+ ( descr = 'Blue2' value = 'BLUE2' )
+ ( descr = 'Blue3' value = 'BLUE3' ) ).
ENDMETHOD.
-
METHOD z2ui5_on_rendering.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
- title = 'abap2UI5 - Selection-Screen Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
+ title = 'abap2UI5 - Selection-Screen Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(grid) = page->grid( 'L6 M12 S12'
)->content( 'layout' ).
- grid->simple_form( title = 'Input' editable = abap_true
+ grid->simple_form( title = 'Input'
+ editable = abap_true
)->content( 'form'
)->label( 'Input with suggestion items'
- )->input(
- id = `suggInput`
- value = client->_bind_edit( screen-colour )
- placeholder = 'Fill in your favorite color'
- suggestionitems = client->_bind( mt_suggestion )
- showsuggestion = abap_true )->get(
+ )->input( id = `suggInput`
+ value = client->_bind_edit( screen-colour )
+ placeholder = 'Fill in your favorite color'
+ suggestionitems = client->_bind( mt_suggestion )
+ showsuggestion = abap_true )->get(
)->suggestion_items( )->get(
- )->list_item(
- text = '{VALUE}'
- additionaltext = '{DESCR}' ).
+ )->list_item( text = '{VALUE}'
+ additionaltext = '{DESCR}' ).
- grid->simple_form( title = 'Time Inputs' editable = abap_true
+ grid->simple_form( title = 'Time Inputs'
+ editable = abap_true
)->content( 'form'
)->label( 'Date'
)->date_picker( client->_bind_edit( screen-date )
@@ -160,91 +156,77 @@ CLASS z2ui5_cl_demo_app_002 IMPLEMENTATION.
)->time_picker( client->_bind_edit( screen-time_start )
)->time_picker( client->_bind_edit( screen-time_end ) ).
-
DATA(form) = grid->get_parent( )->get_parent( )->grid( 'L12 M12 S12'
)->content( 'layout'
- )->simple_form( title = 'Input with select options' editable = abap_true
+ )->simple_form( title = 'Input with select options'
+ editable = abap_true
)->content( 'form' ).
DATA(lv_test) = form->label( 'Checkbox'
- )->checkbox(
- selected = client->_bind_edit( screen-check_is_active )
- text = 'this is a checkbox'
- enabled = abap_true ).
+ )->checkbox( selected = client->_bind_edit( screen-check_is_active )
+ text = 'this is a checkbox'
+ enabled = abap_true ).
lv_test->label( 'Combobox'
- )->combobox(
- selectedkey = client->_bind_edit( screen-combo_key )
- items = client->_bind_local( VALUE ty_t_combo(
- ( key = 'BLUE' text = 'green' )
- ( key = 'GREEN' text = 'blue' )
- ( key = 'BLACK' text = 'red' )
- ( key = 'GRAY' text = 'gray' ) ) )
- )->item(
- key = '{KEY}'
- text = '{TEXT}'
+ )->combobox( selectedkey = client->_bind_edit( screen-combo_key )
+ items = client->_bind_local( VALUE ty_t_combo( ( key = 'BLUE' text = 'green' )
+ ( key = 'GREEN' text = 'blue' )
+ ( key = 'BLACK' text = 'red' )
+ ( key = 'GRAY' text = 'gray' ) ) )
+ )->item( key = '{KEY}'
+ text = '{TEXT}'
)->get_parent( )->get_parent( ).
lv_test->label( 'Combobox2'
- )->combobox(
- selectedkey = client->_bind_edit( screen-combo_key2 )
- items = client->_bind_local( VALUE ty_t_combo(
- ( key = 'BLUE' text = 'green' )
- ( key = 'GREEN' text = 'blue' )
- ( key = 'BLACK' text = 'red' )
- ( key = 'GRAY' text = 'gray' ) ) )
- )->item(
- key = '{KEY}'
- text = '{TEXT}'
+ )->combobox( selectedkey = client->_bind_edit( screen-combo_key2 )
+ items = client->_bind_local( VALUE ty_t_combo( ( key = 'BLUE' text = 'green' )
+ ( key = 'GREEN' text = 'blue' )
+ ( key = 'BLACK' text = 'red' )
+ ( key = 'GRAY' text = 'gray' ) ) )
+ )->item( key = '{KEY}'
+ text = '{TEXT}'
)->get_parent( )->get_parent( ).
lv_test->label( 'Segmented Button'
)->segmented_button( selected_key = client->_bind_edit( screen-segment_key )
)->items(
- )->segmented_button_item(
- key = 'BLUE'
- icon = 'sap-icon://accept'
- text = 'blue'
- )->segmented_button_item(
- key = 'GREEN'
- icon = 'sap-icon://add-favorite'
- text = 'green'
- )->segmented_button_item(
- key = 'BLACK'
- icon = 'sap-icon://attachment'
- text = 'black'
+ )->segmented_button_item( key = 'BLUE'
+ icon = 'sap-icon://accept'
+ text = 'blue'
+ )->segmented_button_item( key = 'GREEN'
+ icon = 'sap-icon://add-favorite'
+ text = 'green'
+ )->segmented_button_item( key = 'BLACK'
+ icon = 'sap-icon://attachment'
+ text = 'black'
)->get_parent( )->get_parent(
)->label( 'Switch disabled'
- )->switch(
- enabled = abap_false
- customtexton = 'A'
- customtextoff = 'B'
+ )->switch( enabled = abap_false
+ customtexton = 'A'
+ customtextoff = 'B'
)->label( 'Switch accept/reject'
- )->switch(
- state = client->_bind_edit( screen-check_switch_01 )
- customtexton = 'on'
- customtextoff = 'off'
- type = 'AcceptReject'
+ )->switch( state = client->_bind_edit( screen-check_switch_01 )
+ customtexton = 'on'
+ customtextoff = 'off'
+ type = 'AcceptReject'
)->label( 'Switch normal'
- )->switch(
- state = client->_bind_edit( screen-check_switch_02 )
- customtexton = 'YES'
- customtextoff = 'NO' ).
+ )->switch( state = client->_bind_edit( screen-check_switch_02 )
+ customtexton = 'YES'
+ customtextoff = 'NO' ).
page->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'Clear'
- press = client->_event( 'BUTTON_CLEAR' )
- type = 'Reject'
- icon = 'sap-icon://delete'
- )->button(
- text = 'Send to Server'
- press = client->_event( 'BUTTON_SEND' )
- type = 'Success' ).
+ )->button( text = 'Clear'
+ press = client->_event( 'BUTTON_CLEAR' )
+ type = 'Reject'
+ icon = 'sap-icon://delete'
+ )->button( text = 'Send to Server'
+ press = client->_event( 'BUTTON_SEND' )
+ type = 'Success' ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_003.clas.abap b/src/z2ui5_cl_demo_app_003.clas.abap
index 7df5d346..f4e8ece0 100644
--- a/src/z2ui5_cl_demo_app_003.clas.abap
+++ b/src/z2ui5_cl_demo_app_003.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_003 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_003 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -15,51 +14,49 @@ CLASS Z2UI5_CL_DEMO_APP_003 DEFINITION PUBLIC.
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_003 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_003 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
- t_tab = VALUE #(
- ( title = 'row_01' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_02' info = 'incompleted' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_03' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_04' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_05' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_06' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ).
+ t_tab = VALUE #( descr = 'this is a description'
+ icon = 'sap-icon://account'
+ ( title = 'row_01' info = 'completed' )
+ ( title = 'row_02' info = 'incompleted' )
+ ( title = 'row_03' info = 'working' )
+ ( title = 'row_04' info = 'working' )
+ ( title = 'row_05' info = 'completed' )
+ ( title = 'row_06' info = 'completed' ) ).
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - List'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - List'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->list(
- headertext = 'List Ouput'
- items = client->_bind_edit( t_tab )
- mode = `SingleSelectMaster`
- selectionchange = client->_event( 'SELCHANGE' )
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESCR}'
- icon = '{ICON}'
- info = '{INFO}'
- press = client->_event( 'TEST' )
- selected = `{SELECTED}`
+ " TODO: check spelling: Ouput (typo) -> Output (ABAP cleaner)
+ headertext = 'List Ouput'
+ items = client->_bind_edit( t_tab )
+ mode = `SingleSelectMaster`
+ selectionchange = client->_event( 'SELCHANGE' )
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESCR}'
+ icon = '{ICON}'
+ info = '{INFO}'
+ press = client->_event( 'TEST' )
+ selected = `{SELECTED}`
).
client->view_display( view->stringify( ) ).
@@ -69,11 +66,12 @@ CLASS Z2UI5_CL_DEMO_APP_003 IMPLEMENTATION.
CASE client->get( )-event.
WHEN 'SELCHANGE'.
- client->message_box_display( `go to details for item ` && t_tab[ selected = abap_true ]-title ).
+ client->message_box_display( |go to details for item { t_tab[ selected = abap_true ]-title }| ).
WHEN 'BACK'.
client->nav_app_leave( ).
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_004.clas.abap b/src/z2ui5_cl_demo_app_004.clas.abap
index 24318333..1d166f7c 100644
--- a/src/z2ui5_cl_demo_app_004.clas.abap
+++ b/src/z2ui5_cl_demo_app_004.clas.abap
@@ -1,25 +1,23 @@
CLASS z2ui5_cl_demo_app_004 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
+
DATA check_initialized TYPE abap_bool.
- DATA mv_view_main TYPE string.
+ DATA mv_view_main TYPE string.
PROTECTED SECTION.
-
METHODS z2ui5_view_main_display.
METHODS z2ui5_view_second_display.
+
DATA client TYPE REF TO z2ui5_if_client.
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_004 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -48,6 +46,7 @@ CLASS z2ui5_cl_demo_app_004 IMPLEMENTATION.
ENDCASE.
WHEN 'BUTTON_ERROR'.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lv_dummy) = 1 / 0.
WHEN 'BACK'.
@@ -57,62 +56,55 @@ CLASS z2ui5_cl_demo_app_004 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_view_main_display.
mv_view_main = 'MAIN'.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Controller'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Controller'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
page->grid( 'L6 M12 S12' )->content( 'layout'
- )->simple_form( title = 'Controller' editable = abap_true )->content( 'form'
+ )->simple_form( title = 'Controller'
+ editable = abap_true )->content( 'form'
)->label( 'Roundtrip'
- )->button(
- text = 'Client/Server Interaction'
- press = client->_event( 'BUTTON_ROUNDTRIP' )
+ )->button( text = 'Client/Server Interaction'
+ press = client->_event( 'BUTTON_ROUNDTRIP' )
)->label( 'System'
- )->button(
- text = 'Restart App'
- press = client->_event( 'BUTTON_RESTART' )
+ )->button( text = 'Restart App'
+ press = client->_event( 'BUTTON_RESTART' )
)->label( 'Change View'
- )->button(
- text = 'Display View SECOND'
- press = client->_event( 'BUTTON_CHANGE_VIEW' )
+ )->button( text = 'Display View SECOND'
+ press = client->_event( 'BUTTON_CHANGE_VIEW' )
)->label( 'CX_SY_ZERO_DIVIDE'
- )->button(
- text = 'Error not catched by the user'
- press = client->_event( 'BUTTON_ERROR' ) ).
+ )->button( text = 'Error not catched by the user'
+ press = client->_event( 'BUTTON_ERROR' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_view_second_display.
mv_view_main = 'SECOND'.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->shell( )->page(
- title = 'abap2UI5 - Controller'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ DATA(page) = view->shell( )->page( title = 'abap2UI5 - Controller'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
).
page->grid( 'L12 M12 S12' )->content( 'layout'
)->simple_form( 'View Second' )->content( 'form'
)->label( 'Change View'
- )->button(
- text = 'Display View MAIN'
- press = client->_event( 'BUTTON_CHANGE_VIEW' ) ).
+ )->button( text = 'Display View MAIN'
+ press = client->_event( 'BUTTON_CHANGE_VIEW' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_005.clas.abap b/src/z2ui5_cl_demo_app_005.clas.abap
index 06cfb506..cb9a6510 100644
--- a/src/z2ui5_cl_demo_app_005.clas.abap
+++ b/src/z2ui5_cl_demo_app_005.clas.abap
@@ -1,22 +1,20 @@
CLASS z2ui5_cl_demo_app_005 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA value1 TYPE int4.
- DATA value2 TYPE int4.
+ DATA value1 TYPE int4.
+ DATA value2 TYPE int4.
DATA initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_005 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
IF initialized = abap_false.
@@ -32,37 +30,38 @@ CLASS z2ui5_cl_demo_app_005 IMPLEMENTATION.
WHEN 'SLIDER_CHANGE'.
- client->message_toast_display( |Range Slider { cl_abap_char_utilities=>newline }value1 { value1 } { cl_abap_char_utilities=>newline }value2 { value2 }| ).
+ client->message_toast_display(
+ |Range Slider { cl_abap_char_utilities=>newline }value1 { value1 } { cl_abap_char_utilities=>newline }value2 { value2 }| ).
ENDCASE.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Range Slider Example'
- navbuttonpress = client->_event( 'BACK' )
+ )->page( title = 'abap2UI5 - Range Slider Example'
+ navbuttonpress = client->_event( 'BACK' )
shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(grid) = page->grid( 'L12 M12 S12' )->content( 'layout' ).
- grid->simple_form( title = 'More Controls' editable = abap_true )->content( 'form'
+ grid->simple_form( title = 'More Controls'
+ editable = abap_true )->content( 'form'
)->label( 'Range Slider'
- )->range_slider(
- max = '100'
- min = '0'
- step = '10'
- startvalue = '10'
- endvalue = '20'
- showtickmarks = abap_true
- labelinterval = '2'
- width = '80%'
- class = 'sapUiTinyMargin'
- value = client->_bind_edit( value1 )
- value2 = client->_bind_edit( value2 )
- change = client->_event( 'SLIDER_CHANGE' )
+ )->range_slider( max = '100'
+ min = '0'
+ step = '10'
+ startvalue = '10'
+ endvalue = '20'
+ showtickmarks = abap_true
+ labelinterval = '2'
+ width = '80%'
+ class = 'sapUiTinyMargin'
+ value = client->_bind_edit( value1 )
+ value2 = client->_bind_edit( value2 )
+ change = client->_event( 'SLIDER_CHANGE' )
).
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_006.clas.abap b/src/z2ui5_cl_demo_app_006.clas.abap
index 82271b78..b37c611d 100644
--- a/src/z2ui5_cl_demo_app_006.clas.abap
+++ b/src/z2ui5_cl_demo_app_006.clas.abap
@@ -1,50 +1,49 @@
CLASS z2ui5_cl_demo_app_006 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_row,
- count TYPE i,
- value TYPE string,
- descr TYPE string,
- icon TYPE string,
- info TYPE string,
- checkbox TYPE abap_bool,
- percentage(5) TYPE p DECIMALS 2,
- valuecolor TYPE string,
+ count TYPE i,
+ value TYPE string,
+ descr TYPE string,
+ icon TYPE string,
+ info TYPE string,
+ checkbox TYPE abap_bool,
+ percentage TYPE p LENGTH 5 DECIMALS 2,
+ valuecolor TYPE string,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
- DATA check_ui5 TYPE abap_bool.
- DATA mv_key TYPE string.
+ DATA check_ui5 TYPE abap_bool.
+ DATA mv_key TYPE string.
+
METHODS refresh_data.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
CLASS z2ui5_cl_demo_app_006 IMPLEMENTATION.
-
METHOD refresh_data.
DO 10000 TIMES.
DATA ls_row TYPE ty_row.
- ls_row-count = sy-index.
- ls_row-value = 'red'.
- ls_row-descr = 'this is a description'.
- ls_row-checkbox = abap_true.
+ ls_row-count = sy-index.
+ ls_row-value = 'red'.
+ ls_row-descr = 'this is a description'.
+ ls_row-checkbox = abap_true.
ls_row-valuecolor = `Good`.
INSERT ls_row INTO TABLE t_tab.
ENDDO.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -69,45 +68,39 @@ CLASS z2ui5_cl_demo_app_006 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Scroll Container with Table and Toolbar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Scroll Container with Table and Toolbar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- DATA(tab) = page->scroll_container( height = '70%' vertical = abap_true
- )->table(
- growing = abap_true
- growingthreshold = '20'
- growingscrolltoload = abap_true
- items = client->_bind_edit( t_tab )
- sticky = 'ColumnHeaders,HeaderToolbar' ).
+ DATA(tab) = page->scroll_container( height = '70%'
+ vertical = abap_true
+ )->table( growing = abap_true
+ growingthreshold = '20'
+ growingscrolltoload = abap_true
+ items = client->_bind_edit( t_tab )
+ sticky = 'ColumnHeaders,HeaderToolbar' ).
tab->header_toolbar(
)->toolbar(
)->title( 'title of the table'
- )->button(
- text = 'letf side button'
- icon = 'sap-icon://account'
- press = client->_event( 'BUTTON_SORT' )
+ )->button( text = 'letf side button'
+ icon = 'sap-icon://account'
+ press = client->_event( 'BUTTON_SORT' )
)->segmented_button( selected_key = mv_key
)->items(
- )->segmented_button_item(
- key = 'BLUE'
- icon = 'sap-icon://accept'
- text = 'blue'
- )->segmented_button_item(
- key = 'GREEN'
- icon = 'sap-icon://add-favorite'
- text = 'green'
+ )->segmented_button_item( key = 'BLUE'
+ icon = 'sap-icon://accept'
+ text = 'blue'
+ )->segmented_button_item( key = 'GREEN'
+ icon = 'sap-icon://add-favorite'
+ text = 'green'
)->get_parent( )->get_parent(
)->toolbar_spacer(
- )->button(
- icon = 'sap-icon://sort-descending'
- press = client->_event( 'SORT_DESCENDING' )
- )->button(
- icon = 'sap-icon://sort-ascending'
- press = client->_event( 'SORT_ASCENDING' )
+ )->button( icon = 'sap-icon://sort-descending'
+ press = client->_event( 'SORT_DESCENDING' )
+ )->button( icon = 'sap-icon://sort-ascending'
+ press = client->_event( 'SORT_ASCENDING' )
).
tab->columns(
@@ -128,11 +121,13 @@ CLASS z2ui5_cl_demo_app_006 IMPLEMENTATION.
)->text( '{VALUE}'
)->text( '{INFO}'
)->text( '{DESCR}'
- )->checkbox( selected = '{CHECKBOX}' enabled = abap_false
+ )->checkbox( selected = '{CHECKBOX}'
+ enabled = abap_false
)->text( '{COUNT}'
).
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_008.clas.abap b/src/z2ui5_cl_demo_app_008.clas.abap
index 9fb43949..f734cafc 100644
--- a/src/z2ui5_cl_demo_app_008.clas.abap
+++ b/src/z2ui5_cl_demo_app_008.clas.abap
@@ -1,50 +1,57 @@
CLASS z2ui5_cl_demo_app_008 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
DATA check_strip_active TYPE abap_bool.
- DATA strip_type TYPE string.
+ DATA strip_type TYPE string.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_008 IMPLEMENTATION.
-
METHOD Z2UI5_if_app~main.
CASE client->get( )-event.
WHEN 'BUTTON_MESSAGE_BOX_CONFIRM'.
- client->message_box_display( text = 'Approve purchase order 12345?' type = 'confirm' ).
+ client->message_box_display( text = 'Approve purchase order 12345?'
+ type = 'confirm' ).
WHEN 'BUTTON_MESSAGE_BOX_ALERT'.
- client->message_box_display( text = 'The quantity you have reported exceeds the quantity planned.' type = 'alert' ).
+ client->message_box_display( text = 'The quantity you have reported exceeds the quantity planned.'
+ type = 'alert' ).
WHEN 'BUTTON_MESSAGE_BOX_ERROR'.
- client->message_box_display( text = 'Select a team in the "Development" area.' && cl_abap_char_utilities=>cr_lf &&
- '"Marketing" isn’t assigned to this area.' type = 'error' ).
+ client->message_box_display(
+ text = |Select a team in the "Development" area.{ cl_abap_char_utilities=>cr_lf }| &&
+ |"Marketing" isn’t assigned to this area.|
+ type = 'error' ).
WHEN 'BUTTON_MESSAGE_BOX_INFO'.
client->message_box_display( 'Your booking will be reserved for 24 hours.' ).
WHEN 'BUTTON_MESSAGE_BOX_WARNING'.
- client->message_box_display( text = 'The project schedule was last updated over a year ago.' type = 'warning' ).
+ client->message_box_display( text = 'The project schedule was last updated over a year ago.'
+ type = 'warning' ).
WHEN 'BUTTON_MESSAGE_BOX_SUCCESS'.
- client->message_box_display( text = 'Project 1234567 was created and assigned to team "ABC".' type = 'success' ).
+ client->message_box_display( text = 'Project 1234567 was created and assigned to team "ABC".'
+ type = 'success' ).
WHEN 'BUTTON_MESSAGE_TOAST'.
client->message_toast_display( 'this is a message toast' ).
WHEN 'BUTTON_MESSAGE_TOAST2'.
- client->message_toast_display( text = 'this is a message toast' at = 'left bottom'
- offset = '0 -15' animationtimingfunction = `ease-in` class = 'my-style').
+ client->message_toast_display( text = 'this is a message toast'
+ at = 'left bottom'
+ offset = '0 -15'
+ animationtimingfunction = `ease-in`
+ class = 'my-style' ).
WHEN 'BUTTON_MESSAGE_STRIP_INFO'.
check_strip_active = abap_true.
@@ -64,67 +71,58 @@ CLASS z2ui5_cl_demo_app_008 IMPLEMENTATION.
ENDCASE.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( ns = `html` name = `style` )->_cc_plain_xml( `.my-style{ background: black !important; opacity: 0.6; color: white; }` ).
+ view->_generic( ns = `html`
+ name = `style` )->_cc_plain_xml(
+ `.my-style{ background: black !important; opacity: 0.6; color: white; }` ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Messages'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - Messages'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->header_content(
)->link(
)->get_parent( ).
IF check_strip_active = abap_true.
- page->message_strip( text = 'This is a Message Strip' type = strip_type ).
+ page->message_strip( text = 'This is a Message Strip'
+ type = strip_type ).
ENDIF.
page->grid( 'L6 M12 S12'
)->content( 'layout'
)->simple_form( 'Message Box' )->content( 'form'
- )->button(
- text = 'Confirm'
- press = client->_event( 'BUTTON_MESSAGE_BOX_CONFIRM' )
- )->button(
- text = 'Alert'
- press = client->_event( 'BUTTON_MESSAGE_BOX_ALERT' )
- )->button(
- text = 'Error'
- press = client->_event( 'BUTTON_MESSAGE_BOX_ERROR' )
- )->button(
- text = 'Info'
- press = client->_event( 'BUTTON_MESSAGE_BOX_INFO' )
- )->button(
- text = 'Warning'
- press = client->_event( 'BUTTON_MESSAGE_BOX_WARNING' )
- )->button(
- text = 'Success'
- press = client->_event( 'BUTTON_MESSAGE_BOX_SUCCESS' ) ).
+ )->button( text = 'Confirm'
+ press = client->_event( 'BUTTON_MESSAGE_BOX_CONFIRM' )
+ )->button( text = 'Alert'
+ press = client->_event( 'BUTTON_MESSAGE_BOX_ALERT' )
+ )->button( text = 'Error'
+ press = client->_event( 'BUTTON_MESSAGE_BOX_ERROR' )
+ )->button( text = 'Info'
+ press = client->_event( 'BUTTON_MESSAGE_BOX_INFO' )
+ )->button( text = 'Warning'
+ press = client->_event( 'BUTTON_MESSAGE_BOX_WARNING' )
+ )->button( text = 'Success'
+ press = client->_event( 'BUTTON_MESSAGE_BOX_SUCCESS' ) ).
page->grid( 'L6 M12 S12'
)->content( 'layout'
)->simple_form( 'Message Strip' )->content( 'form'
- )->button(
- text = 'success'
- press = client->_event( 'BUTTON_MESSAGE_STRIP_SUCCESS' )
- )->button(
- text = 'error'
- press = client->_event( 'BUTTON_MESSAGE_STRIP_ERROR' )
- )->button(
- text = 'information'
- press = client->_event( 'BUTTON_MESSAGE_STRIP_INFO' ) ).
+ )->button( text = 'success'
+ press = client->_event( 'BUTTON_MESSAGE_STRIP_SUCCESS' )
+ )->button( text = 'error'
+ press = client->_event( 'BUTTON_MESSAGE_STRIP_ERROR' )
+ )->button( text = 'information'
+ press = client->_event( 'BUTTON_MESSAGE_STRIP_INFO' ) ).
page->grid( 'L6 M12 S12'
)->content( 'layout'
)->simple_form( 'Display' )->content( 'form'
- )->button(
- text = 'Message Toast'
- press = client->_event( 'BUTTON_MESSAGE_TOAST' )
- )->button(
- text = 'Message Toast Customized'
- press = client->_event( 'BUTTON_MESSAGE_TOAST2' ) ).
-
+ )->button( text = 'Message Toast'
+ press = client->_event( 'BUTTON_MESSAGE_TOAST' )
+ )->button( text = 'Message Toast Customized'
+ press = client->_event( 'BUTTON_MESSAGE_TOAST2' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_009.clas.abap b/src/z2ui5_cl_demo_app_009.clas.abap
index 03499d2d..f567b77d 100644
--- a/src/z2ui5_cl_demo_app_009.clas.abap
+++ b/src/z2ui5_cl_demo_app_009.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_009 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_009 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
DATA:
@@ -22,7 +21,8 @@ CLASS Z2UI5_CL_DEMO_APP_009 DEFINITION PUBLIC.
value TYPE string,
descr TYPE string,
END OF s_suggestion_items.
- DATA mt_suggestion TYPE STANDARD TABLE OF s_suggestion_items WITH EMPTY KEY.
+
+ DATA mt_suggestion TYPE STANDARD TABLE OF s_suggestion_items WITH EMPTY KEY.
DATA mt_suggestion_sel TYPE STANDARD TABLE OF s_suggestion_items WITH EMPTY KEY.
TYPES:
@@ -30,6 +30,7 @@ CLASS Z2UI5_CL_DEMO_APP_009 DEFINITION PUBLIC.
value TYPE string,
descr TYPE string,
END OF s_suggestion_items_city.
+
DATA mt_suggestion_city TYPE STANDARD TABLE OF s_suggestion_items_city WITH EMPTY KEY.
TYPES:
@@ -40,20 +41,22 @@ CLASS Z2UI5_CL_DEMO_APP_009 DEFINITION PUBLIC.
name TYPE string,
lastname TYPE string,
END OF s_employee.
- DATA mt_employees_sel TYPE STANDARD TABLE OF s_employee WITH EMPTY KEY.
- DATA mt_employees TYPE STANDARD TABLE OF s_employee WITH EMPTY KEY.
+
+ DATA mt_employees_sel TYPE STANDARD TABLE OF s_employee WITH EMPTY KEY.
+ DATA mt_employees TYPE STANDARD TABLE OF s_employee WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
+ DATA mv_view_popup TYPE string.
- DATA mv_view_popup TYPE string.
METHODS popup_f4_table
IMPORTING
client TYPE REF TO Z2UI5_if_client.
+
METHODS popup_f4_table_custom
IMPORTING
client TYPE REF TO Z2UI5_if_client.
- PROTECTED SECTION.
+ PROTECTED SECTION.
METHODS Z2UI5_on_rendering
IMPORTING
client TYPE REF TO Z2UI5_if_client.
@@ -61,25 +64,22 @@ CLASS Z2UI5_CL_DEMO_APP_009 DEFINITION PUBLIC.
METHODS Z2UI5_on_event
IMPORTING
client TYPE REF TO Z2UI5_if_client.
- METHODS Z2UI5_on_init.
+ METHODS Z2UI5_on_init.
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_009 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_009 IMPLEMENTATION.
METHOD popup_f4_table.
DATA(popup) = Z2UI5_cl_xml_view=>factory_popup( ).
popup->dialog( 'abap2UI5 - F4 Value Help'
- )->table(
- mode = 'SingleSelectLeft'
- items = client->_bind_edit( mt_suggestion_sel )
+ )->table( mode = 'SingleSelectLeft'
+ items = client->_bind_edit( mt_suggestion_sel )
)->columns(
)->column( '20rem'
)->text( 'Color' )->get_parent(
@@ -93,15 +93,13 @@ CLASS Z2UI5_CL_DEMO_APP_009 IMPLEMENTATION.
)->text( '{DESCR}'
)->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->buttons(
- )->button(
- text = 'continue'
- press = client->_event( 'POPUP_TABLE_F4_CONTINUE' )
- type = 'Emphasized' ).
+ )->button( text = 'continue'
+ press = client->_event( 'POPUP_TABLE_F4_CONTINUE' )
+ type = 'Emphasized' ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD popup_f4_table_custom.
DATA(popup2) = Z2UI5_cl_xml_view=>factory_popup( ).
@@ -110,23 +108,19 @@ CLASS Z2UI5_CL_DEMO_APP_009 IMPLEMENTATION.
popup2->simple_form(
)->label( 'Location'
- )->input(
- value = client->_bind_edit( screen-city )
- suggestionitems = client->_bind( mt_suggestion_city )
- showsuggestion = abap_true )->get(
+ )->input( value = client->_bind_edit( screen-city )
+ suggestionitems = client->_bind( mt_suggestion_city )
+ showsuggestion = abap_true )->get(
)->suggestion_items( )->get(
- )->list_item(
- text = '{VALUE}'
- additionaltext = '{DESCR}'
+ )->list_item( text = '{VALUE}'
+ additionaltext = '{DESCR}'
)->get_parent( )->get_parent(
- )->button(
- text = 'search...'
- press = client->_event( 'SEARCH' ) ).
+ )->button( text = 'search...'
+ press = client->_event( 'SEARCH' ) ).
- DATA(tab) = popup2->table(
- headertext = 'Employees'
- mode = 'SingleSelectLeft'
- items = client->_bind_edit( mt_employees_sel ) ).
+ DATA(tab) = popup2->table( headertext = 'Employees'
+ mode = 'SingleSelectLeft'
+ items = client->_bind_edit( mt_employees_sel ) ).
tab->columns(
)->column( '10rem'
@@ -146,15 +140,13 @@ CLASS Z2UI5_CL_DEMO_APP_009 IMPLEMENTATION.
)->text( '{LASTNAME}' ).
popup2->buttons(
- )->button(
- text = 'continue'
- press = client->_event( 'POPUP_TABLE_F4_CUSTOM_CONTINUE' )
- type = 'Emphasized' ).
+ )->button( text = 'continue'
+ press = client->_event( 'POPUP_TABLE_F4_CUSTOM_CONTINUE' )
+ type = 'Emphasized' ).
client->popup_display( popup2->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
CLEAR mv_view_popup.
@@ -169,7 +161,6 @@ CLASS Z2UI5_CL_DEMO_APP_009 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
@@ -193,7 +184,7 @@ CLASS Z2UI5_CL_DEMO_APP_009 IMPLEMENTATION.
WHEN 'POPUP_TABLE_F4_CUSTOM_CONTINUE'.
DELETE mt_employees_sel WHERE selkz = abap_false.
IF lines( mt_employees_sel ) = 1.
- screen-name = mt_employees_sel[ 1 ]-name.
+ screen-name = mt_employees_sel[ 1 ]-name.
screen-lastname = mt_employees_sel[ 1 ]-lastname.
client->message_toast_display( 'f4 value selected' ).
client->popup_destroy( ).
@@ -219,88 +210,82 @@ CLASS Z2UI5_CL_DEMO_APP_009 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
- mt_suggestion = VALUE #(
- ( descr = 'this is the color Green' value = 'GREEN' )
- ( descr = 'this is the color Blue' value = 'BLUE' )
- ( descr = 'this is the color Black' value = 'BLACK' )
- ( descr = 'this is the color Grey' value = 'GREY' )
- ( descr = 'this is the color Blue2' value = 'BLUE2' )
- ( descr = 'this is the color Blue3' value = 'BLUE3' ) ).
-
- mt_suggestion_city = VALUE #(
- ( value = 'London' descr = 'London' )
- ( value = 'Paris' descr = 'Paris' )
- ( value = 'Rome' descr = 'Rome' ) ).
-
- mt_employees = VALUE #(
- ( city = 'London' name = 'Tom' lastname = 'lastname1' nr = '00001' )
- ( city = 'London' name = 'Tom2' lastname = 'lastname2' nr = '00002' )
- ( city = 'London' name = 'Tom3' lastname = 'lastname3' nr = '00003' )
- ( city = 'London' name = 'Tom4' lastname = 'lastname4' nr = '00004' )
- ( city = 'Rome' name = 'Michaela1' lastname = 'lastname5' nr = '00005' )
- ( city = 'Rome' name = 'Michaela2' lastname = 'lastname6' nr = '00006' )
- ( city = 'Rome' name = 'Michaela3' lastname = 'lastname7' nr = '00007' )
- ( city = 'Rome' name = 'Michaela4' lastname = 'lastname8' nr = '00008' )
- ( city = 'Paris' name = 'Hermine1' lastname = 'lastname9' nr = '00009' )
- ( city = 'Paris' name = 'Hermine2' lastname = 'lastname10' nr = '00010' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
- ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' ) ).
+ mt_suggestion = VALUE #( ( descr = 'this is the color Green' value = 'GREEN' )
+ ( descr = 'this is the color Blue' value = 'BLUE' )
+ ( descr = 'this is the color Black' value = 'BLACK' )
+ ( descr = 'this is the color Grey' value = 'GREY' )
+ ( descr = 'this is the color Blue2' value = 'BLUE2' )
+ ( descr = 'this is the color Blue3' value = 'BLUE3' ) ).
+
+ mt_suggestion_city = VALUE #( ( value = 'London' descr = 'London' )
+ ( value = 'Paris' descr = 'Paris' )
+ ( value = 'Rome' descr = 'Rome' ) ).
+
+ mt_employees = VALUE #( ( city = 'London' name = 'Tom' lastname = 'lastname1' nr = '00001' )
+ ( city = 'London' name = 'Tom2' lastname = 'lastname2' nr = '00002' )
+ ( city = 'London' name = 'Tom3' lastname = 'lastname3' nr = '00003' )
+ ( city = 'London' name = 'Tom4' lastname = 'lastname4' nr = '00004' )
+ ( city = 'Rome' name = 'Michaela1' lastname = 'lastname5' nr = '00005' )
+ ( city = 'Rome' name = 'Michaela2' lastname = 'lastname6' nr = '00006' )
+ ( city = 'Rome' name = 'Michaela3' lastname = 'lastname7' nr = '00007' )
+ ( city = 'Rome' name = 'Michaela4' lastname = 'lastname8' nr = '00008' )
+ ( city = 'Paris' name = 'Hermine1' lastname = 'lastname9' nr = '00009' )
+ ( city = 'Paris' name = 'Hermine2' lastname = 'lastname10' nr = '00010' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' )
+ ( city = 'Paris' name = 'Hermine3' lastname = 'lastname11' nr = '00011' ) ).
ENDMETHOD.
-
METHOD Z2UI5_on_rendering.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Value Help Examples'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Value Help Examples'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(form) = page->grid( 'L7 M7 S7'
@@ -309,57 +294,49 @@ CLASS Z2UI5_CL_DEMO_APP_009 IMPLEMENTATION.
)->content( 'form' ).
form->label( 'Input with sugestion items'
- )->input(
- value = client->_bind_edit( screen-color_01 )
- placeholder = 'fill in your favorite colour'
- suggestionitems = client->_bind( mt_suggestion )
- showsuggestion = abap_true )->get(
+ )->input( value = client->_bind_edit( screen-color_01 )
+ " TODO: check spelling: colour (typo) -> color (ABAP cleaner)
+ placeholder = 'fill in your favorite colour'
+ suggestionitems = client->_bind( mt_suggestion )
+ showsuggestion = abap_true )->get(
)->suggestion_items( )->get(
- )->list_item(
- text = '{VALUE}'
- additionaltext = '{DESCR}' ).
+ )->list_item( text = '{VALUE}'
+ additionaltext = '{DESCR}' ).
form->label( 'Input only numbers allowed'
- )->input(
- value = client->_bind_edit( screen-quantity )
- type = 'Number'
- placeholder = 'quantity' ).
+ )->input( value = client->_bind_edit( screen-quantity )
+ type = 'Number'
+ placeholder = 'quantity' ).
form->label( 'Input with F4'
- )->input(
- value = client->_bind_edit( screen-color_02 )
- placeholder = 'fill in your favorite colour'
- showvaluehelp = abap_true
- valuehelprequest = client->_event( 'POPUP_TABLE_F4' ) ).
+ )->input( value = client->_bind_edit( screen-color_02 )
+ " TODO: check spelling: colour (typo) -> color (ABAP cleaner)
+ placeholder = 'fill in your favorite colour'
+ showvaluehelp = abap_true
+ valuehelprequest = client->_event( 'POPUP_TABLE_F4' ) ).
form->label( 'Custom F4 Popup'
- )->input(
- value = client->_bind_edit( screen-name )
- placeholder = 'name'
- showvaluehelp = abap_true
- valuehelprequest = client->_event( 'POPUP_TABLE_F4_CUSTOM' )
- )->input(
- value = client->_bind_edit( screen-lastname )
- placeholder = 'lastname'
- showvaluehelp = abap_true
- valuehelprequest = client->_event( 'POPUP_TABLE_F4_CUSTOM' ) ).
+ )->input( value = client->_bind_edit( screen-name )
+ placeholder = 'name'
+ showvaluehelp = abap_true
+ valuehelprequest = client->_event( 'POPUP_TABLE_F4_CUSTOM' )
+ )->input( value = client->_bind_edit( screen-lastname )
+ placeholder = 'lastname'
+ showvaluehelp = abap_true
+ valuehelprequest = client->_event( 'POPUP_TABLE_F4_CUSTOM' ) ).
page->footer(
)->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'Clear'
- press = client->_event( 'BUTTON_CLEAR' )
- type = 'Reject'
- enabled = abap_false
- icon = 'sap-icon://delete'
- )->button(
- text = 'Send to Server'
- press = client->_event( 'BUTTON_SEND' )
- enabled = abap_false
- type = 'Success' ).
-
-
+ )->button( text = 'Clear'
+ press = client->_event( 'BUTTON_CLEAR' )
+ type = 'Reject'
+ enabled = abap_false
+ icon = 'sap-icon://delete'
+ )->button( text = 'Send to Server'
+ press = client->_event( 'BUTTON_SEND' )
+ enabled = abap_false
+ type = 'Success' ).
CASE mv_view_popup.
@@ -377,4 +354,5 @@ CLASS Z2UI5_CL_DEMO_APP_009 IMPLEMENTATION.
* client->popup_display( popup->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_010.clas.abap b/src/z2ui5_cl_demo_app_010.clas.abap
index d4fdbac4..38f11b86 100644
--- a/src/z2ui5_cl_demo_app_010.clas.abap
+++ b/src/z2ui5_cl_demo_app_010.clas.abap
@@ -1,16 +1,15 @@
-CLASS Z2UI5_CL_DEMO_APP_010 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_010 DEFINITION PUBLIC.
PUBLIC SECTION.
INTERFACES Z2UI5_if_app.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_010 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_010 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
@@ -20,10 +19,9 @@ CLASS Z2UI5_CL_DEMO_APP_010 IMPLEMENTATION.
ENDCASE.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Demo Layout'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Demo Layout'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
page->header_content(
@@ -34,52 +32,63 @@ CLASS Z2UI5_CL_DEMO_APP_010 IMPLEMENTATION.
)->overflow_toolbar(
)->button( text = 'button'
)->text( 'text'
- )->link( text = 'link' href = 'https://twitter.com/abap2UI5'
+ )->link( text = 'link'
+ href = 'https://twitter.com/abap2UI5'
)->toolbar_spacer(
)->text( 'subheader'
)->toolbar_spacer(
)->button( text = 'button'
)->text( 'text'
- )->link( text = 'link' href = 'https://twitter.com/abap2UI5' ).
+ )->link( text = 'link'
+ href = 'https://twitter.com/abap2UI5' ).
DATA(grid) = page->grid( 'L4 M4 S4' )->content( 'layout' ).
grid->simple_form( 'Grid width 33%' )->content( 'form'
)->button( text = 'button'
)->text( 'text'
- )->link( text = 'link' href = 'https://twitter.com/abap2UI5' ).
+ )->link( text = 'link'
+ href = 'https://twitter.com/abap2UI5' ).
grid->simple_form( 'Grid width 33%' )->content( 'form'
)->button( text = 'button'
)->text( 'text'
- )->link( text = 'link' href = 'https://twitter.com/abap2UI5' ).
+ )->link( text = 'link'
+ href = 'https://twitter.com/abap2UI5' ).
grid->simple_form( 'Grid width 33%' )->content( 'form'
)->button( text = 'button'
)->text( 'text'
- )->link( text = 'link' href = 'https://twitter.com/abap2UI5' ).
+ )->link( text = 'link'
+ href = 'https://twitter.com/abap2UI5' ).
grid = page->grid( 'L12 M12 S12' )->content( 'layout' ).
grid->simple_form( 'grid width 100%' )->content( 'form'
)->button( text = 'button'
)->text( 'text'
- )->link( text = 'link' href = 'https://twitter.com/abap2UI5' ).
+ )->link( text = 'link'
+ href = 'https://twitter.com/abap2UI5' ).
page->footer(
)->overflow_toolbar(
)->button( text = 'button'
)->text( 'text'
- )->link( text = 'link' href = 'https://twitter.com/abap2UI5'
+ )->link( text = 'link'
+ href = 'https://twitter.com/abap2UI5'
)->toolbar_spacer(
)->text( 'footer'
)->toolbar_spacer(
)->text( 'text'
- )->link( text = 'link' href = 'https://twitter.com/abap2UI5'
- )->button( text = 'reject' type = 'Reject'
- )->button( text = 'accept' type = 'Success' ).
+ )->link( text = 'link'
+ href = 'https://twitter.com/abap2UI5'
+ )->button( text = 'reject'
+ type = 'Reject'
+ )->button( text = 'accept'
+ type = 'Success' ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_011.clas.abap b/src/z2ui5_cl_demo_app_011.clas.abap
index f197339e..83c0eec4 100644
--- a/src/z2ui5_cl_demo_app_011.clas.abap
+++ b/src/z2ui5_cl_demo_app_011.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_011 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -16,53 +15,46 @@ CLASS z2ui5_cl_demo_app_011 DEFINITION PUBLIC.
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_editable_active TYPE abap_bool.
- DATA check_initialized TYPE abap_bool.
+ DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
METHODS set_view.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_011 IMPLEMENTATION.
-
METHOD set_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Tables and editable'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
-
- DATA(tab) = page->table(
- items = client->_bind_edit( t_tab )
- mode = 'MultiSelect'
+ )->page( title = 'abap2UI5 - Tables and editable'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
+
+ DATA(tab) = page->table( items = client->_bind_edit( t_tab )
+ mode = 'MultiSelect'
)->header_toolbar(
)->overflow_toolbar(
)->title( 'title of the table'
- )->button(
- text = 'test'
- press = client->_event( 'BUTTON_TEST' )
+ )->button( text = 'test'
+ press = client->_event( 'BUTTON_TEST' )
)->toolbar_spacer(
- )->button(
- icon = 'sap-icon://delete'
- text = 'delete selected row'
- press = client->_event( 'BUTTON_DELETE' )
- )->button(
- icon = 'sap-icon://add'
- text = 'add'
- press = client->_event( 'BUTTON_ADD' )
- )->button(
- icon = 'sap-icon://edit'
- text = SWITCH #( check_editable_active WHEN abap_true THEN |display| ELSE |edit| )
- press = client->_event( 'BUTTON_EDIT' )
+ )->button( icon = 'sap-icon://delete'
+ text = 'delete selected row'
+ press = client->_event( 'BUTTON_DELETE' )
+ )->button( icon = 'sap-icon://add'
+ text = 'add'
+ press = client->_event( 'BUTTON_ADD' )
+ )->button( icon = 'sap-icon://edit'
+ text = SWITCH #( check_editable_active WHEN abap_true THEN |display| ELSE |edit| )
+ press = client->_event( 'BUTTON_EDIT' )
)->get_parent( )->get_parent( ).
tab->columns(
@@ -79,17 +71,21 @@ CLASS z2ui5_cl_demo_app_011 IMPLEMENTATION.
tab->items( )->column_list_item( selected = '{SELKZ}'
)->cells(
- )->input( value = '{TITLE}' enabled = `{EDITABLE}`
- )->input( value = '{VALUE}' enabled = `{EDITABLE}`
- )->input( value = '{INFO}' enabled = `{EDITABLE}`
- )->input( value = '{DESCR}' enabled = `{EDITABLE}`
- )->checkbox( selected = '{CHECKBOX}' enabled = `{EDITABLE}` ).
+ )->input( value = '{TITLE}'
+ enabled = `{EDITABLE}`
+ )->input( value = '{VALUE}'
+ enabled = `{EDITABLE}`
+ )->input( value = '{INFO}'
+ enabled = `{EDITABLE}`
+ )->input( value = '{DESCR}'
+ enabled = `{EDITABLE}`
+ )->checkbox( selected = '{CHECKBOX}'
+ enabled = `{EDITABLE}` ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -112,7 +108,6 @@ CLASS z2ui5_cl_demo_app_011 IMPLEMENTATION.
ENDIF.
-
CASE client->get( )-event.
WHEN 'BUTTON_EDIT'.
@@ -133,4 +128,5 @@ CLASS z2ui5_cl_demo_app_011 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_012.clas.abap b/src/z2ui5_cl_demo_app_012.clas.abap
index 66bc1fc2..95628e76 100644
--- a/src/z2ui5_cl_demo_app_012.clas.abap
+++ b/src/z2ui5_cl_demo_app_012.clas.abap
@@ -1,108 +1,94 @@
-CLASS Z2UI5_CL_DEMO_APP_012 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_012 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA mv_check_popup TYPE abap_bool.
+
METHODS ui5_popup_decide.
METHODS ui5_popup_info_frontend_close.
METHODS ui5_view_display.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_012 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_012 IMPLEMENTATION.
METHOD ui5_popup_decide.
- DATA(popup) = Z2UI5_cl_xml_view=>factory_popup( ).
+ DATA(popup) = Z2UI5_cl_xml_view=>factory_popup( ).
popup->dialog( 'Popup - Decide'
)->vbox(
)->text( 'this is a popup to decide, you have to make a decision now...'
)->get_parent(
)->buttons(
- )->button(
- text = 'Cancel'
- press = client->_event( 'POPUP_DECIDE_CANCEL' )
- )->button(
- text = 'Continue'
- press = client->_event( 'POPUP_DECIDE_CONTINUE' )
- type = 'Emphasized' ).
+ )->button( text = 'Cancel'
+ press = client->_event( 'POPUP_DECIDE_CANCEL' )
+ )->button( text = 'Continue'
+ press = client->_event( 'POPUP_DECIDE_CONTINUE' )
+ type = 'Emphasized' ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_popup_info_frontend_close.
- DATA(popup) = Z2UI5_cl_xml_view=>factory_popup( ).
+ DATA(popup) = Z2UI5_cl_xml_view=>factory_popup( ).
popup->dialog( 'Popup - Info'
)->vbox(
)->text( 'this is an information, press close to go back to the main view without a server roundtrip'
)->get_parent(
)->buttons(
- )->button(
- text = 'close'
- press = client->_event_client( client->cs_event-popup_close )
- type = 'Emphasized' ).
+ )->button( text = 'close'
+ press = client->_event_client( client->cs_event-popup_close )
+ type = 'Emphasized' ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_view_display.
DATA(lo_main) = z2ui5_cl_xml_view=>factory( )->shell( ).
- DATA(page) = lo_main->page(
- title = 'abap2UI5 - Popups'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ DATA(page) = lo_main->page( title = 'abap2UI5 - Popups'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(grid) = page->grid( 'L7 M12 S12' )->content( 'layout'
)->simple_form( 'Popup in same App' )->content( 'form'
)->label( 'Demo'
- )->button(
- text = 'popup rendering, no background rendering'
- press = client->_event( val = 'BUTTON_POPUP_01' )
+ )->button( text = 'popup rendering, no background rendering'
+ press = client->_event( val = 'BUTTON_POPUP_01' )
)->label( 'Demo'
- )->button(
- text = 'popup rendering, background destroyed and rerendering'
- press = client->_event( val = 'BUTTON_POPUP_02' )
+ )->button( text = 'popup rendering, background destroyed and rerendering'
+ press = client->_event( val = 'BUTTON_POPUP_02' )
)->label( 'Demo'
- )->button(
- text = 'popup, background unchanged (default) - close (no roundtrip)'
- press = client->_event( 'BUTTON_POPUP_03' )
+ )->button( text = 'popup, background unchanged (default) - close (no roundtrip)'
+ press = client->_event( 'BUTTON_POPUP_03' )
)->label( 'Demo'
- )->button(
- text = 'popup, background unchanged (default) - close with server'
- press = client->_event( val = 'BUTTON_POPUP_04' )
+ )->button( text = 'popup, background unchanged (default) - close with server'
+ press = client->_event( val = 'BUTTON_POPUP_04' )
)->get_parent( )->get_parent( ).
grid->simple_form( 'Popup in new App' )->content( 'form'
)->label( 'Demo'
- )->button(
- text = 'popup rendering, no background'
- press = client->_event( 'BUTTON_POPUP_05' )
+ )->button( text = 'popup rendering, no background'
+ press = client->_event( 'BUTTON_POPUP_05' )
)->label( 'Demo'
- )->button(
- text = 'popup rendering, hold previous view'
- press = client->_event( val = 'BUTTON_POPUP_06' ) ).
+ )->button( text = 'popup rendering, hold previous view'
+ press = client->_event( val = 'BUTTON_POPUP_06' ) ).
client->view_display( lo_main->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -113,8 +99,8 @@ CLASS Z2UI5_CL_DEMO_APP_012 IMPLEMENTATION.
IF mv_check_popup = abap_true.
mv_check_popup = abap_false.
- DATA(app) = CAST Z2UI5_CL_DEMO_APP_020( client->get_app( client->get( )-s_draft-id_prev_app ) ).
- client->message_toast_display( app->mv_event && ` pressed` ).
+ DATA(app) = CAST z2ui5_cl_demo_app_020( client->get_app( client->get( )-s_draft-id_prev_app ) ).
+ client->message_toast_display( |{ app->mv_event } pressed| ).
ENDIF.
CASE client->get( )-event.
@@ -146,22 +132,24 @@ CLASS Z2UI5_CL_DEMO_APP_012 IMPLEMENTATION.
WHEN 'BUTTON_POPUP_05'.
mv_check_popup = abap_true.
client->view_destroy( ).
- client->nav_app_call( Z2UI5_CL_DEMO_APP_020=>factory(
- i_text = '(new app )this is a popup to decide, the text is send from the previous app and the answer will be send back'
- i_cancel_text = 'Cancel '
- i_cancel_event = 'POPUP_DECIDE_CANCEL'
- i_confirm_text = 'Continue'
- i_confirm_event = 'POPUP_DECIDE_CONTINUE'
- ) ).
+ client->nav_app_call(
+ z2ui5_cl_demo_app_020=>factory(
+ i_text = '(new app )this is a popup to decide, the text is send from the previous app and the answer will be send back'
+ i_cancel_text = 'Cancel '
+ i_cancel_event = 'POPUP_DECIDE_CANCEL'
+ i_confirm_text = 'Continue'
+ i_confirm_event = 'POPUP_DECIDE_CONTINUE'
+) ).
WHEN 'BUTTON_POPUP_06'.
mv_check_popup = abap_true.
- client->nav_app_call( Z2UI5_CL_DEMO_APP_020=>factory(
- i_text = '(new app )this is a popup to decide, the text is send from the previous app and the answer will be send back'
- i_cancel_text = 'Cancel'
- i_cancel_event = 'POPUP_DECIDE_CANCEL'
- i_confirm_text = 'Continue'
- i_confirm_event = 'POPUP_DECIDE_CONTINUE' ) ).
+ client->nav_app_call(
+ z2ui5_cl_demo_app_020=>factory(
+ i_text = '(new app )this is a popup to decide, the text is send from the previous app and the answer will be send back'
+ i_cancel_text = 'Cancel'
+ i_cancel_event = 'POPUP_DECIDE_CANCEL'
+ i_confirm_text = 'Continue'
+ i_confirm_event = 'POPUP_DECIDE_CONTINUE' ) ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -169,4 +157,5 @@ CLASS Z2UI5_CL_DEMO_APP_012 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_013.clas.abap b/src/z2ui5_cl_demo_app_013.clas.abap
index c430ec3c..56b09664 100644
--- a/src/z2ui5_cl_demo_app_013.clas.abap
+++ b/src/z2ui5_cl_demo_app_013.clas.abap
@@ -1,17 +1,16 @@
CLASS z2ui5_cl_demo_app_013 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA check_initialized TYPE abap_bool.
+ DATA check_initialized TYPE abap_bool.
- DATA mv_sel4 TYPE abap_bool.
- DATA mv_sel5 TYPE abap_bool.
- DATA mv_sel6 TYPE abap_bool.
+ DATA mv_sel4 TYPE abap_bool.
+ DATA mv_sel5 TYPE abap_bool.
+ DATA mv_sel6 TYPE abap_bool.
DATA mv_tab_donut_active TYPE abap_bool.
- DATA total_count TYPE i.
+ DATA total_count TYPE i.
TYPES:
BEGIN OF ty_chart,
@@ -22,123 +21,132 @@ CLASS z2ui5_cl_demo_app_013 DEFINITION PUBLIC.
DATA counts TYPE STANDARD TABLE OF ty_chart WITH EMPTY KEY.
METHODS render_tab_donut.
+
DATA client TYPE REF TO z2ui5_if_client.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_013 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_013 IMPLEMENTATION.
METHOD render_tab_donut.
DATA(container) = z2ui5_cl_xml_view=>factory(
)->shell(
- )->page(
- title = 'abap2UI5 - Visualization'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - Visualization'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->tab_container( ).
- DATA(grid) = container->tab(
- text = 'Donut Chart'
- selected = client->_bind( mv_tab_donut_active )
+ DATA(grid) = container->tab( text = 'Donut Chart'
+ selected = client->_bind( mv_tab_donut_active )
)->grid( 'XL6 L6 M6 S12' ).
grid->link(
- text = 'Go to the SAP Demos for Interactive Donut Charts here...' target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/#/entity/sap.suite.ui.microchart.InteractiveDonutChart/sample/sap.suite.ui.microchart.sample.InteractiveDonutChart'
- )->text(
- text = 'Three segments'
- class = 'sapUiSmallMargin'
+ text = 'Go to the SAP Demos for Interactive Donut Charts here...'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/#/entity/sap.suite.ui.microchart.InteractiveDonutChart/sample/sap.suite.ui.microchart.sample.InteractiveDonutChart'
+ )->text( text = 'Three segments'
+ class = 'sapUiSmallMargin'
)->get( )->layout_data(
)->grid_data( 'XL12 L12 M12 S12' ).
-
- DATA(seg) = grid->flex_box(
- width = '22rem'
- height = '13rem'
- alignitems = 'Start'
- justifycontent = 'SpaceBetween'
- )->items( )->interact_donut_chart(
- selectionchanged = client->_event( 'DONUT_CHANGED' )
+ DATA(seg) = grid->flex_box( width = '22rem'
+ height = '13rem'
+ alignitems = 'Start'
+ justifycontent = 'SpaceBetween'
+ )->items( )->interact_donut_chart( selectionchanged = client->_event( 'DONUT_CHANGED' )
)->segments( ).
- seg->interact_donut_chart_segment( selected = client->_bind( mv_sel4 ) label = 'Impl. Phase' value = '40.0' displayedvalue = '40.0%' ).
- seg->interact_donut_chart_segment( selected = client->_bind( mv_sel5 ) label = 'Design Phase' value = '21.5' displayedvalue = '21.5%' ).
- seg->interact_donut_chart_segment( selected = client->_bind( mv_sel6 ) label = 'Test Phase' value = '38.5' displayedvalue = '38.5%' ).
-
- grid->text(
- text = 'Four segments'
- class = 'sapUiSmallMargin'
+ seg->interact_donut_chart_segment( selected = client->_bind( mv_sel4 )
+ label = 'Impl. Phase'
+ value = '40.0'
+ displayedvalue = '40.0%' ).
+ seg->interact_donut_chart_segment( selected = client->_bind( mv_sel5 )
+ label = 'Design Phase'
+ value = '21.5'
+ displayedvalue = '21.5%' ).
+ seg->interact_donut_chart_segment( selected = client->_bind( mv_sel6 )
+ label = 'Test Phase'
+ value = '38.5'
+ displayedvalue = '38.5%' ).
+
+ grid->text( text = 'Four segments'
+ class = 'sapUiSmallMargin'
)->get( )->layout_data(
)->grid_data( 'XL12 L12 M12 S12' ).
- seg = grid->flex_box(
- width = '22rem'
- height = '13rem'
- alignitems = 'Start'
- justifycontent = 'SpaceBetween'
- )->items( )->interact_donut_chart(
- selectionchanged = client->_event( 'DONUT_CHANGED' )
- press = client->_event( 'DONUT_PRESS' )
- displayedsegments = '4'
+ seg = grid->flex_box( width = '22rem'
+ height = '13rem'
+ alignitems = 'Start'
+ justifycontent = 'SpaceBetween'
+ )->items( )->interact_donut_chart( selectionchanged = client->_event( 'DONUT_CHANGED' )
+ press = client->_event( 'DONUT_PRESS' )
+ displayedsegments = '4'
)->segments( ).
- seg->interact_donut_chart_segment( label = 'Design Phase' value = '32.0' displayedvalue = '32.0%' ).
- seg->interact_donut_chart_segment( label = 'Implementation Phase' value = '28' displayedvalue = '28%' ).
- seg->interact_donut_chart_segment( label = 'Test Phase' value = '25' displayedvalue = '25%' ).
- seg->interact_donut_chart_segment( label = 'Launch Phase' value = '15' displayedvalue = '15%' ).
-
- grid->text(
- text = 'Error Messages'
- class = 'sapUiSmallMargin'
+ seg->interact_donut_chart_segment( label = 'Design Phase'
+ value = '32.0'
+ displayedvalue = '32.0%' ).
+ seg->interact_donut_chart_segment( label = 'Implementation Phase'
+ value = '28'
+ displayedvalue = '28%' ).
+ seg->interact_donut_chart_segment( label = 'Test Phase'
+ value = '25'
+ displayedvalue = '25%' ).
+ seg->interact_donut_chart_segment( label = 'Launch Phase'
+ value = '15'
+ displayedvalue = '15%' ).
+
+ grid->text( text = 'Error Messages'
+ class = 'sapUiSmallMargin'
)->get( )->layout_data(
)->grid_data( 'XL12 L12 M12 S12' ).
- seg = grid->flex_box(
- width = '22rem'
- height = '13rem'
- alignitems = 'Start'
- justifycontent = 'SpaceBetween'
- )->items( )->interact_donut_chart(
- selectionchanged = client->_event( 'DONUT_CHANGED' )
- showerror = abap_true
- errormessagetitle = 'No data'
- errormessage = 'Currently no data is available'
+ seg = grid->flex_box( width = '22rem'
+ height = '13rem'
+ alignitems = 'Start'
+ justifycontent = 'SpaceBetween'
+ )->items( )->interact_donut_chart( selectionchanged = client->_event( 'DONUT_CHANGED' )
+ showerror = abap_true
+ errormessagetitle = 'No data'
+ errormessage = 'Currently no data is available'
)->segments( ).
- seg->interact_donut_chart_segment( label = 'Implementation Phase' value = '40.0' displayedvalue = '40.0%' ).
- seg->interact_donut_chart_segment( label = 'Design Phase' value = '21.5' displayedvalue = '21.5%' ).
- seg->interact_donut_chart_segment( label = 'Test Phase' value = '38.5' displayedvalue = '38.5%' ).
-
- grid->text(
- text = 'Model Update Table Data'
- class = 'sapUiSmallMargin'
+ seg->interact_donut_chart_segment( label = 'Implementation Phase'
+ value = '40.0'
+ displayedvalue = '40.0%' ).
+ seg->interact_donut_chart_segment( label = 'Design Phase'
+ value = '21.5'
+ displayedvalue = '21.5%' ).
+ seg->interact_donut_chart_segment( label = 'Test Phase'
+ value = '38.5'
+ displayedvalue = '38.5%' ).
+
+ grid->text( text = 'Model Update Table Data'
+ class = 'sapUiSmallMargin'
)->get( )->layout_data(
)->grid_data( 'XL12 L12 M12 S12' ).
- DATA(donut_chart) = grid->button( text = `update chart` press = client->_event( 'UPDATE_CHART_DATA' ) )->get_parent(
- )->flex_box(
- width = '30rem'
- height = '18rem'
- alignitems = 'Start'
- justifycontent = 'SpaceBetween'
+ DATA(donut_chart) = grid->button( text = `update chart`
+ press = client->_event( 'UPDATE_CHART_DATA' ) )->get_parent(
+ )->flex_box( width = '30rem'
+ height = '18rem'
+ alignitems = 'Start'
+ justifycontent = 'SpaceBetween'
)->items(
- )->interact_donut_chart( displayedsegments = client->_bind_edit( total_count ) segments = client->_bind_edit( counts ) ).
+ )->interact_donut_chart( displayedsegments = client->_bind_edit( total_count )
+ segments = client->_bind_edit( counts ) ).
-
- donut_chart->interact_donut_chart_segment(
- label = `{TEXT}`
- value = `{PERCENT}`
- displayedvalue = `{PERCENT}`
- ).
+ donut_chart->interact_donut_chart_segment( label = `{TEXT}`
+ value = `{PERCENT}`
+ displayedvalue = `{PERCENT}`
+ ).
client->view_display( container->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -146,9 +154,7 @@ CLASS Z2UI5_CL_DEMO_APP_013 IMPLEMENTATION.
IF check_initialized = abap_false.
check_initialized = abap_true.
-
- counts = VALUE #(
- ( text = '1st' percent = '10.0' )
+ counts = VALUE #( ( text = '1st' percent = '10.0' )
( text = '2nd' percent = '60.0' )
( text = '3rd' percent = '30.0' )
).
@@ -167,8 +173,7 @@ CLASS Z2UI5_CL_DEMO_APP_013 IMPLEMENTATION.
CASE client->get( )-event.
WHEN 'UPDATE_CHART_DATA'.
CLEAR counts.
- counts = VALUE #(
- ( text = '1st' percent = '60.0' )
+ counts = VALUE #( ( text = '1st' percent = '60.0' )
( text = '2nd' percent = '10.0' )
( text = '3rd' percent = '15.0' )
( text = '4th' percent = '15.0' )
@@ -183,4 +188,5 @@ CLASS Z2UI5_CL_DEMO_APP_013 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_014.clas.abap b/src/z2ui5_cl_demo_app_014.clas.abap
index 0941c842..48c2f42e 100644
--- a/src/z2ui5_cl_demo_app_014.clas.abap
+++ b/src/z2ui5_cl_demo_app_014.clas.abap
@@ -1,120 +1,156 @@
-CLASS Z2UI5_CL_DEMO_APP_014 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_014 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA check_initialized TYPE abap_bool.
+ DATA check_initialized TYPE abap_bool.
- DATA mv_sel7 TYPE abap_bool.
- DATA mv_sel8 TYPE abap_bool.
- DATA mv_sel9 TYPE abap_bool.
- DATA mv_sel10 TYPE abap_bool.
- DATA mv_sel11 TYPE abap_bool.
- DATA mv_sel12 TYPE abap_bool.
+ DATA mv_sel7 TYPE abap_bool.
+ DATA mv_sel8 TYPE abap_bool.
+ DATA mv_sel9 TYPE abap_bool.
+ DATA mv_sel10 TYPE abap_bool.
+ DATA mv_sel11 TYPE abap_bool.
+ DATA mv_sel12 TYPE abap_bool.
DATA mv_tab_line_active TYPE abap_bool.
+
METHODS render_tab_line.
+
DATA client TYPE REF TO Z2UI5_if_client.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_014 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_014 IMPLEMENTATION.
METHOD render_tab_line.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(container) = view->shell(
- )->page(
- title = 'abap2UI5 - Visualization'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - Visualization'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->tab_container( ).
- DATA(tab) = container->tab( text = 'Line Chart' selected = client->_bind( mv_tab_line_active ) ).
+ DATA(tab) = container->tab( text = 'Line Chart'
+ selected = client->_bind( mv_tab_line_active ) ).
DATA(grid) = tab->grid( 'XL6 L6 M6 S12' ).
grid->link(
- text = 'Go to the SAP Demos for Interactive Line Charts here...' target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/#/entity/sap.suite.ui.microchart.InteractiveLineChart/sample/sap.suite.ui.microchart.sample.InteractiveLineChart' ).
+ text = 'Go to the SAP Demos for Interactive Line Charts here...'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/#/entity/sap.suite.ui.microchart.InteractiveLineChart/sample/sap.suite.ui.microchart.sample.InteractiveLineChart' ).
- grid->text(
- text = 'Absolute and Percentage values'
- class = 'sapUiSmallMargin'
+ grid->text( text = 'Absolute and Percentage values'
+ class = 'sapUiSmallMargin'
)->get(
)->layout_data(
)->grid_data( 'XL12 L12 M12 S12' ).
- DATA(point) = grid->flex_box(
- width = '22rem'
- height = '13rem'
- alignitems = 'Center'
- class = 'sapUiSmallMargin'
- )->items( )->interact_line_chart(
- selectionchanged = client->_event( 'LINE_CHANGED' )
- precedingpoint = '15'
- succeddingpoint = '89'
+ DATA(point) = grid->flex_box( width = '22rem'
+ height = '13rem'
+ alignitems = 'Center'
+ class = 'sapUiSmallMargin'
+ )->items( )->interact_line_chart( selectionchanged = client->_event( 'LINE_CHANGED' )
+ precedingpoint = '15'
+ succeddingpoint = '89'
)->points( ).
- point->interact_line_chart_point( selected = client->_bind( mv_sel7 ) label = 'May' value = '33.1' secondarylabel = 'Q2' ).
- point->interact_line_chart_point( selected = client->_bind( mv_sel8 ) label = 'June' value = '12' ).
- point->interact_line_chart_point( selected = client->_bind( mv_sel9 ) label = 'July' value = '51.4' secondarylabel = 'Q3' ).
- point->interact_line_chart_point( selected = client->_bind( mv_sel10 ) label = 'Aug' value = '52' ).
- point->interact_line_chart_point( selected = client->_bind( mv_sel11 ) label = 'Sep' value = '69.9').
- point->interact_line_chart_point( selected = client->_bind( mv_sel12 ) label = 'Oct' value = '0.9' secondarylabel = 'Q4' ).
-
- point = grid->flex_box(
- width = '22rem'
- height = '13rem'
- alignitems = 'Start'
- class = 'SpaceBetween'
+ point->interact_line_chart_point( selected = client->_bind( mv_sel7 )
+ label = 'May'
+ value = '33.1'
+ secondarylabel = 'Q2' ).
+ point->interact_line_chart_point( selected = client->_bind( mv_sel8 )
+ label = 'June'
+ value = '12' ).
+ point->interact_line_chart_point( selected = client->_bind( mv_sel9 )
+ label = 'July'
+ value = '51.4'
+ secondarylabel = 'Q3' ).
+ point->interact_line_chart_point( selected = client->_bind( mv_sel10 )
+ label = 'Aug'
+ value = '52' ).
+ point->interact_line_chart_point( selected = client->_bind( mv_sel11 )
+ label = 'Sep'
+ value = '69.9' ).
+ point->interact_line_chart_point( selected = client->_bind( mv_sel12 )
+ label = 'Oct'
+ value = '0.9'
+ secondarylabel = 'Q4' ).
+
+ point = grid->flex_box( width = '22rem'
+ height = '13rem'
+ alignitems = 'Start'
+ class = 'SpaceBetween'
)->items(
- )->interact_line_chart(
- selectionchanged = client->_event( 'LINE_CHANGED' )
- press = client->_event( 'LINE_PRESS' )
- precedingpoint = '-20'
+ )->interact_line_chart( selectionchanged = client->_event( 'LINE_CHANGED' )
+ press = client->_event( 'LINE_PRESS' )
+ precedingpoint = '-20'
)->points( ).
- point->interact_line_chart_point( label = 'May' value = '33.1' displayedvalue = '33.1%' secondarylabel = '2015' ).
- point->interact_line_chart_point( label = 'June' value = '2.2' displayedvalue = '2.2%' secondarylabel = '2015' ).
- point->interact_line_chart_point( label = 'July' value = '51.4' displayedvalue = '51.4%' secondarylabel = '2015' ).
- point->interact_line_chart_point( label = 'Aug' value = '19.9' displayedvalue = '19.9%' ).
- point->interact_line_chart_point( label = 'Sep' value = '69.9' displayedvalue = '69.9%' ).
- point->interact_line_chart_point( label = 'Oct' value = '0.9' displayedvalue = '9.9%' ).
+ point->interact_line_chart_point( label = 'May'
+ value = '33.1'
+ displayedvalue = '33.1%'
+ secondarylabel = '2015' ).
+ point->interact_line_chart_point( label = 'June'
+ value = '2.2'
+ displayedvalue = '2.2%'
+ secondarylabel = '2015' ).
+ point->interact_line_chart_point( label = 'July'
+ value = '51.4'
+ displayedvalue = '51.4%'
+ secondarylabel = '2015' ).
+ point->interact_line_chart_point( label = 'Aug'
+ value = '19.9'
+ displayedvalue = '19.9%' ).
+ point->interact_line_chart_point( label = 'Sep'
+ value = '69.9'
+ displayedvalue = '69.9%' ).
+ point->interact_line_chart_point( label = 'Oct'
+ value = '0.9'
+ displayedvalue = '9.9%' ).
point = grid->vertical_layout(
)->layout_data( ns = 'layout'
)->grid_data( 'XL12 L12 M12 S12'
)->get_parent(
- )->text(
- text = 'Preselected values'
- class = 'sapUiSmallMargin'
- )->flex_box(
- width = '22rem'
- height = '13rem'
- alignitems = 'Start'
- class = 'sapUiSmallMargin'
+ )->text( text = 'Preselected values'
+ class = 'sapUiSmallMargin'
+ )->flex_box( width = '22rem'
+ height = '13rem'
+ alignitems = 'Start'
+ class = 'sapUiSmallMargin'
)->items(
- )->interact_line_chart(
- selectionchanged = client->_event( 'LINE_CHANGED' )
- press = client->_event( 'LINE_PRESS' )
+ )->interact_line_chart( selectionchanged = client->_event( 'LINE_CHANGED' )
+ press = client->_event( 'LINE_PRESS' )
)->points( ).
- point->interact_line_chart_point( label = 'May' value = '33.1' displayedvalue = '33.1%' selected = abap_true ).
- point->interact_line_chart_point( label = 'June' value = '2.2' displayedvalue = '2.2%' ).
- point->interact_line_chart_point( label = 'July' value = '51.4' displayedvalue = '51.4%' ).
- point->interact_line_chart_point( label = 'Aug' value = '19.9' displayedvalue = '19.9%' selected = abap_true ).
- point->interact_line_chart_point( label = 'Sep' value = '69.9' displayedvalue = '69.9%' ).
- point->interact_line_chart_point( label = 'Oct' value = '0.9' displayedvalue = '9.9%' ).
+ point->interact_line_chart_point( label = 'May'
+ value = '33.1'
+ displayedvalue = '33.1%'
+ selected = abap_true ).
+ point->interact_line_chart_point( label = 'June'
+ value = '2.2'
+ displayedvalue = '2.2%' ).
+ point->interact_line_chart_point( label = 'July'
+ value = '51.4'
+ displayedvalue = '51.4%' ).
+ point->interact_line_chart_point( label = 'Aug'
+ value = '19.9'
+ displayedvalue = '19.9%'
+ selected = abap_true ).
+ point->interact_line_chart_point( label = 'Sep'
+ value = '69.9'
+ displayedvalue = '69.9%' ).
+ point->interact_line_chart_point( label = 'Oct'
+ value = '0.9'
+ displayedvalue = '9.9%' ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -138,4 +174,5 @@ CLASS Z2UI5_CL_DEMO_APP_014 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_015.clas.abap b/src/z2ui5_cl_demo_app_015.clas.abap
index 228deda1..8ee3c8ac 100644
--- a/src/z2ui5_cl_demo_app_015.clas.abap
+++ b/src/z2ui5_cl_demo_app_015.clas.abap
@@ -1,58 +1,56 @@
-CLASS Z2UI5_CL_DEMO_APP_015 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_015 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA mv_html_text TYPE string.
+ DATA mv_html_text TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_015 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_015 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
- IF check_initialized = abap_false.
- check_initialized = abap_true.
-
- mv_html_text = `subheader link: link to sap.com - links open in ` &&
-`a new window.
paragraph: strong and emphasized .
list:
pre:
abc def ghi code: var el = document.getElementById("myId");
cite: a reference to a source
` &&
-`definition: definition list of terms and descriptions `.
-
- ENDIF.
-
- CASE client->get( )-event.
- WHEN 'BACK'.
- client->nav_app_leave( ).
-
- ENDCASE.
-
- data(view) = z2ui5_cl_xml_view=>factory( ).
- view->shell(
- )->page(
- title = 'abap2UI5 - Formatted Text'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->header_content(
- )->toolbar_spacer(
- )->link(
+ IF check_initialized = abap_false.
+ check_initialized = abap_true.
+
+ mv_html_text = |subheader link: link to sap.com - links open in | &&
+|a new window.
paragraph: strong and emphasized .
list:
pre:
abc def ghi code: var el = document.getElementById("myId");
cite: a reference to a source
| &&
+|definition: definition list of terms and descriptions |.
+
+ ENDIF.
+
+ CASE client->get( )-event.
+ WHEN 'BACK'.
+ client->nav_app_leave( ).
+
+ ENDCASE.
+
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
+ view->shell(
+ )->page( title = 'abap2UI5 - Formatted Text'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->header_content(
+ )->toolbar_spacer(
+ )->link(
+ )->get_parent(
+ )->vbox( 'sapUiSmallMargin'
+ )->link(
+ text = 'Control Documentation - SAP UI5 Formatted Text'
+ href = 'https://sapui5.hana.ondemand.com/#/entity/sap.m.FormattedText/sample/sap.m.sample.FormattedText'
)->get_parent(
- )->vbox( 'sapUiSmallMargin'
- )->link(
- text = 'Control Documentation - SAP UI5 Formatted Text'
- href = 'https://sapui5.hana.ondemand.com/#/entity/sap.m.FormattedText/sample/sap.m.sample.FormattedText'
- )->get_parent(
- )->vbox( 'sapUiSmallMargin'
- )->formatted_text( mv_html_text ).
+ )->vbox( 'sapUiSmallMargin'
+ )->formatted_text( mv_html_text ).
- client->view_display( view->stringify( ) ).
+ client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_016.clas.abap b/src/z2ui5_cl_demo_app_016.clas.abap
index 4facded9..0c7da62e 100644
--- a/src/z2ui5_cl_demo_app_016.clas.abap
+++ b/src/z2ui5_cl_demo_app_016.clas.abap
@@ -1,14 +1,13 @@
-CLASS Z2UI5_CL_DEMO_APP_016 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_016 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
DATA check_initialized TYPE abap_bool.
- DATA mv_sel1 TYPE abap_bool.
- DATA mv_sel2 TYPE abap_bool.
- DATA mv_sel3 TYPE abap_bool.
+ DATA mv_sel1 TYPE abap_bool.
+ DATA mv_sel2 TYPE abap_bool.
+ DATA mv_sel3 TYPE abap_bool.
DATA mv_tab_bar_active TYPE abap_bool.
@@ -17,93 +16,97 @@ CLASS Z2UI5_CL_DEMO_APP_016 DEFINITION PUBLIC.
DATA client TYPE REF TO Z2UI5_if_client.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_016 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_016 IMPLEMENTATION.
METHOD render_tab_bar.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(container) = view->shell(
- )->page(
- showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
- title = 'abap2UI5 - Visualization'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
+ title = 'abap2UI5 - Visualization'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->tab_container( ).
- DATA(grid) = container->tab(
- text = 'Bar Chart'
- selected = client->_bind( mv_tab_bar_active )
+ DATA(grid) = container->tab( text = 'Bar Chart'
+ selected = client->_bind( mv_tab_bar_active )
)->grid( 'XL6 L6 M6 S12' ).
grid->link(
- text = 'Go to the SAP Demos for Interactive bar Charts here...' target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/#/entity/sap.suite.ui.microchart.InteractiveBarChart/sample/sap.suite.ui.microchart.sample.InteractiveBarChart'
- )->text(
- text = 'Absolute and Percentage value'
- class = 'sapUiSmallMargin'
+ text = 'Go to the SAP Demos for Interactive bar Charts here...'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/#/entity/sap.suite.ui.microchart.InteractiveBarChart/sample/sap.suite.ui.microchart.sample.InteractiveBarChart'
+ )->text( text = 'Absolute and Percentage value'
+ class = 'sapUiSmallMargin'
)->get( )->layout_data(
)->grid_data( 'XL12 L12 M12 S12' ).
- DATA(bar) = grid->flex_box(
- width = '22rem'
- height = '13rem'
- alignitems = 'Center'
- class = 'sapUiSmallMargin'
- )->items( )->interact_bar_chart(
- selectionchanged = client->_event( 'BAR_CHANGED' )
- press = client->_event( 'BAR_CHANGED' )
- labelwidth = '25%'
- displayedbars = `4`
+ DATA(bar) = grid->flex_box( width = '22rem'
+ height = '13rem'
+ alignitems = 'Center'
+ class = 'sapUiSmallMargin'
+ )->items( )->interact_bar_chart( selectionchanged = client->_event( 'BAR_CHANGED' )
+ press = client->_event( 'BAR_CHANGED' )
+ labelwidth = '25%'
+ displayedbars = `4`
)->bars( ).
- bar->interact_bar_chart_bar( selected = client->_bind( mv_sel1 ) label = 'Product 1' value = '10' ).
- bar->interact_bar_chart_bar( selected = client->_bind( mv_sel2 ) label = 'Product 2' value = '20' ).
- bar->interact_bar_chart_bar( selected = client->_bind( mv_sel3 ) label = 'Product 3' value = '70' ).
-
- bar = grid->flex_box(
- width = '22rem'
- height = '13rem'
- alignitems = 'Center'
- class = 'sapUiSmallMargin'
- )->items( )->interact_bar_chart(
- selectionchanged = client->_event( 'BAR_CHANGED' )
+ bar->interact_bar_chart_bar( selected = client->_bind( mv_sel1 )
+ label = 'Product 1'
+ value = '10' ).
+ bar->interact_bar_chart_bar( selected = client->_bind( mv_sel2 )
+ label = 'Product 2'
+ value = '20' ).
+ bar->interact_bar_chart_bar( selected = client->_bind( mv_sel3 )
+ label = 'Product 3'
+ value = '70' ).
+
+ bar = grid->flex_box( width = '22rem'
+ height = '13rem'
+ alignitems = 'Center'
+ class = 'sapUiSmallMargin'
+ )->items( )->interact_bar_chart( selectionchanged = client->_event( 'BAR_CHANGED' )
)->bars( ).
- bar->interact_bar_chart_bar( label = 'Product 1' value = '10' displayedvalue = '10%' ).
- bar->interact_bar_chart_bar( label = 'Product 2' value = '20' displayedvalue = '20%' ).
- bar->interact_bar_chart_bar( label = 'Product 3' value = '70' displayedvalue = '70%' ).
+ bar->interact_bar_chart_bar( label = 'Product 1'
+ value = '10'
+ displayedvalue = '10%' ).
+ bar->interact_bar_chart_bar( label = 'Product 2'
+ value = '20'
+ displayedvalue = '20%' ).
+ bar->interact_bar_chart_bar( label = 'Product 3'
+ value = '70'
+ displayedvalue = '70%' ).
bar = grid->vertical_layout(
)->layout_data( 'layout'
)->grid_data( 'XL12 L12 M12 S12'
)->get_parent(
- )->text(
- text = 'Positive and Negative values'
- class = 'sapUiSmallMargin'
- )->flex_box(
- width = '20rem'
- height = '10rem'
- alignitems = 'Center'
- class = 'sapUiSmallMargin'
- )->items( )->interact_bar_chart(
- selectionchanged = client->_event( 'BAR_CHANGED' )
- press = client->_event( 'BAR_PRESS' )
- labelwidth = '25%'
+ )->text( text = 'Positive and Negative values'
+ class = 'sapUiSmallMargin'
+ )->flex_box( width = '20rem'
+ height = '10rem'
+ alignitems = 'Center'
+ class = 'sapUiSmallMargin'
+ )->items( )->interact_bar_chart( selectionchanged = client->_event( 'BAR_CHANGED' )
+ press = client->_event( 'BAR_PRESS' )
+ labelwidth = '25%'
)->bars( ).
- bar->interact_bar_chart_bar( label = 'Product 1' value = '25' ).
- bar->interact_bar_chart_bar( label = 'Product 2' value = '-50' ).
- bar->interact_bar_chart_bar( label = 'Product 3' value = '-100' ).
+ bar->interact_bar_chart_bar( label = 'Product 1'
+ value = '25' ).
+ bar->interact_bar_chart_bar( label = 'Product 2'
+ value = '-50' ).
+ bar->interact_bar_chart_bar( label = 'Product 3'
+ value = '-100' ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -128,4 +131,5 @@ CLASS Z2UI5_CL_DEMO_APP_016 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_017.clas.abap b/src/z2ui5_cl_demo_app_017.clas.abap
index 5c96f400..8ed21fc4 100644
--- a/src/z2ui5_cl_demo_app_017.clas.abap
+++ b/src/z2ui5_cl_demo_app_017.clas.abap
@@ -1,190 +1,200 @@
-CLASS Z2UI5_CL_DEMO_APP_017 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_017 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_017 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_017 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
- IF check_initialized = abap_false.
- check_initialized = abap_true.
-
- ENDIF.
-
- CASE client->get( )-event.
-
- WHEN 'BUTTON_ROUNDTRIP'.
- DATA(lv_dummy) = 'user pressed a button, your custom implementation can be called here'.
-
- WHEN 'BUTTON_MSG_BOX'.
- client->message_box_display(
- text = 'this is a message box with a custom text'
- type = 'success' ).
-
- WHEN 'BACK'.
- client->nav_app_leave( ).
-
- ENDCASE.
-
- DATA(view) = z2ui5_cl_xml_view=>factory( ).
-
-
- DATA(page) = view->object_page_layout(
- showtitleinheadercontent = abap_true
- showeditheaderbutton = abap_true
- editheaderbuttonpress = client->_event( 'EDIT_HEADER_PRESS' )
- uppercaseanchorbar = abap_false
+ IF check_initialized = abap_false.
+ check_initialized = abap_true.
+
+ ENDIF.
+
+ CASE client->get( )-event.
+
+ WHEN 'BUTTON_ROUNDTRIP'.
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(lv_dummy) = 'user pressed a button, your custom implementation can be called here'.
+
+ WHEN 'BUTTON_MSG_BOX'.
+ client->message_box_display( text = 'this is a message box with a custom text'
+ type = 'success' ).
+
+ WHEN 'BACK'.
+ client->nav_app_leave( ).
+
+ ENDCASE.
+
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
+
+ DATA(page) = view->object_page_layout( showtitleinheadercontent = abap_true
+ showeditheaderbutton = abap_true
+ editheaderbuttonpress = client->_event( 'EDIT_HEADER_PRESS' )
+ uppercaseanchorbar = abap_false
+ ).
+
+ DATA(header_title) = page->header_title( )->object_page_dyn_header_title( ).
+
+ header_title->expanded_heading(
+ )->hbox(
+
+ )->title( text = 'Oblomov Dev'
+ wrapping = abap_true ).
+
+ header_title->snapped_heading(
+ )->flex_box( alignitems = `Center`
+ )->avatar( src = lcl_help=>get_avatar( )
+ class = 'sapUiTinyMarginEnd'
+ )->title( text = 'Oblomov Dev'
+ wrapping = abap_true ).
+
+ header_title->expanded_content( ns = `uxap` )->text( `abap2UI5 Developer` ).
+ header_title->snapped_Content( ns = `uxap` )->text( `abap2UI5 Developer` ).
+ header_title->snapped_Title_On_Mobile( )->title( `abap2UI5 Developer` ).
+
+ header_title->actions( ns = `uxap` )->overflow_toolbar(
+ )->overflow_toolbar_button( icon = `sap-icon://edit`
+ text = 'edit header'
+ type = 'Emphasized'
+ tooltip = 'edit'
+ )->overflow_toolbar_button( icon = `sap-icon://pull-down`
+ text = 'show section'
+ type = 'Emphasized'
+ tooltip = 'pull-down'
+ )->overflow_toolbar_button( icon = `sap-icon://show`
+ text = 'show state'
+ tooltip = 'show'
+ )->button(
+ " icon = `sap-icon://edit`
+ text = 'Go Back'
+ press = client->_event( 'BACK' )
).
- DATA(header_title) = page->header_title( )->object_page_dyn_header_title( ).
-
- header_title->expanded_heading(
- )->hbox(
-
- )->title( text = 'Oblomov Dev' wrapping = abap_true ).
-
- header_title->snapped_heading(
- )->flex_box( alignitems = `Center`
- )->avatar( src = lcl_help=>get_avatar( ) class = 'sapUiTinyMarginEnd'
- )->title( text = 'Oblomov Dev' wrapping = abap_true ).
-
- header_title->expanded_content( ns = `uxap` )->text( `abap2UI5 Developer` ).
- header_title->snapped_Content( ns = `uxap` )->text( `abap2UI5 Developer` ).
- header_title->snapped_Title_On_Mobile( )->title( `abap2UI5 Developer` ).
-
- header_title->actions( ns = `uxap` )->overflow_toolbar(
- )->overflow_toolbar_button(
- icon = `sap-icon://edit`
- text = 'edit header'
- type = 'Emphasized'
- tooltip = 'edit'
- )->overflow_toolbar_button(
- icon = `sap-icon://pull-down`
- text = 'show section'
- type = 'Emphasized'
- tooltip = 'pull-down'
- )->overflow_toolbar_button(
- icon = `sap-icon://show`
- text = 'show state'
- tooltip = 'show'
- )->button(
- " icon = `sap-icon://edit`
- text = 'Go Back'
- press = client->_event( 'BACK' )
- ).
-
- DATA(header_content) = page->header_Content( ns = 'uxap' ).
-
- header_content->flex_box( wrap = 'Wrap'
- )->avatar( src = lcl_help=>get_avatar( ) class = 'sapUiSmallMarginEnd' displaySize = 'layout'
- )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->link( text = '+33 6 4512 5158'
- )->link( text = 'email@email.com'
- )->get_parent(
- )->horizontal_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( text = 'Hello! I an abap2UI5 developer'
- )->label( text = 'San Jose, USA'
- )->get_parent(
- )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( text = 'Hello! I an abap2UI5 developer'
- )->vbox(
- )->label( 'Achived goals'
- )->progress_indicator( percentvalue = '30%' displayvalue = '30%'
- )->get_parent( )->get_parent(
- " )->avatar( src = lcl_help=>get_avatar( ) class = 'sapUiSmallMarginEnd' displaySize = 'layout'
- )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( text = 'San Jose, USA'
- )->get_parent(
- ).
-
-
- data(sections) = page->sections( ).
-
- sections->object_page_section( titleuppercase = abap_false id = 'goalsSectionSS1' title = '2014 Goals Plan'
- )->heading( ns = `uxap`
- )->message_strip( text = 'this is a message strip'
- )->get_parent(
- )->sub_sections(
- )->object_page_sub_section( id = 'goalssubSectionSS1' title = 'goals1'
- )->blocks(
- )->vbox(
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
-
- )->get_parent( )->get_parent( )->get_parent(
- )->object_page_sub_section( id = 'goalsSectionWS1' title = 'goals2'
- )->blocks(
- )->vbox(
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2').
-
- sections->object_page_section( titleuppercase = abap_false id = 'PersonalSection' title = 'Personal'
- )->heading( ns = `uxap`
- " )->message_strip( text = 'this is a message strip'
- )->get_parent(
- )->sub_sections(
- )->object_page_sub_section( id = 'personalSectionSS1' title = 'Connect'
- )->blocks(
- )->label( text = 'telefon'
- )->label( text = 'email'
- )->get_parent( )->get_parent(
- )->object_page_sub_section( id = 'personalSectionWS2' title = 'Payment information '
- )->blocks(
- )->label( text = 'Hello! I an abap2UI5 developer'
- )->label( text = 'San Jose, USA' ).
-
-
- sections->object_page_section( titleuppercase = abap_false id = 'employmentSection' title = 'Employment'
- )->heading( ns = `uxap`
- " )->message_strip( text = 'this is a message strip'
- )->get_parent(
- )->sub_sections(
- )->object_page_sub_section( id = 'empSectionSS1' title = 'Job information'
- )->blocks(
- )->label( text = 'info'
- )->label( text = 'info'
- )->label( text = 'info'
- )->label( text = 'info'
- )->label( text = 'info'
- )->get_parent( )->get_parent(
- )->object_page_sub_section( id = 'empSectionWS2' title = 'Employee Details '
- )->blocks(
- )->vbox(
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details' ).
-
- client->view_display( view->stringify( ) ).
+ DATA(header_content) = page->header_Content( ns = 'uxap' ).
+
+ header_content->flex_box( wrap = 'Wrap'
+ )->avatar( src = lcl_help=>get_avatar( )
+ class = 'sapUiSmallMarginEnd'
+ displaySize = 'layout'
+ )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
+ )->link( text = '+33 6 4512 5158'
+ )->link( text = 'email@email.com'
+ )->get_parent(
+ )->horizontal_layout( class = 'sapUiSmallMarginBeginEnd'
+ )->label( text = 'Hello! I an abap2UI5 developer'
+ )->label( text = 'San Jose, USA'
+ )->get_parent(
+ )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
+ )->label( text = 'Hello! I an abap2UI5 developer'
+ )->vbox(
+ )->label( 'Achived goals'
+ )->progress_indicator( percentvalue = '30%'
+ displayvalue = '30%'
+ )->get_parent( )->get_parent(
+ " )->avatar( src = lcl_help=>get_avatar( ) class = 'sapUiSmallMarginEnd' displaySize = 'layout'
+ )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
+ )->label( text = 'San Jose, USA'
+ )->get_parent(
+ ).
+
+ DATA(sections) = page->sections( ).
+
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'goalsSectionSS1'
+ title = '2014 Goals Plan'
+ )->heading( ns = `uxap`
+ )->message_strip( text = 'this is a message strip'
+ )->get_parent(
+ )->sub_sections(
+ )->object_page_sub_section( id = 'goalssubSectionSS1'
+ title = 'goals1'
+ )->blocks(
+ )->vbox(
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+
+ )->get_parent( )->get_parent( )->get_parent(
+ )->object_page_sub_section( id = 'goalsSectionWS1'
+ title = 'goals2'
+ )->blocks(
+ )->vbox(
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2' ).
+
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'PersonalSection'
+ title = 'Personal'
+ )->heading( ns = `uxap`
+ " )->message_strip( text = 'this is a message strip'
+ )->get_parent(
+ )->sub_sections(
+ )->object_page_sub_section( id = 'personalSectionSS1'
+ title = 'Connect'
+ )->blocks(
+ )->label( text = 'telefon'
+ )->label( text = 'email'
+ )->get_parent( )->get_parent(
+ )->object_page_sub_section( id = 'personalSectionWS2'
+ title = 'Payment information '
+ )->blocks(
+ )->label( text = 'Hello! I an abap2UI5 developer'
+ )->label( text = 'San Jose, USA' ).
+
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'employmentSection'
+ title = 'Employment'
+ )->heading( ns = `uxap`
+ " )->message_strip( text = 'this is a message strip'
+ )->get_parent(
+ )->sub_sections(
+ )->object_page_sub_section( id = 'empSectionSS1'
+ title = 'Job information'
+ )->blocks(
+ )->label( text = 'info'
+ )->label( text = 'info'
+ )->label( text = 'info'
+ )->label( text = 'info'
+ )->label( text = 'info'
+ )->get_parent( )->get_parent(
+ )->object_page_sub_section( id = 'empSectionWS2'
+ title = 'Employee Details '
+ )->blocks(
+ )->vbox(
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details' ).
+
+ client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_017.clas.locals_imp.abap b/src/z2ui5_cl_demo_app_017.clas.locals_imp.abap
index b0f14e79..e420922c 100644
--- a/src/z2ui5_cl_demo_app_017.clas.locals_imp.abap
+++ b/src/z2ui5_cl_demo_app_017.clas.locals_imp.abap
@@ -1,206 +1,206 @@
CLASS lcl_help DEFINITION.
PUBLIC SECTION.
-
- class-METHODS get_avatar
+ CLASS-METHODS get_avatar
RETURNING
VALUE(result) TYPE string.
ENDCLASS.
+
CLASS lcl_help IMPLEMENTATION.
METHOD get_avatar.
- result = `data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gKgSUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAA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ApjcuKPFcDoioqoeTuO2YYwYuVV0ysM/Aup84LthWvMW2ZxMxwS7lW/Q5g1Kv3zIgD8wRWHRA4s4fTKxe5KvdS6wAXot47/wCOlmYFXFj4S3ywonquT+tRu4U5mks6Y4vMpqV4KhM/mcCVQ3CrUKMymkBcaqZqDBPvJviQsHcVltrLe/3kD5JmtpsTqABRgP8Akh3UNj` &&
- `U336/yytFTwlX9GxywaXdWh95iziCo44Jdy8wDARNx/KZLqcpwTNNIZTGZW7jLUEKomRUULKNXzY+8IhBoQDnhdu3/ADBA2FJ4hqC5trxRx6GX6m0emd76DV5ZTsmKVUl1EhawOScxM/RibgLsxSjW11KtQAvtLhkJonSBt7ouJ0Du1P6+sGoAMG67/wCfYeOBWler/RKsXxNj+Az+GyUHpx2CZPZ8PEDLCVywLE40bECOZTUJoOpToQ` &&
- `P9p0MpU5qgyJ1KA2UqmACndLXacALjZc6/6H0nCn+IVldsV3UKqFS1V74+6c8lTkAlWtPT0+JjyWVdGLy6ILBuHUhIVjiGvrcUsDzDVFIEXLD8nUztAPm3l7FvtMsrwar/AKNBKSyBBrWDoFwwYbIpIhGXWrRXWvEGHu58D31eISIhYjYwRGizBvcRuoCp9WG6i4DB8q9cJyQiFl+KbejzzxGJLYtDFjgauLa1bA9Ojx/0qWUzLoDGHu` &&
- `fxFULypP2hNzEkjHa34ROoxZSxJd2LDxkBhrYLYra9Ba+YvBGafqc8vHBbPRxvHqbILNaiwhuFG0l7whR734mj27WPVMV4N90pEeqcdry/t7/9dbnqtPXiN1vLVXFILWuvkWbwoYWJRAaX/qbuTDhmABRg/wDzp//aAAwDAQACAAMAAAAQ88888888884ARDDrK8888888888888888880l3isemBc88888888888888YEoHAl0dmE+D` &&
- `8888d8888888PB1yRAXh1lwOj888Z88888888ar7wfQUk2OHdPc8HEK8888884knBHIEl6AFnQYIbS5l8888888bRBVmcz7gIxM0BJYrDAh/kZHim5zdpaN98q/wBvMMOMD+NfBn8fZHBL+BHCY74KX+/A/wCSfhpE/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KomRUULKNXzY+8IhBoQDnhdu3/ADBA2FJ4hqC5trxRx6GX6m0emd76DV5ZTsmKVUl1EhawOScxM/RibgLsxSjW11KtQAvtLhkJonSBt7ouJ0Du1P6+sGoAMG67/wCfYeOBWler/RKsXxNj+Az+GyUHpx2CZPZ8PEDLCVywLE40bECOZTUJoOpToQ| &&
+ |P9p0MpU5qgyJ1KA2UqmACndLXacALjZc6/6H0nCn+IVldsV3UKqFS1V74+6c8lTkAlWtPT0+JjyWVdGLy6ILBuHUhIVjiGvrcUsDzDVFIEXLD8nUztAPm3l7FvtMsrwar/AKNBKSyBBrWDoFwwYbIpIhGXWrRXWvEGHu58D31eISIhYjYwRGizBvcRuoCp9WG6i4DB8q9cJyQiFl+KbejzzxGJLYtDFjgauLa1bA9Ojx/0qWUzLoDGHu| &&
+ |fxFULypP2hNzEkjHa34ROoxZSxJd2LDxkBhrYLYra9Ba+YvBGafqc8vHBbPRxvHqbILNaiwhuFG0l7whR734mj27WPVMV4N90pEeqcdry/t7/9dbnqtPXiN1vLVXFILWuvkWbwoYWJRAaX/qbuTDhmABRg/wDzp//aAAwDAQACAAMAAAAQ88888888884ARDDrK8888888888888888880l3isemBc88888888888888YEoHAl0dmE+D| &&
+ |8888d8888888PB1yRAXh1lwOj888Z88888888ar7wfQUk2OHdPc8HEK8888884knBHIEl6AFnQYIbS5l8888888bRBVmcz7gIxM0BJYrDAh/kZHim5zdpaN98q/wBvMMOMD+NfBn8fZHBL+BHCY74KX+/A/wCSfhpE/JaV7lpSiMuvrihglLLaLDV0o5LutM4RowRmdqbpx7redMzsyb8KNWDawmdLc4Ae96L14MmXi4iMOgLJZUPBiI| &&
+ |9OCrJIWKKUm4x5ZdfAYe4/oL7TN3JpzazTyFNiWYhI5qLuWm8fBJ8PLy/Hzxn5b7qnEafoBe+cpoqTPsOHzzxZJGasV+jjUqgyB+r57yzzzzzzzzxqFIAobBOXJbhGmLzzzzzzzzzzzDf3w4J9lpNrunzzzzzzzzzzzzzxjfSdg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aP/uVCA6esFvIe3ajSevOulGVZeLCANDWlAEREcMm/ZcGlNRo1IeUpoARwkfk8iD5OZ+P6G4CAIkR84viu+H1ss+mHHzSUnnSb++AKOdct2+Csm+Soh6D4IE1AHSEXAl2JWMNCzy5dbywRSFE3xMD1TA2q6V7VSJs1xBkeJj1SSDUu+Q84TuRykbe1ZtxRwABQqD7hSKosgCpBzm4aeEfADxGo0cAmv0/P9KmTp| &&
+ |hQiAUN5gggIGT3KHnvRQVoIReBgABKJYTpV03o3zVwkAwoGokR161hoQCAGg/qHj/+RP/Z|.
ENDMETHOD.
diff --git a/src/z2ui5_cl_demo_app_018.clas.abap b/src/z2ui5_cl_demo_app_018.clas.abap
index 07df6a6f..7d07e3cb 100644
--- a/src/z2ui5_cl_demo_app_018.clas.abap
+++ b/src/z2ui5_cl_demo_app_018.clas.abap
@@ -1,15 +1,13 @@
-CLASS Z2UI5_CL_DEMO_APP_018 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_018 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA quantity TYPE string.
+ DATA quantity TYPE string.
DATA mv_textarea TYPE string.
PROTECTED SECTION.
-
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS Z2UI5_on_init.
@@ -23,28 +21,22 @@ CLASS Z2UI5_CL_DEMO_APP_018 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_018 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_018 IMPLEMENTATION.
METHOD Z2UI5_display_popup_input.
DATA(view) = Z2UI5_cl_xml_view=>factory_popup( ).
- view->dialog(
- title = 'Title'
- icon = 'sap-icon://edit'
+ view->dialog( title = 'Title'
+ icon = 'sap-icon://edit'
)->content(
- )->text_area(
- height = '100%'
- width = '100%'
- value = client->_bind_edit( mv_textarea )
- )->button(
- text = 'Cancel'
- press = client->_event( 'POPUP_CANCEL' )
- )->button(
- text = 'Confirm'
- press = client->_event( 'POPUP_CONFIRM' )
- type = 'Emphasized' ).
+ )->text_area( height = '100%'
+ width = '100%'
+ value = client->_bind_edit( mv_textarea )
+ )->button( text = 'Cancel'
+ press = client->_event( 'POPUP_CANCEL' )
+ )->button( text = 'Confirm'
+ press = client->_event( 'POPUP_CONFIRM' )
+ type = 'Emphasized' ).
* )->get_parent(
* )->footer( )->overflow_toolbar(
* )->toolbar_spacer(
@@ -60,72 +52,62 @@ CLASS Z2UI5_CL_DEMO_APP_018 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_display_view_main.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Template'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'VIEW_MAIN' editable = abap_true
+ )->page( title = 'abap2UI5 - Template'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->simple_form( title = 'VIEW_MAIN'
+ editable = abap_true
)->content( 'form'
)->title( 'Input'
)->label( 'quantity'
)->input( client->_bind_edit( quantity )
)->label( 'text'
- )->input(
- value = client->_bind_edit( mv_textarea )
- enabled = abap_false
- )->button(
- text = 'show popup input'
- press = client->_event( 'SHOW_POPUP' )
+ )->input( value = client->_bind_edit( mv_textarea )
+ enabled = abap_false
+ )->button( text = 'show popup input'
+ press = client->_event( 'SHOW_POPUP' )
)->get_parent( )->get_parent( )->footer(
)->overflow_toolbar(
)->toolbar_spacer(
- )->overflow_toolbar_button(
- text = 'Clear'
- press = client->_event( 'BUTTON_CLEAR' )
- type = 'Reject'
- icon = 'sap-icon://delete'
- )->button(
- text = 'Go to View Second'
- press = client->_event( 'SHOW_VIEW_SECOND' ) ).
+ )->overflow_toolbar_button( text = 'Clear'
+ press = client->_event( 'BUTTON_CLEAR' )
+ type = 'Reject'
+ icon = 'sap-icon://delete'
+ )->button( text = 'Go to View Second'
+ press = client->_event( 'SHOW_VIEW_SECOND' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_display_view_second.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Template'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Template'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->simple_form( 'VIEW_SECOND'
)->content( 'form'
)->get_parent( )->get_parent( )->footer(
)->overflow_toolbar(
)->toolbar_spacer(
- )->overflow_toolbar_button(
- text = 'Clear'
- press = client->_event( 'BUTTON_CLEAR' )
- type = 'Reject'
- icon = 'sap-icon://delete'
- )->button(
- text = 'Go to View Main'
- press = client->_event( 'SHOW_VIEW_MAIN' ) ).
+ )->overflow_toolbar_button( text = 'Clear'
+ press = client->_event( 'BUTTON_CLEAR' )
+ type = 'Reject'
+ icon = 'sap-icon://delete'
+ )->button( text = 'Go to View Main'
+ press = client->_event( 'SHOW_VIEW_MAIN' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -140,7 +122,6 @@ CLASS Z2UI5_CL_DEMO_APP_018 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
@@ -170,11 +151,11 @@ CLASS Z2UI5_CL_DEMO_APP_018 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
quantity = '500'.
Z2UI5_display_view_main( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_019.clas.abap b/src/z2ui5_cl_demo_app_019.clas.abap
index 854fe85a..7ccce9c0 100644
--- a/src/z2ui5_cl_demo_app_019.clas.abap
+++ b/src/z2ui5_cl_demo_app_019.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_019 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_019 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -12,112 +11,103 @@ CLASS Z2UI5_CL_DEMO_APP_019 DEFINITION PUBLIC.
descr TYPE string,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
- DATA t_tab_sel TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
- DATA mv_sel_mode TYPE string.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab_sel TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA mv_sel_mode TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_019 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_019 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
- IF check_initialized = abap_false.
- check_initialized = abap_true.
-
- mv_sel_mode = 'None'.
- t_tab = VALUE #( descr = 'this is a description'
- ( title = 'title_01' value = 'value_01' )
- ( title = 'title_02' value = 'value_02' )
- ( title = 'title_03' value = 'value_03' )
- ( title = 'title_04' value = 'value_04' )
- ( title = 'title_05' value = 'value_05' ) ).
-
- ENDIF.
-
- CASE client->get( )-event.
- WHEN 'BUTTON_SEGMENT_CHANGE'.
- client->message_toast_display( `Selection Mode changed` ).
-
- WHEN 'BUTTON_READ_SEL'.
- t_tab_sel = t_tab.
- DELETE t_tab_sel WHERE selkz <> abap_true.
-
- WHEN 'BACK'.
- client->nav_app_leave( ).
-
- ENDCASE.
-
- data(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Table with different Selection Modes'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- ).
-
- page->segmented_button(
- selected_key = client->_bind_edit( mv_sel_mode )
- selection_change = client->_event( 'BUTTON_SEGMENT_CHANGE' ) )->get(
- )->items( )->get(
- )->segmented_button_item(
- key = 'None'
- text = 'None'
- )->segmented_button_item(
- key = 'SingleSelect'
- text = 'SingleSelect'
- )->segmented_button_item(
- key = 'SingleSelectLeft'
- text = 'SingleSelectLeft'
- )->segmented_button_item(
- key = 'SingleSelectMaster'
- text = 'SingleSelectMaster'
- )->segmented_button_item(
- key = 'MultiSelect'
- text = 'MultiSelect' ).
-
- page->table(
- headertext = 'Table'
- mode = mv_sel_mode
- items = client->_bind_edit( t_tab )
- )->columns(
- )->column( )->text( 'Title' )->get_parent(
- )->column( )->text( 'Value' )->get_parent(
- )->column( )->text( 'Description'
- )->get_parent( )->get_parent(
- )->items(
- )->column_list_item( selected = '{SELKZ}'
- )->cells(
- )->text( '{TITLE}'
- )->text( '{VALUE}'
- )->text( '{DESCR}' ).
-
- page->table( client->_bind( t_tab_sel )
- )->header_toolbar(
- )->overflow_toolbar(
- )->title( 'Selected Entries'
- )->button(
- icon = 'sap-icon://pull-down'
- text = 'copy selected entries'
- press = client->_event( 'BUTTON_READ_SEL' )
- )->get_parent( )->get_parent(
- )->columns(
+ IF check_initialized = abap_false.
+ check_initialized = abap_true.
+
+ mv_sel_mode = 'None'.
+ t_tab = VALUE #( descr = 'this is a description'
+ ( title = 'title_01' value = 'value_01' )
+ ( title = 'title_02' value = 'value_02' )
+ ( title = 'title_03' value = 'value_03' )
+ ( title = 'title_04' value = 'value_04' )
+ ( title = 'title_05' value = 'value_05' ) ).
+
+ ENDIF.
+
+ CASE client->get( )-event.
+ WHEN 'BUTTON_SEGMENT_CHANGE'.
+ client->message_toast_display( `Selection Mode changed` ).
+
+ WHEN 'BUTTON_READ_SEL'.
+ t_tab_sel = t_tab.
+ DELETE t_tab_sel WHERE selkz <> abap_true.
+
+ WHEN 'BACK'.
+ client->nav_app_leave( ).
+
+ ENDCASE.
+
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
+ DATA(page) = view->shell(
+ )->page( title = 'abap2UI5 - Table with different Selection Modes'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ ).
+
+ page->segmented_button( selected_key = client->_bind_edit( mv_sel_mode )
+ selection_change = client->_event( 'BUTTON_SEGMENT_CHANGE' ) )->get(
+ )->items( )->get(
+ )->segmented_button_item( key = 'None'
+ text = 'None'
+ )->segmented_button_item( key = 'SingleSelect'
+ text = 'SingleSelect'
+ )->segmented_button_item( key = 'SingleSelectLeft'
+ text = 'SingleSelectLeft'
+ )->segmented_button_item( key = 'SingleSelectMaster'
+ text = 'SingleSelectMaster'
+ )->segmented_button_item( key = 'MultiSelect'
+ text = 'MultiSelect' ).
+
+ page->table( headertext = 'Table'
+ mode = mv_sel_mode
+ items = client->_bind_edit( t_tab )
+ )->columns(
)->column( )->text( 'Title' )->get_parent(
)->column( )->text( 'Value' )->get_parent(
)->column( )->text( 'Description'
- )->get_parent( )->get_parent(
- )->items( )->column_list_item( )->cells(
- )->text( '{TITLE}'
- )->text( '{VALUE}'
- )->text( '{DESCR}' ).
-
- client->view_display( view->stringify( ) ).
+ )->get_parent( )->get_parent(
+ )->items(
+ )->column_list_item( selected = '{SELKZ}'
+ )->cells(
+ )->text( '{TITLE}'
+ )->text( '{VALUE}'
+ )->text( '{DESCR}' ).
+
+ page->table( client->_bind( t_tab_sel )
+ )->header_toolbar(
+ )->overflow_toolbar(
+ )->title( 'Selected Entries'
+ )->button( icon = 'sap-icon://pull-down'
+ text = 'copy selected entries'
+ press = client->_event( 'BUTTON_READ_SEL' )
+ )->get_parent( )->get_parent(
+ )->columns(
+ )->column( )->text( 'Title' )->get_parent(
+ )->column( )->text( 'Value' )->get_parent(
+ )->column( )->text( 'Description'
+ )->get_parent( )->get_parent(
+ )->items( )->column_list_item( )->cells(
+ )->text( '{TITLE}'
+ )->text( '{VALUE}'
+ )->text( '{DESCR}' ).
+
+ client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_020.clas.abap b/src/z2ui5_cl_demo_app_020.clas.abap
index 658dd764..2e274596 100644
--- a/src/z2ui5_cl_demo_app_020.clas.abap
+++ b/src/z2ui5_cl_demo_app_020.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_020 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_020 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
CLASS-METHODS factory
@@ -12,39 +11,37 @@ CLASS Z2UI5_CL_DEMO_APP_020 DEFINITION PUBLIC.
i_confirm_text TYPE string
i_confirm_event TYPE string
RETURNING
- VALUE(result) TYPE REF TO Z2UI5_CL_DEMO_APP_020.
+ VALUE(result) TYPE REF TO z2ui5_cl_demo_app_020.
DATA check_initialized TYPE abap_bool.
- DATA mv_text TYPE string.
- DATA mv_cancel_text TYPE string.
- DATA mv_cancel_event TYPE string.
- DATA mv_confirm_text TYPE string.
- DATA mv_confirm_event TYPE string.
- DATA mv_event TYPE string.
+ DATA mv_text TYPE string.
+ DATA mv_cancel_text TYPE string.
+ DATA mv_cancel_event TYPE string.
+ DATA mv_confirm_text TYPE string.
+ DATA mv_confirm_event TYPE string.
+ DATA mv_event TYPE string.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_020 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_020 IMPLEMENTATION.
METHOD factory.
result = NEW #( ).
- result->mv_text = i_text.
- result->mv_cancel_text = i_cancel_text.
- result->mv_cancel_event = i_cancel_event.
- result->mv_confirm_text = i_confirm_text.
+ result->mv_text = i_text.
+ result->mv_cancel_text = i_cancel_text.
+ result->mv_cancel_event = i_cancel_event.
+ result->mv_confirm_text = i_confirm_text.
result->mv_confirm_event = i_confirm_event.
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
IF check_initialized = abap_false.
@@ -57,22 +54,21 @@ CLASS Z2UI5_CL_DEMO_APP_020 IMPLEMENTATION.
mv_event = client->get( )-event.
client->popup_destroy( ).
client->nav_app_leave( ).
- return.
+ RETURN.
ENDCASE.
- client->popup_display( Z2UI5_cl_xml_view=>factory_popup(
- )->dialog( 'abap2UI5 - Popup to decide'
- )->vbox(
- )->text( mv_text )->get_parent(
- )->buttons(
- )->button(
- text = mv_cancel_text
- press = client->_event( mv_cancel_event )
- )->button(
- text = mv_confirm_text
- press = client->_event( mv_confirm_event )
- type = 'Emphasized'
- )->stringify( ) ).
+ client->popup_display( Z2UI5_cl_xml_view=>factory_popup(
+ )->dialog( 'abap2UI5 - Popup to decide'
+ )->vbox(
+ )->text( mv_text )->get_parent(
+ )->buttons(
+ )->button( text = mv_cancel_text
+ press = client->_event( mv_cancel_event )
+ )->button( text = mv_confirm_text
+ press = client->_event( mv_confirm_event )
+ type = 'Emphasized'
+ )->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_021.clas.abap b/src/z2ui5_cl_demo_app_021.clas.abap
index 0966b64b..5b328aee 100644
--- a/src/z2ui5_cl_demo_app_021.clas.abap
+++ b/src/z2ui5_cl_demo_app_021.clas.abap
@@ -1,19 +1,20 @@
CLASS z2ui5_cl_demo_app_021 DEFINITION PUBLIC CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
+
DATA mv_textarea TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_set_data.
+
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -23,33 +24,30 @@ CLASS z2ui5_cl_demo_app_021 DEFINITION PUBLIC CREATE PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_021 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Text Area Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Text Area Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
layout->label( 'text area'
- )->text_area(
- valueliveupdate = abap_true
- value = client->_bind_edit( mv_textarea )
- growing = abap_true
- growingmaxlines = '7'
- width = '100%'
- )->button( text = `OK` press = client->_event( `POST` ) ).
+ )->text_area( valueliveupdate = abap_true
+ value = client->_bind_edit( mv_textarea )
+ growing = abap_true
+ growingmaxlines = '7'
+ width = '100%'
+ )->button( text = `OK`
+ press = client->_event( `POST` ) ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -61,7 +59,6 @@ CLASS z2ui5_cl_demo_app_021 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -76,15 +73,15 @@ CLASS z2ui5_cl_demo_app_021 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
- mv_textarea = `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn` &&
- `a aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd` &&
- ` gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam n ` &&
- ` onumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit am ` &&
- ` et, consetetur sadipscing elitr, sed diam nonumy eirm sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam no ` &&
- `numy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.`.
+ mv_textarea = |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magn| &&
+ |a aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd| &&
+ | gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam n | &&
+ | onumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit am | &&
+ | et, consetetur sadipscing elitr, sed diam nonumy eirm sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam no | &&
+ |numy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.|.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_022.clas.abap b/src/z2ui5_cl_demo_app_022.clas.abap
index 262f2f1c..21bd4c06 100644
--- a/src/z2ui5_cl_demo_app_022.clas.abap
+++ b/src/z2ui5_cl_demo_app_022.clas.abap
@@ -1,18 +1,16 @@
CLASS z2ui5_cl_demo_app_022 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA:
BEGIN OF screen,
- progress_value TYPE string VALUE '3',
+ progress_value TYPE string VALUE '3',
END OF screen.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -25,31 +23,27 @@ CLASS z2ui5_cl_demo_app_022 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_022 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Progress Indicator Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Progress Indicator Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
layout->label( 'ProgressIndicator'
- )->progress_indicator(
- percentvalue = screen-progress_value
- displayvalue = '0,44GB of 32GB used'
- showvalue = abap_true
- state = 'Success' ).
+ )->progress_indicator( percentvalue = screen-progress_value
+ displayvalue = '0,44GB of 32GB used'
+ showvalue = abap_true
+ state = 'Success' ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -61,7 +55,6 @@ CLASS z2ui5_cl_demo_app_022 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -72,4 +65,5 @@ CLASS z2ui5_cl_demo_app_022 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_024.clas.abap b/src/z2ui5_cl_demo_app_024.clas.abap
index 35a7bab2..83e0d77a 100644
--- a/src/z2ui5_cl_demo_app_024.clas.abap
+++ b/src/z2ui5_cl_demo_app_024.clas.abap
@@ -1,15 +1,13 @@
CLASS z2ui5_cl_demo_app_024 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA mv_input TYPE string.
- DATA mv_input2 TYPE string.
+ DATA mv_input TYPE string.
+ DATA mv_input2 TYPE string.
DATA mv_backend_event TYPE string.
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -18,29 +16,31 @@ CLASS z2ui5_cl_demo_app_024 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_024 IMPLEMENTATION.
-
METHOD display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page( title = 'abap2UI5 - flow logic - APP 01'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - flow logic - APP 01'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->grid( 'L6 M12 S12' )->content( 'layout'
)->simple_form( 'Controller' )->content( 'form'
)->label( 'Demo'
- )->button( text = 'call new app (first View)' press = client->_event( 'CALL_NEW_APP' )
+ )->button( text = 'call new app (first View)'
+ press = client->_event( 'CALL_NEW_APP' )
)->label( 'Demo'
- )->button( text = 'call new app (second View)' press = client->_event( 'CALL_NEW_APP_VIEW' )
+ )->button( text = 'call new app (second View)'
+ press = client->_event( 'CALL_NEW_APP_VIEW' )
)->label( 'Demo'
- )->button( text = 'call new app (set Event)' press = client->_event( 'CALL_NEW_APP_EVENT' )
+ )->button( text = 'call new app (set Event)'
+ press = client->_event( 'CALL_NEW_APP_EVENT' )
)->label( 'Demo'
)->input( client->_bind_edit( mv_input )
- )->button( text = 'call new app (set data)' press = client->_event( 'CALL_NEW_APP_READ' )
+ )->button( text = 'call new app (set data)'
+ press = client->_event( 'CALL_NEW_APP_READ' )
)->label( 'some data, you can read in the next app'
)->input( client->_bind_edit( mv_input2 ) ).
@@ -48,7 +48,6 @@ CLASS z2ui5_cl_demo_app_024 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF client->check_on_navigated( ).
@@ -86,10 +85,11 @@ CLASS z2ui5_cl_demo_app_024 IMPLEMENTATION.
WHEN 'CALL_PREVIOUS_APP_INPUT_RETURN'.
DATA(lo_called_app) = CAST z2ui5_cl_demo_app_025( client->get_app_prev( ) ).
CLEAR mv_backend_event.
- client->message_box_display( `Input made in the previous app:` && lo_called_app->mv_input ).
+ client->message_box_display( |Input made in the previous app:{ lo_called_app->mv_input }| ).
ENDCASE.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_025.clas.abap b/src/z2ui5_cl_demo_app_025.clas.abap
index e9190949..834e1502 100644
--- a/src/z2ui5_cl_demo_app_025.clas.abap
+++ b/src/z2ui5_cl_demo_app_025.clas.abap
@@ -1,23 +1,22 @@
-CLASS Z2UI5_CL_DEMO_APP_025 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_025 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA mv_input TYPE string.
- DATA mv_input_previous TYPE string.
+ DATA mv_input TYPE string.
+ DATA mv_input_previous TYPE string.
DATA mv_input_previous_set TYPE string.
- DATA mv_show_view TYPE string.
+ DATA mv_show_view TYPE string.
+
+ DATA mv_event_backend TYPE string.
- DATA mv_event_backend TYPE string.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_025 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_025 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
@@ -27,13 +26,13 @@ CLASS Z2UI5_CL_DEMO_APP_025 IMPLEMENTATION.
client->message_box_display( 'server-client roundtrip, method on_event of the abap controller was called' ).
WHEN 'BUTTON_RESTART'.
- client->nav_app_call( NEW Z2UI5_CL_DEMO_APP_025( ) ).
+ client->nav_app_call( NEW z2ui5_cl_demo_app_025( ) ).
WHEN 'BUTTON_CHANGE_APP'.
- client->nav_app_call( NEW Z2UI5_CL_DEMO_APP_001( ) ).
+ client->nav_app_call( NEW z2ui5_cl_demo_app_001( ) ).
WHEN 'BUTTON_READ_PREVIOUS'.
- DATA(lo_previous_app) = CAST Z2UI5_CL_DEMO_APP_024( client->get_app( client->get( )-s_draft-id_prev_app ) ).
+ DATA(lo_previous_app) = CAST z2ui5_cl_demo_app_024( client->get_app( client->get( )-s_draft-id_prev_app ) ).
mv_input_previous = lo_previous_app->mv_input2.
client->message_toast_display( `data of previous app read` ).
@@ -41,7 +40,7 @@ CLASS Z2UI5_CL_DEMO_APP_025 IMPLEMENTATION.
mv_show_view = 'MAIN'.
WHEN 'BACK_WITH_EVENT'.
- lo_previous_app = CAST Z2UI5_CL_DEMO_APP_024( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ).
+ lo_previous_app = CAST z2ui5_cl_demo_app_024( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ).
lo_previous_app->mv_backend_event = 'CALL_PREVIOUS_APP_INPUT_RETURN'.
client->nav_app_leave( lo_previous_app ).
@@ -59,16 +58,15 @@ CLASS Z2UI5_CL_DEMO_APP_025 IMPLEMENTATION.
ENDCASE.
-
CASE mv_show_view.
WHEN 'MAIN' OR ''.
- data(view) = z2ui5_cl_xml_view=>factory( ).
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - flow logic - APP 02'
- navbuttonpress = client->_event( 'BACK' ) shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - flow logic - APP 02'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
).
page->grid( 'L6 M12 S12' )->content( 'layout'
@@ -80,31 +78,36 @@ CLASS Z2UI5_CL_DEMO_APP_025 IMPLEMENTATION.
)->label( 'Data of previous app'
)->input( mv_input_previous
- )->button( text = 'read' press = client->_event( 'BUTTON_READ_PREVIOUS' )
+ )->button( text = 'read'
+ press = client->_event( 'BUTTON_READ_PREVIOUS' )
)->label( 'Call previous app and show data of this app'
)->input( client->_bind_edit( mv_input )
- )->button( text = 'back' press = client->_event( 'BACK_WITH_EVENT' ) ).
+ )->button( text = 'back'
+ press = client->_event( 'BACK_WITH_EVENT' ) ).
WHEN 'SECOND'.
view = z2ui5_cl_xml_view=>factory( ).
page = view->shell(
- )->page(
- title = 'abap2UI5 - flow logic - APP 02'
- navbuttonpress = client->_event( val = 'BACK' ) shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - flow logic - APP 02'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = abap_true
).
page->grid( 'L6 M12 S12' )->content( 'layout'
)->simple_form( 'View: SECOND' )->content( 'form'
)->label( 'Demo'
- )->button( text = 'leave to previous app' press = client->_event( 'BACK' )
+ )->button( text = 'leave to previous app'
+ press = client->_event( 'BACK' )
)->label( 'Demo'
- )->button( text = 'show view main' press = client->_event( 'SHOW_VIEW_MAIN' ) ).
+ )->button( text = 'show view main'
+ press = client->_event( 'SHOW_VIEW_MAIN' ) ).
ENDCASE.
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_026.clas.abap b/src/z2ui5_cl_demo_app_026.clas.abap
index 165f977c..4c6e2bb6 100644
--- a/src/z2ui5_cl_demo_app_026.clas.abap
+++ b/src/z2ui5_cl_demo_app_026.clas.abap
@@ -1,21 +1,20 @@
-CLASS Z2UI5_CL_DEMO_APP_026 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_026 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA product TYPE string.
- DATA quantity TYPE string.
+ DATA product TYPE string.
+ DATA quantity TYPE string.
DATA mv_placement TYPE string.
PROTECTED SECTION.
-
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS Z2UI5_on_init.
METHODS Z2UI5_on_event.
METHODS Z2UI5_display_view.
+
METHODS Z2UI5_display_popover
IMPORTING
id TYPE string.
@@ -24,89 +23,74 @@ CLASS Z2UI5_CL_DEMO_APP_026 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_026 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_026 IMPLEMENTATION.
METHOD Z2UI5_display_popover.
DATA(view) = Z2UI5_cl_xml_view=>factory_popup( ).
- view->popover(
- title = 'Popover Title'
- placement = mv_placement
+ view->popover( title = 'Popover Title'
+ placement = mv_placement
)->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'Cancel'
- press = client->_event( 'BUTTON_CANCEL' )
- )->button(
- text = 'Confirm'
- press = client->_event( 'BUTTON_CONFIRM' )
- type = 'Emphasized'
+ )->button( text = 'Cancel'
+ press = client->_event( 'BUTTON_CANCEL' )
+ )->button( text = 'Confirm'
+ press = client->_event( 'BUTTON_CONFIRM' )
+ type = 'Emphasized'
)->get_parent( )->get_parent(
- )->text( 'make an input here:'
+ )->text( 'make an input here:'
)->input( value = 'abcd'
).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD Z2UI5_display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popover Examples'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Popover Examples'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->simple_form( 'Popover'
)->content( 'form'
)->title( 'Input'
)->label( 'Link'
- )->link( text = 'Documentation UI5 Popover Control' href = 'https://openui5.hana.ondemand.com/entity/sap.m.Popover'
+ )->link( text = 'Documentation UI5 Popover Control'
+ href = 'https://openui5.hana.ondemand.com/entity/sap.m.Popover'
)->label( 'placement'
)->segmented_button( selected_key = client->_bind_edit( mv_placement )
)->items(
- )->segmented_button_item(
- key = 'Left'
- icon = 'sap-icon://add-favorite'
- text = 'Left'
- )->segmented_button_item(
- key = 'Top'
- icon = 'sap-icon://accept'
- text = 'Top'
- )->segmented_button_item(
- key = 'Bottom'
- icon = 'sap-icon://accept'
- text = 'Bottom'
- )->segmented_button_item(
- key = 'Right'
- icon = 'sap-icon://attachment'
- text = 'Right'
+ )->segmented_button_item( key = 'Left'
+ icon = 'sap-icon://add-favorite'
+ text = 'Left'
+ )->segmented_button_item( key = 'Top'
+ icon = 'sap-icon://accept'
+ text = 'Top'
+ )->segmented_button_item( key = 'Bottom'
+ icon = 'sap-icon://accept'
+ text = 'Bottom'
+ )->segmented_button_item( key = 'Right'
+ icon = 'sap-icon://attachment'
+ text = 'Right'
)->get_parent( )->get_parent(
)->label( 'popover'
- )->button(
- text = 'show'
- press = client->_event( 'POPOVER' )
- id = 'TEST'
- )->button(
- text = 'cancel'
- press = client->_event( 'POPOVER' )
- )->button(
- text = 'post'
- press = client->_event( 'POPOVER' )
+ )->button( text = 'show'
+ press = client->_event( 'POPOVER' )
+ id = 'TEST'
+ )->button( text = 'cancel'
+ press = client->_event( 'POPOVER' )
+ )->button( text = 'post'
+ press = client->_event( 'POPOVER' )
).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -122,7 +106,6 @@ CLASS Z2UI5_CL_DEMO_APP_026 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
@@ -145,7 +128,6 @@ CLASS Z2UI5_CL_DEMO_APP_026 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
mv_placement = 'Left'.
@@ -153,4 +135,5 @@ CLASS Z2UI5_CL_DEMO_APP_026 IMPLEMENTATION.
quantity = '500'.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_027.clas.abap b/src/z2ui5_cl_demo_app_027.clas.abap
index f7d3922a..3a862b7e 100644
--- a/src/z2ui5_cl_demo_app_027.clas.abap
+++ b/src/z2ui5_cl_demo_app_027.clas.abap
@@ -1,21 +1,19 @@
CLASS z2ui5_cl_demo_app_027 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA product TYPE string.
DATA quantity TYPE i.
- DATA input2 TYPE string.
- DATA input31 TYPE i.
- DATA input32 TYPE i.
- DATA input41 TYPE string.
- DATA input51 TYPE string.
- DATA input52 TYPE string.
+ DATA input2 TYPE string.
+ DATA input31 TYPE i.
+ DATA input32 TYPE i.
+ DATA input41 TYPE string.
+ DATA input51 TYPE string.
+ DATA input52 TYPE string.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA:
BEGIN OF app,
check_initialized TYPE abap_bool,
@@ -32,10 +30,8 @@ CLASS z2ui5_cl_demo_app_027 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_027 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -57,7 +53,6 @@ CLASS z2ui5_cl_demo_app_027 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE app-s_get-event.
@@ -69,7 +64,6 @@ CLASS z2ui5_cl_demo_app_027 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
product = 'tomato'.
@@ -79,68 +73,63 @@ CLASS z2ui5_cl_demo_app_027 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_render.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(lv_xml) = view->shell(
- )->page(
- title = 'abap2UI5 - Binding Syntax'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Binding Syntax' editable = abap_true
+ )->page( title = 'abap2UI5 - Binding Syntax'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->simple_form( title = 'Binding Syntax'
+ editable = abap_true
)->content( 'form'
)->title( 'Expression Binding'
)->label( 'Documentation'
- )->link(
- text = 'Expression Binding'
- href = 'https://sapui5.hana.ondemand.com/sdk/#/topic/daf6852a04b44d118963968a1239d2c0'
+ )->link( text = 'Expression Binding'
+ href = 'https://sapui5.hana.ondemand.com/sdk/#/topic/daf6852a04b44d118963968a1239d2c0'
)->label( 'input in uppercase'
)->input( client->_bind( input2 )
- )->input(
- value = '{= $' && client->_bind( input2 ) && '.toUpperCase() }'
- enabled = abap_false
-
+ )->input( value = |\{= ${ client->_bind( input2 ) }.toUpperCase() \}|
+ enabled = abap_false
)->label( 'max value of the first two inputs'
- )->input( '{ type : "sap.ui.model.type.Integer",' &&
- ' path:"' && client->_bind( val = input31 path = abap_true ) && '" }'
- )->input( '{ type : "sap.ui.model.type.Integer",' && |\n| &&
- ' path:"' && client->_bind( val = input32 path = abap_true ) && '" }'
- )->input(
- value = '{= Math.max($' && client->_bind( input31 ) &&', $' && client->_bind( input32 ) && ') }'
- enabled = abap_false
-
+ )->input( |\{ type : "sap.ui.model.type.Integer",| &&
+ | path:"{ client->_bind( val = input31
+ path = abap_true ) }" \}|
+ )->input( |\{ type : "sap.ui.model.type.Integer",| && |\n| &&
+ | path:"{ client->_bind( val = input32
+ path = abap_true ) }" \}|
+ )->input( value = |\{= Math.max(${ client->_bind( input31 ) }, ${ client->_bind( input32 ) }) \}|
+ enabled = abap_false
)->label( 'only enabled when the quantity equals 500'
- )->input( '{ type : "sap.ui.model.type.Integer",' &&
- ' path:"' && client->_bind( val = quantity path = abap_true ) && `" }`
- )->input(
- value = product
- enabled = '{= 500===$' && client->_bind( quantity ) && ' }'
+ )->input( |\{ type : "sap.ui.model.type.Integer",| &&
+ | path:"{ client->_bind( val = quantity
+ path = abap_true ) }" \}|
+ )->input( value = product
+ enabled = |\{= 500===${ client->_bind( quantity ) } \}|
)->label( 'RegExp Set to enabled if the input contains VIP, ignoring the case.'
)->input( client->_bind( val = input41 )
- )->button(
- text = 'VIP'
- enabled = '{= RegExp(''vip'', ''i'').test($' && client->_bind( input41 ) && ') }'
-
+ )->button( text = 'VIP'
+ enabled = |\{= RegExp('vip', 'i').test(${ client->_bind( input41 ) }) \}|
)->label( 'concatenate both inputs'
)->input( client->_bind( val = input51 )
)->input( client->_bind( val = input52 )
- )->input(
- value = '{ parts: [' && |\n| &&
- ' "' && client->_bind( val = input51 path = abap_true ) && '",' && |\n| &&
- ' "' && client->_bind( val = input52 path = abap_true ) && '"' && |\n| &&
- ' ] }'
- enabled = abap_false
+ )->input( value = |\{ parts: [| && |\n| &&
+ | "{ client->_bind( val = input51
+ path = abap_true ) }",| && |\n| &&
+ | "{ client->_bind( val = input52
+ path = abap_true ) }"| && |\n| &&
+ | ] \}|
+ enabled = abap_false
)->get_root( )->xml_get( ).
-
client->view_display( lv_xml ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_028.clas.abap b/src/z2ui5_cl_demo_app_028.clas.abap
index da4b211b..d2c7dce9 100644
--- a/src/z2ui5_cl_demo_app_028.clas.abap
+++ b/src/z2ui5_cl_demo_app_028.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_028 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -13,14 +12,14 @@ CLASS z2ui5_cl_demo_app_028 DEFINITION PUBLIC.
info TYPE string,
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
- DATA mv_counter TYPE i.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+
+ DATA mv_counter TYPE i.
DATA mv_check_active TYPE abap_bool.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_init.
@@ -33,10 +32,9 @@ ENDCLASS.
CLASS z2ui5_cl_demo_app_028 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -50,18 +48,20 @@ CLASS z2ui5_cl_demo_app_028 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
WHEN 'TIMER_FINISHED'.
mv_counter = mv_counter + 1.
- INSERT VALUE #( title = 'entry' && mv_counter info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- INTO TABLE t_tab.
+ INSERT VALUE #( title = |entry{ mv_counter }|
+ info = 'completed'
+ descr = 'this is a description'
+ icon = 'sap-icon://account' )
+ INTO TABLE t_tab.
IF mv_counter = 3.
- mv_check_active = abap_false.
+ mv_check_active = abap_false.
client->message_toast_display( `timer deactivated` ).
ENDIF.
@@ -74,43 +74,39 @@ CLASS z2ui5_cl_demo_app_028 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
mv_counter = 1.
mv_check_active = abap_true.
t_tab = VALUE #(
- ( title = 'entry' && mv_counter info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' ) ).
+ ( title = |entry{ mv_counter }| info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' ) ).
ENDMETHOD.
-
METHOD z2ui5_view_display.
DATA(lo_view) = z2ui5_cl_xml_view=>factory( ).
- lo_view->_z2ui5( )->timer(
- finished = client->_event( 'TIMER_FINISHED' )
- delayms = `2000`
- checkactive = client->_bind( mv_check_active ) ).
+ lo_view->_z2ui5( )->timer( finished = client->_event( 'TIMER_FINISHED' )
+ delayms = `2000`
+ checkactive = client->_bind( mv_check_active ) ).
DATA(page) = lo_view->shell( )->page(
- title = 'abap2UI5 - CL_GUI_TIMER - Monitor'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = 'abap2UI5 - CL_GUI_TIMER - Monitor'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- page->list(
- headertext = 'Data auto refresh (2 sec)'
- items = client->_bind( t_tab )
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESCR}'
- icon = '{ICON}'
- info = '{INFO}' ).
+ page->list( headertext = 'Data auto refresh (2 sec)'
+ items = client->_bind( t_tab )
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESCR}'
+ icon = '{ICON}'
+ info = '{INFO}' ).
client->view_display( lo_view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_029.clas.abap b/src/z2ui5_cl_demo_app_029.clas.abap
index fc85d31b..bdb5c7f6 100644
--- a/src/z2ui5_cl_demo_app_029.clas.abap
+++ b/src/z2ui5_cl_demo_app_029.clas.abap
@@ -1,10 +1,9 @@
-CLASS Z2UI5_CL_DEMO_APP_029 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_029 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA check_initialized TYPE abap_bool.
+ DATA check_initialized TYPE abap_bool.
DATA mv_tab_radial_active TYPE abap_bool.
@@ -13,86 +12,75 @@ CLASS Z2UI5_CL_DEMO_APP_029 DEFINITION PUBLIC.
DATA client TYPE REF TO Z2UI5_if_client.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_029 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_029 IMPLEMENTATION.
METHOD render_tab_radial.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(container) = view->shell(
- )->page(
- title = 'abap2UI5 - Visualization'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - Visualization'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->tab_container( ).
- DATA(grid) = container->tab(
- text = 'Radial Chart'
- selected = client->_bind( mv_tab_radial_active )
+ DATA(grid) = container->tab( text = 'Radial Chart'
+ selected = client->_bind( mv_tab_radial_active )
)->grid( 'XL12 L12 M12 S12' ).
grid->link(
- text = 'Go to the SAP Demos for Radial Charts here...' target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/#/entity/sap.suite.ui.microchart.RadialMicroChart/sample/sap.suite.ui.microchart.sample.RadialMicroChart' ).
+ text = 'Go to the SAP Demos for Radial Charts here...'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/#/entity/sap.suite.ui.microchart.RadialMicroChart/sample/sap.suite.ui.microchart.sample.RadialMicroChart' ).
grid->vertical_layout(
)->horizontal_layout(
- )->radial_micro_chart(
- size = 'M'
- percentage = '45'
- press = client->_event( 'RADIAL_PRESS' )
- )->radial_micro_chart(
- size = 'S'
- percentage = '45'
- press = client->_event( 'RADIAL_PRESS' )
+ )->radial_micro_chart( size = 'M'
+ percentage = '45'
+ press = client->_event( 'RADIAL_PRESS' )
+ )->radial_micro_chart( size = 'S'
+ percentage = '45'
+ press = client->_event( 'RADIAL_PRESS' )
)->get_parent(
)->horizontal_layout(
- )->radial_micro_chart(
- size = 'M'
- percentage = '99.9'
- press = client->_event( 'RADIAL_PRESS' )
- valueColor = 'Good'
- )->radial_micro_chart(
- size = 'S'
- percentage = '99.9'
- press = client->_event( 'RADIAL_PRESS' )
- valueColor = 'Good'
+ )->radial_micro_chart( size = 'M'
+ percentage = '99.9'
+ press = client->_event( 'RADIAL_PRESS' )
+ valueColor = 'Good'
+ )->radial_micro_chart( size = 'S'
+ percentage = '99.9'
+ press = client->_event( 'RADIAL_PRESS' )
+ valueColor = 'Good'
)->get_parent(
)->horizontal_layout(
- )->radial_micro_chart(
- size = 'M'
- percentage = '0'
- press = client->_event( 'RADIAL_PRESS' )
- valueColor = 'Error'
- )->radial_micro_chart(
- size = 'S'
- percentage = '0'
- press = client->_event( 'RADIAL_PRESS' )
- valueColor = 'Error'
+ )->radial_micro_chart( size = 'M'
+ percentage = '0'
+ press = client->_event( 'RADIAL_PRESS' )
+ valueColor = 'Error'
+ )->radial_micro_chart( size = 'S'
+ percentage = '0'
+ press = client->_event( 'RADIAL_PRESS' )
+ valueColor = 'Error'
)->get_parent(
)->horizontal_layout(
- )->radial_micro_chart(
- size = 'M'
- percentage = '0.1'
- press = client->_event( 'RADIAL_PRESS' )
- valueColor = 'Critical'
- )->radial_micro_chart(
- size = 'S'
- percentage = '0.1'
- press = client->_event( 'RADIAL_PRESS' )
- valueColor = 'Critical' ).
+ )->radial_micro_chart( size = 'M'
+ percentage = '0.1'
+ press = client->_event( 'RADIAL_PRESS' )
+ valueColor = 'Critical'
+ )->radial_micro_chart( size = 'S'
+ percentage = '0.1'
+ press = client->_event( 'RADIAL_PRESS' )
+ valueColor = 'Critical' ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -116,4 +104,5 @@ CLASS Z2UI5_CL_DEMO_APP_029 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_030.clas.abap b/src/z2ui5_cl_demo_app_030.clas.abap
index 951dde1b..bb077fb5 100644
--- a/src/z2ui5_cl_demo_app_030.clas.abap
+++ b/src/z2ui5_cl_demo_app_030.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_030 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_030 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -15,56 +14,56 @@ CLASS Z2UI5_CL_DEMO_APP_030 DEFINITION PUBLIC.
END OF ty_row.
DATA check_initialized TYPE abap_bool.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_030 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_030 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
- t_tab = VALUE #(
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'incompleted' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ).
+ t_tab = VALUE #( title = 'Peter'
+ descr = 'this is a description'
+ icon = 'sap-icon://account'
+ ( info = 'completed' )
+ ( info = 'incompleted' )
+ ( info = 'working' )
+ ( info = 'working' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' )
+ ( info = 'completed' ) ).
ENDIF.
-
CASE client->get( )-event.
WHEN 'BUTTON_ROUNDTRIP'.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lv_dummy) = 'user pressed a button, your custom implementation can be called here'.
WHEN 'BUTTON_MSG_BOX'.
- client->message_box_display(
- text = 'this is a message box with a custom text'
- type = 'success' ).
+ client->message_box_display( text = 'this is a message box with a custom text'
+ type = 'success' ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -73,14 +72,11 @@ CLASS Z2UI5_CL_DEMO_APP_030 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
-
- DATA(page) = view->dynamic_page(
- showfooter = abap_true
- " headerExpanded = abap_true
- " toggleHeaderOnTitleClick = client->_event( 'ON_TITLE' )
+ DATA(page) = view->dynamic_page( showfooter = abap_true
+ " headerExpanded = abap_true
+ " toggleHeaderOnTitleClick = client->_event( 'ON_TITLE' )
).
-
DATA(header_title) = page->title( ns = 'f' )->get( )->dynamic_page_title( ).
header_title->heading( ns = 'f' )->title( 'Header Title' ).
@@ -92,77 +88,83 @@ CLASS Z2UI5_CL_DEMO_APP_030 IMPLEMENTATION.
)->label( text = 'this is a subheading' ).
header_title->actions( ns = 'f' )->overflow_toolbar(
- )->overflow_toolbar_button(
- icon = `sap-icon://edit`
- text = 'edit header'
- type = 'Emphasized'
- tooltip = 'edit'
- )->overflow_toolbar_button(
- icon = `sap-icon://pull-down`
- text = 'show section'
- type = 'Emphasized'
- tooltip = 'pull-down'
- )->overflow_toolbar_button(
- icon = `sap-icon://show`
- text = 'show state'
- tooltip = 'show'
+ )->overflow_toolbar_button( icon = `sap-icon://edit`
+ text = 'edit header'
+ type = 'Emphasized'
+ tooltip = 'edit'
+ )->overflow_toolbar_button( icon = `sap-icon://pull-down`
+ text = 'show section'
+ type = 'Emphasized'
+ tooltip = 'pull-down'
+ )->overflow_toolbar_button( icon = `sap-icon://show`
+ text = 'show state'
+ tooltip = 'show'
)->button(
- " icon = `sap-icon://edit`
- text = 'Go Back'
- press = client->_event( 'BACK' )
+ " icon = `sap-icon://edit`
+ text = 'Go Back'
+ press = client->_event( 'BACK' )
).
header_title->navigation_actions(
- )->button( icon = 'sap-icon://full-screen' type = 'Transparent'
- )->button( icon = 'sap-icon://exit-full-screen' type = 'Transparent'
- )->button( icon = 'sap-icon://decline' type = 'Transparent'
+ )->button( icon = 'sap-icon://full-screen'
+ type = 'Transparent'
+ )->button( icon = 'sap-icon://exit-full-screen'
+ type = 'Transparent'
+ )->button( icon = 'sap-icon://decline'
+ type = 'Transparent'
).
- page->header( )->dynamic_page_header( pinnable = abap_true
- )->horizontal_layout(
- )->vertical_layout(
- )->object_attribute( title = 'Location' text = 'Warehouse A'
- )->object_attribute( title = 'Halway' text = '23L'
- )->object_attribute( title = 'Rack' text = '34'
- )->get_parent(
- )->vertical_layout(
- )->object_attribute( title = 'Location' text = 'Warehouse A'
- )->object_attribute( title = 'Halway' text = '23L'
- )->object_attribute( title = 'Rack' text = '34'
- )->get_parent(
+ page->header( )->dynamic_page_header( pinnable = abap_true
+ )->horizontal_layout(
+ )->vertical_layout(
+ )->object_attribute( title = 'Location'
+ text = 'Warehouse A'
+ )->object_attribute( title = 'Halway'
+ text = '23L'
+ )->object_attribute( title = 'Rack'
+ text = '34'
+ )->get_parent(
)->vertical_layout(
- )->object_attribute( title = 'Location' text = 'Warehouse A'
- )->object_attribute( title = 'Halway' text = '23L'
- )->object_attribute( title = 'Rack' text = '34'
- ).
-
+ )->object_attribute( title = 'Location'
+ text = 'Warehouse A'
+ )->object_attribute( title = 'Halway'
+ text = '23L'
+ )->object_attribute( title = 'Rack'
+ text = '34'
+ )->get_parent(
+ )->vertical_layout(
+ )->object_attribute( title = 'Location'
+ text = 'Warehouse A'
+ )->object_attribute( title = 'Halway'
+ text = '23L'
+ )->object_attribute( title = 'Rack'
+ text = '34'
+ ).
DATA(cont) = page->content( ns = 'f' ).
cont->list(
- headertext = 'List Ouput'
- items = client->_bind( t_tab )
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESCR}'
- icon = '{ICON}'
- info = '{INFO}' ).
-
-
- page->footer( ns = `f` )->overflow_toolbar(
- )->overflow_toolbar_button(
- icon = `sap-icon://edit`
- text = 'edit header'
- type = 'Emphasized'
- tooltip = 'edit'
- )->overflow_toolbar_button(
- icon = `sap-icon://pull-down`
- text = 'show section'
- type = 'Emphasized'
- tooltip = 'pull-down'
- ).
+ " TODO: check spelling: Ouput (typo) -> Output (ABAP cleaner)
+ headertext = 'List Ouput'
+ items = client->_bind( t_tab )
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESCR}'
+ icon = '{ICON}'
+ info = '{INFO}' ).
+
+ page->footer( ns = `f` )->overflow_toolbar(
+ )->overflow_toolbar_button( icon = `sap-icon://edit`
+ text = 'edit header'
+ type = 'Emphasized'
+ tooltip = 'edit'
+ )->overflow_toolbar_button( icon = `sap-icon://pull-down`
+ text = 'show section'
+ type = 'Emphasized'
+ tooltip = 'pull-down'
+ ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_031.clas.abap b/src/z2ui5_cl_demo_app_031.clas.abap
index c2277ac9..b0bc4343 100644
--- a/src/z2ui5_cl_demo_app_031.clas.abap
+++ b/src/z2ui5_cl_demo_app_031.clas.abap
@@ -1,13 +1,11 @@
CLASS z2ui5_cl_demo_app_031 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA mv_value TYPE string.
+ DATA mv_value TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
DATA:
BEGIN OF app,
@@ -25,10 +23,8 @@ CLASS z2ui5_cl_demo_app_031 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_031 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
app-get = client->get( ).
@@ -51,7 +47,6 @@ CLASS z2ui5_cl_demo_app_031 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE app-get-event.
@@ -61,155 +56,158 @@ CLASS z2ui5_cl_demo_app_031 IMPLEMENTATION.
WHEN 'POPUP'.
app-popup = 'TEST'.
WHEN 'DATA'.
- client->message_box_display( 'Event raised value:' && mv_value ).
+ client->message_box_display( |Event raised value:{ mv_value }| ).
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_on_init.
- mv_value = '200'.
+ mv_value = '200'.
ENDMETHOD.
-
METHOD z2ui5_on_render_main.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(lv_xml) = `` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` `.
+ DATA(lv_xml) = || && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | |.
client->view_display( lv_xml ).
ENDMETHOD.
-
METHOD z2ui5_on_render_popup.
- IF app-popup = `TEST`.
- DATA(lv_xml) = `` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` `.
-
- client->popup_display( lv_xml ).
-
+ IF app-popup <> `TEST`.
+ RETURN.
ENDIF.
+
+ DATA(lv_xml) = || && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | |.
+
+ client->popup_display( lv_xml ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_032.clas.abap b/src/z2ui5_cl_demo_app_032.clas.abap
index 8af3411c..e0d0e7b1 100644
--- a/src/z2ui5_cl_demo_app_032.clas.abap
+++ b/src/z2ui5_cl_demo_app_032.clas.abap
@@ -1,13 +1,11 @@
-CLASS Z2UI5_CL_DEMO_APP_032 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_032 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
DATA mv_value TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO Z2UI5_if_client.
DATA:
BEGIN OF app,
@@ -25,14 +23,12 @@ CLASS Z2UI5_CL_DEMO_APP_032 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_032 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_032 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
me->client = client.
- app-get = client->get( ).
+ app-get = client->get( ).
app-view_popup = ``.
IF app-check_initialized = abap_false.
@@ -50,7 +46,6 @@ CLASS Z2UI5_CL_DEMO_APP_032 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE app-get-event.
@@ -59,7 +54,7 @@ CLASS Z2UI5_CL_DEMO_APP_032 IMPLEMENTATION.
client->message_toast_display( app-get-t_event_arg[ 1 ] ).
WHEN 'MYCC'.
- client->message_toast_display( 'MYCC event ' && mv_value ).
+ client->message_toast_display( |MYCC event{ mv_value }| ).
WHEN 'BACK'.
client->nav_app_leave( client->get_app( app-get-s_draft-id_prev_app_stack ) ).
@@ -68,7 +63,6 @@ CLASS Z2UI5_CL_DEMO_APP_032 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
app-view_main = 'VIEW_MAIN'.
@@ -76,36 +70,37 @@ CLASS Z2UI5_CL_DEMO_APP_032 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_render.
- data(lo_view) = z2ui5_cl_xml_view=>factory( ).
-
- data(lv_xml) = ` ` && |\n| &&
- `` &&
- `` && |\n| &&
- `` && |\n| &&
- `This is a heading with css ` && |\n| &&
- `This is a paragraph with css.
` && |\n| &&
- `My First JavaScript ` && |\n| &&
- `send ` && |\n| &&
- ` ` &&
- `` && |\n| &&
- `` && |\n| &&
- ` ` && |\n| &&
- ` `.
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(lo_view) = z2ui5_cl_xml_view=>factory( ).
+
+ DATA(lv_xml) = | | && |\n| &&
+ || &&
+ || && |\n| &&
+ || && |\n| &&
+ |This is a heading with css | && |\n| &&
+ |This is a paragraph with css.
| && |\n| &&
+ |My First JavaScript | && |\n| &&
+ |send | && |\n| &&
+ | | &&
+ || && |\n| &&
+ || && |\n| &&
+ | | && |\n| &&
+ | |.
client->view_display( lv_xml ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_033.clas.abap b/src/z2ui5_cl_demo_app_033.clas.abap
index 87bdfcec..09de964f 100644
--- a/src/z2ui5_cl_demo_app_033.clas.abap
+++ b/src/z2ui5_cl_demo_app_033.clas.abap
@@ -1,63 +1,67 @@
CLASS z2ui5_cl_demo_app_033 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
+
DATA mv_type TYPE string.
METHODS display_view.
- DATA mv_html TYPE string.
+
+ DATA mv_html TYPE string.
DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_033 IMPLEMENTATION.
-
METHOD display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Illustrated Messages'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - Illustrated Messages'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = abap_true
)->header_content(
- )->link(
- text = 'Demo' target = '_blank'
- href = `https://twitter.com/abap2UI5/status/1647175810917318657`
+ )->link( text = 'Demo'
+ target = '_blank'
+ href = `https://twitter.com/abap2UI5/status/1647175810917318657`
)->link(
-
)->get_parent( ).
- page->link( text = 'Documentation' target = '_blank' href = `https://openui5.hana.ondemand.com/api/sap.m.IllustratedMessageType#properties` ).
- page->button( text = 'NoActivities' press = client->_event( 'sapIllus-NoActivities' ) ).
- page->button( text = 'AddPeople' press = client->_event( 'sapIllus-AddPeople' ) ).
- page->button( text = 'Connection' press = client->_event( 'sapIllus-Connection' ) ).
- page->button( text = 'NoDimensionsSet' press = client->_event( 'sapIllus-NoDimensionsSet' ) ).
- page->button( text = 'NoEntries' press = client->_event( 'sapIllus-NoEntries' ) ).
+ page->link( text = 'Documentation'
+ target = '_blank'
+ href = `https://openui5.hana.ondemand.com/api/sap.m.IllustratedMessageType#properties` ).
+ page->button( text = 'NoActivities'
+ press = client->_event( 'sapIllus-NoActivities' ) ).
+ page->button( text = 'AddPeople'
+ press = client->_event( 'sapIllus-AddPeople' ) ).
+ page->button( text = 'Connection'
+ press = client->_event( 'sapIllus-Connection' ) ).
+ page->button( text = 'NoDimensionsSet'
+ press = client->_event( 'sapIllus-NoDimensionsSet' ) ).
+ page->button( text = 'NoEntries'
+ press = client->_event( 'sapIllus-NoEntries' ) ).
page->illustrated_message( illustrationtype = client->_bind( mv_type )
- )->additional_content( )->button(
- text = 'information'
- press = client->_event( 'BUTTON_MESSAGE_BOX' ) ).
+ )->additional_content( )->button( text = 'information'
+ press = client->_event( 'BUTTON_MESSAGE_BOX' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
- mv_html = `link: link to sap.com - links open in ` &&
- `a new window.
paragraph: strong and emphasized .
list:
pre:
abc def ghi code: var el = document.getElementById("myId");
cite: a reference to a source
` &&
- `definition: definition list of terms and descriptions `.
+ mv_html = |link: link to sap.com - links open in | &&
+ |a new window.
paragraph: strong and emphasized .
list:
pre:
abc def ghi code: var el = document.getElementById("myId");
cite: a reference to a source
| &&
+ |definition: definition list of terms and descriptions |.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -78,8 +82,8 @@ CLASS z2ui5_cl_demo_app_033 IMPLEMENTATION.
ENDCASE.
-
display_view( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_034.clas.abap b/src/z2ui5_cl_demo_app_034.clas.abap
index 846b1cd3..bd638fda 100644
--- a/src/z2ui5_cl_demo_app_034.clas.abap
+++ b/src/z2ui5_cl_demo_app_034.clas.abap
@@ -1,58 +1,54 @@
-CLASS Z2UI5_CL_DEMO_APP_034 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_034 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA t_bapiret TYPE bapirettab.
+ DATA t_bapiret TYPE bapirettab.
DATA check_initialized TYPE abap_bool.
- DATA mv_popup_name TYPE string.
- DATA mv_main_xml TYPE string.
- DATA mv_popup_xml TYPE string.
+ DATA mv_popup_name TYPE string.
+ DATA mv_main_xml TYPE string.
+ DATA mv_popup_xml TYPE string.
METHODS view_main
IMPORTING
client TYPE REF TO Z2UI5_if_client.
+
METHODS view_popup_bal
IMPORTING
client TYPE REF TO Z2UI5_if_client.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_034 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_034 IMPLEMENTATION.
METHOD view_main.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- data(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Popups'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ DATA(page) = view->shell(
+ )->page( title = 'abap2UI5 - Popups'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(grid) = page->grid( 'L8 M12 S12' )->content( 'layout' ).
grid->simple_form( 'Tables' )->content( 'form'
)->label( '01'
- )->button(
- text = 'Show bapiret tab'
- press = client->_event( 'POPUP_BAL' )
+ )->button( text = 'Show bapiret tab'
+ press = client->_event( 'POPUP_BAL' )
).
mv_main_xml = page->get_root( )->xml_get( ).
ENDMETHOD.
-
METHOD view_popup_bal.
- DATA(popup) = Z2UI5_CL_XML_VIEW=>factory_popup(
+ DATA(popup) = z2ui5_cl_xml_view=>factory_popup(
)->dialog( 'abap2ui5 - Popup Message Log'
)->table( client->_bind( t_bapiret )
)->columns(
@@ -75,28 +71,26 @@ CLASS Z2UI5_CL_DEMO_APP_034 IMPLEMENTATION.
)->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'close'
- press = client->_event( 'POPUP_BAL_CLOSE' )
- type = 'Emphasized' ).
+ )->button( text = 'close'
+ press = client->_event( 'POPUP_BAL_CLOSE' )
+ type = 'Emphasized' ).
mv_popup_xml = popup->get_root( )->xml_get( ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
t_bapiret = VALUE #(
- ( message = 'An empty Report field causes an empty XML Message to be sent' type = 'E' id = 'MSG1' number = '001' )
- ( message = 'Check was executed for wrong Scenario' type = 'E' id = 'MSG1' number = '002' )
- ( message = 'Request was handled without errors' type = 'S' id = 'MSG1' number = '003' )
- ( message = 'product activated' type = 'S' id = 'MSG4' number = '375' )
- ( message = 'check the input values' type = 'W' id = 'MSG2' number = '375' )
- ( message = 'product already in use' type = 'I' id = 'MSG2' number = '375' )
+ ( message = 'An empty Report field causes an empty XML Message to be sent' type = 'E' id = 'MSG1' number = '001' )
+ ( message = 'Check was executed for wrong Scenario' type = 'E' id = 'MSG1' number = '002' )
+ ( message = 'Request was handled without errors' type = 'S' id = 'MSG1' number = '003' )
+ ( message = 'product activated' type = 'S' id = 'MSG4' number = '375' )
+ ( message = 'check the input values' type = 'W' id = 'MSG2' number = '375' )
+ ( message = 'product already in use' type = 'I' id = 'MSG2' number = '375' )
).
ENDIF.
@@ -106,7 +100,7 @@ CLASS Z2UI5_CL_DEMO_APP_034 IMPLEMENTATION.
CASE client->get( )-event.
WHEN 'POPUP_BAL'.
- mv_popup_name = 'POPUP_BAL'.
+ mv_popup_name = 'POPUP_BAL'.
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -122,6 +116,8 @@ CLASS Z2UI5_CL_DEMO_APP_034 IMPLEMENTATION.
client->view_display( mv_main_xml ).
client->popup_display( mv_popup_xml ).
- CLEAR: mv_main_xml, mv_popup_xml.
+ CLEAR: mv_main_xml,
+ mv_popup_xml.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_035.clas.abap b/src/z2ui5_cl_demo_app_035.clas.abap
index 83b0e78c..aee96256 100644
--- a/src/z2ui5_cl_demo_app_035.clas.abap
+++ b/src/z2ui5_cl_demo_app_035.clas.abap
@@ -20,35 +20,39 @@ ENDCLASS.
CLASS z2ui5_cl_demo_app_035 IMPLEMENTATION.
+
METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->shell( )->page( title = 'abap2UI5 - File Editor'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ DATA(page) = view->shell( )->page(
+ title = 'abap2UI5 - File Editor'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- data(temp) = page->simple_form( title = 'File' editable = abap_true )->content( `form`
- )->label( 'path'
- )->input( client->_bind_edit( mv_path )
- )->label( 'Option' ).
+ DATA(temp) = page->simple_form( title = 'File'
+ editable = abap_true )->content( `form`
+ )->label( 'path'
+ )->input( client->_bind_edit( mv_path )
+ )->label( 'Option' ).
- data(lt_types) = VALUE z2ui5_if_types=>ty_t_name_value( ).
- lt_types = value #( FOR row IN z2ui5_cl_util=>source_get_file_types( ) (
- n = shift_right( shift_left( row ) )
- v = shift_right( shift_left( row ) ) ) ).
+ DATA(lt_types) = VALUE z2ui5_if_types=>ty_t_name_value( ).
+ lt_types = VALUE #( FOR row IN z2ui5_cl_util=>source_get_file_types( )
+ ( n = shift_right( shift_left( row ) )
+ v = shift_right( shift_left( row ) ) ) ).
- data(temp3) = temp->input( value = client->_bind_edit( mv_type )
- suggestionitems = client->_bind_local( lt_types )
+ DATA(temp3) = temp->input( value = client->_bind_edit( mv_type )
+ suggestionitems = client->_bind_local( lt_types )
)->get( ).
- temp3->suggestion_items(
- )->list_item( text = '{N}' additionaltext = '{V}' ).
+ temp3->suggestion_items(
+ )->list_item( text = '{N}'
+ additionaltext = '{V}' ).
temp->label( '' )->button( text = 'Download'
- press = client->_event( 'DB_LOAD' )
- icon = 'sap-icon://download-from-cloud' ).
+ press = client->_event( 'DB_LOAD' )
+ icon = 'sap-icon://download-from-cloud' ).
page->code_editor( type = mv_type
editable = mv_check_editable
@@ -92,12 +96,15 @@ CLASS z2ui5_cl_demo_app_035 IMPLEMENTATION.
WHEN mv_path CS 'text' THEN lcl_file_api=>read_text( )
WHEN mv_path CS 'js' THEN lcl_file_api=>read_js( ) ).
+ " TODO: check spelling: successfull (typo) -> successful (ABAP cleaner)
client->message_toast_display( 'Download successfull' ).
client->view_model_update( ).
WHEN 'DB_SAVE'.
- client->message_box_display( text = 'Upload successfull. File saved!' type = 'success' ).
+ " TODO: check spelling: successfull (typo) -> successful (ABAP cleaner)
+ client->message_box_display( text = 'Upload successfull. File saved!'
+ type = 'success' ).
WHEN 'EDIT'.
mv_check_editable = xsdbool( mv_check_editable = abap_false ).
WHEN 'CLEAR'.
@@ -106,4 +113,5 @@ CLASS z2ui5_cl_demo_app_035 IMPLEMENTATION.
client->nav_app_leave( ).
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_035.clas.locals_imp.abap b/src/z2ui5_cl_demo_app_035.clas.locals_imp.abap
index 3cdaec25..f98bdc36 100644
--- a/src/z2ui5_cl_demo_app_035.clas.locals_imp.abap
+++ b/src/z2ui5_cl_demo_app_035.clas.locals_imp.abap
@@ -1,19 +1,22 @@
CLASS lcl_file_api DEFINITION FINAL.
PUBLIC SECTION.
-
CLASS-METHODS read_abap
RETURNING
VALUE(r_result) TYPE string.
+
CLASS-METHODS read_json
RETURNING
VALUE(r_result) TYPE string.
+
CLASS-METHODS read_js
RETURNING
VALUE(r_result) TYPE string.
+
CLASS-METHODS read_yaml
RETURNING
VALUE(r_result) TYPE string.
+
CLASS-METHODS read_text
RETURNING
VALUE(r_result) TYPE string.
@@ -31,135 +34,131 @@ CLASS lcl_file_api DEFINITION FINAL.
ENDCLASS.
-CLASS lcl_file_api IMPLEMENTATION.
+CLASS lcl_file_api IMPLEMENTATION.
METHOD read_abap.
-r_result = `METHOD SELECT_FILES.` && |\n| &&
- |\n| &&
- ` DATA: LV_RET_CODE TYPE I,` && |\n| &&
- ` LV_USR_AXN TYPE I.` && |\n| &&
- |\n| &&
- ` CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG(` && |\n| &&
- ` EXPORTING` && |\n| &&
- ` WINDOW_TITLE = 'Select file'` && |\n| &&
- ` MULTISELECTION = 'X'` && |\n| &&
- ` CHANGING` && |\n| &&
- ` FILE_TABLE = ME->PT_FILETAB` && |\n| &&
- ` RC = LV_RET_CODE` && |\n| &&
- ` USER_ACTION = LV_USR_AXN` && |\n| &&
- ` EXCEPTIONS` && |\n| &&
- ` FILE_OPEN_DIALOG_FAILED = 1` && |\n| &&
- ` CNTL_ERROR = 2` && |\n| &&
- ` ERROR_NO_GUI = 3` && |\n| &&
- ` NOT_SUPPORTED_BY_GUI = 4` && |\n| &&
- ` OTHERS = 5` && |\n| &&
- ` ).` && |\n| &&
- ` IF SY-SUBRC <> 0 OR` && |\n| &&
- ` LV_USR_AXN = CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.` && |\n| &&
- ` RAISE EX_FILE_SEL_ERR.` && |\n| &&
- ` ENDIF.` && |\n| &&
- |\n| &&
- ` ENDMETHOD. `.
+ r_result = |METHOD SELECT_FILES.| && |\n| &&
+ |\n| &&
+ | DATA: LV_RET_CODE TYPE I,| && |\n| &&
+ | LV_USR_AXN TYPE I.| && |\n| &&
+ |\n| &&
+ | CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG(| && |\n| &&
+ | EXPORTING| && |\n| &&
+ | WINDOW_TITLE = 'Select file'| && |\n| &&
+ | MULTISELECTION = 'X'| && |\n| &&
+ | CHANGING| && |\n| &&
+ | FILE_TABLE = ME->PT_FILETAB| && |\n| &&
+ | RC = LV_RET_CODE| && |\n| &&
+ | USER_ACTION = LV_USR_AXN| && |\n| &&
+ | EXCEPTIONS| && |\n| &&
+ | FILE_OPEN_DIALOG_FAILED = 1| && |\n| &&
+ | CNTL_ERROR = 2| && |\n| &&
+ | ERROR_NO_GUI = 3| && |\n| &&
+ | NOT_SUPPORTED_BY_GUI = 4| && |\n| &&
+ | OTHERS = 5| && |\n| &&
+ | ).| && |\n| &&
+ | IF SY-SUBRC <> 0 OR| && |\n| &&
+ | LV_USR_AXN = CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.| && |\n| &&
+ | RAISE EX_FILE_SEL_ERR.| && |\n| &&
+ | ENDIF.| && |\n| &&
+ |\n| &&
+ | ENDMETHOD. |.
ENDMETHOD.
-
METHOD read_json.
- r_result = `{` && |\n| &&
- ` "quiz": {` && |\n| &&
- ` "sport": {` && |\n| &&
- ` "q1": {` && |\n| &&
- ` "test" : false,` && |\n| &&
- ` "question": "Which one is correct team name in NBA?",` && |\n| &&
- ` "options": [` && |\n| &&
- ` "New York Bulls",` && |\n| &&
- ` "Los Angeles Kings",` && |\n| &&
- ` "Golden State Warriros",` && |\n| &&
- ` "Huston Rocket"` && |\n| &&
- ` ],` && |\n| &&
- ` "answer": "Huston Rocket"` && |\n| &&
- ` }` && |\n| &&
- ` },` && |\n| &&
- ` "maths": {` && |\n| &&
- ` "q1": {` && |\n| &&
- ` "question": "5 + 7 = ?",` && |\n| &&
- ` "options": [` && |\n| &&
- ` "10",` && |\n| &&
- ` "11",` && |\n| &&
- ` "12",` && |\n| &&
- ` "13"` && |\n| &&
- ` ],` && |\n| &&
- ` "answer": "12"` && |\n| &&
- ` },` && |\n| &&
- ` "q2": {` && |\n| &&
- ` "question": true,` && |\n| &&
- ` "options": [` && |\n| &&
- ` "1",` && |\n| &&
- ` "2",` && |\n| &&
- ` "3",` && |\n| &&
- ` "4"` && |\n| &&
- ` ],` && |\n| &&
- ` "answer": 487829` && |\n| &&
- ` }` && |\n| &&
- ` }` && |\n| &&
- ` }` && |\n| &&
- `}`.
+ r_result = |\{| && |\n| &&
+ | "quiz": \{| && |\n| &&
+ | "sport": \{| && |\n| &&
+ | "q1": \{| && |\n| &&
+ | "test" : false,| && |\n| &&
+ | "question": "Which one is correct team name in NBA?",| && |\n| &&
+ | "options": [| && |\n| &&
+ | "New York Bulls",| && |\n| &&
+ | "Los Angeles Kings",| && |\n| &&
+ | "Golden State Warriros",| && |\n| &&
+ | "Huston Rocket"| && |\n| &&
+ | ],| && |\n| &&
+ | "answer": "Huston Rocket"| && |\n| &&
+ | \}| && |\n| &&
+ | \},| && |\n| &&
+ | "maths": \{| && |\n| &&
+ | "q1": \{| && |\n| &&
+ | "question": "5 + 7 = ?",| && |\n| &&
+ | "options": [| && |\n| &&
+ | "10",| && |\n| &&
+ | "11",| && |\n| &&
+ | "12",| && |\n| &&
+ | "13"| && |\n| &&
+ | ],| && |\n| &&
+ | "answer": "12"| && |\n| &&
+ | \},| && |\n| &&
+ | "q2": \{| && |\n| &&
+ | "question": true,| && |\n| &&
+ | "options": [| && |\n| &&
+ | "1",| && |\n| &&
+ | "2",| && |\n| &&
+ | "3",| && |\n| &&
+ | "4"| && |\n| &&
+ | ],| && |\n| &&
+ | "answer": 487829| && |\n| &&
+ | \}| && |\n| &&
+ | \}| && |\n| &&
+ | \}| && |\n| &&
+ |\}|.
ENDMETHOD.
-
METHOD read_js.
- r_result = `function showAlert() {` && |\n| &&
- ` alert("Alert from JS file");` && |\n| &&
- `}` && |\n| &&
+ r_result = |function showAlert() \{| && |\n| &&
+ | alert("Alert from JS file");| && |\n| &&
+ |\}| && |\n| &&
|\n| &&
- `function updateHeading() {` && |\n| &&
- ` document.getElementById('heading').innerHTML = 'Heading changed with JS';` && |\n| &&
- `}`.
+ |function updateHeading() \{| && |\n| &&
+ | document.getElementById('heading').innerHTML = 'Heading changed with JS';| && |\n| &&
+ |\}|.
ENDMETHOD.
-
METHOD read_yaml.
- r_result = `# Employee records` && |\n| &&
- `- martin:` && |\n| &&
- ` name: Martin Developer` && |\n| &&
- ` job: Developer` && |\n| &&
- ` skills:` && |\n| &&
- ` - python` && |\n| &&
- ` - perl` && |\n| &&
- ` - pascal` && |\n| &&
- `- tabitha:` && |\n| &&
- ` name: Tabitha Bitumen` && |\n| &&
- ` job: Developer` && |\n| &&
- ` skills:` && |\n| &&
- ` - lisp` && |\n| &&
- ` - fortran` && |\n| &&
- ` - erlang`.
+ r_result = |# Employee records| && |\n| &&
+ |- martin:| && |\n| &&
+ | name: Martin Developer| && |\n| &&
+ | job: Developer| && |\n| &&
+ | skills:| && |\n| &&
+ | - python| && |\n| &&
+ | - perl| && |\n| &&
+ | - pascal| && |\n| &&
+ |- tabitha:| && |\n| &&
+ | name: Tabitha Bitumen| && |\n| &&
+ | job: Developer| && |\n| &&
+ | skills:| && |\n| &&
+ | - lisp| && |\n| &&
+ | - fortran| && |\n| &&
+ | - erlang|.
ENDMETHOD.
-
METHOD read_text.
- r_result = `TXT test file` && |\n| &&
- `Purpose: Provide example of this file type` && |\n| &&
- `Document file type: TXT` && |\n| &&
- `Version: 1.0` && |\n| &&
- `Remark:` && |\n| &&
+ r_result = |TXT test file| && |\n| &&
+ |Purpose: Provide example of this file type| && |\n| &&
+ |Document file type: TXT| && |\n| &&
+ |Version: 1.0| && |\n| &&
+ |Remark:| && |\n| &&
|\n| &&
- `Example content:` && |\n| &&
- `The names "John Doe" for males, "Jane Doe" or "Jane Roe" for females, or "Jonnie Doe" and "Janie Doe" for children, or just "Doe" non-gender-specifically are used as placeholder names for a party whose true identity is unknown or mus` &&
-`t be withheld in a legal action, case, or discussion. The names are also used to refer to acorpse or hospital patient whose identity is unknown. This practice is widely used in the United States and Canada, but is rarely used in other English-speak` &&
-`ing countries including the United Kingdom itself, from where the use of "John Doe" in a legal context originates. The names Joe Bloggs or John Smith are used in the UK instead, as well as in Australia and New Zealand.` && |\n| &&
+ |Example content:| && |\n| &&
+ |The names "John Doe" for males, "Jane Doe" or "Jane Roe" for females, or "Jonnie Doe" and "Janie Doe" for children, or just "Doe" non-gender-specifically are used as placeholder names for a party whose true identity is unknown or mus| &&
+|t be withheld in a legal action, case, or discussion. The names are also used to refer to acorpse or hospital patient whose identity is unknown. This practice is widely used in the United States and Canada, but is rarely used in other English-speak| &&
+|ing countries including the United Kingdom itself, from where the use of "John Doe" in a legal context originates. The names Joe Bloggs or John Smith are used in the UK instead, as well as in Australia and New Zealand.| && |\n| &&
|\n| &&
- `John Doe is sometimes used to refer to a typical male in other contexts as well, in a similar manner to John Q. Public, known in Great Britain as Joe Public, John Smith or Joe Bloggs. For example, the first name listed on a form is o` &&
-`ften John Doe, along with a fictional address or other fictional information to provide an example of how to fill in the form. The name is also used frequently in popular culture, for example in the Frank Capra film Meet John Doe. John Doe was also` &&
-` the name of a 2002 American television series.`.
+ |John Doe is sometimes used to refer to a typical male in other contexts as well, in a similar manner to John Q. Public, known in Great Britain as Joe Public, John Smith or Joe Bloggs. For example, the first name listed on a form is o| &&
+|ften John Doe, along with a fictional address or other fictional information to provide an example of how to fill in the form. The name is also used frequently in popular culture, for example in the Frank Capra film Meet John Doe. John Doe was also| &&
+| the name of a 2002 American television series.|.
ENDMETHOD.
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_036.clas.abap b/src/z2ui5_cl_demo_app_036.clas.abap
index d270e3b6..0766bf10 100644
--- a/src/z2ui5_cl_demo_app_036.clas.abap
+++ b/src/z2ui5_cl_demo_app_036.clas.abap
@@ -1,13 +1,11 @@
-CLASS Z2UI5_CL_DEMO_APP_036 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_036 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
DATA mv_value TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO Z2UI5_if_client.
DATA:
BEGIN OF app,
@@ -25,14 +23,12 @@ CLASS Z2UI5_CL_DEMO_APP_036 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_036 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_036 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
me->client = client.
- app-get = client->get( ).
+ app-get = client->get( ).
app-view_popup = ``.
IF app-check_initialized = abap_false.
@@ -50,7 +46,6 @@ CLASS Z2UI5_CL_DEMO_APP_036 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE app-get-event.
@@ -59,7 +54,7 @@ CLASS Z2UI5_CL_DEMO_APP_036 IMPLEMENTATION.
client->message_toast_display( app-get-t_event_arg[ 1 ] ).
WHEN 'MYCC'.
- client->message_toast_display( 'MYCC event ' && mv_value ).
+ client->message_toast_display( |MYCC event{ mv_value }| ).
WHEN 'BACK'.
client->nav_app_leave( client->get_app( app-get-s_draft-id_prev_app_stack ) ).
@@ -68,7 +63,6 @@ CLASS Z2UI5_CL_DEMO_APP_036 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
app-view_main = 'VIEW_MAIN'.
@@ -76,65 +70,66 @@ CLASS Z2UI5_CL_DEMO_APP_036 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_render.
- data(view) = z2ui5_cl_xml_view=>factory( ).
- data(lv_xml) = ` ` && |\n| &&
- `` &&
- `` && |\n| &&
- `` && |\n| &&
- `This is a heading with css ` && |\n| &&
- `This is a paragraph with css.
` && |\n| &&
- `My First JavaScript ` && |\n| &&
- `` && |\n| &&
- `run javascript code sent from the backend. ` && |\n| &&
- `sent data to backend and come back ` && |\n| &&
- `This is SVG
` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- `X:
This is canvas ` && |\n| &&
- ` ` &&
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
+ DATA(lv_xml) = | | && |\n| &&
+ || &&
+ || && |\n| &&
+ || && |\n| &&
+ |This is a heading with css | && |\n| &&
+ |This is a paragraph with css.
| && |\n| &&
+ |My First JavaScript | && |\n| &&
+ || && |\n| &&
+ |run javascript code sent from the backend. | && |\n| &&
+ |sent data to backend and come back | && |\n| &&
+ |This is SVG
| && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |X:
This is canvas | && |\n| &&
+ | | &&
* ` ` && |\n| &&
- `` && |\n| &&
- ` ` && |\n| &&
- ` `.
+ || && |\n| &&
+ | | && |\n| &&
+ | |.
client->view_display( lv_xml ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_037.clas.abap b/src/z2ui5_cl_demo_app_037.clas.abap
index d4a6ea20..bc0d9774 100644
--- a/src/z2ui5_cl_demo_app_037.clas.abap
+++ b/src/z2ui5_cl_demo_app_037.clas.abap
@@ -1,18 +1,16 @@
CLASS z2ui5_cl_demo_app_037 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA mv_value TYPE string.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
- DATA mv_load_cc TYPE abap_bool.
- DATA mv_display_cc TYPE abap_bool.
+ DATA mv_load_cc TYPE abap_bool.
+ DATA mv_display_cc TYPE abap_bool.
METHODS get_js_custom_control
RETURNING
@@ -26,51 +24,48 @@ CLASS z2ui5_cl_demo_app_037 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_037 IMPLEMENTATION.
-
METHOD get_js_custom_control.
- result = `jQuery.sap.declare("z2ui5.MyCC");` && |\n| &&
- ` sap.ui.require( [` && |\n| &&
- ` "sap/ui/core/Control",` && |\n| &&
- ` ], function (Control) {` && |\n| &&
- ` "use strict";` && |\n| &&
- ` return Control.extend("z2ui5.MyCC", {` && |\n| &&
- ` metadata: {` && |\n| &&
- ` properties: {` && |\n| &&
- ` value: { type: "string" }` && |\n| &&
- ` },` && |\n| &&
- ` events: {` && |\n| &&
- ` "change": {` && |\n| &&
- ` allowPreventDefault: true,` && |\n| &&
- ` parameters: {}` && |\n| &&
- ` }` && |\n| &&
- ` }` && |\n| &&
- ` },` && |\n| &&
- ` renderer: function (oRm, oControl) {` && |\n| &&
- ` oControl.oInput = new sap.m.Input({` && |\n| &&
- ` value: oControl.getProperty("value")` && |\n| &&
- ` });` && |\n| &&
- ` oControl.oButton = new sap.m.Button({` && |\n| &&
- ` text: 'button text',` && |\n| &&
- ` press: function (oEvent) {` && |\n| &&
- ` debugger;` && |\n| &&
+ result = |jQuery.sap.declare("z2ui5.MyCC");| && |\n| &&
+ | sap.ui.require( [| && |\n| &&
+ | "sap/ui/core/Control",| && |\n| &&
+ | ], function (Control) \{| && |\n| &&
+ | "use strict";| && |\n| &&
+ | return Control.extend("z2ui5.MyCC", \{| && |\n| &&
+ | metadata: \{| && |\n| &&
+ | properties: \{| && |\n| &&
+ | value: \{ type: "string" \}| && |\n| &&
+ | \},| && |\n| &&
+ | events: \{| && |\n| &&
+ | "change": \{| && |\n| &&
+ | allowPreventDefault: true,| && |\n| &&
+ | parameters: \{\}| && |\n| &&
+ | \}| && |\n| &&
+ | \}| && |\n| &&
+ | \},| && |\n| &&
+ | renderer: function (oRm, oControl) \{| && |\n| &&
+ | oControl.oInput = new sap.m.Input(\{| && |\n| &&
+ | value: oControl.getProperty("value")| && |\n| &&
+ | \});| && |\n| &&
+ | oControl.oButton = new sap.m.Button(\{| && |\n| &&
+ | text: 'button text',| && |\n| &&
+ | press: function (oEvent) \{| && |\n| &&
+ | debugger;| && |\n| &&
* ` this.setProperty("value", this.oInput._sTypedInValue )` && |\n| &&
- ` this.setProperty("value", this.oInput.getProperty( 'value') )` && |\n| &&
- ` this.fireChange();` && |\n| &&
- ` }.bind(oControl)` && |\n| &&
- ` });` && |\n| &&
- ` oRm.renderControl(oControl.oInput);` && |\n| &&
- ` oRm.renderControl(oControl.oButton);` && |\n| &&
- ` }` && |\n| &&
- ` });` && |\n| &&
- `}); jQuery.sap.require("z2ui5.MyCC"); `.
+ | this.setProperty("value", this.oInput.getProperty( 'value') )| && |\n| &&
+ | this.fireChange();| && |\n| &&
+ | \}.bind(oControl)| && |\n| &&
+ | \});| && |\n| &&
+ | oRm.renderControl(oControl.oInput);| && |\n| &&
+ | oRm.renderControl(oControl.oButton);| && |\n| &&
+ | \}| && |\n| &&
+ | \});| && |\n| &&
+ |\}); jQuery.sap.require("z2ui5.MyCC"); |.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -84,19 +79,17 @@ CLASS z2ui5_cl_demo_app_037 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_load_cc.
client->view_display( z2ui5_cl_xml_view=>factory(
- )->_generic( ns = `html` name = `script` )->_cc_plain_xml( get_js_custom_control( )
- )->_z2ui5( )->timer(
- finished = client->_event( 'DISPLAY_VIEW' )
- delayms = `0`
+ )->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( get_js_custom_control( )
+ )->_z2ui5( )->timer( finished = client->_event( 'DISPLAY_VIEW' )
+ delayms = `0`
)->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -118,7 +111,7 @@ CLASS z2ui5_cl_demo_app_037 IMPLEMENTATION.
client->message_box_display( 'Custom Control displayed ' ).
WHEN 'MYCC'.
- client->message_toast_display( `Custom Control input: ` && mv_value ).
+ client->message_toast_display( |Custom Control input: { mv_value }| ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -127,32 +120,33 @@ CLASS z2ui5_cl_demo_app_037 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_render.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(lv_xml) = ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` &&
- `` && |\n| &&
- ``.
+ DATA(lv_xml) = | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | &&
+ || && |\n| &&
+ ||.
IF mv_display_cc = abap_true.
- lv_xml = lv_xml && ` `.
+ lv_xml = |{ lv_xml } |.
ENDIF.
- lv_xml = lv_xml && `` && |\n| &&
- ` ` && |\n| &&
- ` `.
+ lv_xml = |{ lv_xml }| && |\n| &&
+ | | && |\n| &&
+ | |.
client->view_display( lv_xml ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_038.clas.abap b/src/z2ui5_cl_demo_app_038.clas.abap
index 4297caaa..8fa3360b 100644
--- a/src/z2ui5_cl_demo_app_038.clas.abap
+++ b/src/z2ui5_cl_demo_app_038.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_038 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -13,93 +12,83 @@ CLASS z2ui5_cl_demo_app_038 DEFINITION PUBLIC.
group TYPE string,
END OF ty_msg.
- DATA t_msg TYPE STANDARD TABLE OF ty_msg WITH EMPTY KEY.
+ DATA t_msg TYPE STANDARD TABLE OF ty_msg WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_display_view.
METHODS z2ui5_display_popup.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_038 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_038 IMPLEMENTATION.
METHOD z2ui5_display_popover.
DATA(popup) = z2ui5_cl_xml_view=>factory_popup( ).
- popup->message_popover(
- items = client->_bind( t_msg )
- groupitems = abap_true
- placement = `Top`
- initiallyexpanded = abap_true
- beforeclose = client->_event( val = 'POPOVER_CLOSE' )
- )->message_item(
- type = `{TYPE}`
- title = `{TITLE}`
- subtitle = `{SUBTITLE}`
- description = `{DESCRIPTION}`
- groupname = `{GROUP}` ).
-
- client->popover_display( xml = popup->stringify( ) by_id = id ).
+ popup->message_popover( items = client->_bind( t_msg )
+ groupitems = abap_true
+ placement = `Top`
+ initiallyexpanded = abap_true
+ beforeclose = client->_event( val = 'POPOVER_CLOSE' )
+ )->message_item( type = `{TYPE}`
+ title = `{TITLE}`
+ subtitle = `{SUBTITLE}`
+ description = `{DESCRIPTION}`
+ groupname = `{GROUP}` ).
- ENDMETHOD.
+ client->popover_display( xml = popup->stringify( )
+ by_id = id ).
+ ENDMETHOD.
METHOD z2ui5_display_popup.
DATA(popup) = z2ui5_cl_xml_view=>factory_popup( ).
- popup = popup->dialog(
- title = `Messages`
- contentheight = '50%'
- contentwidth = '50%' ).
-
- popup->message_view(
- items = client->_bind( t_msg
- )
- groupitems = abap_true
- )->message_item(
- type = `{TYPE}`
- title = `{TITLE}`
- subtitle = `{SUBTITLE}`
- description = `{DESCRIPTION}`
- groupname = `{GROUP}` ).
+ popup = popup->dialog( title = `Messages`
+ contentheight = '50%'
+ contentwidth = '50%' ).
+
+ popup->message_view( items = client->_bind( t_msg
+ )
+ groupitems = abap_true
+ )->message_item( type = `{TYPE}`
+ title = `{TITLE}`
+ subtitle = `{SUBTITLE}`
+ description = `{DESCRIPTION}`
+ groupname = `{GROUP}` ).
popup->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- id = `test2`
- text = 'test'
- press = client->_event( `TEST` )
- )->button(
- text = 'close'
- press = client->_event_client( client->cs_event-popup_close ) ).
+ )->button( id = `test2`
+ text = 'test'
+ press = client->_event( `TEST` )
+ )->button( text = 'close'
+ press = client->_event_client( client->cs_event-popup_close ) ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( ns = `html` name = `style` )->_cc_plain_xml( `.sapMDialogScroll { height:100%; }` ).
+ view->_generic( ns = `html`
+ name = `style` )->_cc_plain_xml( `.sapMDialogScroll { height:100%; }` ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - List'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = 'abap2UI5 - List'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = abap_true ).
* )->header_content(
* )->link(
* text = 'Demo' target = '_blank'
@@ -108,34 +97,30 @@ CLASS Z2UI5_CL_DEMO_APP_038 IMPLEMENTATION.
*
*
* )->get_parent( ).
- page->button( text = 'Messages in Popup' press = client->_event( 'POPUP' ) ).
- page->message_view(
- items = client->_bind( t_msg )
- groupitems = abap_true
- )->message_item(
- type = `{TYPE}`
- title = `{TITLE}`
- subtitle = `{SUBTITLE}`
- description = `{DESCRIPTION}`
- groupname = `{GROUP}` ).
+ page->button( text = 'Messages in Popup'
+ press = client->_event( 'POPUP' ) ).
+ page->message_view( items = client->_bind( t_msg )
+ groupitems = abap_true
+ )->message_item( type = `{TYPE}`
+ title = `{TITLE}`
+ subtitle = `{SUBTITLE}`
+ description = `{DESCRIPTION}`
+ groupname = `{GROUP}` ).
page->footer( )->overflow_toolbar(
- )->button(
- id = 'test'
- text = 'Messages (6)'
- press = client->_event( 'POPOVER' )
- type = 'Emphasized'
+ )->button( id = 'test'
+ text = 'Messages (6)'
+ press = client->_event( 'POPOVER' )
+ type = 'Emphasized'
)->toolbar_spacer(
- )->button(
- text = 'Send to Server'
- press = client->_event( 'BUTTON_SEND' )
- type = 'Success' ).
+ )->button( text = 'Send to Server'
+ press = client->_event( 'BUTTON_SEND' )
+ type = 'Success' ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -143,11 +128,13 @@ CLASS Z2UI5_CL_DEMO_APP_038 IMPLEMENTATION.
IF check_initialized = abap_false.
check_initialized = abap_true.
- t_msg = VALUE #(
- ( description = 'descr' subtitle = 'subtitle' title = 'title' type = 'Error' group = 'group 01' )
- ( description = 'descr' subtitle = 'subtitle' title = 'title' type = 'Information' group = 'group 01' )
- ( description = 'descr' subtitle = 'subtitle' title = 'title' type = 'Information' group = 'group 02' )
- ( description = 'descr' subtitle = 'subtitle' title = 'title' type = 'Success' group = 'group 03' ) ).
+ t_msg = VALUE #( description = 'descr'
+ subtitle = 'subtitle'
+ title = 'title'
+ ( type = 'Error' group = 'group 01' )
+ ( type = 'Information' group = 'group 01' )
+ ( type = 'Information' group = 'group 02' )
+ ( type = 'Success' group = 'group 03' ) ).
z2ui5_display_view( ).
@@ -167,4 +154,5 @@ CLASS Z2UI5_CL_DEMO_APP_038 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_039.clas.abap b/src/z2ui5_cl_demo_app_039.clas.abap
index 82626416..7f54c82a 100644
--- a/src/z2ui5_cl_demo_app_039.clas.abap
+++ b/src/z2ui5_cl_demo_app_039.clas.abap
@@ -1,13 +1,11 @@
-CLASS Z2UI5_CL_DEMO_APP_039 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_039 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA mv_value TYPE string.
+ DATA mv_value TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO Z2UI5_if_client.
DATA:
BEGIN OF app,
@@ -24,9 +22,7 @@ CLASS Z2UI5_CL_DEMO_APP_039 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_039 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_039 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
@@ -49,7 +45,6 @@ CLASS Z2UI5_CL_DEMO_APP_039 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE app-get-event.
@@ -57,149 +52,147 @@ CLASS Z2UI5_CL_DEMO_APP_039 IMPLEMENTATION.
WHEN 'BACK'.
client->nav_app_leave( client->get_app( app-get-s_draft-id_prev_app_stack ) ).
WHEN 'POPUP'.
- client->message_box_display( 'Event raised value:' && mv_value ).
+ client->message_box_display( |Event raised value:{ mv_value }| ).
ENDCASE.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
- mv_value = '200'.
+ mv_value = '200'.
ENDMETHOD.
-
METHOD Z2UI5_on_render_main.
- data(lv_xml) = `` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` `.
+ DATA(lv_xml) = || && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | |.
client->view_display( lv_xml ).
ENDMETHOD.
-
METHOD Z2UI5_on_render_popup.
- client->popup_display( `` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` ).
+ client->popup_display( || && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_040.clas.abap b/src/z2ui5_cl_demo_app_040.clas.abap
index ecd3d16e..7cbdeac3 100644
--- a/src/z2ui5_cl_demo_app_040.clas.abap
+++ b/src/z2ui5_cl_demo_app_040.clas.abap
@@ -1,14 +1,12 @@
-CLASS Z2UI5_CL_DEMO_APP_040 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_040 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA mv_barcode TYPE string.
+ DATA mv_barcode TYPE string.
DATA mv_load_lib TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO Z2UI5_if_client.
DATA:
BEGIN OF app,
@@ -25,14 +23,12 @@ CLASS Z2UI5_CL_DEMO_APP_040 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_040 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_040 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
me->client = client.
- app-get = client->get( ).
+ app-get = client->get( ).
app-view_popup = ``.
IF app-get-event IS NOT INITIAL.
@@ -45,13 +41,12 @@ CLASS Z2UI5_CL_DEMO_APP_040 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE app-get-event.
WHEN 'LOAD_BC'.
- client->message_box_display( 'JSBarcode Library loaded').
+ client->message_box_display( 'JSBarcode Library loaded' ).
mv_load_lib = abap_true.
WHEN 'BACK'.
@@ -61,44 +56,44 @@ CLASS Z2UI5_CL_DEMO_APP_040 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_render.
- data(lv_xml) = ` ` && |\n| &&
-
- `` && |\n| &&
- `` && |\n| &&
- `` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- ` ` && |\n| &&
- `JSBarcode Library ` && |\n| &&
- ` ` && |\n| &&
+ DATA(lv_xml) = | | && |\n| &&
+
+ || && |\n| &&
+ || && |\n| &&
+ || && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ | | && |\n| &&
+ |JSBarcode Library | && |\n| &&
+ | | && |\n| &&
* ` jsbarcode-format="upc"` && |\n| &&
* ` jsbarcode-value="` && mv_barcode && `"` && |\n| &&
* ` jsbarcode-textmargin="0"` && |\n| &&
* ` jsbarcode-fontoptions="bold">` && |\n| &&
- ` ` && |\n|.
+ | | && |\n|.
IF mv_load_lib = abap_true.
mv_load_lib = abap_false.
- lv_xml = lv_xml && ``.
+ lv_xml = |{ lv_xml }|.
* lv_xml = lv_xml && ``.
ENDIF.
- if mv_barcode is not initial.
- lv_xml = lv_xml && ``.
- endif.
- lv_xml = lv_xml && `` && |\n| &&
- ` ` && |\n| &&
- ` `.
+ IF mv_barcode IS NOT INITIAL.
+ lv_xml = |{ lv_xml }|.
+ ENDIF.
+ lv_xml = |{ lv_xml }| && |\n| &&
+ | | && |\n| &&
+ ||.
client->view_display( lv_xml ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_041.clas.abap b/src/z2ui5_cl_demo_app_041.clas.abap
index f88f78c5..de9f0fc6 100644
--- a/src/z2ui5_cl_demo_app_041.clas.abap
+++ b/src/z2ui5_cl_demo_app_041.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_041 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA:
@@ -13,7 +12,6 @@ CLASS z2ui5_cl_demo_app_041 DEFINITION PUBLIC.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -26,37 +24,33 @@ CLASS z2ui5_cl_demo_app_041 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_041 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Step Input Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Step Input Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
layout->label( 'StepInput'
- )->step_input(
- value = client->_bind_edit( screen-step_val_01 )
- step = '2'
- min = '0'
- max = '20'
- )->step_input(
- value = client->_bind_edit( screen-step_val_02 )
- step = '10'
- min = '0'
- max = '100'
- )->button( text = `OK` press = client->_event( `POST` ) ).
+ )->step_input( value = client->_bind_edit( screen-step_val_01 )
+ step = '2'
+ min = '0'
+ max = '20'
+ )->step_input( value = client->_bind_edit( screen-step_val_02 )
+ step = '10'
+ min = '0'
+ max = '100'
+ )->button( text = `OK`
+ press = client->_event( `POST` ) ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -71,7 +65,6 @@ CLASS z2ui5_cl_demo_app_041 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -82,4 +75,5 @@ CLASS z2ui5_cl_demo_app_041 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_042.clas.abap b/src/z2ui5_cl_demo_app_042.clas.abap
index 6293edd4..758031ae 100644
--- a/src/z2ui5_cl_demo_app_042.clas.abap
+++ b/src/z2ui5_cl_demo_app_042.clas.abap
@@ -1,188 +1,197 @@
-CLASS Z2UI5_CL_DEMO_APP_042 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_042 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_042 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_042 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
- IF check_initialized = abap_false.
- check_initialized = abap_true.
- ENDIF.
-
-
- CASE client->get( )-event.
-
- WHEN 'BUTTON_ROUNDTRIP'.
- DATA(lv_dummy) = 'user pressed a button, your custom implementation can be called here'.
-
- WHEN 'BUTTON_MSG_BOX'.
- client->message_box_display(
- text = 'this is a message box with a custom text'
- type = 'success' ).
-
- WHEN 'BACK'.
- client->nav_app_leave( ).
-
- ENDCASE.
-
- DATA(view) = z2ui5_cl_xml_view=>factory( ).
-
-
- DATA(page) = view->object_page_layout(
- showtitleinheadercontent = abap_true
- showeditheaderbutton = abap_true
- editheaderbuttonpress = client->_event( 'EDIT_HEADER_PRESS' )
- uppercaseanchorbar = abap_false
+ IF check_initialized = abap_false.
+ check_initialized = abap_true.
+ ENDIF.
+
+ CASE client->get( )-event.
+
+ WHEN 'BUTTON_ROUNDTRIP'.
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(lv_dummy) = 'user pressed a button, your custom implementation can be called here'.
+
+ WHEN 'BUTTON_MSG_BOX'.
+ client->message_box_display( text = 'this is a message box with a custom text'
+ type = 'success' ).
+
+ WHEN 'BACK'.
+ client->nav_app_leave( ).
+
+ ENDCASE.
+
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
+
+ DATA(page) = view->object_page_layout( showtitleinheadercontent = abap_true
+ showeditheaderbutton = abap_true
+ editheaderbuttonpress = client->_event( 'EDIT_HEADER_PRESS' )
+ uppercaseanchorbar = abap_false
+ ).
+
+ DATA(header_title) = page->header_title( )->object_page_dyn_header_title( ).
+
+ header_title->expanded_heading(
+ )->hbox(
+ )->title( text = 'Oblomov Dev'
+ wrapping = abap_true ).
+
+ header_title->snapped_heading(
+ )->flex_box( alignitems = `Center`
+ )->avatar( src = lcl_help=>get_avatar( )
+ class = 'sapUiTinyMarginEnd'
+ )->title( text = 'Oblomov Dev'
+ wrapping = abap_true ).
+
+ header_title->expanded_content( ns = `uxap` )->text( `abap2UI5 Developer` ).
+ header_title->snapped_Content( ns = `uxap` )->text( `abap2UI5 Developer` ).
+ header_title->snapped_Title_On_Mobile( )->title( `abap2UI5 Developer` ).
+
+ header_title->actions( ns = `uxap` )->overflow_toolbar(
+ )->overflow_toolbar_button( icon = `sap-icon://edit`
+ text = 'edit header'
+ type = 'Emphasized'
+ tooltip = 'edit'
+ )->overflow_toolbar_button( icon = `sap-icon://pull-down`
+ text = 'show section'
+ type = 'Emphasized'
+ tooltip = 'pull-down'
+ )->overflow_toolbar_button( icon = `sap-icon://show`
+ text = 'show state'
+ tooltip = 'show'
+ )->button(
+ " icon = `sap-icon://edit`
+ text = 'Go Back'
+ press = client->_event( 'BACK' )
).
- DATA(header_title) = page->header_title( )->object_page_dyn_header_title( ).
-
- header_title->expanded_heading(
- )->hbox(
- )->title( text = 'Oblomov Dev' wrapping = abap_true ).
-
- header_title->snapped_heading(
- )->flex_box( alignitems = `Center`
- )->avatar( src = lcl_help=>get_avatar( ) class = 'sapUiTinyMarginEnd'
- )->title( text = 'Oblomov Dev' wrapping = abap_true ).
-
- header_title->expanded_content( ns = `uxap` )->text( `abap2UI5 Developer` ).
- header_title->snapped_Content( ns = `uxap` )->text( `abap2UI5 Developer` ).
- header_title->snapped_Title_On_Mobile( )->title( `abap2UI5 Developer` ).
-
- header_title->actions( ns = `uxap` )->overflow_toolbar(
- )->overflow_toolbar_button(
- icon = `sap-icon://edit`
- text = 'edit header'
- type = 'Emphasized'
- tooltip = 'edit'
- )->overflow_toolbar_button(
- icon = `sap-icon://pull-down`
- text = 'show section'
- type = 'Emphasized'
- tooltip = 'pull-down'
- )->overflow_toolbar_button(
- icon = `sap-icon://show`
- text = 'show state'
- tooltip = 'show'
- )->button(
- " icon = `sap-icon://edit`
- text = 'Go Back'
- press = client->_event( 'BACK' )
- ).
-
- DATA(header_content) = page->header_Content( ns = 'uxap' ).
-
- header_content->flex_box( wrap = 'Wrap'
- )->avatar( src = lcl_help=>get_avatar( ) class = 'sapUiSmallMarginEnd' displaySize = 'layout'
- )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->link( text = '+33 6 4512 5158'
- )->link( text = 'email@email.com'
- )->get_parent(
- )->horizontal_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( text = 'Hello! I an abap2UI5 developer'
- )->label( text = 'San Jose, USA'
- )->get_parent(
- )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( text = 'Hello! I an abap2UI5 developer'
- )->vbox(
- )->label( 'Achived goals'
- )->progress_indicator( percentvalue = '30%' displayvalue = '30%'
- )->get_parent( )->get_parent(
- )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( text = 'San Jose, USA'
- )->get_parent(
- ).
-
-
- data(sections) = page->sections( ).
-
- sections->object_page_section( titleuppercase = abap_false id = 'goalsSectionSS1' title = '2014 Goals Plan'
- )->heading( ns = `uxap`
- )->message_strip( text = 'this is a message strip'
- )->get_parent(
- )->sub_sections(
- )->object_page_sub_section( id = 'goalssubSectionSS1' title = 'goals1'
- )->blocks(
- )->vbox(
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
- )->label( text = 'goals1'
-
- )->get_parent( )->get_parent( )->get_parent(
- )->object_page_sub_section( id = 'goalsSectionWS1' title = 'goals2'
- )->blocks(
- )->vbox(
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2'
- )->label( text = 'goals2').
-
- sections->object_page_section( titleuppercase = abap_false id = 'PersonalSection' title = 'Personal'
- )->heading( ns = `uxap`
- " )->message_strip( text = 'this is a message strip'
- )->get_parent(
- )->sub_sections(
- )->object_page_sub_section( id = 'personalSectionSS1' title = 'Connect'
- )->blocks(
- )->label( text = 'telefon'
- )->label( text = 'email'
- )->get_parent( )->get_parent(
- )->object_page_sub_section( id = 'personalSectionWS2' title = 'Payment information '
- )->blocks(
- )->label( text = 'Hello! I an abap2UI5 developer'
- )->label( text = 'San Jose, USA' ).
-
-
- sections->object_page_section( titleuppercase = abap_false id = 'employmentSection' title = 'Employment'
- )->heading( ns = `uxap`
- " )->message_strip( text = 'this is a message strip'
- )->get_parent(
- )->sub_sections(
- )->object_page_sub_section( id = 'empSectionSS1' title = 'Job information'
- )->blocks(
- )->label( text = 'info'
- )->label( text = 'info'
- )->label( text = 'info'
- )->label( text = 'info'
- )->label( text = 'info'
- )->get_parent( )->get_parent(
- )->object_page_sub_section( id = 'empSectionWS2' title = 'Employee Details '
- )->blocks(
- )->vbox(
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details'
- )->label( text = 'details' ).
+ DATA(header_content) = page->header_Content( ns = 'uxap' ).
+
+ header_content->flex_box( wrap = 'Wrap'
+ )->avatar( src = lcl_help=>get_avatar( )
+ class = 'sapUiSmallMarginEnd'
+ displaySize = 'layout'
+ )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
+ )->link( text = '+33 6 4512 5158'
+ )->link( text = 'email@email.com'
+ )->get_parent(
+ )->horizontal_layout( class = 'sapUiSmallMarginBeginEnd'
+ )->label( text = 'Hello! I an abap2UI5 developer'
+ )->label( text = 'San Jose, USA'
+ )->get_parent(
+ )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
+ )->label( text = 'Hello! I an abap2UI5 developer'
+ )->vbox(
+ )->label( 'Achived goals'
+ )->progress_indicator( percentvalue = '30%'
+ displayvalue = '30%'
+ )->get_parent( )->get_parent(
+ )->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
+ )->label( text = 'San Jose, USA'
+ )->get_parent(
+ ).
+
+ DATA(sections) = page->sections( ).
+
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'goalsSectionSS1'
+ title = '2014 Goals Plan'
+ )->heading( ns = `uxap`
+ )->message_strip( text = 'this is a message strip'
+ )->get_parent(
+ )->sub_sections(
+ )->object_page_sub_section( id = 'goalssubSectionSS1'
+ title = 'goals1'
+ )->blocks(
+ )->vbox(
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+ )->label( text = 'goals1'
+
+ )->get_parent( )->get_parent( )->get_parent(
+ )->object_page_sub_section( id = 'goalsSectionWS1'
+ title = 'goals2'
+ )->blocks(
+ )->vbox(
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2'
+ )->label( text = 'goals2' ).
+
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'PersonalSection'
+ title = 'Personal'
+ )->heading( ns = `uxap`
+ " )->message_strip( text = 'this is a message strip'
+ )->get_parent(
+ )->sub_sections(
+ )->object_page_sub_section( id = 'personalSectionSS1'
+ title = 'Connect'
+ )->blocks(
+ )->label( text = 'telefon'
+ )->label( text = 'email'
+ )->get_parent( )->get_parent(
+ )->object_page_sub_section( id = 'personalSectionWS2'
+ title = 'Payment information '
+ )->blocks(
+ )->label( text = 'Hello! I an abap2UI5 developer'
+ )->label( text = 'San Jose, USA' ).
+
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'employmentSection'
+ title = 'Employment'
+ )->heading( ns = `uxap`
+ " )->message_strip( text = 'this is a message strip'
+ )->get_parent(
+ )->sub_sections(
+ )->object_page_sub_section( id = 'empSectionSS1'
+ title = 'Job information'
+ )->blocks(
+ )->label( text = 'info'
+ )->label( text = 'info'
+ )->label( text = 'info'
+ )->label( text = 'info'
+ )->label( text = 'info'
+ )->get_parent( )->get_parent(
+ )->object_page_sub_section( id = 'empSectionWS2'
+ title = 'Employee Details '
+ )->blocks(
+ )->vbox(
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details' ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_042.clas.locals_imp.abap b/src/z2ui5_cl_demo_app_042.clas.locals_imp.abap
index b0f14e79..e420922c 100644
--- a/src/z2ui5_cl_demo_app_042.clas.locals_imp.abap
+++ b/src/z2ui5_cl_demo_app_042.clas.locals_imp.abap
@@ -1,206 +1,206 @@
CLASS lcl_help DEFINITION.
PUBLIC SECTION.
-
- class-METHODS get_avatar
+ CLASS-METHODS get_avatar
RETURNING
VALUE(result) TYPE string.
ENDCLASS.
+
CLASS lcl_help IMPLEMENTATION.
METHOD get_avatar.
- result = `data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gKgSUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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thWvMW2ZxMxwS7lW/Q5g1Kv3zIgD8wRWHRA4s4fTKxe5KvdS6wAXot47/wCOlmYFXFj4S3ywonquT+tRu4U5mks6Y4vMpqV4KhM/mcCVQ3CrUKMymkBcaqZqDBPvJviQsHcVltrLe/3kD5JmtpsTqABRgP8Akh3UNj` &&
- `U336/yytFTwlX9GxywaXdWh95iziCo44Jdy8wDARNx/KZLqcpwTNNIZTGZW7jLUEKomRUULKNXzY+8IhBoQDnhdu3/ADBA2FJ4hqC5trxRx6GX6m0emd76DV5ZTsmKVUl1EhawOScxM/RibgLsxSjW11KtQAvtLhkJonSBt7ouJ0Du1P6+sGoAMG67/wCfYeOBWler/RKsXxNj+Az+GyUHpx2CZPZ8PEDLCVywLE40bECOZTUJoOpToQ` &&
- `P9p0MpU5qgyJ1KA2UqmACndLXacALjZc6/6H0nCn+IVldsV3UKqFS1V74+6c8lTkAlWtPT0+JjyWVdGLy6ILBuHUhIVjiGvrcUsDzDVFIEXLD8nUztAPm3l7FvtMsrwar/AKNBKSyBBrWDoFwwYbIpIhGXWrRXWvEGHu58D31eISIhYjYwRGizBvcRuoCp9WG6i4DB8q9cJyQiFl+KbejzzxGJLYtDFjgauLa1bA9Ojx/0qWUzLoDGHu` &&
- `fxFULypP2hNzEkjHa34ROoxZSxJd2LDxkBhrYLYra9Ba+YvBGafqc8vHBbPRxvHqbILNaiwhuFG0l7whR734mj27WPVMV4N90pEeqcdry/t7/9dbnqtPXiN1vLVXFILWuvkWbwoYWJRAaX/qbuTDhmABRg/wDzp//aAAwDAQACAAMAAAAQ88888888884ARDDrK8888888888888888880l3isemBc88888888888888YEoHAl0dmE+D` &&
- `8888d8888888PB1yRAXh1lwOj888Z88888888ar7wfQUk2OHdPc8HEK8888884knBHIEl6AFnQYIbS5l8888888bRBVmcz7gIxM0BJYrDAh/kZHim5zdpaN98q/wBvMMOMD+NfBn8fZHBL+BHCY74KX+/A/wCSfhpE/JaV7lpSiMuvrihglLLaLDV0o5LutM4RowRmdqbp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C5trxRx6GX6m0emd76DV5ZTsmKVUl1EhawOScxM/RibgLsxSjW11KtQAvtLhkJonSBt7ouJ0Du1P6+sGoAMG67/wCfYeOBWler/RKsXxNj+Az+GyUHpx2CZPZ8PEDLCVywLE40bECOZTUJoOpToQ| &&
+ |P9p0MpU5qgyJ1KA2UqmACndLXacALjZc6/6H0nCn+IVldsV3UKqFS1V74+6c8lTkAlWtPT0+JjyWVdGLy6ILBuHUhIVjiGvrcUsDzDVFIEXLD8nUztAPm3l7FvtMsrwar/AKNBKSyBBrWDoFwwYbIpIhGXWrRXWvEGHu58D31eISIhYjYwRGizBvcRuoCp9WG6i4DB8q9cJyQiFl+KbejzzxGJLYtDFjgauLa1bA9Ojx/0qWUzLoDGHu| &&
+ |fxFULypP2hNzEkjHa34ROoxZSxJd2LDxkBhrYLYra9Ba+YvBGafqc8vHBbPRxvHqbILNaiwhuFG0l7whR734mj27WPVMV4N90pEeqcdry/t7/9dbnqtPXiN1vLVXFILWuvkWbwoYWJRAaX/qbuTDhmABRg/wDzp//aAAwDAQACAAMAAAAQ88888888884ARDDrK8888888888888888880l3isemBc88888888888888YEoHAl0dmE+D| &&
+ |8888d8888888PB1yRAXh1lwOj888Z88888888ar7wfQUk2OHdPc8HEK8888884knBHIEl6AFnQYIbS5l8888888bRBVmcz7gIxM0BJYrDAh/kZHim5zdpaN98q/wBvMMOMD+NfBn8fZHBL+BHCY74KX+/A/wCSfhpE/JaV7lpSiMuvrihglLLaLDV0o5LutM4RowRmdqbpx7redMzsyb8KNWDawmdLc4Ae96L14MmXi4iMOgLJZUPBiI| &&
+ |9OCrJIWKKUm4x5ZdfAYe4/oL7TN3JpzazTyFNiWYhI5qLuWm8fBJ8PLy/Hzxn5b7qnEafoBe+cpoqTPsOHzzxZJGasV+jjUqgyB+r57yzzzzzzzzxqFIAobBOXJbhGmLzzzzzzzzzzzDf3w4J9lpNrunzzzzzzzzzzzzzxjfSdgwQhb3zzzzzzzzzzzzzzzzwB8VbPPfXzzzzz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m/ZcGlNRo1IeUpoARwkfk8iD5OZ+P6G4CAIkR84viu+H1ss+mHHzSUnnSb++AKOdct2+Csm+Soh6D4IE1AHSEXAl2JWMNCzy5dbywRSFE3xMD1TA2q6V7VSJs1xBkeJj1SSDUu+Q84TuRykbe1ZtxRwABQqD7hSKosgCpBzm4aeEfADxGo0cAmv0/P9KmTp| &&
+ |hQiAUN5gggIGT3KHnvRQVoIReBgABKJYTpV03o3zVwkAwoGokR161hoQCAGg/qHj/+RP/Z|.
ENDMETHOD.
diff --git a/src/z2ui5_cl_demo_app_043.clas.abap b/src/z2ui5_cl_demo_app_043.clas.abap
index c9e42401..854b420e 100644
--- a/src/z2ui5_cl_demo_app_043.clas.abap
+++ b/src/z2ui5_cl_demo_app_043.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_043 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
* TYPES:
@@ -15,6 +14,7 @@ CLASS z2ui5_cl_demo_app_043 DEFINITION PUBLIC.
* DATA mv_key TYPE string.
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_043 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
@@ -79,4 +79,5 @@ CLASS z2ui5_cl_demo_app_043 IMPLEMENTATION.
* client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_044.clas.abap b/src/z2ui5_cl_demo_app_044.clas.abap
index 32ced6e0..a42eb62b 100644
--- a/src/z2ui5_cl_demo_app_044.clas.abap
+++ b/src/z2ui5_cl_demo_app_044.clas.abap
@@ -1,18 +1,18 @@
-CLASS Z2UI5_CL_DEMO_APP_044 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_044 DEFINITION PUBLIC.
PUBLIC SECTION.
INTERFACES Z2UI5_if_app.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_044 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_044 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
client->view_display( z2ui5_cl_xml_view=>factory( )->label( `Hello World!` )->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_045.clas.abap b/src/z2ui5_cl_demo_app_045.clas.abap
index ad657b3e..97d87379 100644
--- a/src/z2ui5_cl_demo_app_045.clas.abap
+++ b/src/z2ui5_cl_demo_app_045.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_045 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_045 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -14,32 +13,33 @@ CLASS Z2UI5_CL_DEMO_APP_045 DEFINITION PUBLIC.
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
- DATA mv_info_filter TYPE string.
+ DATA mv_info_filter TYPE string.
+
METHODS refresh_data.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_045 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_045 IMPLEMENTATION.
METHOD refresh_data.
DO 1000 TIMES.
- DATA(ls_row) = VALUE ty_row( count = sy-index value = 'red'
- info = COND #( WHEN sy-index < 50 THEN 'completed' ELSE 'uncompleted' )
- descr = 'this is a description' checkbox = abap_true ).
+ DATA(ls_row) = VALUE ty_row( count = sy-index
+ value = 'red'
+ info = COND #( WHEN sy-index < 50 THEN 'completed' ELSE 'uncompleted' )
+ descr = 'this is a description'
+ checkbox = abap_true ).
INSERT ls_row INTO TABLE t_tab.
ENDDO.
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
IF check_initialized = abap_false.
@@ -63,34 +63,31 @@ CLASS Z2UI5_CL_DEMO_APP_045 IMPLEMENTATION.
ENDCASE.
-
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Scroll Container with Table and Toolbar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Scroll Container with Table and Toolbar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->header_content(
)->link(
-
)->get_parent( ).
- page->simple_form( title = 'Form Title' editable = abap_true
+ page->simple_form( title = 'Form Title'
+ editable = abap_true
)->content( 'form'
)->title( 'Filter'
)->label( 'info'
- )->input( client->_bind( mv_info_filter )
- )->button(
- text = 'filter'
- press = client->_event( 'FLTER_INFO' ) ).
-
- DATA(tab) = page->scroll_container( height = '70%' vertical = abap_true
- )->table(
- growing = abap_true
- growingthreshold = '20'
- growingscrolltoload = abap_true
- items = client->_bind( t_tab )
- sticky = 'ColumnHeaders,HeaderToolbar' ).
+ )->input( client->_bind( mv_info_filter )
+ )->button( text = 'filter'
+ press = client->_event( 'FLTER_INFO' ) ).
+
+ DATA(tab) = page->scroll_container( height = '70%'
+ vertical = abap_true
+ )->table( growing = abap_true
+ growingthreshold = '20'
+ growingscrolltoload = abap_true
+ items = client->_bind( t_tab )
+ sticky = 'ColumnHeaders,HeaderToolbar' ).
tab->header_toolbar(
)->overflow_toolbar(
@@ -112,10 +109,12 @@ CLASS Z2UI5_CL_DEMO_APP_045 IMPLEMENTATION.
)->text( '{VALUE}'
)->text( '{INFO}'
)->text( '{DESCR}'
- )->checkbox( selected = '{CHECKBOX}' enabled = abap_false
+ )->checkbox( selected = '{CHECKBOX}'
+ enabled = abap_false
)->text( '{COUNT}' ).
client->view_display( page->get_root( )->xml_get( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_046.clas.abap b/src/z2ui5_cl_demo_app_046.clas.abap
index 982b6462..a4a09d59 100644
--- a/src/z2ui5_cl_demo_app_046.clas.abap
+++ b/src/z2ui5_cl_demo_app_046.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_046 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_046 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -15,18 +14,17 @@ CLASS Z2UI5_CL_DEMO_APP_046 DEFINITION PUBLIC.
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
- DATA mv_display TYPE string.
+ DATA mv_display TYPE string.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_046 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_046 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
@@ -35,14 +33,15 @@ CLASS Z2UI5_CL_DEMO_APP_046 IMPLEMENTATION.
mv_display = 'LIST'.
- t_tab = VALUE #(
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'incompleted' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Peter' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ).
+ t_tab = VALUE #( title = 'Peter'
+ descr = 'this is a description'
+ icon = 'sap-icon://account'
+ ( info = 'completed' )
+ ( info = 'incompleted' )
+ ( info = 'working' )
+ ( info = 'working' )
+ ( info = 'completed' )
+ ( info = 'completed' ) ).
ELSE.
@@ -56,36 +55,33 @@ CLASS Z2UI5_CL_DEMO_APP_046 IMPLEMENTATION.
ENDIF.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Table output in two different Ways - Changing UI without Model'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - Table output in two different Ways - Changing UI without Model'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->header_content(
- )->button( text = 'Display List' press = client->_event( 'LIST' )
- )->button( text = 'Display Table' press = client->_event( 'TABLE' )
+ )->button( text = 'Display List'
+ press = client->_event( 'LIST' )
+ )->button( text = 'Display Table'
+ press = client->_event( 'TABLE' )
)->link(
-
)->get_parent( ).
CASE mv_display.
WHEN 'LIST'.
- page->list(
- headertext = 'List Control'
- items = client->_bind( t_tab )
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESCR}'
- icon = '{ICON}'
- info = '{INFO}'
+ page->list( headertext = 'List Control'
+ items = client->_bind( t_tab )
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESCR}'
+ icon = '{ICON}'
+ info = '{INFO}'
).
WHEN 'TABLE'.
- DATA(tab) = page->table(
- headertext = 'Table Control'
- items = client->_bind( t_tab ) ).
+ DATA(tab) = page->table( headertext = 'Table Control'
+ items = client->_bind( t_tab ) ).
tab->columns(
)->column(
@@ -105,7 +101,8 @@ CLASS Z2UI5_CL_DEMO_APP_046 IMPLEMENTATION.
ENDCASE.
- client->view_display( page->get_root( )->xml_get( ) ).
+ client->view_display( page->get_root( )->xml_get( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_047.clas.abap b/src/z2ui5_cl_demo_app_047.clas.abap
index ca82f30c..64cb4a0a 100644
--- a/src/z2ui5_cl_demo_app_047.clas.abap
+++ b/src/z2ui5_cl_demo_app_047.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_047 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA int1 TYPE i.
@@ -20,19 +19,19 @@ CLASS z2ui5_cl_demo_app_047 DEFINITION PUBLIC.
date TYPE d,
time TYPE t,
END OF ty_s_row.
- DATA mt_tab TYPE STANDARD TABLE OF ty_s_row WITH EMPTY KEY.
+
+ DATA mt_tab TYPE STANDARD TABLE OF ty_s_row WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_047 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -55,37 +54,41 @@ CLASS z2ui5_cl_demo_app_047 IMPLEMENTATION.
client->nav_app_leave( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ).
ENDCASE.
- DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Integer and Decimals'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- page->simple_form( title = 'Integer and Decimals' editable = abap_true
+ DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
+ )->page( title = 'abap2UI5 - Integer and Decimals'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ page->simple_form( title = 'Integer and Decimals'
+ editable = abap_true
)->content( 'form'
)->title( 'Input'
)->label( 'integer'
)->input( value = client->_bind_edit( int1 )
)->input( value = client->_bind_edit( int2 )
- )->input( enabled = abap_false value = client->_bind_edit( int_sum )
- )->button( text = 'calc sum' press = client->_event( 'BUTTON_INT' )
+ )->input( enabled = abap_false
+ value = client->_bind_edit( int_sum )
+ )->button( text = 'calc sum'
+ press = client->_event( 'BUTTON_INT' )
)->label( 'decimals'
)->input( client->_bind_edit( dec1 )
)->input( client->_bind_edit( dec2 )
- )->input( enabled = abap_false value = client->_bind_edit( dec_sum )
- )->button( text = 'calc sum' press = client->_event( 'BUTTON_DEC' )
+ )->input( enabled = abap_false
+ value = client->_bind_edit( dec_sum )
+ )->button( text = 'calc sum'
+ press = client->_event( 'BUTTON_DEC' )
)->label( 'date'
)->input( client->_bind_edit( date )
)->label( 'time'
)->input( client->_bind_edit( time )
).
- DATA(tab) = page->scroll_container( height = '70%' vertical = abap_true
- )->table(
- growing = abap_true
- growingthreshold = '20'
- growingscrolltoload = abap_true
- items = client->_bind_edit( mt_tab )
- sticky = 'ColumnHeaders,HeaderToolbar' ).
+ DATA(tab) = page->scroll_container( height = '70%'
+ vertical = abap_true
+ )->table( growing = abap_true
+ growingthreshold = '20'
+ growingscrolltoload = abap_true
+ items = client->_bind_edit( mt_tab )
+ sticky = 'ColumnHeaders,HeaderToolbar' ).
tab->columns(
)->column(
@@ -100,4 +103,5 @@ CLASS z2ui5_cl_demo_app_047 IMPLEMENTATION.
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_048.clas.abap b/src/z2ui5_cl_demo_app_048.clas.abap
index 7aa30d9e..55111954 100644
--- a/src/z2ui5_cl_demo_app_048.clas.abap
+++ b/src/z2ui5_cl_demo_app_048.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_048 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+CLASS z2ui5_cl_demo_app_048 DEFINITION
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES Z2UI5_if_app.
@@ -19,30 +18,58 @@ CLASS Z2UI5_CL_DEMO_APP_048 DEFINITION
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_048 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_048 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
- t_tab = VALUE #(
- ( title = 'entry_01' info = 'Information' descr = 'this is a description1 1234567890 1234567890' icon = 'sap-icon://badge' highlight = 'Information' wrapCharLimit = '100' )
- ( title = 'entry_02' info = 'Success' descr = 'this is a description2 1234567890 1234567890' icon = 'sap-icon://favorite' highlight = 'Success' wrapCharLimit = '10')
- ( title = 'entry_03' info = 'Warning' descr = 'this is a description3 1234567890 1234567890' icon = 'sap-icon://employee' highlight = 'Warning' wrapCharLimit = '100')
- ( title = 'entry_04' info = 'Error' descr = 'this is a description4 1234567890 1234567890' icon = 'sap-icon://accept' highlight = 'Error' wrapCharLimit = '10' )
- ( title = 'entry_05' info = 'None' descr = 'this is a description5 1234567890 1234567890' icon = 'sap-icon://activities' highlight = 'None' wrapCharLimit = '10')
- ( title = 'entry_06' info = 'Information' descr = 'this is a description6 1234567890 1234567890' icon = 'sap-icon://account' highlight = 'Information' wrapCharLimit = '100' )
+ t_tab = VALUE #( ( title = 'entry_01'
+ info = 'Information'
+ descr = 'this is a description1 1234567890 1234567890'
+ icon = 'sap-icon://badge'
+ highlight = 'Information'
+ wrapCharLimit = '100' )
+ ( title = 'entry_02'
+ info = 'Success'
+ descr = 'this is a description2 1234567890 1234567890'
+ icon = 'sap-icon://favorite'
+ highlight = 'Success'
+ wrapCharLimit = '10' )
+ ( title = 'entry_03'
+ info = 'Warning'
+ descr = 'this is a description3 1234567890 1234567890'
+ icon = 'sap-icon://employee'
+ highlight = 'Warning'
+ wrapCharLimit = '100' )
+ ( title = 'entry_04'
+ info = 'Error'
+ descr = 'this is a description4 1234567890 1234567890'
+ icon = 'sap-icon://accept'
+ highlight = 'Error'
+ wrapCharLimit = '10' )
+ ( title = 'entry_05'
+ info = 'None'
+ descr = 'this is a description5 1234567890 1234567890'
+ icon = 'sap-icon://activities'
+ highlight = 'None'
+ wrapCharLimit = '10' )
+ ( title = 'entry_06'
+ info = 'Information'
+ descr = 'this is a description6 1234567890 1234567890'
+ icon = 'sap-icon://account'
+ highlight = 'Information'
+ wrapCharLimit = '100' )
).
ENDIF.
@@ -50,61 +77,61 @@ CLASS Z2UI5_CL_DEMO_APP_048 IMPLEMENTATION.
CASE client->get( )-event.
WHEN 'EDIT'.
DATA(lv_row_title) = client->get_event_arg( 1 ).
- client->message_box_display( `EDIT - ` && lv_row_title ).
+ client->message_box_display( |EDIT - { lv_row_title }| ).
WHEN 'SELCHANGE'.
DATA(lt_sel) = t_tab.
DELETE lt_sel WHERE selected = abap_false.
- client->message_box_display( `SELECTION_CHANGED -` && lt_sel[ 1 ]-title ).
+ client->message_box_display( |SELECTION_CHANGED -{ lt_sel[ 1 ]-title }| ).
WHEN 'BACK'.
client->nav_app_leave( ).
ENDCASE.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - List'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - List'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->header_content(
- )->link(
- text = 'Demo' target = '_blank'
- href = `https://twitter.com/abap2UI5/status/1657279838586109953`
+ )->link( text = 'Demo'
+ target = '_blank'
+ href = `https://twitter.com/abap2UI5/status/1657279838586109953`
)->link(
-
)->get_parent( ).
page->list(
- headertext = 'List Ouput'
- items = client->_bind_edit( t_tab )
- mode = `SingleSelectMaster`
- selectionchange = client->_event( 'SELCHANGE' )
- )->_generic(
- name = `StandardListItem`
- t_prop = VALUE #(
- ( n = `title` v = '{TITLE}' )
- ( n = `description` v = '{DESCR}' )
- ( n = `icon` v = '{ICON}' )
- ( n = `iconInset` v = 'false' )
- ( n = `highlight` v = '{HIGHLIGHT}' )
- ( n = `info` v = '{INFO}' )
- ( n = `infoState` v = '{HIGHLIGHT}' )
- ( n = `infoStateInverted` v = 'true' )
- ( n = 'type' v = `Detail` )
- ( n = 'wrapping' v = `true` )
- ( n = 'wrapCharLimit' v = `{WRAPCHARLIMIT}` )
- ( n = 'selected' v = `{SELECTED}` )
- ( n = 'detailPress' v = client->_event( val = 'EDIT' t_arg = VALUE #( ( `${TITLE}` )
- ( `${DESCR}` )
- ( `${ICON}` )
- ( `${HIGHLIGHT}` )
- ( `${INFO}` )
- ( `${WRAPCHARLIMIT}` )
- ( `${SELECTED}` )
- ) ) )
-
- ) ).
+ " TODO: check spelling: Ouput (typo) -> Output (ABAP cleaner)
+ headertext = 'List Ouput'
+ items = client->_bind_edit( t_tab )
+ mode = `SingleSelectMaster`
+ selectionchange = client->_event( 'SELCHANGE' )
+ )->_generic( name = `StandardListItem`
+ t_prop = VALUE #( ( n = `title` v = '{TITLE}' )
+ ( n = `description` v = '{DESCR}' )
+ ( n = `icon` v = '{ICON}' )
+ ( n = `iconInset` v = 'false' )
+ ( n = `highlight` v = '{HIGHLIGHT}' )
+ ( n = `info` v = '{INFO}' )
+ ( n = `infoState` v = '{HIGHLIGHT}' )
+ ( n = `infoStateInverted` v = 'true' )
+ ( n = 'type' v = `Detail` )
+ ( n = 'wrapping' v = `true` )
+ ( n = 'wrapCharLimit' v = `{WRAPCHARLIMIT}` )
+ ( n = 'selected' v = `{SELECTED}` )
+ ( n = 'detailPress'
+ v = client->_event( val = 'EDIT'
+ t_arg = VALUE #( ( `${TITLE}` )
+ ( `${DESCR}` )
+ ( `${ICON}` )
+ ( `${HIGHLIGHT}` )
+ ( `${INFO}` )
+ ( `${WRAPCHARLIMIT}` )
+ ( `${SELECTED}` )
+ ) ) )
+
+ ) ).
client->view_display( page->get_root( )->xml_get( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_049.clas.abap b/src/z2ui5_cl_demo_app_049.clas.abap
index 4f0322f6..7ec324c9 100644
--- a/src/z2ui5_cl_demo_app_049.clas.abap
+++ b/src/z2ui5_cl_demo_app_049.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_049 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_049 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -13,13 +12,13 @@ CLASS Z2UI5_CL_DEMO_APP_049 DEFINITION PUBLIC.
info TYPE string,
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA mv_Counter TYPE i.
- DATA mv_key TYPE string.
+ DATA mv_key TYPE string.
PROTECTED SECTION.
-
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS Z2UI5_on_init.
@@ -30,13 +29,11 @@ CLASS Z2UI5_CL_DEMO_APP_049 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_049 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_049 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -54,25 +51,27 @@ CLASS Z2UI5_CL_DEMO_APP_049 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
WHEN 'TIMER_FINISHED'.
- do 5 times.
- mv_counter = mv_counter + 1.
- INSERT VALUE #( title = 'entry' && mv_counter info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- INTO TABLE t_tab.
+ DO 5 TIMES.
+ mv_counter = mv_counter + 1.
+ INSERT VALUE #( title = |entry{ mv_counter }|
+ info = 'completed'
+ descr = 'this is a description'
+ icon = 'sap-icon://account' )
+ INTO TABLE t_tab.
* client->timer_set(
* interval_ms = '2000'
* event_finished = client->_event( 'TIMER_FINISHED' )
* ).
- enddo.
+ ENDDO.
- client->view_model_update( ).
+ client->view_model_update( ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -81,50 +80,46 @@ CLASS Z2UI5_CL_DEMO_APP_049 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
mv_counter = 1.
mv_key = 'VIEW_REFRESH'.
t_tab = VALUE #(
- ( title = 'entry' && mv_counter info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' ) ).
+ ( title = |entry{ mv_counter }| info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' ) ).
ENDMETHOD.
-
METHOD Z2UI5_view_display.
DATA(lo_view) = z2ui5_cl_xml_view=>factory( ).
- lo_view->_z2ui5( )->timer( finished = client->_event( `TIMER_FINISHED` ) delayms = `2000` checkrepeat = abap_true ).
+ lo_view->_z2ui5( )->timer( finished = client->_event( `TIMER_FINISHED` )
+ delayms = `2000`
+ checkrepeat = abap_true ).
DATA(page) = lo_view->shell( )->page(
- title = 'abap2UI5 - CL_GUI_TIMER - Monitor'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = 'abap2UI5 - CL_GUI_TIMER - Monitor'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
-
page->segmented_button( selected_key = client->_bind_edit( mv_key )
)->items(
- )->segmented_button_item(
- key = 'VIEW_REFRESH'
-* icon = 'sap-icon://accept'
- text = 'Old (rerender View)'
- )->segmented_button_item(
- key = 'MODEL_ONLY'
-* icon = 'sap-icon://add-favorite'
- text = 'New (update only Model)'
+ )->segmented_button_item( key = 'VIEW_REFRESH'
+* icon = 'sap-icon://accept'
+ text = 'Old (rerender View)'
+ )->segmented_button_item( key = 'MODEL_ONLY'
+* icon = 'sap-icon://add-favorite'
+ text = 'New (update only Model)'
).
- page->list(
- headertext = 'Data auto refresh (2 sec)'
- items = client->_bind( t_tab )
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESCR}'
- icon = '{ICON}'
- info = '{INFO}' ).
+ page->list( headertext = 'Data auto refresh (2 sec)'
+ items = client->_bind( t_tab )
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESCR}'
+ icon = '{ICON}'
+ info = '{INFO}' ).
client->view_display( lo_view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_050.clas.abap b/src/z2ui5_cl_demo_app_050.clas.abap
index 1c00e37d..27e08139 100644
--- a/src/z2ui5_cl_demo_app_050.clas.abap
+++ b/src/z2ui5_cl_demo_app_050.clas.abap
@@ -1,20 +1,19 @@
-CLASS Z2UI5_CL_DEMO_APP_050 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_050 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA product TYPE string.
- DATA quantity TYPE string.
+ DATA product TYPE string.
+ DATA quantity TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_050 IMPLEMENTATION.
+CLASS z2ui5_cl_demo_app_050 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
@@ -31,65 +30,63 @@ CLASS Z2UI5_CL_DEMO_APP_050 IMPLEMENTATION.
client->nav_app_leave( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ).
ENDCASE.
- client->view_display( Z2UI5_cl_xml_view=>factory(
- )->shell(
- )->page(
- title = 'abap2UI5 - Changed CSS'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->_generic( ns = `html` name = `style` )->_cc_plain_xml(
- `.sapMInput {` && |\n| &&
- ` height: 80px !important;` && |\n| &&
- ` font-size: 2.5rem !important;` && |\n| &&
- `}` && |\n| &&
- |\n| &&
- `input {` && |\n| &&
- ` height: 80% !important;` && |\n| &&
- ` font-size: 2.5rem !important;` && |\n| &&
- `}` && |\n| &&
- |\n| &&
- `input[role="textbox"] {` && |\n| &&
- ` height: 80px !important;` && |\n| &&
- ` font-size: 2.5rem !important;` && |\n| &&
- `}` && |\n| &&
- |\n| &&
- `input[role="text"] {` && |\n| &&
- ` height: 80px !important;` && |\n| &&
- ` font-size: 2.5rem !important;` && |\n| &&
- `}` && |\n| &&
- |\n| &&
- `.sapUiSearchField {` && |\n| &&
- ` height: 35px;` && |\n| &&
- ` font-size: 2.5rem !important;` && |\n| &&
- `}` && |\n| &&
- |\n| &&
- `.sapUiTfCombo:hover {` && |\n| &&
- ` height: 2rem;` && |\n| &&
- ` font-size: 2.5rem !important;` && |\n| &&
- `}` && |\n| &&
- |\n| &&
- `.sapMInputBaseInner::placeholder {` && |\n| &&
- ` font-size: 1.4rem !important;` && |\n| &&
- `}`
- )->get_parent(
- )->button(
- text = 'post'
+ client->view_display( Z2UI5_cl_xml_view=>factory(
+ )->shell(
+ )->page( title = 'abap2UI5 - Changed CSS'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->_generic( ns = `html`
+ name = `style` )->_cc_plain_xml( |.sapMInput \{| && |\n| &&
+ | height: 80px !important;| && |\n| &&
+ | font-size: 2.5rem !important;| && |\n| &&
+ |\}| && |\n| &&
+ |\n| &&
+ |input \{| && |\n| &&
+ | height: 80% !important;| && |\n| &&
+ | font-size: 2.5rem !important;| && |\n| &&
+ |\}| && |\n| &&
+ |\n| &&
+ |input[role="textbox"] \{| && |\n| &&
+ | height: 80px !important;| && |\n| &&
+ | font-size: 2.5rem !important;| && |\n| &&
+ |\}| && |\n| &&
+ |\n| &&
+ |input[role="text"] \{| && |\n| &&
+ | height: 80px !important;| && |\n| &&
+ | font-size: 2.5rem !important;| && |\n| &&
+ |\}| && |\n| &&
+ |\n| &&
+ |.sapUiSearchField \{| && |\n| &&
+ | height: 35px;| && |\n| &&
+ | font-size: 2.5rem !important;| && |\n| &&
+ |\}| && |\n| &&
+ |\n| &&
+ |.sapUiTfCombo:hover \{| && |\n| &&
+ | height: 2rem;| && |\n| &&
+ | font-size: 2.5rem !important;| && |\n| &&
+ |\}| && |\n| &&
+ |\n| &&
+ |.sapMInputBaseInner::placeholder \{| && |\n| &&
+ | font-size: 1.4rem !important;| && |\n| &&
+ |\}|
+ )->get_parent(
+ )->button( text = 'post'
press = client->_event( 'BUTTON_POST' )
class = `mySuperRedButton`
- )->input( value = client->_bind( quantity )
- )->simple_form( title = 'Form Title' editable = abap_true
- )->content( 'form'
- )->title( 'Input'
- )->label( 'quantity'
- )->input( value = client->_bind( quantity )
- )->label( 'product'
- )->input(
- value = product
- enabled = abap_false
- )->button(
- text = 'post'
- press = client->_event( 'BUTTON_POST' )
- )->get_root( )->xml_get( ) ).
+ )->input( value = client->_bind( quantity )
+ )->simple_form( title = 'Form Title'
+ editable = abap_true
+ )->content( 'form'
+ )->title( 'Input'
+ )->label( 'quantity'
+ )->input( value = client->_bind( quantity )
+ )->label( 'product'
+ )->input( value = product
+ enabled = abap_false
+ )->button( text = 'post'
+ press = client->_event( 'BUTTON_POST' )
+ )->get_root( )->xml_get( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_051.clas.abap b/src/z2ui5_cl_demo_app_051.clas.abap
index ee683894..a343dba0 100644
--- a/src/z2ui5_cl_demo_app_051.clas.abap
+++ b/src/z2ui5_cl_demo_app_051.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_051 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA:
@@ -14,10 +13,10 @@ CLASS z2ui5_cl_demo_app_051 DEFINITION PUBLIC.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -26,34 +25,37 @@ CLASS z2ui5_cl_demo_app_051 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_051 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_051 IMPLEMENTATION.
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Label Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
- layout->label( text = 'Input mandatory' labelfor = `input1` ).
- layout->input( id = `input1` required = abap_true ).
-
-
- layout->label( text = 'Input bold' labelfor = `input2` design = `Bold` ).
- layout->input( id = `input2` value = client->_bind_edit( screen-input2 ) ).
-
- layout->label( text = 'Input normal' labelfor = `input3` ).
- layout->input( id = `input3` value = client->_bind_edit( screen-input3 ) ).
+ )->page( title = 'abap2UI5 - Label Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+ layout->label( text = 'Input mandatory'
+ labelfor = `input1` ).
+ layout->input( id = `input1`
+ required = abap_true ).
+
+ layout->label( text = 'Input bold'
+ labelfor = `input2`
+ design = `Bold` ).
+ layout->input( id = `input2`
+ value = client->_bind_edit( screen-input2 ) ).
+
+ layout->label( text = 'Input normal'
+ labelfor = `input3` ).
+ layout->input( id = `input3`
+ value = client->_bind_edit( screen-input3 ) ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -63,7 +65,6 @@ CLASS Z2UI5_CL_DEMO_APP_051 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -74,4 +75,5 @@ CLASS Z2UI5_CL_DEMO_APP_051 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_052.clas.abap b/src/z2ui5_cl_demo_app_052.clas.abap
index d45ccd5d..8e8a9166 100644
--- a/src/z2ui5_cl_demo_app_052.clas.abap
+++ b/src/z2ui5_cl_demo_app_052.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_052 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -15,69 +14,72 @@ CLASS z2ui5_cl_demo_app_052 DEFINITION PUBLIC.
END OF ty_s_tab.
TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
- DATA mt_table TYPE ty_t_table.
+ DATA mt_table TYPE ty_t_table.
DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
- DATA mv_check_popover TYPE abap_bool.
- DATA mv_product TYPE string.
+ DATA mv_check_popover TYPE abap_bool.
+ DATA mv_product TYPE string.
- METHODS z2ui5_set_data.
+ METHODS z2ui5_set_data.
METHODS z2ui5_display_view.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_052 IMPLEMENTATION.
-
METHOD z2ui5_display_popover.
DATA(lo_popover) = z2ui5_cl_xml_view=>factory_popup( ).
- lo_popover->popover( placement = `Right` title = `abap2UI5 - Popover - ` && mv_product contentwidth = `50%`
+ lo_popover->popover( placement = `Right`
+ title = |abap2UI5 - Popover - { mv_product }|
+ contentwidth = `50%`
)->simple_form( editable = abap_true
)->content( 'form'
)->label( 'Product'
- )->text( mv_product
+ )->text( mv_product
)->label( 'info2'
- )->text( `this is a text`
+ )->text( `this is a text`
)->label( 'info3'
- )->text( `this is a text`
- )->text( `this is a text`
+ )->text( `this is a text`
+ )->text( `this is a text`
)->get_parent( )->get_parent(
)->footer(
)->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'details'
- press = client->_event( 'BUTTON_DETAILS' )
- type = 'Emphasized' ).
- client->popover_display( xml = lo_popover->stringify( ) by_id = id ).
+ )->button( text = 'details'
+ press = client->_event( 'BUTTON_DETAILS' )
+ type = 'Emphasized' ).
+ client->popover_display( xml = lo_popover->stringify( )
+ by_id = id ).
ENDMETHOD.
-
METHOD z2ui5_display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->page( id = `page_main`
- title = 'abap2UI5 - List Report Features'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ DATA(page) = view->page( id = `page_main`
+ title = 'abap2UI5 - List Report Features'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- page = page->dynamic_page( headerexpanded = abap_true headerpinned = abap_true ).
+ page = page->dynamic_page( headerexpanded = abap_true
+ headerpinned = abap_true ).
DATA(cont) = page->content( ns = 'f' ).
- DATA(tab) = cont->table( id = `tab` items = client->_bind_edit( val = mt_table ) ).
+ DATA(tab) = cont->table( id = `tab`
+ items = client->_bind_edit( val = mt_table ) ).
DATA(lo_columns) = tab->columns( ).
lo_columns->column( )->text( text = `Product` ).
@@ -86,8 +88,11 @@ CLASS z2ui5_cl_demo_app_052 IMPLEMENTATION.
lo_columns->column( )->text( text = `Location` ).
lo_columns->column( )->text( text = `Quantity` ).
- DATA(lo_cells) = tab->items( )->column_list_item( ).
- lo_cells->link( id = `link` text = '{PRODUCT}' press = client->_event( val = `POPOVER_DETAIL` t_arg = VALUE #( ( `${$source>/id}` ) ( `${PRODUCT}` ) ) ) ).
+ DATA(lo_cells) = tab->items( )->column_list_item( ).
+ lo_cells->link( id = `link`
+ text = '{PRODUCT}'
+ press = client->_event( val = `POPOVER_DETAIL`
+ t_arg = VALUE #( ( `${$source>/id}` ) ( `${PRODUCT}` ) ) ) ).
lo_cells->text( `{CREATE_DATE}` ).
lo_cells->text( `{CREATE_BY}` ).
lo_cells->text( `{STORAGE_LOCATION}` ).
@@ -97,7 +102,6 @@ CLASS z2ui5_cl_demo_app_052 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -126,59 +130,58 @@ CLASS z2ui5_cl_demo_app_052 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ).
+ mt_table = VALUE #( storage_location = `AREA_001`
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_053.clas.abap b/src/z2ui5_cl_demo_app_053.clas.abap
index 43336d60..711ff842 100644
--- a/src/z2ui5_cl_demo_app_053.clas.abap
+++ b/src/z2ui5_cl_demo_app_053.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_053 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -17,12 +16,10 @@ CLASS z2ui5_cl_demo_app_053 DEFINITION PUBLIC.
TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
DATA mv_search_value TYPE string.
- DATA mt_table TYPE ty_t_table.
-
+ DATA mt_table TYPE ty_t_table.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS view_display.
@@ -34,13 +31,11 @@ CLASS z2ui5_cl_demo_app_053 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_053 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -53,7 +48,6 @@ CLASS z2ui5_cl_demo_app_053 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -70,28 +64,26 @@ CLASS z2ui5_cl_demo_app_053 IMPLEMENTATION.
ENDMETHOD.
-
METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Search with Enter'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ DATA(page) = view->shell( )->page(
+ id = `page_main`
+ title = 'abap2UI5 - Search with Enter'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
DATA(vbox) = page->vbox( ).
- vbox->hbox( )->search_field(
- value = client->_bind_edit( mv_search_value )
- search = client->_event( 'BUTTON_SEARCH' )
- change = client->_event( 'BUTTON_SEARCH' )
-* livechange = client->__event( 'BUTTON_SEARCH' )
- width = `17.5rem`
- id = `SEARCH` )->button(
- text = `Go`
- press = client->_event( `BUTTON_START` )
- type = `Emphasized` ).
+ vbox->hbox( )->search_field( value = client->_bind_edit( mv_search_value )
+ search = client->_event( 'BUTTON_SEARCH' )
+ change = client->_event( 'BUTTON_SEARCH' )
+* livechange = client->__event( 'BUTTON_SEARCH' )
+ width = `17.5rem`
+ id = `SEARCH` )->button( text = `Go`
+ press = client->_event( `BUTTON_START` )
+ type = `Emphasized` ).
DATA(tab) = vbox->table( items = client->_bind( val = mt_table ) ).
@@ -113,33 +105,28 @@ CLASS z2ui5_cl_demo_app_053 IMPLEMENTATION.
ENDMETHOD.
-
METHOD set_data.
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ).
+ mt_table = VALUE #( storage_location = `AREA_001`
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 ) ).
ENDMETHOD.
-
METHOD z2ui5_set_search.
IF mv_search_value IS NOT INITIAL.
- z2ui5_cl_util=>itab_filter_by_val(
- EXPORTING
- val = mv_search_value
- CHANGING
- tab = mt_table
+ z2ui5_cl_util=>itab_filter_by_val( EXPORTING val = mv_search_value
+ CHANGING tab = mt_table
).
ENDIF.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_054.clas.abap b/src/z2ui5_cl_demo_app_054.clas.abap
index e4f767fc..2db1e320 100644
--- a/src/z2ui5_cl_demo_app_054.clas.abap
+++ b/src/z2ui5_cl_demo_app_054.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_054 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_054 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -16,31 +15,29 @@ CLASS Z2UI5_CL_DEMO_APP_054 DEFINITION PUBLIC.
DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
-
METHODS refresh_data.
+ PROTECTED SECTION.
-protected section.
-private section.
+ PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_054 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_054 IMPLEMENTATION.
METHOD refresh_data.
DO 100 TIMES.
- DATA(ls_row) = VALUE ty_row( count = sy-index value = 'red'
- info = COND #( WHEN sy-index < 50 THEN 'completed' ELSE 'uncompleted' )
- descr = 'this is a description' checkbox = abap_true ).
+ DATA(ls_row) = VALUE ty_row( count = sy-index
+ value = 'red'
+ info = COND #( WHEN sy-index < 50 THEN 'completed' ELSE 'uncompleted' )
+ descr = 'this is a description'
+ checkbox = abap_true ).
INSERT ls_row INTO TABLE t_tab.
ENDDO.
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
* IF check_initialized = abap_false.
@@ -123,4 +120,5 @@ CLASS Z2UI5_CL_DEMO_APP_054 IMPLEMENTATION.
* client->set_next( next ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_055.clas.abap b/src/z2ui5_cl_demo_app_055.clas.abap
index 85fd6ea1..91ab2ef0 100644
--- a/src/z2ui5_cl_demo_app_055.clas.abap
+++ b/src/z2ui5_cl_demo_app_055.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_055 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_055 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -18,28 +17,27 @@ CLASS Z2UI5_CL_DEMO_APP_055 DEFINITION PUBLIC.
METHODS refresh_data.
+ PROTECTED SECTION.
-protected section.
-private section.
+ PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_055 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_055 IMPLEMENTATION.
METHOD refresh_data.
DO 100 TIMES.
- DATA(ls_row) = VALUE ty_row( count = sy-index value = 'red'
- info = COND #( WHEN sy-index < 50 THEN 'completed' ELSE 'uncompleted' )
- descr = 'this is a description' checkbox = abap_true ).
+ DATA(ls_row) = VALUE ty_row( count = sy-index
+ value = 'red'
+ info = COND #( WHEN sy-index < 50 THEN 'completed' ELSE 'uncompleted' )
+ descr = 'this is a description'
+ checkbox = abap_true ).
INSERT ls_row INTO TABLE t_tab.
ENDDO.
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
* IF check_initialized = abap_false.
@@ -144,4 +142,5 @@ CLASS Z2UI5_CL_DEMO_APP_055 IMPLEMENTATION.
* client->set_next( next ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_056.clas.abap b/src/z2ui5_cl_demo_app_056.clas.abap
index 956b4b2e..9ffbd007 100644
--- a/src/z2ui5_cl_demo_app_056.clas.abap
+++ b/src/z2ui5_cl_demo_app_056.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_056 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -15,15 +14,16 @@ CLASS z2ui5_cl_demo_app_056 DEFINITION PUBLIC.
END OF ty_s_tab.
TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
- DATA mt_table TYPE ty_t_table.
- DATA mt_token TYPE z2ui5_cl_util=>ty_t_token.
+ DATA mt_table TYPE ty_t_table.
+ DATA mt_token TYPE z2ui5_cl_util=>ty_t_token.
- DATA mt_tokens_added TYPE z2ui5_cl_util=>ty_t_token.
+ DATA mt_tokens_added TYPE z2ui5_cl_util=>ty_t_token.
DATA mt_tokens_removed TYPE z2ui5_cl_util=>ty_t_token.
PROTECTED SECTION.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA mv_check_initialized TYPE abap_bool.
+
METHODS on_event.
METHODS view_display.
METHODS set_data.
@@ -33,10 +33,8 @@ CLASS z2ui5_cl_demo_app_056 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_056 IMPLEMENTATION.
-
METHOD on_event.
CASE client->get( )-event.
@@ -51,7 +49,10 @@ CLASS z2ui5_cl_demo_app_056 IMPLEMENTATION.
ENDLOOP.
LOOP AT mt_tokens_added INTO ls_token.
- INSERT VALUE #( key = ls_token-key text = ls_token-text visible = abap_true editable = abap_true ) INTO TABLE mt_token.
+ INSERT VALUE #( key = ls_token-key
+ text = ls_token-text
+ visible = abap_true
+ editable = abap_true ) INTO TABLE mt_token.
ENDLOOP.
CLEAR mt_tokens_removed.
@@ -70,65 +71,61 @@ CLASS z2ui5_cl_demo_app_056 IMPLEMENTATION.
ENDMETHOD.
-
METHOD set_data.
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'sofa' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'computer' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'oven' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ).
+ mt_table = VALUE #( create_date = `01.01.2023`
+ create_by = `Peter`
+ storage_location = `AREA_001`
+ quantity = 400
+ ( product = 'table' )
+ ( product = 'chair' )
+ ( product = 'sofa' )
+ ( product = 'computer' )
+ ( product = 'oven' )
+ ( product = 'table2' ) ).
DELETE mt_table WHERE product NOT IN mt_range.
ENDMETHOD.
-
METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view = view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Select-Options'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ view = view->shell( )->page( id = `page_main`
+ title = 'abap2UI5 - Select-Options'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->get_parent( ).
DATA(vbox) = view->vbox( ).
- vbox->_z2ui5( )->multiinput_ext(
- addedtokens = client->_bind_edit( mt_tokens_added )
- removedtokens = client->_bind_edit( mt_tokens_removed )
- change = client->_event( 'UPDATE_TOKENS' )
- multiinputid = `MultiInput` ).
-
- DATA(tab) = vbox->table(
- items = client->_bind( val = mt_table )
+ vbox->_z2ui5( )->multiinput_ext( addedtokens = client->_bind_edit( mt_tokens_added )
+ removedtokens = client->_bind_edit( mt_tokens_removed )
+ change = client->_event( 'UPDATE_TOKENS' )
+ multiinputid = `MultiInput` ).
+
+ DATA(tab) = vbox->table( items = client->_bind( val = mt_table )
)->header_toolbar(
)->overflow_toolbar(
)->text( `Product:`
- )->multi_input(
- width = `30%`
- id = `MultiInput`
- tokens = client->_bind( mt_token )
- showclearicon = abap_true
- valuehelprequest = client->_event( 'FILTER_VALUE_HELP' )
- )->item(
- key = `{KEY}`
- text = `{TEXT}`
+ )->multi_input( width = `30%`
+ id = `MultiInput`
+ tokens = client->_bind( mt_token )
+ showclearicon = abap_true
+ valuehelprequest = client->_event( 'FILTER_VALUE_HELP' )
+ )->item( key = `{KEY}`
+ text = `{TEXT}`
)->tokens(
- )->token(
- key = `{KEY}`
- text = `{TEXT}`
- visible = `{VISIBLE}`
- selected = `{SELKZ}`
- editable = `{EDITABLE}`
+ )->token( key = `{KEY}`
+ text = `{TEXT}`
+ visible = `{VISIBLE}`
+ selected = `{SELKZ}`
+ editable = `{EDITABLE}`
)->get_parent( )->get_parent(
)->toolbar_spacer(
- )->button(
- text = `Go` press = client->_event( `BUTTON_START` ) type = `Emphasized`
+ )->button( text = `Go`
+ press = client->_event( `BUTTON_START` )
+ type = `Emphasized`
)->get_parent( )->get_parent( ).
DATA(lo_columns) = tab->columns( ).
@@ -149,7 +146,6 @@ CLASS z2ui5_cl_demo_app_056 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -182,4 +178,5 @@ CLASS z2ui5_cl_demo_app_056 IMPLEMENTATION.
ENDIF.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_057.clas.abap b/src/z2ui5_cl_demo_app_057.clas.abap
index 53523c98..68b6ed03 100644
--- a/src/z2ui5_cl_demo_app_057.clas.abap
+++ b/src/z2ui5_cl_demo_app_057.clas.abap
@@ -1,11 +1,9 @@
CLASS z2ui5_cl_demo_app_057 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
-
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_s_tab,
@@ -15,15 +13,13 @@ CLASS z2ui5_cl_demo_app_057 DEFINITION
create_by TYPE string,
storage_location TYPE string,
quantity TYPE i,
- END OF ty_s_tab .
- TYPES:
- ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY .
+ END OF ty_s_tab.
+ TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
- DATA mt_table TYPE ty_t_table .
- DATA mv_check_download TYPE abap_bool .
+ DATA mt_table TYPE ty_t_table.
+ DATA mv_check_download TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
DATA:
@@ -46,14 +42,12 @@ CLASS z2ui5_cl_demo_app_057 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_057 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
- me->client = client.
- app-get = client->get( ).
+ me->client = client.
+ app-get = client->get( ).
IF app-check_initialized = abap_false.
app-check_initialized = abap_true.
@@ -70,7 +64,6 @@ CLASS z2ui5_cl_demo_app_057 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE app-get-event.
@@ -88,14 +81,12 @@ CLASS z2ui5_cl_demo_app_057 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
app-view_main = `MAIN`.
ENDMETHOD.
-
METHOD z2ui5_on_render.
CASE app-view_main.
@@ -105,29 +96,32 @@ CLASS z2ui5_cl_demo_app_057 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_render_main.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view = view->page( id = `page_main`
- title = 'abap2UI5 - List Report Features'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ view = view->page( id = `page_main`
+ title = 'abap2UI5 - List Report Features'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
IF mv_check_download = abap_true.
mv_check_download = abap_false.
DATA(lv_csv) = z2ui5_cl_util=>itab_get_csv_by_itab( mt_table ).
- data(lv_csv_x) = z2ui5_cl_util=>conv_get_xstring_by_string( lv_csv ).
+ DATA(lv_csv_x) = z2ui5_cl_util=>conv_get_xstring_by_string( lv_csv ).
DATA(lv_base64) = z2ui5_cl_util=>conv_encode_x_base64( lv_csv_x ).
- view->_generic( ns = `html` name = `iframe` t_prop = VALUE #( ( n = `src` v = `data:text/csv;base64,` && lv_base64 ) ( n = `hidden` v = `hidden` ) ) ).
+ view->_generic( ns = `html`
+ name = `iframe`
+ t_prop = VALUE #( ( n = `src` v = |data:text/csv;base64,{ lv_base64 }| )
+ ( n = `hidden` v = `hidden` ) ) ).
ENDIF.
- DATA(page) = view->dynamic_page( headerexpanded = abap_true headerpinned = abap_true ).
+ DATA(page) = view->dynamic_page( headerexpanded = abap_true
+ headerpinned = abap_true ).
DATA(header_title) = page->title( ns = 'f' )->get( )->dynamic_page_title( ).
header_title->heading( ns = 'f' )->hbox( )->title( `Download CSV` ).
@@ -135,13 +129,12 @@ CLASS z2ui5_cl_demo_app_057 IMPLEMENTATION.
header_title->snapped_content( ns = 'f' ).
DATA(lo_box) = page->header( )->dynamic_page_header( pinnable = abap_true
- )->flex_box( alignitems = `Start` justifycontent = `SpaceBetween` )->flex_box( alignitems = `Start` ).
+ )->flex_box( alignitems = `Start`
+ justifycontent = `SpaceBetween` )->flex_box( alignitems = `Start` ).
-
- lo_box->get_parent( )->hbox( justifycontent = `End` )->button(
- text = `Go`
- press = client->_event( `BUTTON_START` )
- type = `Emphasized` ).
+ lo_box->get_parent( )->hbox( justifycontent = `End` )->button( text = `Go`
+ press = client->_event( `BUTTON_START` )
+ type = `Emphasized` ).
DATA(cont) = page->content( ns = 'f' ).
@@ -150,9 +143,8 @@ CLASS z2ui5_cl_demo_app_057 IMPLEMENTATION.
tab->header_toolbar(
)->toolbar(
)->toolbar_spacer(
- )->button(
- icon = 'sap-icon://download'
- press = client->_event( 'BUTTON_DOWNLOAD' )
+ )->button( icon = 'sap-icon://download'
+ press = client->_event( 'BUTTON_DOWNLOAD' )
).
DATA(lo_columns) = tab->columns( ).
@@ -173,17 +165,16 @@ CLASS z2ui5_cl_demo_app_057 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ).
+ mt_table = VALUE #( storage_location = `AREA_001`
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_058.clas.abap b/src/z2ui5_cl_demo_app_058.clas.abap
index b86aa86d..361b380c 100644
--- a/src/z2ui5_cl_demo_app_058.clas.abap
+++ b/src/z2ui5_cl_demo_app_058.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_058 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -29,6 +28,7 @@ CLASS z2ui5_cl_demo_app_058 DEFINITION PUBLIC.
default TYPE abap_bool,
data TYPE string,
END OF ty_s_db_layout.
+
DATA mt_db_layout TYPE STANDARD TABLE OF ty_s_db_layout.
DATA:
@@ -51,18 +51,15 @@ CLASS z2ui5_cl_demo_app_058 DEFINITION PUBLIC.
END OF ty_s_tab.
TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
- DATA mv_check_table TYPE abap_bool.
+ DATA mv_check_table TYPE abap_bool.
DATA mv_check_columns TYPE abap_bool.
- DATA mt_table TYPE ty_t_table.
-
- DATA mv_layout TYPE string.
- DATA mv_check_sort TYPE abap_bool.
-
+ DATA mt_table TYPE ty_t_table.
+ DATA mv_layout TYPE string.
+ DATA mv_check_sort TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
DATA:
BEGIN OF app,
@@ -85,10 +82,8 @@ CLASS z2ui5_cl_demo_app_058 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -109,7 +104,6 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE app-get-event.
@@ -122,17 +116,13 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
WHEN `POPUP_LAYOUT_LOAD`.
DATA(ls_layout2) = mt_db_layout[ selkz = abap_true ].
- z2ui5_cl_util=>xml_parse(
- EXPORTING
- xml = ls_layout2-data
- IMPORTING
- any = ms_layout ).
+ z2ui5_cl_util=>xml_parse( EXPORTING xml = ls_layout2-data
+ IMPORTING any = ms_layout ).
app-view_popup = `POPUP_SAVE`.
WHEN `BUTTON_SAVE_LAYOUT`.
- DATA(ls_layout) = VALUE ty_s_db_layout(
- data = z2ui5_cl_util=>xml_stringify( ms_layout )
- name = mv_layout
+ DATA(ls_layout) = VALUE ty_s_db_layout( data = z2ui5_cl_util=>xml_stringify( ms_layout )
+ name = mv_layout
).
INSERT ls_layout INTO TABLE mt_db_layout.
app-view_popup = `POPUP_SAVE`.
@@ -143,24 +133,21 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
z2ui5_set_data( ).
app-view_main = `MAIN`.
- ms_layout-title = `data`.
- ms_layout-t_cols = VALUE #(
- ( name = `PRODUCT` title = `PRODUCT` visible = abap_true )
- ( name = `CREATE_DAT` title = `CREATE_DAT` visible = abap_true )
- ( name = `CREATE_BY` title = `CREATE_BY` visible = abap_true )
- ( name = `STORAGE_LOCATION` title = `STORAGE_LOCATION` visible = abap_true )
- ( name = `QUANTITY` title = `QUANTITY` visible = abap_true )
- ).
+ ms_layout-title = `data`.
+ ms_layout-t_cols = VALUE #( visible = abap_true
+ ( name = `PRODUCT` title = `PRODUCT` )
+ ( name = `CREATE_DAT` title = `CREATE_DAT` )
+ ( name = `CREATE_BY` title = `CREATE_BY` )
+ ( name = `STORAGE_LOCATION` title = `STORAGE_LOCATION` )
+ ( name = `QUANTITY` title = `QUANTITY` ) ).
ENDMETHOD.
-
METHOD z2ui5_on_render.
CASE app-view_popup.
@@ -177,14 +164,13 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_render_main.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view = view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Table Layout Sample'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ view = view->shell( )->page( id = `page_main`
+ title = 'abap2UI5 - Table Layout Sample'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
*
* DATA(page) = view->dynamic_page(
@@ -211,49 +197,46 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
* DATA(cont) = view->content( ).
- DATA(tab) = view->table(
- headertext = ms_layout-title
- items = client->_bind( mt_table )
- alternaterowcolors = ms_layout-check_zebra
- sticky = ms_layout-sticky_header
-* autopopinmode = abap_true
- mode = ms_layout-selmode ).
+ DATA(tab) = view->table( headertext = ms_layout-title
+ items = client->_bind( mt_table )
+ alternaterowcolors = ms_layout-check_zebra
+ sticky = ms_layout-sticky_header
+* autopopinmode = abap_true
+ mode = ms_layout-selmode ).
tab->header_toolbar(
)->toolbar(
- )->title( text = ms_layout-title && ` (` && shift_right( CONV string( lines( mt_table ) ) ) && `)`
+ )->title( text = |{ ms_layout-title } ({ shift_right( CONV string( lines( mt_table ) ) ) })|
)->toolbar_spacer(
- )->button(
- icon = 'sap-icon://save'
- press = client->_event( 'BUTTON_SAVE' )
- )->button(
- icon = 'sap-icon://action-settings'
- press = client->_event( 'BUTTON_SETUP' )
+ )->button( icon = 'sap-icon://save'
+ press = client->_event( 'BUTTON_SAVE' )
+ )->button( icon = 'sap-icon://action-settings'
+ press = client->_event( 'BUTTON_SETUP' )
).
DATA(lv_width) = 10.
DATA(lo_columns) = tab->columns( ).
LOOP AT ms_layout-t_cols REFERENCE INTO DATA(lr_field)
- WHERE visible = abap_true.
- lo_columns->column(
- minscreenwidth = shift_right( CONV string( lv_width ) ) && `px`
- demandpopin = abap_true width = lr_field->length )->text( text = CONV char10( lr_field->title )
+ WHERE visible = abap_true.
+ lo_columns->column( minscreenwidth = |{ shift_right( CONV string( lv_width ) ) }px|
+ demandpopin = abap_true
+ width = lr_field->length )->text( text = CONV char10( lr_field->title )
).
lv_width = lv_width + 10.
ENDLOOP.
- DATA(lo_cells) = tab->items( )->column_list_item(
- press = client->_event( val = 'DETAIL' t_arg = VALUE #( ( `${UUID}` ) ) )
- selected = `{SELKZ}`
+ DATA(lo_cells) = tab->items( )->column_list_item( press = client->_event( val = 'DETAIL'
+ t_arg = VALUE #( ( `${UUID}` ) ) )
+ selected = `{SELKZ}`
)->cells( ).
LOOP AT ms_layout-t_cols REFERENCE INTO lr_field
- WHERE visible = abap_true.
+ WHERE visible = abap_true.
IF lr_field->editable = abap_true.
- lo_cells->input( `{` && lr_field->name && `}` ).
+ lo_cells->input( |\{{ lr_field->name }\}| ).
ELSE.
- lo_cells->text( text = `{` && lr_field->name && `}` ).
+ lo_cells->text( text = |\{{ lr_field->name }\}| ).
ENDIF.
ENDLOOP.
@@ -261,22 +244,25 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_render_popup.
DATA(ro_popup) = z2ui5_cl_xml_view=>factory_popup( ).
- ro_popup = ro_popup->dialog( title = 'View Setup' resizable = abap_true
- contentheight = `50%` contentwidth = `50%` ).
+ ro_popup = ro_popup->dialog( title = 'View Setup'
+ resizable = abap_true
+ contentheight = `50%`
+ contentwidth = `50%` ).
ro_popup->custom_header(
)->bar(
)->content_right(
- )->button( text = `zurücksetzten` press = client->_event( 'BUTTON_INIT' ) ).
+ )->button( text = `zurücksetzten`
+ press = client->_event( 'BUTTON_INIT' ) ).
DATA(lo_tab) = ro_popup->tab_container( ).
- lo_tab->tab( text = 'Table' selected = client->_bind_edit( mv_check_table )
+ lo_tab->tab( text = 'Table'
+ selected = client->_bind_edit( mv_check_table )
)->simple_form( editable = abap_true
)->content( 'form'
)->label( 'zebra mode'
@@ -289,19 +275,16 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
)->combobox(
selectedkey = client->_bind_edit( ms_layout-selmode )
items = client->_bind_local( VALUE ty_t_combo(
- ( key = 'None' text = 'None' )
- ( key = 'SingleSelect' text = 'SingleSelect' )
- ( key = 'SingleSelectLeft' text = 'SingleSelectLeft' )
- ( key = 'MultiSelect' text = 'MultiSelect' ) ) )
- )->item(
- key = '{KEY}'
- text = '{TEXT}' ).
-
- lo_tab->tab(
- text = 'Columns'
- selected = client->_bind( mv_check_columns )
- )->table(
- items = client->_bind_edit( ms_layout-t_cols )
+ ( key = 'None' text = 'None' )
+ ( key = 'SingleSelect' text = 'SingleSelect' )
+ ( key = 'SingleSelectLeft' text = 'SingleSelectLeft' )
+ ( key = 'MultiSelect' text = 'MultiSelect' ) ) )
+ )->item( key = '{KEY}'
+ text = '{TEXT}' ).
+
+ lo_tab->tab( text = 'Columns'
+ selected = client->_bind( mv_check_columns )
+ )->table( items = client->_bind_edit( ms_layout-t_cols )
)->columns(
)->column( )->text( 'Visible' )->get_parent(
)->column( )->text( 'Name' )->get_parent(
@@ -317,11 +300,10 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
)->checkbox( '{EDITABLE}'
)->input( '{LENGTH}'
" )->text( '{DESCR}'
- )->get_parent( )->get_parent( )->get_parent( )->get_parent( )->get_parent( ).
+ )->get_parent( )->get_parent( )->get_parent( )->get_parent( )->get_parent( ).
- lo_tab->tab(
- text = 'Sort'
- selected = client->_bind( mv_check_sort ) ).
+ lo_tab->tab( text = 'Sort'
+ selected = client->_bind( mv_check_sort ) ).
* ro_popup->footer( )->overflow_toolbar(
* )->toolbar_spacer(
@@ -330,32 +312,31 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
* press = client->_event( 'POPUP_FILTER_CONTINUE' )
* type = 'Emphasized' ).
- ro_popup->end_button( )->button(
- text = 'continue'
- press = client->_event( 'POPUP_FILTER_CONTINUE' )
- type = 'Emphasized' ).
+ ro_popup->end_button( )->button( text = 'continue'
+ press = client->_event( 'POPUP_FILTER_CONTINUE' )
+ type = 'Emphasized' ).
client->popup_display( ro_popup->get_root( )->xml_get( ) ).
-
ENDMETHOD.
-
METHOD z2ui5_on_render_popup_save.
DATA(lo_popup) = z2ui5_cl_xml_view=>factory_popup( ).
- lo_popup = lo_popup->dialog( title = 'abap2UI5 - Layout' contentwidth = `50%`
- )->input( description = `Name` value = client->_bind( mv_layout )
- )->button( text = `Save` press = client->_event( `BUTTON_SAVE_LAYOUT` )
- )->table(
- mode = 'SingleSelectLeft'
- items = client->_bind_edit( mt_db_layout )
+ lo_popup = lo_popup->dialog( title = 'abap2UI5 - Layout'
+ contentwidth = `50%`
+ )->input( description = `Name`
+ value = client->_bind( mv_layout )
+ )->button( text = `Save`
+ press = client->_event( `BUTTON_SAVE_LAYOUT` )
+ )->table( mode = 'SingleSelectLeft'
+ items = client->_bind_edit( mt_db_layout )
)->columns(
)->column( )->text( 'Name' )->get_parent(
)->column( )->text( 'User' )->get_parent(
)->column( )->text( 'Default' )->get_parent(
- " )->column( )->text( 'Description' )->get_parent(
+ " )->column( )->text( 'Description' )->get_parent(
)->get_parent(
)->items( )->column_list_item( selected = '{SELKZ}'
)->cells(
@@ -365,30 +346,30 @@ CLASS z2ui5_cl_demo_app_058 IMPLEMENTATION.
)->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'load'
- press = client->_event( 'POPUP_LAYOUT_LOAD' )
- type = 'Emphasized'
- )->button(
- text = 'close'
- press = client->_event( 'POPUP_LAYOUT_CONTINUE' )
- type = 'Emphasized' ).
+ )->button( text = 'load'
+ press = client->_event( 'POPUP_LAYOUT_LOAD' )
+ type = 'Emphasized'
+ )->button( text = 'close'
+ press = client->_event( 'POPUP_LAYOUT_CONTINUE' )
+ type = 'Emphasized' ).
client->popup_display( lo_popup->get_root( )->xml_get( ) ).
ENDMETHOD.
-
METHOD z2ui5_set_data.
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'sofa' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'computer' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'oven' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ).
+ mt_table = VALUE #( create_date = `01.01.2023`
+ create_by = `Peter`
+ storage_location = `AREA_001`
+ quantity = 400
+ ( product = 'table' )
+ ( product = 'chair' )
+ ( product = 'sofa' )
+ ( product = 'computer' )
+ ( product = 'oven' )
+ ( product = 'table2' ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_059.clas.abap b/src/z2ui5_cl_demo_app_059.clas.abap
index 4c17f4f3..d5ca229d 100644
--- a/src/z2ui5_cl_demo_app_059.clas.abap
+++ b/src/z2ui5_cl_demo_app_059.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_059 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -17,11 +16,10 @@ CLASS z2ui5_cl_demo_app_059 DEFINITION PUBLIC.
TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
DATA mv_search_value TYPE string.
- DATA mt_table TYPE ty_t_table.
+ DATA mt_table TYPE ty_t_table.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_event.
@@ -33,13 +31,11 @@ CLASS z2ui5_cl_demo_app_059 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_059 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -52,10 +48,9 @@ CLASS z2ui5_cl_demo_app_059 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
- me->client = client.
+ client = client.
CASE client->get( )-event.
@@ -71,21 +66,18 @@ CLASS z2ui5_cl_demo_app_059 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ).
+ mt_table = VALUE #( storage_location = `AREA_001`
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 ) ).
ENDMETHOD.
-
METHOD z2ui5_set_search.
IF client->get_event_arg( 1 ) IS INITIAL.
@@ -111,24 +103,23 @@ CLASS z2ui5_cl_demo_app_059 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page1) = view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Search Field with Backend Live Change'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ DATA(page1) = view->shell( )->page(
+ id = `page_main`
+ title = 'abap2UI5 - Search Field with Backend Live Change'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- data(ls_cnt) = value z2ui5_if_types=>ty_s_event_control( check_allow_multi_req = abap_true ).
- DATA(lo_box) = page1->vbox( )->text( `Search` )->search_field(
- livechange = client->_event(
- val = 'BUTTON_SEARCH'
- t_arg = VALUE #( ( `${$source>/value}` ) )
- s_ctrl = ls_cnt
- )
- width = `17.5rem` ).
+ DATA(ls_cnt) = VALUE z2ui5_if_types=>ty_s_event_control( check_allow_multi_req = abap_true ).
+ DATA(lo_box) = page1->vbox( )->text( `Search` )->search_field( livechange = client->_event(
+ val = 'BUTTON_SEARCH'
+ t_arg = VALUE #( ( `${$source>/value}` ) )
+ s_ctrl = ls_cnt
+ )
+ width = `17.5rem` ).
DATA(tab) = lo_box->table( client->_bind( mt_table ) ).
@@ -149,4 +140,5 @@ CLASS z2ui5_cl_demo_app_059 IMPLEMENTATION.
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_060.clas.abap b/src/z2ui5_cl_demo_app_060.clas.abap
index cbc9032d..13f8f300 100644
--- a/src/z2ui5_cl_demo_app_060.clas.abap
+++ b/src/z2ui5_cl_demo_app_060.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_060 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -12,14 +11,12 @@ CLASS z2ui5_cl_demo_app_060 DEFINITION PUBLIC.
currencyshortname TYPE string,
END OF ty_s_currency.
-
DATA mt_suggestion_out TYPE STANDARD TABLE OF ty_s_currency.
- DATA mt_suggestion TYPE STANDARD TABLE OF ty_s_currency.
- DATA input TYPE string.
+ DATA mt_suggestion TYPE STANDARD TABLE OF ty_s_currency.
+ DATA input TYPE string.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_event.
@@ -30,9 +27,7 @@ CLASS z2ui5_cl_demo_app_060 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_060 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_060 IMPLEMENTATION.
METHOD set_data.
@@ -45,256 +40,253 @@ CLASS Z2UI5_CL_DEMO_APP_060 IMPLEMENTATION.
END OF ty_s_currency.
mt_suggestion = VALUE #(
-( language = 'E' currency = 'ADP' currencyname = 'Andorran Peseta --> (Old --> EUR)' currencyshortname = 'Peseta' )
-( language = 'E' currency = 'AED' currencyname = 'United Arab Emirates Dirham' currencyshortname = 'Dirham' )
-( language = 'E' currency = 'AFA' currencyname = 'Afghani (Old)' currencyshortname = 'Afghani' )
-( language = 'E' currency = 'AFN' currencyname = 'Afghani' currencyshortname = 'Afghani' )
-( language = 'E' currency = 'ALL' currencyname = 'Albanian Lek' currencyshortname = 'Lek' )
-( language = 'E' currency = 'AMD' currencyname = 'Armenian Dram' currencyshortname = 'Dram' )
-( language = 'E' currency = 'ANG' currencyname = 'West Indian Guilder' currencyshortname = 'W.Ind.Guilder' )
-( language = 'E' currency = 'AOA' currencyname = 'Angolanische Kwanza' currencyshortname = 'Kwansa' )
-( language = 'E' currency = 'AON' currencyname = 'Angolan New Kwanza (Old)' currencyshortname = 'New Kwanza' )
-( language = 'E' currency = 'AOR' currencyname = 'Angolan Kwanza Reajustado (Old)' currencyshortname = 'Kwanza Reajust.' )
-( language = 'E' currency = 'ARS' currencyname = 'Argentine Peso' currencyshortname = 'Arg. Peso' )
-( language = 'E' currency = 'ATS' currencyname = 'Austrian Schilling (Old --> EUR)' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'AUD' currencyname = 'Australian Dollar' currencyshortname = 'Austr. Dollar' )
-( language = 'E' currency = 'AWG' currencyname = 'Aruban Florin' currencyshortname = 'Aruban Florin' )
-( language = 'E' currency = 'AZM' currencyname = 'Azerbaijani Manat (Old)' currencyshortname = 'Manat' )
-( language = 'E' currency = 'AZN' currencyname = 'Azerbaijani Manat' currencyshortname = 'Manat' )
-( language = 'E' currency = 'BAM' currencyname = 'Bosnia and Herzegovina Convertible Mark' currencyshortname = 'Convert. Mark' )
-( language = 'E' currency = 'BBD' currencyname = 'Barbados Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'BDT' currencyname = 'Bangladesh Taka' currencyshortname = 'Taka' )
-( language = 'E' currency = 'BEF' currencyname = 'Belgian Franc (Old --> EUR)' currencyshortname = 'Belgian Franc' )
-( language = 'E' currency = 'BGN' currencyname = 'Bulgarian Lev' currencyshortname = 'Lev' )
-( language = 'E' currency = 'BHD' currencyname = 'Bahraini Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'BIF' currencyname = 'Burundi Franc' currencyshortname = 'Burundi Franc' )
-( language = 'E' currency = 'BMD' currencyname = 'Bermudan Dollar' currencyshortname = 'Bermudan Dollar' )
-( language = 'E' currency = 'BND' currencyname = 'Brunei Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'BOB' currencyname = 'Boliviano' currencyshortname = 'Boliviano' )
-( language = 'E' currency = 'BRL' currencyname = 'Brazilian Real' currencyshortname = 'Real' )
-( language = 'E' currency = 'BSD' currencyname = 'Bahaman Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'BTN' currencyname = 'Bhutan Ngultrum' currencyshortname = 'Ngultrum' )
-( language = 'E' currency = 'BWP' currencyname = 'Botswana Pula' currencyshortname = 'Pula' )
-( language = 'E' currency = 'BYB' currencyname = 'Belarusian Ruble (Old)' currencyshortname = 'Belarus. Ruble' )
-( language = 'E' currency = 'BYN' currencyname = 'Belarusian Ruble (New)' currencyshortname = 'Bela. Ruble N.' )
-( language = 'E' currency = 'BYR' currencyname = 'Belarusian Ruble' currencyshortname = 'Ruble' )
-( language = 'E' currency = 'BZD' currencyname = 'Belize Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'CAD' currencyname = 'Canadian Dollar' currencyshortname = 'Canadian Dollar' )
-( language = 'E' currency = 'CDF' currencyname = 'Congolese Franc' currencyshortname = 'test data' )
-( language = 'E' currency = 'CFP' currencyname = 'French Franc (Pacific Islands)' currencyshortname = 'Fr. Franc (Pac)' )
-( language = 'E' currency = 'CHF' currencyname = 'Swiss Franc' currencyshortname = 'Swiss Franc' )
-( language = 'E' currency = 'CLP' currencyname = 'Chilean Peso' currencyshortname = 'Peso' )
-( language = 'E' currency = 'CNY' currencyname = 'Chinese Renminbi' currencyshortname = 'Renminbi' )
-( language = 'E' currency = 'COP' currencyname = 'Colombian Peso' currencyshortname = 'Peso' )
-( language = 'E' currency = 'CRC' currencyname = 'Costa Rica Colon' currencyshortname = 'Cost.Rica Colon' )
-( language = 'E' currency = 'CSD' currencyname = 'Serbian Dinar (Old)' currencyshortname = 'Serbian Dinar' )
-( language = 'E' currency = 'CUC' currencyname = 'Peso Convertible' currencyshortname = 'Peso Convertib.' )
-( language = 'E' currency = 'CUP' currencyname = 'Cuban Peso' currencyshortname = 'Cuban Peso' )
-( language = 'E' currency = 'CVE' currencyname = 'Cape Verde Escudo' currencyshortname = 'Escudo' )
-( language = 'E' currency = 'CYP' currencyname = 'Cyprus Pound (Old --> EUR)' currencyshortname = 'Cyprus Pound' )
-( language = 'E' currency = 'CZK' currencyname = 'Czech Krona' currencyshortname = 'Krona' )
-( language = 'E' currency = 'DEM' currencyname = 'German Mark (Old --> EUR)' currencyshortname = 'German Mark' )
-( language = 'E' currency = 'DEM3' currencyname = '(Internal) German Mark (3 dec.places)' currencyshortname = '(Int.) DEM 3 DP' )
-( language = 'E' currency = 'DJF' currencyname = 'Djibouti Franc' currencyshortname = 'Djibouti Franc' )
-( language = 'E' currency = 'DKK' currencyname = 'Danish Krone' currencyshortname = 'Danish Krone' )
-( language = 'E' currency = 'DOP' currencyname = 'Dominican Peso' currencyshortname = 'Dominican Peso' )
-( language = 'E' currency = 'DZD' currencyname = 'Algerian Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'ECS' currencyname = 'Ecuadorian Sucre (Old --> USD)' currencyshortname = 'Sucre' )
-( language = 'E' currency = 'EEK' currencyname = 'Estonian Krone (Old --> EUR)' currencyshortname = 'Krona' )
-( language = 'E' currency = 'EGP' currencyname = 'Egyptian Pound' currencyshortname = 'Pound' )
-( language = 'E' currency = 'ERN' currencyname = 'Eritrean Nafka' currencyshortname = 'Nakfa' )
-( language = 'E' currency = 'ESP' currencyname = 'Spanish Peseta (Old --> EUR)' currencyshortname = 'Peseta' )
-( language = 'E' currency = 'ETB' currencyname = 'Ethiopian Birr' currencyshortname = 'Birr' )
-( language = 'E' currency = 'EUR' currencyname = 'European Euro' currencyshortname = 'Euro' )
-( language = 'E' currency = 'FIM' currencyname = 'Finnish Markka (Old --> EUR)' currencyshortname = 'Finnish markka' )
-( language = 'E' currency = 'FJD' currencyname = 'Fiji Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'FKP' currencyname = 'Falkland Pound' currencyshortname = 'Falkland Pound' )
-( language = 'E' currency = 'FRF' currencyname = 'French Franc (Old --> EUR)' currencyshortname = 'French Franc' )
-( language = 'E' currency = 'GBP' currencyname = 'British Pound' currencyshortname = 'Pound sterling' )
-( language = 'E' currency = 'GEL' currencyname = 'Georgian Lari' currencyshortname = 'Lari' )
-( language = 'E' currency = 'GHC' currencyname = 'Ghanaian Cedi (Old)' currencyshortname = 'Cedi' )
-( language = 'E' currency = 'GHS' currencyname = 'Ghanian Cedi' currencyshortname = 'Cedi' )
-( language = 'E' currency = 'GIP' currencyname = 'Gibraltar Pound' currencyshortname = 'Gibraltar Pound' )
-( language = 'E' currency = 'GMD' currencyname = 'Gambian Dalasi' currencyshortname = 'Dalasi' )
-( language = 'E' currency = 'GNF' currencyname = 'Guinean Franc' currencyshortname = 'Franc' )
-( language = 'E' currency = 'GRD' currencyname = 'Greek Drachma (Old --> EUR)' currencyshortname = 'Drachma' )
-( language = 'E' currency = 'GTQ' currencyname = 'Guatemalan Quetzal' currencyshortname = 'Quetzal' )
-( language = 'E' currency = 'GWP' currencyname = 'Guinea Peso (Old --> SHP)' currencyshortname = 'Guinea Peso' )
-( language = 'E' currency = 'GYD' currencyname = 'Guyana Dollar' currencyshortname = 'Guyana Dollar' )
-( language = 'E' currency = 'HKD' currencyname = 'Hong Kong Dollar' currencyshortname = 'H.K.Dollar' )
-( language = 'E' currency = 'HNL' currencyname = 'Honduran Lempira' currencyshortname = 'Lempira' )
-( language = 'E' currency = 'HRK' currencyname = 'Croatian Kuna' currencyshortname = 'Kuna' )
-( language = 'E' currency = 'HTG' currencyname = 'Haitian Gourde' currencyshortname = 'Gourde' )
-( language = 'E' currency = 'HUF' currencyname = 'Hungarian Forint' currencyshortname = 'Forint' )
-( language = 'E' currency = 'IDR' currencyname = 'Indonesian Rupiah' currencyshortname = 'Rupiah' )
-( language = 'E' currency = 'IEP' currencyname = 'Irish Punt (Old --> EUR)' currencyshortname = 'Irish Punt' )
-( language = 'E' currency = 'ILS' currencyname = 'Israeli Scheckel' currencyshortname = 'Scheckel' )
-( language = 'E' currency = 'INR' currencyname = 'Indian Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'IQD' currencyname = 'Iraqui Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'IRR' currencyname = 'Iranian Rial' currencyshortname = 'Rial' )
-( language = 'E' currency = 'ISK' currencyname = 'Iceland Krona' currencyshortname = 'Krona' )
-( language = 'E' currency = 'ITL' currencyname = 'Italian Lira (Old --> EUR)' currencyshortname = 'Lire' )
-( language = 'E' currency = 'JMD' currencyname = 'Jamaican Dollar' currencyshortname = 'Jamaican Dollar' )
-( language = 'E' currency = 'JOD' currencyname = 'Jordanian Dinar' currencyshortname = 'Jordanian Dinar' )
-( language = 'E' currency = 'JPY' currencyname = 'Japanese Yen' currencyshortname = 'Yen' )
-( language = 'E' currency = 'KES' currencyname = 'Kenyan Shilling' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'KGS' currencyname = 'Kyrgyzstan Som' currencyshortname = 'Som' )
-( language = 'E' currency = 'KHR' currencyname = 'Cambodian Riel' currencyshortname = 'Riel' )
-( language = 'E' currency = 'KMF' currencyname = 'Comoros Franc' currencyshortname = 'Comoros Franc' )
-( language = 'E' currency = 'KPW' currencyname = 'North Korean Won' currencyshortname = 'N. Korean Won' )
-( language = 'E' currency = 'KRW' currencyname = 'South Korean Won' currencyshortname = 'S.Korean Won' )
-( language = 'E' currency = 'KWD' currencyname = 'Kuwaiti Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'KYD' currencyname = 'Cayman Dollar' currencyshortname = 'Cayman Dollar' )
-( language = 'E' currency = 'KZT' currencyname = 'Kazakstanian Tenge' currencyshortname = 'Tenge' )
-( language = 'E' currency = 'LAK' currencyname = 'Laotian Kip' currencyshortname = 'Kip' )
-( language = 'E' currency = 'LBP' currencyname = 'Lebanese Pound' currencyshortname = 'Lebanese Pound' )
-( language = 'E' currency = 'LKR' currencyname = 'Sri Lankan Rupee' currencyshortname = 'Sri Lanka Rupee' )
-( language = 'E' currency = 'LRD' currencyname = 'Liberian Dollar' currencyshortname = 'Liberian Dollar' )
-( language = 'E' currency = 'LSL' currencyname = 'Lesotho Loti' currencyshortname = 'Loti' )
-( language = 'E' currency = 'LTL' currencyname = 'Lithuanian Lita' currencyshortname = 'Lita' )
-( language = 'E' currency = 'LUF' currencyname = 'Luxembourg Franc (Old --> EUR)' currencyshortname = 'Lux. Franc' )
-( language = 'E' currency = 'LVL' currencyname = 'Latvian Lat' currencyshortname = 'Lat' )
-( language = 'E' currency = 'LYD' currencyname = 'Libyan Dinar' currencyshortname = 'Libyan Dinar' )
-( language = 'E' currency = 'MAD' currencyname = 'Moroccan Dirham' currencyshortname = 'Dirham' )
-( language = 'E' currency = 'MDL' currencyname = 'Moldavian Leu' currencyshortname = 'Leu' )
-( language = 'E' currency = 'MGA' currencyname = 'Madagascan Ariary' currencyshortname = 'Madagasc.Ariary' )
-( language = 'E' currency = 'MGF' currencyname = 'Madagascan Franc (Old' currencyshortname = 'Madagascan Fr.' )
-( language = 'E' currency = 'MKD' currencyname = 'Macedonian Denar' currencyshortname = 'Maced. Denar' )
-( language = 'E' currency = 'MMK' currencyname = 'Myanmar Kyat' currencyshortname = 'Kyat' )
-( language = 'E' currency = 'MNT' currencyname = 'Mongolian Tugrik' currencyshortname = 'Tugrik' )
-( language = 'E' currency = 'MOP' currencyname = 'Macao Pataca' currencyshortname = 'Pataca' )
-( language = 'E' currency = 'MRO' currencyname = 'Mauritanian Ouguiya' currencyshortname = 'Ouguiya' )
-( language = 'E' currency = 'MTL' currencyname = 'Maltese Lira (Old --> EUR)' currencyshortname = 'Lira' )
-( language = 'E' currency = 'MUR' currencyname = 'Mauritian Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'MVR' currencyname = 'Maldive Rufiyaa' currencyshortname = 'Rufiyaa' )
-( language = 'E' currency = 'MWK' currencyname = 'Malawi Kwacha' currencyshortname = 'Malawi Kwacha' )
-( language = 'E' currency = 'MXN' currencyname = 'Mexican Pesos' currencyshortname = 'Peso' )
-( language = 'E' currency = 'MYR' currencyname = 'Malaysian Ringgit' currencyshortname = 'Ringgit' )
-( language = 'E' currency = 'MZM' currencyname = 'Mozambique Metical (Old)' currencyshortname = 'Metical' )
-( language = 'E' currency = 'MZN' currencyname = 'Mozambique Metical' currencyshortname = 'Metical' )
-( language = 'E' currency = 'NAD' currencyname = 'Namibian Dollar' currencyshortname = 'Namibian Dollar' )
-( language = 'E' currency = 'NGN' currencyname = 'Nigerian Naira' currencyshortname = 'Naira' )
-( language = 'E' currency = 'NIO' currencyname = 'Nicaraguan Cordoba Oro' currencyshortname = 'Cordoba Oro' )
-( language = 'E' currency = 'NLG' currencyname = 'Dutch Guilder (Old --> EUR)' currencyshortname = 'Guilder' )
-( language = 'E' currency = 'NOK' currencyname = 'Norwegian Krone' currencyshortname = 'Norwegian Krone' )
-( language = 'E' currency = 'NPR' currencyname = 'Nepalese Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'NZD' currencyname = 'New Zealand Dollars' currencyshortname = 'N.Zeal.Dollars' )
-( language = 'E' currency = 'OMR' currencyname = 'Omani Rial' currencyshortname = 'Omani Rial' )
-( language = 'E' currency = 'PAB' currencyname = 'Panamanian Balboa' currencyshortname = 'Balboa' )
-( language = 'E' currency = 'PEN' currencyname = 'Peruvian New Sol' currencyshortname = 'New Sol' )
-( language = 'E' currency = 'PGK' currencyname = 'Papua New Guinea Kina' currencyshortname = 'Kina' )
-( language = 'E' currency = 'PHP' currencyname = 'Philippine Peso' currencyshortname = 'Peso' )
-( language = 'E' currency = 'PKR' currencyname = 'Pakistani Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'PLN' currencyname = 'Polish Zloty (new)' currencyshortname = 'Zloty' )
-( language = 'E' currency = 'PTE' currencyname = 'Portuguese Escudo (Old --> EUR)' currencyshortname = 'Escudo' )
-( language = 'E' currency = 'PYG' currencyname = 'Paraguayan Guarani' currencyshortname = 'Guarani' )
-( language = 'E' currency = 'QAR' currencyname = 'Qatar Rial' currencyshortname = 'Rial' )
-( language = 'E' currency = 'RMB' currencyname = 'Chinese Yuan Renminbi' currencyshortname = 'Yuan Renminbi' )
-( language = 'E' currency = 'ROL' currencyname = 'Romanian Leu (Old)' currencyshortname = 'Leu (Old)' )
-( language = 'E' currency = 'RON' currencyname = 'Romanian Leu' currencyshortname = 'Leu' )
-( language = 'E' currency = 'RSD' currencyname = 'Serbian Dinar' currencyshortname = 'Serbian Dinar' )
-( language = 'E' currency = 'RUB' currencyname = 'Russian Ruble' currencyshortname = 'Ruble' )
-( language = 'E' currency = 'RWF' currencyname = 'Rwandan Franc' currencyshortname = 'Franc' )
-( language = 'E' currency = 'SAR' currencyname = 'Saudi Riyal' currencyshortname = 'Rial' )
-( language = 'E' currency = 'SBD' currencyname = 'Solomon Islands Dollar' currencyshortname = 'Sol.Isl.Dollar' )
-( language = 'E' currency = 'SCR' currencyname = 'Seychelles Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'SDD' currencyname = 'Sudanese Dinar (Old)' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'SDG' currencyname = 'Sudanese Pound' currencyshortname = 'Pound' )
-( language = 'E' currency = 'SDP' currencyname = 'Sudanese Pound (until 1992)' currencyshortname = 'Pound' )
-( language = 'E' currency = 'SEK' currencyname = 'Swedish Krona' currencyshortname = 'Swedish Krona' )
-( language = 'E' currency = 'SGD' currencyname = 'Singapore Dollar' currencyshortname = 'Sing.Dollar' )
-( language = 'E' currency = 'SHP' currencyname = 'St.Helena Pound' currencyshortname = 'St.Helena Pound' )
-( language = 'E' currency = 'SIT' currencyname = 'Slovenian Tolar (Old --> EUR)' currencyshortname = 'Tolar' )
-( language = 'E' currency = 'SKK' currencyname = 'Slovakian Krona (Old --> EUR)' currencyshortname = 'Krona' )
-( language = 'E' currency = 'SLL' currencyname = 'Sierra Leone Leone' currencyshortname = 'Leone' )
-( language = 'E' currency = 'SOS' currencyname = 'Somalian Shilling' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'SRD' currencyname = 'Surinam Dollar' currencyshortname = 'Surinam Doillar' )
-( language = 'E' currency = 'SRG' currencyname = 'Surinam Guilder (Old)' currencyshortname = 'Surinam Guilder' )
-( language = 'E' currency = 'SSP' currencyname = 'South Sudanese Pound' currencyshortname = 'Pound' )
-( language = 'E' currency = 'STD' currencyname = 'Sao Tome / Principe Dobra' currencyshortname = 'Dobra' )
-( language = 'E' currency = 'SVC' currencyname = 'El Salvador Colon' currencyshortname = 'Colon' )
-( language = 'E' currency = 'SYP' currencyname = 'Syrian Pound' currencyshortname = 'Syrian Pound' )
-( language = 'E' currency = 'SZL' currencyname = 'Swaziland Lilangeni' currencyshortname = 'Lilangeni' )
-( language = 'E' currency = 'THB' currencyname = 'Thailand Baht' currencyshortname = 'Baht' )
-( language = 'E' currency = 'TJR' currencyname = 'Tajikistani Ruble (Old)' currencyshortname = 'Ruble' )
-( language = 'E' currency = 'TJS' currencyname = 'Tajikistani Somoni' currencyshortname = 'Somoni' )
-( language = 'E' currency = 'TMM' currencyname = 'Turkmenistani Manat (Old)' currencyshortname = 'Manat (Old)' )
-( language = 'E' currency = 'TMT' currencyname = 'Turkmenistani Manat' currencyshortname = 'Manat' )
-( language = 'E' currency = 'TND' currencyname = 'Tunisian Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'TOP' currencyname = 'Tongan Pa''anga' currencyshortname = 'Pa''anga' )
-( language = 'E' currency = 'TPE' currencyname = 'Timor Escudo --> USD' currencyshortname = 'Timor Escudo' )
-( language = 'E' currency = 'TRL' currencyname = 'Turkish Lira (Old)' currencyshortname = 'Lira (Old)' )
-( language = 'E' currency = 'TRY' currencyname = 'Turkish Lira' currencyshortname = 'Lira' )
-( language = 'E' currency = 'TTD' currencyname = 'Trinidad and Tobago Dollar' currencyshortname = 'T.+ T. Dollar' )
-( language = 'E' currency = 'TWD' currencyname = 'New Taiwan Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'TZS' currencyname = 'Tanzanian Shilling' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'UAH' currencyname = 'Ukraine Hryvnia' currencyshortname = 'Hryvnia' )
-( language = 'E' currency = 'UGX' currencyname = 'Ugandan Shilling' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'USD' currencyname = 'United States Dollar' currencyshortname = 'US Dollar' )
-( language = 'E' currency = 'USDN' currencyname = '(Internal) United States Dollar (5 Dec.)' currencyshortname = 'US Dollar' )
-( language = 'E' currency = 'UYU' currencyname = 'Uruguayan Peso' currencyshortname = 'Peso' )
-( language = 'E' currency = 'UZS' currencyname = 'Uzbekistan Som' currencyshortname = 'Total' )
-( language = 'E' currency = 'VEB' currencyname = 'Venezuelan Bolivar (Old)' currencyshortname = 'Bolivar (Old)' )
-( language = 'E' currency = 'VEF' currencyname = 'Venezuelan Bolivar' currencyshortname = 'Bolivar' )
-( language = 'E' currency = 'VND' currencyname = 'Vietnamese Dong' currencyshortname = 'Dong' )
-( language = 'E' currency = 'VUV' currencyname = 'Vanuatu Vatu' currencyshortname = 'Vatu' )
-( language = 'E' currency = 'WST' currencyname = 'Samoan Tala' currencyshortname = 'Tala' )
-( language = 'E' currency = 'XAF' currencyname = 'Gabon CFA Franc BEAC' currencyshortname = 'CFA Franc BEAC' )
-( language = 'E' currency = 'XCD' currencyname = 'East Carribean Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'XEU' currencyname = 'European Currency Unit (E.C.U.)' currencyshortname = 'E.C.U.' )
-( language = 'E' currency = 'XOF' currencyname = 'Benin CFA Franc BCEAO' currencyshortname = 'CFA Franc BCEAO' )
-( language = 'E' currency = 'XPF' currencyname = 'CFP Franc' currencyshortname = 'Franc' )
-( language = 'E' currency = 'YER' currencyname = 'Yemeni Ryal' currencyshortname = 'Yemeni Ryal' )
-( language = 'E' currency = 'YUM' currencyname = 'New Yugoslavian Dinar (Old)' currencyshortname = 'New Dinar' )
-( language = 'E' currency = 'ZAR' currencyname = 'South African Rand' currencyshortname = 'Rand' )
-( language = 'E' currency = 'ZMK' currencyname = 'Zambian Kwacha (Old)' currencyshortname = 'Kwacha' )
-( language = 'E' currency = 'ZMW' currencyname = 'Zambian Kwacha (New)' currencyshortname = 'Kwacha' )
-( language = 'E' currency = 'ZRN' currencyname = 'Zaire (Old)' currencyshortname = 'Zaire' )
-( language = 'E' currency = 'ZWD' currencyname = 'Zimbabwean Dollar (Old)' currencyshortname = 'Zimbabwe Dollar' )
-( language = 'E' currency = 'ZWL' currencyname = 'Zimbabwean Dollar (New)' currencyshortname = 'Zimbabwe Dollar' )
-( language = 'E' currency = 'ZWN' currencyname = 'Zimbabwean Dollar (Old)' currencyshortname = 'Zimbabwe Dollar' )
-( language = 'E' currency = 'ZWR' currencyname = 'Zimbabwean Dollar (Old)' currencyshortname = 'Zimbabwe Dollar' )
- ).
+ Language = 'E'
+ ( Currency = 'ADP' CurrencyName = 'Andorran Peseta --> (Old --> EUR)' CurrencyShortName = 'Peseta' )
+ ( Currency = 'AED' CurrencyName = 'United Arab Emirates Dirham' CurrencyShortName = 'Dirham' )
+ ( Currency = 'AFA' CurrencyName = 'Afghani (Old)' CurrencyShortName = 'Afghani' )
+ ( Currency = 'AFN' CurrencyName = 'Afghani' CurrencyShortName = 'Afghani' )
+ ( Currency = 'ALL' CurrencyName = 'Albanian Lek' CurrencyShortName = 'Lek' )
+ ( Currency = 'AMD' CurrencyName = 'Armenian Dram' CurrencyShortName = 'Dram' )
+ ( Currency = 'ANG' CurrencyName = 'West Indian Guilder' CurrencyShortName = 'W.Ind.Guilder' )
+ ( Currency = 'AOA' CurrencyName = 'Angolanische Kwanza' CurrencyShortName = 'Kwansa' )
+ ( Currency = 'AON' CurrencyName = 'Angolan New Kwanza (Old)' CurrencyShortName = 'New Kwanza' )
+ ( Currency = 'AOR' CurrencyName = 'Angolan Kwanza Reajustado (Old)' CurrencyShortName = 'Kwanza Reajust.' )
+ ( Currency = 'ARS' CurrencyName = 'Argentine Peso' CurrencyShortName = 'Arg. Peso' )
+ ( Currency = 'ATS' CurrencyName = 'Austrian Schilling (Old --> EUR)' CurrencyShortName = 'Shilling' )
+ ( Currency = 'AUD' CurrencyName = 'Australian Dollar' CurrencyShortName = 'Austr. Dollar' )
+ ( Currency = 'AWG' CurrencyName = 'Aruban Florin' CurrencyShortName = 'Aruban Florin' )
+ ( Currency = 'AZM' CurrencyName = 'Azerbaijani Manat (Old)' CurrencyShortName = 'Manat' )
+ ( Currency = 'AZN' CurrencyName = 'Azerbaijani Manat' CurrencyShortName = 'Manat' )
+ ( Currency = 'BAM' CurrencyName = 'Bosnia and Herzegovina Convertible Mark' CurrencyShortName = 'Convert. Mark' )
+ ( Currency = 'BBD' CurrencyName = 'Barbados Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'BDT' CurrencyName = 'Bangladesh Taka' CurrencyShortName = 'Taka' )
+ ( Currency = 'BEF' CurrencyName = 'Belgian Franc (Old --> EUR)' CurrencyShortName = 'Belgian Franc' )
+ ( Currency = 'BGN' CurrencyName = 'Bulgarian Lev' CurrencyShortName = 'Lev' )
+ ( Currency = 'BHD' CurrencyName = 'Bahraini Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'BIF' CurrencyName = 'Burundi Franc' CurrencyShortName = 'Burundi Franc' )
+ ( Currency = 'BMD' CurrencyName = 'Bermudan Dollar' CurrencyShortName = 'Bermudan Dollar' )
+ ( Currency = 'BND' CurrencyName = 'Brunei Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'BOB' CurrencyName = 'Boliviano' CurrencyShortName = 'Boliviano' )
+ ( Currency = 'BRL' CurrencyName = 'Brazilian Real' CurrencyShortName = 'Real' )
+ ( Currency = 'BSD' CurrencyName = 'Bahaman Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'BTN' CurrencyName = 'Bhutan Ngultrum' CurrencyShortName = 'Ngultrum' )
+ ( Currency = 'BWP' CurrencyName = 'Botswana Pula' CurrencyShortName = 'Pula' )
+ ( Currency = 'BYB' CurrencyName = 'Belarusian Ruble (Old)' CurrencyShortName = 'Belarus. Ruble' )
+ ( Currency = 'BYN' CurrencyName = 'Belarusian Ruble (New)' CurrencyShortName = 'Bela. Ruble N.' )
+ ( Currency = 'BYR' CurrencyName = 'Belarusian Ruble' CurrencyShortName = 'Ruble' )
+ ( Currency = 'BZD' CurrencyName = 'Belize Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'CAD' CurrencyName = 'Canadian Dollar' CurrencyShortName = 'Canadian Dollar' )
+ ( Currency = 'CDF' CurrencyName = 'Congolese Franc' CurrencyShortName = 'test data' )
+ ( Currency = 'CFP' CurrencyName = 'French Franc (Pacific Islands)' CurrencyShortName = 'Fr. Franc (Pac)' )
+ ( Currency = 'CHF' CurrencyName = 'Swiss Franc' CurrencyShortName = 'Swiss Franc' )
+ ( Currency = 'CLP' CurrencyName = 'Chilean Peso' CurrencyShortName = 'Peso' )
+ ( Currency = 'CNY' CurrencyName = 'Chinese Renminbi' CurrencyShortName = 'Renminbi' )
+ ( Currency = 'COP' CurrencyName = 'Colombian Peso' CurrencyShortName = 'Peso' )
+ ( Currency = 'CRC' CurrencyName = 'Costa Rica Colon' CurrencyShortName = 'Cost.Rica Colon' )
+ ( Currency = 'CSD' CurrencyName = 'Serbian Dinar (Old)' CurrencyShortName = 'Serbian Dinar' )
+ ( Currency = 'CUC' CurrencyName = 'Peso Convertible' CurrencyShortName = 'Peso Convertib.' )
+ ( Currency = 'CUP' CurrencyName = 'Cuban Peso' CurrencyShortName = 'Cuban Peso' )
+ ( Currency = 'CVE' CurrencyName = 'Cape Verde Escudo' CurrencyShortName = 'Escudo' )
+ ( Currency = 'CYP' CurrencyName = 'Cyprus Pound (Old --> EUR)' CurrencyShortName = 'Cyprus Pound' )
+ ( Currency = 'CZK' CurrencyName = 'Czech Krona' CurrencyShortName = 'Krona' )
+ ( Currency = 'DEM' CurrencyName = 'German Mark (Old --> EUR)' CurrencyShortName = 'German Mark' )
+ ( Currency = 'DEM3' CurrencyName = '(Internal) German Mark (3 dec.places)' CurrencyShortName = '(Int.) DEM 3 DP' )
+ ( Currency = 'DJF' CurrencyName = 'Djibouti Franc' CurrencyShortName = 'Djibouti Franc' )
+ ( Currency = 'DKK' CurrencyName = 'Danish Krone' CurrencyShortName = 'Danish Krone' )
+ ( Currency = 'DOP' CurrencyName = 'Dominican Peso' CurrencyShortName = 'Dominican Peso' )
+ ( Currency = 'DZD' CurrencyName = 'Algerian Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'ECS' CurrencyName = 'Ecuadorian Sucre (Old --> USD)' CurrencyShortName = 'Sucre' )
+ ( Currency = 'EEK' CurrencyName = 'Estonian Krone (Old --> EUR)' CurrencyShortName = 'Krona' )
+ ( Currency = 'EGP' CurrencyName = 'Egyptian Pound' CurrencyShortName = 'Pound' )
+ ( Currency = 'ERN' CurrencyName = 'Eritrean Nafka' CurrencyShortName = 'Nakfa' )
+ ( Currency = 'ESP' CurrencyName = 'Spanish Peseta (Old --> EUR)' CurrencyShortName = 'Peseta' )
+ ( Currency = 'ETB' CurrencyName = 'Ethiopian Birr' CurrencyShortName = 'Birr' )
+ ( Currency = 'EUR' CurrencyName = 'European Euro' CurrencyShortName = 'Euro' )
+ ( Currency = 'FIM' CurrencyName = 'Finnish Markka (Old --> EUR)' CurrencyShortName = 'Finnish markka' )
+ ( Currency = 'FJD' CurrencyName = 'Fiji Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'FKP' CurrencyName = 'Falkland Pound' CurrencyShortName = 'Falkland Pound' )
+ ( Currency = 'FRF' CurrencyName = 'French Franc (Old --> EUR)' CurrencyShortName = 'French Franc' )
+ ( Currency = 'GBP' CurrencyName = 'British Pound' CurrencyShortName = 'Pound sterling' )
+ ( Currency = 'GEL' CurrencyName = 'Georgian Lari' CurrencyShortName = 'Lari' )
+ ( Currency = 'GHC' CurrencyName = 'Ghanaian Cedi (Old)' CurrencyShortName = 'Cedi' )
+ ( Currency = 'GHS' CurrencyName = 'Ghanian Cedi' CurrencyShortName = 'Cedi' )
+ ( Currency = 'GIP' CurrencyName = 'Gibraltar Pound' CurrencyShortName = 'Gibraltar Pound' )
+ ( Currency = 'GMD' CurrencyName = 'Gambian Dalasi' CurrencyShortName = 'Dalasi' )
+ ( Currency = 'GNF' CurrencyName = 'Guinean Franc' CurrencyShortName = 'Franc' )
+ ( Currency = 'GRD' CurrencyName = 'Greek Drachma (Old --> EUR)' CurrencyShortName = 'Drachma' )
+ ( Currency = 'GTQ' CurrencyName = 'Guatemalan Quetzal' CurrencyShortName = 'Quetzal' )
+ ( Currency = 'GWP' CurrencyName = 'Guinea Peso (Old --> SHP)' CurrencyShortName = 'Guinea Peso' )
+ ( Currency = 'GYD' CurrencyName = 'Guyana Dollar' CurrencyShortName = 'Guyana Dollar' )
+ ( Currency = 'HKD' CurrencyName = 'Hong Kong Dollar' CurrencyShortName = 'H.K.Dollar' )
+ ( Currency = 'HNL' CurrencyName = 'Honduran Lempira' CurrencyShortName = 'Lempira' )
+ ( Currency = 'HRK' CurrencyName = 'Croatian Kuna' CurrencyShortName = 'Kuna' )
+ ( Currency = 'HTG' CurrencyName = 'Haitian Gourde' CurrencyShortName = 'Gourde' )
+ ( Currency = 'HUF' CurrencyName = 'Hungarian Forint' CurrencyShortName = 'Forint' )
+ ( Currency = 'IDR' CurrencyName = 'Indonesian Rupiah' CurrencyShortName = 'Rupiah' )
+ ( Currency = 'IEP' CurrencyName = 'Irish Punt (Old --> EUR)' CurrencyShortName = 'Irish Punt' )
+ ( Currency = 'ILS' CurrencyName = 'Israeli Scheckel' CurrencyShortName = 'Scheckel' )
+ ( Currency = 'INR' CurrencyName = 'Indian Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'IQD' CurrencyName = 'Iraqui Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'IRR' CurrencyName = 'Iranian Rial' CurrencyShortName = 'Rial' )
+ ( Currency = 'ISK' CurrencyName = 'Iceland Krona' CurrencyShortName = 'Krona' )
+ ( Currency = 'ITL' CurrencyName = 'Italian Lira (Old --> EUR)' CurrencyShortName = 'Lire' )
+ ( Currency = 'JMD' CurrencyName = 'Jamaican Dollar' CurrencyShortName = 'Jamaican Dollar' )
+ ( Currency = 'JOD' CurrencyName = 'Jordanian Dinar' CurrencyShortName = 'Jordanian Dinar' )
+ ( Currency = 'JPY' CurrencyName = 'Japanese Yen' CurrencyShortName = 'Yen' )
+ ( Currency = 'KES' CurrencyName = 'Kenyan Shilling' CurrencyShortName = 'Shilling' )
+ ( Currency = 'KGS' CurrencyName = 'Kyrgyzstan Som' CurrencyShortName = 'Som' )
+ ( Currency = 'KHR' CurrencyName = 'Cambodian Riel' CurrencyShortName = 'Riel' )
+ ( Currency = 'KMF' CurrencyName = 'Comoros Franc' CurrencyShortName = 'Comoros Franc' )
+ ( Currency = 'KPW' CurrencyName = 'North Korean Won' CurrencyShortName = 'N. Korean Won' )
+ ( Currency = 'KRW' CurrencyName = 'South Korean Won' CurrencyShortName = 'S.Korean Won' )
+ ( Currency = 'KWD' CurrencyName = 'Kuwaiti Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'KYD' CurrencyName = 'Cayman Dollar' CurrencyShortName = 'Cayman Dollar' )
+ ( Currency = 'KZT' CurrencyName = 'Kazakstanian Tenge' CurrencyShortName = 'Tenge' )
+ ( Currency = 'LAK' CurrencyName = 'Laotian Kip' CurrencyShortName = 'Kip' )
+ ( Currency = 'LBP' CurrencyName = 'Lebanese Pound' CurrencyShortName = 'Lebanese Pound' )
+ ( Currency = 'LKR' CurrencyName = 'Sri Lankan Rupee' CurrencyShortName = 'Sri Lanka Rupee' )
+ ( Currency = 'LRD' CurrencyName = 'Liberian Dollar' CurrencyShortName = 'Liberian Dollar' )
+ ( Currency = 'LSL' CurrencyName = 'Lesotho Loti' CurrencyShortName = 'Loti' )
+ ( Currency = 'LTL' CurrencyName = 'Lithuanian Lita' CurrencyShortName = 'Lita' )
+ ( Currency = 'LUF' CurrencyName = 'Luxembourg Franc (Old --> EUR)' CurrencyShortName = 'Lux. Franc' )
+ ( Currency = 'LVL' CurrencyName = 'Latvian Lat' CurrencyShortName = 'Lat' )
+ ( Currency = 'LYD' CurrencyName = 'Libyan Dinar' CurrencyShortName = 'Libyan Dinar' )
+ ( Currency = 'MAD' CurrencyName = 'Moroccan Dirham' CurrencyShortName = 'Dirham' )
+ ( Currency = 'MDL' CurrencyName = 'Moldavian Leu' CurrencyShortName = 'Leu' )
+ ( Currency = 'MGA' CurrencyName = 'Madagascan Ariary' CurrencyShortName = 'Madagasc.Ariary' )
+ ( Currency = 'MGF' CurrencyName = 'Madagascan Franc (Old' CurrencyShortName = 'Madagascan Fr.' )
+ ( Currency = 'MKD' CurrencyName = 'Macedonian Denar' CurrencyShortName = 'Maced. Denar' )
+ ( Currency = 'MMK' CurrencyName = 'Myanmar Kyat' CurrencyShortName = 'Kyat' )
+ ( Currency = 'MNT' CurrencyName = 'Mongolian Tugrik' CurrencyShortName = 'Tugrik' )
+ ( Currency = 'MOP' CurrencyName = 'Macao Pataca' CurrencyShortName = 'Pataca' )
+ ( Currency = 'MRO' CurrencyName = 'Mauritanian Ouguiya' CurrencyShortName = 'Ouguiya' )
+ ( Currency = 'MTL' CurrencyName = 'Maltese Lira (Old --> EUR)' CurrencyShortName = 'Lira' )
+ ( Currency = 'MUR' CurrencyName = 'Mauritian Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'MVR' CurrencyName = 'Maldive Rufiyaa' CurrencyShortName = 'Rufiyaa' )
+ ( Currency = 'MWK' CurrencyName = 'Malawi Kwacha' CurrencyShortName = 'Malawi Kwacha' )
+ ( Currency = 'MXN' CurrencyName = 'Mexican Pesos' CurrencyShortName = 'Peso' )
+ ( Currency = 'MYR' CurrencyName = 'Malaysian Ringgit' CurrencyShortName = 'Ringgit' )
+ ( Currency = 'MZM' CurrencyName = 'Mozambique Metical (Old)' CurrencyShortName = 'Metical' )
+ ( Currency = 'MZN' CurrencyName = 'Mozambique Metical' CurrencyShortName = 'Metical' )
+ ( Currency = 'NAD' CurrencyName = 'Namibian Dollar' CurrencyShortName = 'Namibian Dollar' )
+ ( Currency = 'NGN' CurrencyName = 'Nigerian Naira' CurrencyShortName = 'Naira' )
+ ( Currency = 'NIO' CurrencyName = 'Nicaraguan Cordoba Oro' CurrencyShortName = 'Cordoba Oro' )
+ ( Currency = 'NLG' CurrencyName = 'Dutch Guilder (Old --> EUR)' CurrencyShortName = 'Guilder' )
+ ( Currency = 'NOK' CurrencyName = 'Norwegian Krone' CurrencyShortName = 'Norwegian Krone' )
+ ( Currency = 'NPR' CurrencyName = 'Nepalese Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'NZD' CurrencyName = 'New Zealand Dollars' CurrencyShortName = 'N.Zeal.Dollars' )
+ ( Currency = 'OMR' CurrencyName = 'Omani Rial' CurrencyShortName = 'Omani Rial' )
+ ( Currency = 'PAB' CurrencyName = 'Panamanian Balboa' CurrencyShortName = 'Balboa' )
+ ( Currency = 'PEN' CurrencyName = 'Peruvian New Sol' CurrencyShortName = 'New Sol' )
+ ( Currency = 'PGK' CurrencyName = 'Papua New Guinea Kina' CurrencyShortName = 'Kina' )
+ ( Currency = 'PHP' CurrencyName = 'Philippine Peso' CurrencyShortName = 'Peso' )
+ ( Currency = 'PKR' CurrencyName = 'Pakistani Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'PLN' CurrencyName = 'Polish Zloty (new)' CurrencyShortName = 'Zloty' )
+ ( Currency = 'PTE' CurrencyName = 'Portuguese Escudo (Old --> EUR)' CurrencyShortName = 'Escudo' )
+ ( Currency = 'PYG' CurrencyName = 'Paraguayan Guarani' CurrencyShortName = 'Guarani' )
+ ( Currency = 'QAR' CurrencyName = 'Qatar Rial' CurrencyShortName = 'Rial' )
+ ( Currency = 'RMB' CurrencyName = 'Chinese Yuan Renminbi' CurrencyShortName = 'Yuan Renminbi' )
+ ( Currency = 'ROL' CurrencyName = 'Romanian Leu (Old)' CurrencyShortName = 'Leu (Old)' )
+ ( Currency = 'RON' CurrencyName = 'Romanian Leu' CurrencyShortName = 'Leu' )
+ ( Currency = 'RSD' CurrencyName = 'Serbian Dinar' CurrencyShortName = 'Serbian Dinar' )
+ ( Currency = 'RUB' CurrencyName = 'Russian Ruble' CurrencyShortName = 'Ruble' )
+ ( Currency = 'RWF' CurrencyName = 'Rwandan Franc' CurrencyShortName = 'Franc' )
+ ( Currency = 'SAR' CurrencyName = 'Saudi Riyal' CurrencyShortName = 'Rial' )
+ ( Currency = 'SBD' CurrencyName = 'Solomon Islands Dollar' CurrencyShortName = 'Sol.Isl.Dollar' )
+ ( Currency = 'SCR' CurrencyName = 'Seychelles Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'SDD' CurrencyName = 'Sudanese Dinar (Old)' CurrencyShortName = 'Dinar' )
+ ( Currency = 'SDG' CurrencyName = 'Sudanese Pound' CurrencyShortName = 'Pound' )
+ ( Currency = 'SDP' CurrencyName = 'Sudanese Pound (until 1992)' CurrencyShortName = 'Pound' )
+ ( Currency = 'SEK' CurrencyName = 'Swedish Krona' CurrencyShortName = 'Swedish Krona' )
+ ( Currency = 'SGD' CurrencyName = 'Singapore Dollar' CurrencyShortName = 'Sing.Dollar' )
+ ( Currency = 'SHP' CurrencyName = 'St.Helena Pound' CurrencyShortName = 'St.Helena Pound' )
+ ( Currency = 'SIT' CurrencyName = 'Slovenian Tolar (Old --> EUR)' CurrencyShortName = 'Tolar' )
+ ( Currency = 'SKK' CurrencyName = 'Slovakian Krona (Old --> EUR)' CurrencyShortName = 'Krona' )
+ ( Currency = 'SLL' CurrencyName = 'Sierra Leone Leone' CurrencyShortName = 'Leone' )
+ ( Currency = 'SOS' CurrencyName = 'Somalian Shilling' CurrencyShortName = 'Shilling' )
+ ( Currency = 'SRD' CurrencyName = 'Surinam Dollar' CurrencyShortName = 'Surinam Doillar' )
+ ( Currency = 'SRG' CurrencyName = 'Surinam Guilder (Old)' CurrencyShortName = 'Surinam Guilder' )
+ ( Currency = 'SSP' CurrencyName = 'South Sudanese Pound' CurrencyShortName = 'Pound' )
+ ( Currency = 'STD' CurrencyName = 'Sao Tome / Principe Dobra' CurrencyShortName = 'Dobra' )
+ ( Currency = 'SVC' CurrencyName = 'El Salvador Colon' CurrencyShortName = 'Colon' )
+ ( Currency = 'SYP' CurrencyName = 'Syrian Pound' CurrencyShortName = 'Syrian Pound' )
+ ( Currency = 'SZL' CurrencyName = 'Swaziland Lilangeni' CurrencyShortName = 'Lilangeni' )
+ ( Currency = 'THB' CurrencyName = 'Thailand Baht' CurrencyShortName = 'Baht' )
+ ( Currency = 'TJR' CurrencyName = 'Tajikistani Ruble (Old)' CurrencyShortName = 'Ruble' )
+ ( Currency = 'TJS' CurrencyName = 'Tajikistani Somoni' CurrencyShortName = 'Somoni' )
+ ( Currency = 'TMM' CurrencyName = 'Turkmenistani Manat (Old)' CurrencyShortName = 'Manat (Old)' )
+ ( Currency = 'TMT' CurrencyName = 'Turkmenistani Manat' CurrencyShortName = 'Manat' )
+ ( Currency = 'TND' CurrencyName = 'Tunisian Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'TOP' CurrencyName = 'Tongan Pa''anga' CurrencyShortName = 'Pa''anga' )
+ ( Currency = 'TPE' CurrencyName = 'Timor Escudo --> USD' CurrencyShortName = 'Timor Escudo' )
+ ( Currency = 'TRL' CurrencyName = 'Turkish Lira (Old)' CurrencyShortName = 'Lira (Old)' )
+ ( Currency = 'TRY' CurrencyName = 'Turkish Lira' CurrencyShortName = 'Lira' )
+ ( Currency = 'TTD' CurrencyName = 'Trinidad and Tobago Dollar' CurrencyShortName = 'T.+ T. Dollar' )
+ ( Currency = 'TWD' CurrencyName = 'New Taiwan Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'TZS' CurrencyName = 'Tanzanian Shilling' CurrencyShortName = 'Shilling' )
+ ( Currency = 'UAH' CurrencyName = 'Ukraine Hryvnia' CurrencyShortName = 'Hryvnia' )
+ ( Currency = 'UGX' CurrencyName = 'Ugandan Shilling' CurrencyShortName = 'Shilling' )
+ ( Currency = 'USD' CurrencyName = 'United States Dollar' CurrencyShortName = 'US Dollar' )
+ ( Currency = 'USDN' CurrencyName = '(Internal) United States Dollar (5 Dec.)' CurrencyShortName = 'US Dollar' )
+ ( Currency = 'UYU' CurrencyName = 'Uruguayan Peso' CurrencyShortName = 'Peso' )
+ ( Currency = 'UZS' CurrencyName = 'Uzbekistan Som' CurrencyShortName = 'Total' )
+ ( Currency = 'VEB' CurrencyName = 'Venezuelan Bolivar (Old)' CurrencyShortName = 'Bolivar (Old)' )
+ ( Currency = 'VEF' CurrencyName = 'Venezuelan Bolivar' CurrencyShortName = 'Bolivar' )
+ ( Currency = 'VND' CurrencyName = 'Vietnamese Dong' CurrencyShortName = 'Dong' )
+ ( Currency = 'VUV' CurrencyName = 'Vanuatu Vatu' CurrencyShortName = 'Vatu' )
+ ( Currency = 'WST' CurrencyName = 'Samoan Tala' CurrencyShortName = 'Tala' )
+ ( Currency = 'XAF' CurrencyName = 'Gabon CFA Franc BEAC' CurrencyShortName = 'CFA Franc BEAC' )
+ ( Currency = 'XCD' CurrencyName = 'East Carribean Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'XEU' CurrencyName = 'European Currency Unit (E.C.U.)' CurrencyShortName = 'E.C.U.' )
+ ( Currency = 'XOF' CurrencyName = 'Benin CFA Franc BCEAO' CurrencyShortName = 'CFA Franc BCEAO' )
+ ( Currency = 'XPF' CurrencyName = 'CFP Franc' CurrencyShortName = 'Franc' )
+ ( Currency = 'YER' CurrencyName = 'Yemeni Ryal' CurrencyShortName = 'Yemeni Ryal' )
+ ( Currency = 'YUM' CurrencyName = 'New Yugoslavian Dinar (Old)' CurrencyShortName = 'New Dinar' )
+ ( Currency = 'ZAR' CurrencyName = 'South African Rand' CurrencyShortName = 'Rand' )
+ ( Currency = 'ZMK' CurrencyName = 'Zambian Kwacha (Old)' CurrencyShortName = 'Kwacha' )
+ ( Currency = 'ZMW' CurrencyName = 'Zambian Kwacha (New)' CurrencyShortName = 'Kwacha' )
+ ( Currency = 'ZRN' CurrencyName = 'Zaire (Old)' CurrencyShortName = 'Zaire' )
+ ( Currency = 'ZWD' CurrencyName = 'Zimbabwean Dollar (Old)' CurrencyShortName = 'Zimbabwe Dollar' )
+ ( Currency = 'ZWL' CurrencyName = 'Zimbabwean Dollar (New)' CurrencyShortName = 'Zimbabwe Dollar' )
+ ( Currency = 'ZWN' CurrencyName = 'Zimbabwean Dollar (Old)' CurrencyShortName = 'Zimbabwe Dollar' )
+ ( Currency = 'ZWR' CurrencyName = 'Zimbabwean Dollar (Old)' CurrencyShortName = 'Zimbabwe Dollar' ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
IF check_initialized = abap_false.
-
- DATA(lv_script) = ` debugger;` && |\n| &&
- `function setInputFIlter(){` && |\n| &&
- ` var inp = sap.z2ui5.oView.byId('suggInput');` && |\n| &&
- ` inp.setFilterFunction(function(sValue, oItem){` && |\n| &&
-
- ` var aSplit = sValue.split(" ");` && |\n| &&
- ` if (aSplit.length > 0) {` && |\n| &&
- ` var sTermNew = aSplit.slice(-1)[0];` && |\n| &&
- ` sTermNew.trim();` && |\n| &&
- ` if (sTermNew) {` && |\n| &&
- ` if (oItem.mAggregations.cells[0].mProperties.text.match(new RegExp(sTermNew, "i"))` && |\n| &&
- ` || oItem.mAggregations.cells[1].mProperties.text.match(new RegExp(sTermNew, "i")) ) {` && |\n| &&
- ` return true;` && |\n| &&
- ` } else return false;` && |\n| &&
- ` }` && |\n| &&
- ` }` && |\n| &&
- ` });` && |\n| &&
- `}`.
-
+ DATA(lv_script) = | debugger;| && |\n| &&
+ |function setInputFIlter()\{| && |\n| &&
+ | var inp = sap.z2ui5.oView.byId('suggInput');| && |\n| &&
+ | inp.setFilterFunction(function(sValue, oItem)\{| && |\n| &&
+
+ | var aSplit = sValue.split(" ");| && |\n| &&
+ | if (aSplit.length > 0) \{| && |\n| &&
+ | var sTermNew = aSplit.slice(-1)[0];| && |\n| &&
+ | sTermNew.trim();| && |\n| &&
+ | if (sTermNew) \{| && |\n| &&
+ | if (oItem.mAggregations.cells[0].mProperties.text.match(new RegExp(sTermNew, "i"))| && |\n| &&
+ | \|\| oItem.mAggregations.cells[1].mProperties.text.match(new RegExp(sTermNew, "i")) ) \{| && |\n| &&
+ | return true;| && |\n| &&
+ | \} else return false;| && |\n| &&
+ | \}| && |\n| &&
+ | \}| && |\n| &&
+ | \});| && |\n| &&
+ |\}|.
check_initialized = abap_true.
set_data( ).
client->view_display( z2ui5_cl_xml_view=>factory(
- )->_z2ui5( )->timer( client->_event( `START` )
- )->_generic( ns = `html` name = `script` )->_cc_plain_xml( lv_script
+ )->_z2ui5( )->timer( client->_event( `START` )
+ )->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( lv_script
)->stringify( ) ).
-
ENDIF.
IF client->get( )-event IS NOT INITIAL.
@@ -303,7 +295,6 @@ CLASS Z2UI5_CL_DEMO_APP_060 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -312,11 +303,11 @@ CLASS Z2UI5_CL_DEMO_APP_060 IMPLEMENTATION.
WHEN 'ON_SUGGEST'.
DATA lt_range TYPE RANGE OF string.
- lt_range = VALUE #( ( sign = 'I' option = 'CP' low = `*` && input && `*` ) ).
+ lt_range = VALUE #( ( sign = 'I' option = 'CP' low = |*{ input }*| ) ).
CLEAR mt_suggestion_out.
LOOP AT mt_suggestion INTO DATA(ls_sugg)
- WHERE currencyname IN lt_range.
+ WHERE CurrencyName IN lt_range.
INSERT ls_sugg INTO TABLE mt_suggestion_out.
ENDLOOP.
@@ -335,13 +326,12 @@ CLASS Z2UI5_CL_DEMO_APP_060 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_view_display.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell( )->page(
- title = 'abap2UI5 - Live Suggestion Event'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ title = 'abap2UI5 - Live Suggestion Event'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
DATA(grid) = page->grid( 'L6 M12 S12'
)->content( 'layout' ).
@@ -349,15 +339,14 @@ CLASS Z2UI5_CL_DEMO_APP_060 IMPLEMENTATION.
DATA(input) = grid->simple_form( 'Input'
)->content( 'form'
)->label( 'Input with value help'
- )->input(
- id = `suggInput`
- value = client->_bind_edit( input )
- suggest = client->_event( 'ON_SUGGEST' )
- showtablesuggestionvaluehelp = abap_false
- suggestionrows = client->_bind( mt_suggestion_out )
- showsuggestion = abap_true
- valueliveupdate = abap_true
- autocomplete = abap_false
+ )->input( id = `suggInput`
+ value = client->_bind_edit( input )
+ suggest = client->_event( 'ON_SUGGEST' )
+ showtablesuggestionvaluehelp = abap_false
+ suggestionrows = client->_bind( mt_suggestion_out )
+ showsuggestion = abap_true
+ valueliveupdate = abap_true
+ autocomplete = abap_false
)->get( ).
input->suggestion_columns(
@@ -369,9 +358,11 @@ CLASS Z2UI5_CL_DEMO_APP_060 IMPLEMENTATION.
)->label( text = '{CURRENCYNAME}'
)->label( text = '{CURRENCY}' ).
- page->_generic( name = `script` ns = `html` )->_cc_plain_xml( `setInputFIlter()` ).
+ page->_generic( name = `script`
+ ns = `html` )->_cc_plain_xml( `setInputFIlter()` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_061.clas.abap b/src/z2ui5_cl_demo_app_061.clas.abap
index 6513a3b2..424ab8f8 100644
--- a/src/z2ui5_cl_demo_app_061.clas.abap
+++ b/src/z2ui5_cl_demo_app_061.clas.abap
@@ -1,48 +1,42 @@
CLASS z2ui5_cl_demo_app_061 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA t_tab TYPE REF TO data.
+ DATA t_tab TYPE REF TO data.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
+
METHODS set_view.
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_061 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_061 IMPLEMENTATION.
METHOD set_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - RTTI created Table'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - RTTI created Table'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
-
FIELD-SYMBOLS TYPE table.
ASSIGN t_tab->* TO .
- DATA(tab) = page->table(
- items = client->_bind_edit( )
- mode = 'MultiSelect'
+ DATA(tab) = page->table( items = client->_bind_edit( )
+ mode = 'MultiSelect'
)->header_toolbar(
)->overflow_toolbar(
)->title( 'Dynamic typed table'
)->toolbar_spacer(
- )->button(
- text = `server <-> client`
- press = client->_event( val = 'SEND' )
+ )->button( text = `server <-> client`
+ press = client->_event( val = 'SEND' )
)->get_parent( )->get_parent( ).
tab->columns(
@@ -63,7 +57,6 @@ CLASS Z2UI5_CL_DEMO_APP_061 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -75,14 +68,19 @@ CLASS Z2UI5_CL_DEMO_APP_061 IMPLEMENTATION.
FIELD-SYMBOLS TYPE table.
ASSIGN t_tab->* TO .
- INSERT VALUE z2ui5_t_01( id = 'this is an uuid' timestampl = '2023234243' id_prev = 'previous' )
- INTO TABLE .
-
- INSERT VALUE z2ui5_t_01( id = 'this is an uuid' timestampl = '2023234243' id_prev = 'previous' )
- INTO TABLE .
- INSERT VALUE z2ui5_t_01( id = 'this is an uuid' timestampl = '2023234243' id_prev = 'previous' )
- INTO TABLE .
+ INSERT VALUE z2ui5_t_01( id = 'this is an uuid'
+ timestampl = '2023234243'
+ id_prev = 'previous' )
+ INTO TABLE .
+ INSERT VALUE z2ui5_t_01( id = 'this is an uuid'
+ timestampl = '2023234243'
+ id_prev = 'previous' )
+ INTO TABLE .
+ INSERT VALUE z2ui5_t_01( id = 'this is an uuid'
+ timestampl = '2023234243'
+ id_prev = 'previous' )
+ INTO TABLE .
ENDIF.
@@ -92,7 +90,8 @@ CLASS Z2UI5_CL_DEMO_APP_061 IMPLEMENTATION.
ENDCASE.
- set_view( ).
+ set_view( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_062.clas.abap b/src/z2ui5_cl_demo_app_062.clas.abap
index b119f374..dbace37b 100644
--- a/src/z2ui5_cl_demo_app_062.clas.abap
+++ b/src/z2ui5_cl_demo_app_062.clas.abap
@@ -1,13 +1,11 @@
CLASS z2ui5_cl_demo_app_062 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,58 +18,49 @@ CLASS z2ui5_cl_demo_app_062 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_062 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Generic Tag Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
- layout->generic_tag(
- arialabelledby = 'genericTagLabel'
- text = 'Project Cost'
- design = 'StatusIconHidden'
- status = 'Error'
- class = 'sapUiSmallMarginBottom'
- )->object_number(
- state = 'Error'
- emphasized = 'false'
- number = '3.5M'
- unit = 'EUR' ).
-
- layout->generic_tag(
- arialabelledby = 'genericTagLabel'
- text = 'Project Cost'
- design = 'StatusIconHidden'
- status = 'Success'
- class = 'sapUiSmallMarginBottom'
- )->object_number(
- state = 'Success'
- emphasized = 'false'
- number = '3.5M'
- unit = 'EUR' ).
-
- layout->generic_tag(
- arialabelledby = 'genericTagLabel'
- text = 'Input'
- design = 'StatusIconHidden'
- class = 'sapUiSmallMarginBottom'
- )->object_number(
- emphasized = 'true'
- number = '3.5M'
- unit = 'EUR' ).
+ )->page( title = 'abap2UI5 - Generic Tag Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+ layout->generic_tag( arialabelledby = 'genericTagLabel'
+ text = 'Project Cost'
+ design = 'StatusIconHidden'
+ status = 'Error'
+ class = 'sapUiSmallMarginBottom'
+ )->object_number( state = 'Error'
+ emphasized = 'false'
+ number = '3.5M'
+ unit = 'EUR' ).
+
+ layout->generic_tag( arialabelledby = 'genericTagLabel'
+ text = 'Project Cost'
+ design = 'StatusIconHidden'
+ status = 'Success'
+ class = 'sapUiSmallMarginBottom'
+ )->object_number( state = 'Success'
+ emphasized = 'false'
+ number = '3.5M'
+ unit = 'EUR' ).
+
+ layout->generic_tag( arialabelledby = 'genericTagLabel'
+ text = 'Input'
+ design = 'StatusIconHidden'
+ class = 'sapUiSmallMarginBottom'
+ )->object_number( emphasized = 'true'
+ number = '3.5M'
+ unit = 'EUR' ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -83,7 +72,6 @@ CLASS z2ui5_cl_demo_app_062 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -94,4 +82,5 @@ CLASS z2ui5_cl_demo_app_062 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_063.clas.abap b/src/z2ui5_cl_demo_app_063.clas.abap
index b672df33..cf4d5cb9 100644
--- a/src/z2ui5_cl_demo_app_063.clas.abap
+++ b/src/z2ui5_cl_demo_app_063.clas.abap
@@ -1,13 +1,11 @@
CLASS z2ui5_cl_demo_app_063 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,35 +18,30 @@ CLASS z2ui5_cl_demo_app_063 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_063 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Badge Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
- layout->button(
- text = 'Emphasized Button with Badge'
- type = 'Emphasized'
- class = 'sapUiTinyMarginBeginEnd'
- icon = 'sap-icon://cart' )->get(
+ )->page( title = 'abap2UI5 - Badge Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+ layout->button( text = 'Emphasized Button with Badge'
+ type = 'Emphasized'
+ class = 'sapUiTinyMarginBeginEnd'
+ icon = 'sap-icon://cart' )->get(
)->custom_data(
- )->badge_custom_data(
- key = 'badge'
- value = '23'
- visible = abap_true ).
+ )->badge_custom_data( key = 'badge'
+ value = '23'
+ visible = abap_true ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -60,7 +53,6 @@ CLASS z2ui5_cl_demo_app_063 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -71,4 +63,5 @@ CLASS z2ui5_cl_demo_app_063 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_064.clas.abap b/src/z2ui5_cl_demo_app_064.clas.abap
index 6be82099..7ff8a295 100644
--- a/src/z2ui5_cl_demo_app_064.clas.abap
+++ b/src/z2ui5_cl_demo_app_064.clas.abap
@@ -1,11 +1,9 @@
CLASS z2ui5_cl_demo_app_064 DEFINITION
-PUBLIC
-CREATE PUBLIC .
+ PUBLIC
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_s_tab,
@@ -15,21 +13,20 @@ CREATE PUBLIC .
connid TYPE string,
fldate TYPE string,
planetype TYPE string,
- END OF ty_s_tab .
- TYPES:
- ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH DEFAULT KEY .
+ END OF ty_s_tab.
+ TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH DEFAULT KEY.
TYPES:
BEGIN OF ty_s_filter_pop,
option TYPE string,
low TYPE string,
high TYPE string,
key TYPE string,
- END OF ty_s_filter_pop .
+ END OF ty_s_filter_pop.
- DATA mt_mapping TYPE z2ui5_if_types=>ty_t_name_value .
- DATA mv_search_value TYPE string .
- DATA mt_table TYPE ty_t_table .
- DATA lv_selkz TYPE abap_bool .
+ DATA mt_mapping TYPE z2ui5_if_types=>ty_t_name_value.
+ DATA mv_search_value TYPE string.
+ DATA mt_table TYPE ty_t_table.
+ DATA lv_selkz TYPE abap_bool.
DATA mv_check_active TYPE abap_bool.
DATA:
BEGIN OF screen,
@@ -37,31 +34,28 @@ CREATE PUBLIC .
display_value TYPE string VALUE '',
END OF screen.
- DATA mv_percent TYPE i.
+ DATA mv_percent TYPE i.
DATA mv_check_enabled TYPE abap_bool.
- PROTECTED SECTION.
- DATA client TYPE REF TO z2ui5_if_client.
+ PROTECTED SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
-
METHODS z2ui5_on_init.
METHODS z2ui5_on_event.
- PRIVATE SECTION.
+ PRIVATE SECTION.
METHODS set_selkz
IMPORTING
iv_selkz TYPE abap_bool.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_064 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_064 IMPLEMENTATION.
METHOD set_selkz.
- FIELD-SYMBOLS: TYPE ty_s_tab.
+ FIELD-SYMBOLS TYPE ty_s_tab.
LOOP AT mt_table ASSIGNING .
-selkz = iv_selkz.
@@ -69,7 +63,6 @@ CLASS Z2UI5_CL_DEMO_APP_064 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -84,10 +77,7 @@ CLASS Z2UI5_CL_DEMO_APP_064 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
- DATA lt_arg TYPE string_table.
- DATA ls_arg TYPE string.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -112,44 +102,40 @@ CLASS Z2UI5_CL_DEMO_APP_064 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
- DATA temp1 TYPE z2ui5_if_types=>ty_t_name_value.
- DATA view TYPE REF TO z2ui5_cl_xml_view.
+ DATA view TYPE REF TO z2ui5_cl_xml_view.
DATA page1 TYPE REF TO z2ui5_cl_xml_view.
- DATA temp5 TYPE xsdboolean.
- CLEAR temp1.
+ DATA temp5 TYPE abap_bool.
mv_check_enabled = abap_true.
view = z2ui5_cl_xml_view=>factory( ).
- view->_z2ui5( )->timer(
- finished = client->_event( 'LOAD' )
- checkactive = client->_bind( mv_check_active )
+ view->_z2ui5( )->timer( finished = client->_event( 'LOAD' )
+ checkactive = client->_bind( mv_check_active )
).
temp5 = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ).
- page1 = view->shell( )->page( id = 'page_main'
- title = 'abap2UI5 - Progress Bar while Server Request'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = temp5
- class = 'sapUiContentPadding' ).
+ page1 = view->shell( )->page( id = 'page_main'
+ title = 'abap2UI5 - Progress Bar while Server Request'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = temp5
+ class = 'sapUiContentPadding' ).
DATA layout TYPE REF TO z2ui5_cl_xml_view.
- layout = page1->vertical_layout( class = 'sapuicontentpadding' width = '100%' ).
- layout->vbox( )->progress_indicator(
- percentvalue = client->_bind_edit( mv_percent )
- displayvalue = client->_bind_edit( screen-display_value )
- showvalue = abap_true
- state = 'Success' ).
-
- layout->button(
- text = `Load`
- press = client->_event( 'LOAD' )
- enabled = client->_bind( mv_check_enabled ) ).
+ layout = page1->vertical_layout( class = 'sapuicontentpadding'
+ width = '100%' ).
+ layout->vbox( )->progress_indicator( percentvalue = client->_bind_edit( mv_percent )
+ displayvalue = client->_bind_edit( screen-display_value )
+ showvalue = abap_true
+ state = 'Success' ).
+
+ layout->button( text = `Load`
+ press = client->_event( 'LOAD' )
+ enabled = client->_bind( mv_check_enabled ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_065.clas.abap b/src/z2ui5_cl_demo_app_065.clas.abap
index c07fceb0..d40d2edf 100644
--- a/src/z2ui5_cl_demo_app_065.clas.abap
+++ b/src/z2ui5_cl_demo_app_065.clas.abap
@@ -1,48 +1,50 @@
CLASS z2ui5_cl_demo_app_065 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA mv_input_main TYPE string.
- DATA mv_input_nest TYPE string.
+ DATA mv_input_main TYPE string.
+ DATA mv_input_nest TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_065 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
DATA(lo_view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = lo_view->shell(
- )->page(
- title = `Main View` id = `test`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = `Main View`
+ id = `test`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->header_content(
)->link(
-
)->get_parent( ).
page->content(
- )->button( text = 'Rerender all' press = client->_event( 'ALL' )
- )->button( text = 'Rerender Main without nest' press = client->_event( 'MAIN' )
- )->button( text = 'Rerender only nested view' press = client->_event( 'NEST' )
+ )->button( text = 'Rerender all'
+ press = client->_event( 'ALL' )
+ )->button( text = 'Rerender Main without nest'
+ press = client->_event( 'MAIN' )
+ )->button( text = 'Rerender only nested view'
+ press = client->_event( 'NEST' )
)->input( value = client->_bind_edit( mv_input_main ) ).
DATA(lo_view_nested) = z2ui5_cl_xml_view=>factory(
)->page( title = `Nested View`
- )->button( text = 'event' press = client->_event( 'TEST' )
+ )->button( text = 'event'
+ press = client->_event( 'TEST' )
)->button( text = `frontend event`
- press = client->_event_client( val = client->cs_event-open_new_tab t_arg = VALUE #( ( `https://github.com/abap2UI5/abap2UI5/` ) ) )
+ press = client->_event_client( val = client->cs_event-open_new_tab
+ t_arg = VALUE #( ( `https://github.com/abap2UI5/abap2UI5/` ) ) )
)->input( value = client->_bind_edit( mv_input_nest ) ).
IF check_initialized = abap_false.
@@ -55,17 +57,21 @@ CLASS z2ui5_cl_demo_app_065 IMPLEMENTATION.
CASE client->get( )-event.
WHEN `TEST`.
- client->message_box_display( `input ` && mv_input_nest ).
+ client->message_box_display( |input { mv_input_nest }| ).
WHEN 'ALL'.
client->view_display( lo_view->stringify( ) ).
- client->nest_view_display( val = lo_view_nested->stringify( ) id = `test` method_insert = 'addContent' ).
+ client->nest_view_display( val = lo_view_nested->stringify( )
+ id = `test`
+ method_insert = 'addContent' ).
WHEN 'MAIN'.
client->view_display( lo_view->stringify( ) ).
WHEN 'NEST'.
- client->nest_view_display( val = lo_view_nested->stringify( ) id = `test` method_insert = 'addContent' ).
+ client->nest_view_display( val = lo_view_nested->stringify( )
+ id = `test`
+ method_insert = 'addContent' ).
WHEN 'BACK'.
client->nav_app_leave( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ).
@@ -73,4 +79,5 @@ CLASS z2ui5_cl_demo_app_065 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_067.clas.abap b/src/z2ui5_cl_demo_app_067.clas.abap
index 5a8ec9fa..2f3bed5a 100644
--- a/src/z2ui5_cl_demo_app_067.clas.abap
+++ b/src/z2ui5_cl_demo_app_067.clas.abap
@@ -1,22 +1,20 @@
-CLASS Z2UI5_CL_DEMO_APP_067 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_067 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA amount TYPE p LENGTH 14 DECIMALS 3.
- DATA currency TYPE string.
+ DATA amount TYPE p LENGTH 14 DECIMALS 3.
+ DATA currency TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_067 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_067 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
@@ -33,37 +31,68 @@ CLASS Z2UI5_CL_DEMO_APP_067 IMPLEMENTATION.
client->nav_app_leave( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ).
ENDCASE.
- client->view_display( z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Currency Format'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Currency' editable = abap_true
- )->content( 'form'
- )->title( 'Input'
- )->label( 'Documentation'
- )->link( text = 'https://sapui5.hana.ondemand.com/#/entity/sap.ui.model.type.Currency' href = 'https://sapui5.hana.ondemand.com/#/entity/sap.ui.model.type.Currency'
- )->label( 'One field'
- )->input( `{ parts: [ '` && client->_bind_edit( val = amount path = abap_true ) && `', '` && client->_bind_edit( val = currency path = abap_true ) && `'], type: 'sap.ui.model.type.Currency' }`
- )->label( 'Two field'
- )->input( `{ parts: [ '` && client->_bind_edit( val = amount path = abap_true ) && `', '` && client->_bind_edit( val = currency path = abap_true ) && `'], type: 'sap.ui.model.type.Currency' , formatOptions: {showMeasure: false} }`
- )->input( `{ parts: [ '` && client->_bind_edit( val = amount path = abap_true ) && `', '` && client->_bind_edit( val = currency path = abap_true ) && `'], type: 'sap.ui.model.type.Currency' , formatOptions: {showNumber: false} }`
- )->label( 'Default'
- )->text( `{ parts: [ '` && client->_bind_edit( val = amount path = abap_true ) && `', '` && client->_bind_edit( val = currency path = abap_true ) && `'], type: 'sap.ui.model.type.Currency' }`
- )->label( 'preserveDecimals:false'
- )->text( `{ parts: [ '` && client->_bind_edit( val = amount path = abap_true ) && `', '` && client->_bind_edit( val = currency path = abap_true ) &&
- `'], type: 'sap.ui.model.type.Currency' , formatOptions: { preserveDecimals : false } }`
- )->label( 'currencyCode:false'
- )->text( `{ parts: [ '` && client->_bind_edit( val = amount path = abap_true ) && `', '` && client->_bind_edit( val = currency path = abap_true ) &&
- `'], type: 'sap.ui.model.type.Currency' , formatOptions: { currencyCode : false } }`
- )->label( `style:'short'`
- )->text( `{ parts: [ '` && client->_bind_edit( val = amount path = abap_true ) && `', '` && client->_bind_edit( val = currency path = abap_true ) && `'], type: 'sap.ui.model.type.Currency' , formatOptions: { style : 'short' } }`
- )->label( `style:'long'`
- )->text( `{ parts: [ '` && client->_bind_edit( val = amount path = abap_true ) && `', '` && client->_bind_edit( val = currency path = abap_true ) && `'], type: 'sap.ui.model.type.Currency' , formatOptions: { style : 'long' } }`
- )->label( 'event'
- )->button( text = 'send' press = client->_event( 'BUTTON' )
- )->stringify( ) ).
-
+ client->view_display(
+ z2ui5_cl_xml_view=>factory( )->shell(
+)->page( title = 'abap2UI5 - Currency Format'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+)->simple_form( title = 'Currency'
+ editable = abap_true
+)->content( 'form'
+ )->title( 'Input'
+ )->label( 'Documentation'
+ )->link( text = 'https://sapui5.hana.ondemand.com/#/entity/sap.ui.model.type.Currency'
+ href = 'https://sapui5.hana.ondemand.com/#/entity/sap.ui.model.type.Currency'
+ )->label( 'One field'
+ )->input(
+ |\{ parts: [ '{ client->_bind_edit( val = amount
+ path = abap_true ) }', '{ client->_bind_edit(
+ val = currency
+ path = abap_true ) }'], type: 'sap.ui.model.type.Currency' \}|
+ )->label( 'Two field'
+ )->input(
+ |\{ parts: [ '{ client->_bind_edit( val = amount
+ path = abap_true ) }', '{ client->_bind_edit(
+ val = currency
+ path = abap_true ) }'], type: 'sap.ui.model.type.Currency' , formatOptions: \{showMeasure: false\} \}|
+ )->input(
+ |\{ parts: [ '{ client->_bind_edit( val = amount
+ path = abap_true ) }', '{ client->_bind_edit(
+ val = currency
+ path = abap_true ) }'], type: 'sap.ui.model.type.Currency' , formatOptions: \{showNumber: false\} \}|
+ )->label( 'Default'
+ )->text(
+ |\{ parts: [ '{ client->_bind_edit( val = amount
+ path = abap_true ) }', '{ client->_bind_edit(
+ val = currency
+ path = abap_true ) }'], type: 'sap.ui.model.type.Currency' \}|
+ )->label( 'preserveDecimals:false'
+ )->text( |\{ parts: [ '{ client->_bind_edit( val = amount
+ path = abap_true ) }', '{ client->_bind_edit( val = currency
+ path = abap_true ) }| &&
+ |'], type: 'sap.ui.model.type.Currency' , formatOptions: \{ preserveDecimals : false \} \}|
+ )->label( 'currencyCode:false'
+ )->text( |\{ parts: [ '{ client->_bind_edit( val = amount
+ path = abap_true ) }', '{ client->_bind_edit( val = currency
+ path = abap_true ) }| &&
+ |'], type: 'sap.ui.model.type.Currency' , formatOptions: \{ currencyCode : false \} \}|
+ )->label( `style:'short'`
+ )->text(
+ |\{ parts: [ '{ client->_bind_edit( val = amount
+ path = abap_true ) }', '{ client->_bind_edit(
+ val = currency
+ path = abap_true ) }'], type: 'sap.ui.model.type.Currency' , formatOptions: \{ style : 'short' \} \}|
+ )->label( `style:'long'`
+ )->text(
+ |\{ parts: [ '{ client->_bind_edit( val = amount
+ path = abap_true ) }', '{ client->_bind_edit(
+ val = currency
+ path = abap_true ) }'], type: 'sap.ui.model.type.Currency' , formatOptions: \{ style : 'long' \} \}|
+ )->label( 'event'
+ )->button( text = 'send'
+ press = client->_event( 'BUTTON' )
+)->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_068.clas.abap b/src/z2ui5_cl_demo_app_068.clas.abap
index a6a2a2b2..34df6aca 100644
--- a/src/z2ui5_cl_demo_app_068.clas.abap
+++ b/src/z2ui5_cl_demo_app_068.clas.abap
@@ -1,30 +1,28 @@
-CLASS Z2UI5_CL_DEMO_APP_068 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+CLASS z2ui5_cl_demo_app_068 DEFINITION
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES Z2UI5_if_app.
- TYPES:
- BEGIN OF ty_prodh_node_level3,
- is_selected TYPE abap_bool,
- text TYPE string,
- prodh TYPE string,
- END OF ty_prodh_node_level3,
- BEGIN OF ty_prodh_node_level2,
- is_selected TYPE abap_bool,
- text TYPE string,
- prodh TYPE string,
- nodes TYPE STANDARD TABLE OF ty_prodh_node_level3 WITH DEFAULT KEY,
- END OF ty_prodh_node_level2,
- BEGIN OF ty_prodh_node_level1,
- is_selected TYPE abap_bool,
- text TYPE string,
- prodh TYPE string,
- nodes TYPE STANDARD TABLE OF ty_prodh_node_level2 WITH DEFAULT KEY,
- END OF ty_prodh_node_level1,
- ty_prodh_nodes TYPE STANDARD TABLE OF ty_prodh_node_level1 WITH DEFAULT KEY.
+ TYPES: BEGIN OF ty_prodh_node_level3,
+ is_selected TYPE abap_bool,
+ text TYPE string,
+ prodh TYPE string,
+ END OF ty_prodh_node_level3.
+ TYPES: BEGIN OF ty_prodh_node_level2,
+ is_selected TYPE abap_bool,
+ text TYPE string,
+ prodh TYPE string,
+ nodes TYPE STANDARD TABLE OF ty_prodh_node_level3 WITH DEFAULT KEY,
+ END OF ty_prodh_node_level2.
+ TYPES: BEGIN OF ty_prodh_node_level1,
+ is_selected TYPE abap_bool,
+ text TYPE string,
+ prodh TYPE string,
+ nodes TYPE STANDARD TABLE OF ty_prodh_node_level2 WITH DEFAULT KEY,
+ END OF ty_prodh_node_level1,
+ ty_prodh_nodes TYPE STANDARD TABLE OF ty_prodh_node_level1 WITH DEFAULT KEY.
DATA prodh_nodes TYPE ty_prodh_nodes.
DATA is_initialized TYPE abap_bool.
@@ -34,8 +32,8 @@ CLASS Z2UI5_CL_DEMO_APP_068 DEFINITION
client TYPE REF TO Z2UI5_if_client.
PROTECTED SECTION.
-
DATA client TYPE REF TO Z2UI5_if_client.
+
METHODS ui5_initialize.
METHODS ui5_display_popup_tree_select.
@@ -43,84 +41,82 @@ CLASS Z2UI5_CL_DEMO_APP_068 DEFINITION
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_068 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_068 IMPLEMENTATION.
METHOD ui5_display_popup_tree_select.
DATA(dialog) = Z2UI5_cl_xml_view=>factory_popup(
- )->dialog( title = 'Choose Product here...' contentheight = '50%' contentwidth = '50%' ).
+ )->dialog( title = 'Choose Product here...'
+ contentheight = '50%'
+ contentwidth = '50%' ).
- dialog->tree(
- mode = 'SingleSelectMaster'
- items = client->_bind_edit( prodh_nodes )
+ dialog->tree( mode = 'SingleSelectMaster'
+ items = client->_bind_edit( prodh_nodes )
)->items(
- )->standard_tree_item( selected = '{IS_SELECTED}' title = '{TEXT}' ).
+ )->standard_tree_item( selected = '{IS_SELECTED}'
+ title = '{TEXT}' ).
dialog->buttons(
)->button( text = 'Continue'
- icon = `sap-icon://accept`
- type = `Accept`
- press = client->_event( 'CONTINUE' )
+ icon = `sap-icon://accept`
+ type = `Accept`
+ press = client->_event( 'CONTINUE' )
)->button( text = 'Cancel'
- icon = `sap-icon://decline`
- type = `Reject`
- press = client->_event( 'CANCEL' ) ).
+ icon = `sap-icon://decline`
+ type = `Reject`
+ press = client->_event( 'CANCEL' ) ).
client->popup_display( dialog->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Popup Tree select Entry'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = 'abap2UI5 - Popup Tree select Entry'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
page->header_content(
- )->link( text = 'Demo' target = '_blank' href = `https://twitter.com/abap2UI5/status/1680261069535584259`
+ )->link( text = 'Demo'
+ target = '_blank'
+ href = `https://twitter.com/abap2UI5/status/1680261069535584259`
)->link(
)->get_parent( ).
- client->view_display( page->button( text = 'Open Popup here...' press = client->_event( 'POPUP_TREE' ) )->stringify( ) ).
+ client->view_display( page->button( text = 'Open Popup here...'
+ press = client->_event( 'POPUP_TREE' ) )->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_initialize.
prodh_nodes =
- VALUE #( ( text = 'Machines'
+ VALUE #( ( text = 'Machines'
prodh = '00100'
- nodes = VALUE #( ( text = 'Pumps'
+ nodes = VALUE #( ( text = 'Pumps'
prodh = '0010000100'
- nodes = VALUE #( ( text = 'Pump 001'
+ nodes = VALUE #( ( text = 'Pump 001'
prodh = '001000010000000100' )
- ( text = 'Pump 002'
+ ( text = 'Pump 002'
prodh = '001000010000000105' )
)
) )
)
- ( text = 'Paints'
+ ( text = 'Paints'
prodh = '00110'
- nodes = VALUE #( ( text = 'Gloss paints'
+ nodes = VALUE #( ( text = 'Gloss paints'
prodh = '0011000105'
- nodes = VALUE #( ( text = 'Paint 001'
+ nodes = VALUE #( ( text = 'Paint 001'
prodh = '001100010500000100' )
- ( text = 'Paint 002'
+ ( text = 'Paint 002'
prodh = '001100010500000105' )
)
) )
)
).
-
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -149,4 +145,5 @@ CLASS Z2UI5_CL_DEMO_APP_068 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_069.clas.abap b/src/z2ui5_cl_demo_app_069.clas.abap
index 60810bd7..aa2215e7 100644
--- a/src/z2ui5_cl_demo_app_069.clas.abap
+++ b/src/z2ui5_cl_demo_app_069.clas.abap
@@ -1,38 +1,34 @@
-CLASS Z2UI5_CL_DEMO_APP_069 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+CLASS z2ui5_cl_demo_app_069 DEFINITION
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES Z2UI5_if_app .
-
- TYPES:
- BEGIN OF ty_t_tree3,
- is_selected TYPE abap_bool,
- text TYPE string,
- END OF ty_t_tree3,
- BEGIN OF ty_t_tree2,
- is_selected TYPE abap_bool,
- text TYPE string,
- nodes TYPE STANDARD TABLE OF ty_t_tree3 WITH DEFAULT KEY,
- END OF ty_t_tree2,
- BEGIN OF ty_t_tree1,
- is_selected TYPE abap_bool,
- text TYPE string,
- nodes TYPE STANDARD TABLE OF ty_t_tree2 WITH DEFAULT KEY,
- END OF ty_t_tree1,
- ty_t_tree TYPE STANDARD TABLE OF ty_t_tree1 WITH DEFAULT KEY.
-
- DATA mt_tree TYPE ty_t_tree.
-
- DATA check_initialized TYPE abap_bool .
+ INTERFACES Z2UI5_if_app.
+
+ TYPES: BEGIN OF ty_t_tree3,
+ is_selected TYPE abap_bool,
+ text TYPE string,
+ END OF ty_t_tree3.
+ TYPES: BEGIN OF ty_t_tree2,
+ is_selected TYPE abap_bool,
+ text TYPE string,
+ nodes TYPE STANDARD TABLE OF ty_t_tree3 WITH DEFAULT KEY,
+ END OF ty_t_tree2.
+ TYPES: BEGIN OF ty_t_tree1,
+ is_selected TYPE abap_bool,
+ text TYPE string,
+ nodes TYPE STANDARD TABLE OF ty_t_tree2 WITH DEFAULT KEY,
+ END OF ty_t_tree1,
+ ty_t_tree TYPE STANDARD TABLE OF ty_t_tree1 WITH DEFAULT KEY.
+
+ DATA mt_tree TYPE ty_t_tree.
+
+ DATA check_initialized TYPE abap_bool.
DATA mv_check_enabled_01 TYPE abap_bool VALUE abap_true.
DATA mv_check_enabled_02 TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO Z2UI5_if_client.
METHODS view_display_master.
@@ -44,9 +40,7 @@ CLASS Z2UI5_CL_DEMO_APP_069 DEFINITION
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_069 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_069 IMPLEMENTATION.
METHOD view_display_app_01.
@@ -54,79 +48,75 @@ CLASS Z2UI5_CL_DEMO_APP_069 IMPLEMENTATION.
DATA(page) = lo_view_nested->page( title = `APP_01` ).
- page->button( text = 'Update this view' press = client->_event( 'UPDATE_DETAIL' ) ).
+ page->button( text = 'Update this view'
+ press = client->_event( 'UPDATE_DETAIL' ) ).
- client->nest_view_display(
- val = lo_view_nested->stringify( )
- id = `test`
- method_insert = 'addMidColumnPage'
- method_destroy = 'removeAllMidColumnPages'
+ client->nest_view_display( val = lo_view_nested->stringify( )
+ id = `test`
+ method_insert = 'addMidColumnPage'
+ method_destroy = 'removeAllMidColumnPages'
).
ENDMETHOD.
-
METHOD view_display_app_02.
DATA(lo_view_nested) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = lo_view_nested->page( title = `APP_02` ).
- page->button( text = 'Update this view' press = client->_event( 'UPDATE_DETAIL' )
+ page->button( text = 'Update this view'
+ press = client->_event( 'UPDATE_DETAIL' )
)->input( ).
- page->button(
- text = 'button 01'
- press = client->_event( `NEST_TEST` )
- enabled = client->_bind( mv_check_enabled_01 ) ).
+ page->button( text = 'button 01'
+ press = client->_event( `NEST_TEST` )
+ enabled = client->_bind( mv_check_enabled_01 ) ).
- page->button(
- text = 'button 01'
- press = client->_event( `NEST_TEST` )
- enabled = client->_bind( mv_check_enabled_01 ) ).
+ page->button( text = 'button 01'
+ press = client->_event( `NEST_TEST` )
+ enabled = client->_bind( mv_check_enabled_01 ) ).
- page->button(
- text = 'button 02'
- press = client->_event( `NEST_TEST` )
- enabled = client->_bind( mv_check_enabled_02 )
+ page->button( text = 'button 02'
+ press = client->_event( `NEST_TEST` )
+ enabled = client->_bind( mv_check_enabled_02 )
).
- client->nest_view_display(
- val = lo_view_nested->stringify( )
- id = `test`
- method_insert = 'addMidColumnPage'
- method_destroy = 'removeAllMidColumnPages'
+ client->nest_view_display( val = lo_view_nested->stringify( )
+ id = `test`
+ method_insert = 'addMidColumnPage'
+ method_destroy = 'removeAllMidColumnPages'
).
ENDMETHOD.
-
METHOD view_display_master.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->shell( )->page(
- title = 'abap2UI5 - Master-Detail View with Nested Views'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ DATA(page) = view->shell( )->page( title = 'abap2UI5 - Master-Detail View with Nested Views'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->header_content(
- )->link( text = 'Demo' target = '_blank' href = `https://twitter.com/abap2UI5/status/1680907265891618817`
+ )->link( text = 'Demo'
+ target = '_blank'
+ href = `https://twitter.com/abap2UI5/status/1680907265891618817`
)->link(
)->get_parent( ).
- DATA(lr_master) = page->flexible_column_layout( layout = 'TwoColumnsBeginExpanded' id ='test' )->begin_column_pages( ).
+ DATA(lr_master) = page->flexible_column_layout( layout = 'TwoColumnsBeginExpanded'
+ id = 'test' )->begin_column_pages( ).
lr_master->tree( items = client->_bind( mt_tree ) )->items(
- )->standard_tree_item(
- type = 'Active'
- title = '{TEXT}' press = client->_event( val = `EVENT_ITEM`
- t_arg = VALUE #( ( `${TEXT}` ) ) ) ).
+ )->standard_tree_item( type = 'Active'
+ title = '{TEXT}'
+ press = client->_event( val = `EVENT_ITEM`
+ t_arg = VALUE #( ( `${TEXT}` ) ) ) ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -134,37 +124,37 @@ CLASS Z2UI5_CL_DEMO_APP_069 IMPLEMENTATION.
IF check_initialized = abap_false.
check_initialized = abap_true.
- mt_tree = VALUE #( ( text = 'Apps'
- nodes = VALUE #( ( text = 'Frontend'
- nodes = VALUE #( ( text = 'App_001' )
- ( text = 'App_002' )
- ) ) ) )
- ( text = 'Configuration'
- nodes = VALUE #( ( text = 'User Interface'
- nodes = VALUE #( ( text = 'Theme' )
- ( text = 'Library' )
- ) )
- ( text = 'Database'
- nodes = VALUE #( ( text = 'HANA' )
- ( text = 'ANY DB' )
+ mt_tree = VALUE #( ( text = 'Apps'
+ nodes = VALUE #( ( text = 'Frontend'
+ nodes = VALUE #( ( text = 'App_001' )
+ ( text = 'App_002' )
+ ) ) ) )
+ ( text = 'Configuration'
+ nodes = VALUE #( ( text = 'User Interface'
+ nodes = VALUE #( ( text = 'Theme' )
+ ( text = 'Library' )
+ ) )
+ ( text = 'Database'
+ nodes = VALUE #( ( text = 'HANA' )
+ ( text = 'ANY DB' )
) ) ) ) ).
- view_display_master( ).
+ view_display_master( ).
ENDIF.
CASE client->get( )-event.
WHEN `UPDATE_DETAIL`.
- view_display_app_01( ).
+ view_display_app_01( ).
WHEN `EVENT_ITEM`.
DATA(lt_arg) = client->get( )-t_event_arg.
CASE lt_arg[ 1 ].
WHEN 'App_001'.
- view_display_app_01( ).
+ view_display_app_01( ).
WHEN 'App_002'.
- view_display_app_02( ).
+ view_display_app_02( ).
ENDCASE.
WHEN `NEST_TEST`.
@@ -178,4 +168,5 @@ CLASS Z2UI5_CL_DEMO_APP_069 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_070.clas.abap b/src/z2ui5_cl_demo_app_070.clas.abap
index 0394f58c..20844f72 100644
--- a/src/z2ui5_cl_demo_app_070.clas.abap
+++ b/src/z2ui5_cl_demo_app_070.clas.abap
@@ -1,9 +1,8 @@
CLASS z2ui5_cl_demo_app_070 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -21,7 +20,7 @@ CLASS z2ui5_cl_demo_app_070 DEFINITION
selected TYPE abap_bool,
process TYPE string,
process_state TYPE string,
- END OF ty_s_tab .
+ END OF ty_s_tab.
TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
TYPES:
@@ -30,15 +29,15 @@ CLASS z2ui5_cl_demo_app_070 DEFINITION
low TYPE string,
high TYPE string,
key TYPE string,
- END OF ty_s_filter_pop .
+ END OF ty_s_filter_pop.
- DATA mt_mapping TYPE z2ui5_if_types=>ty_t_name_value .
- DATA mv_search_value TYPE string .
- DATA mt_table TYPE ty_t_table .
- DATA lv_selkz TYPE abap_bool .
- PROTECTED SECTION.
+ DATA mt_mapping TYPE z2ui5_if_types=>ty_t_name_value.
+ DATA mv_search_value TYPE string.
+ DATA mt_table TYPE ty_t_table.
+ DATA lv_selkz TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ PROTECTED SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_init.
@@ -47,7 +46,6 @@ CLASS z2ui5_cl_demo_app_070 DEFINITION
METHODS z2ui5_set_data.
PRIVATE SECTION.
-
METHODS set_selkz
IMPORTING
iv_selkz TYPE abap_bool.
@@ -55,13 +53,11 @@ CLASS z2ui5_cl_demo_app_070 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_070 IMPLEMENTATION.
-
METHOD set_selkz.
- FIELD-SYMBOLS: TYPE ty_s_tab.
+ FIELD-SYMBOLS TYPE ty_s_tab.
LOOP AT mt_table ASSIGNING .
-selkz = iv_selkz.
@@ -69,10 +65,9 @@ CLASS z2ui5_cl_demo_app_070 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -84,7 +79,6 @@ CLASS z2ui5_cl_demo_app_070 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -130,31 +124,30 @@ CLASS z2ui5_cl_demo_app_070 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
- mt_mapping = VALUE #(
- ( n = `EQ` v = `={LOW}` )
- ( n = `LT` v = `<{LOW}` )
- ( n = `LE` v = `<={LOW}` )
- ( n = `GT` v = `>{LOW}` )
- ( n = `GE` v = `>={LOW}` )
- ( n = `CP` v = `*{LOW}*` )
- ( n = `BT` v = `{LOW}...{HIGH}` )
- ( n = `NE` v = `!(={LOW})` )
- ( n = `NE` v = `!()` )
- ( n = `` v = `` )
+ mt_mapping = VALUE #( ( n = `EQ` v = `={LOW}` )
+ ( n = `LT` v = `<{LOW}` )
+ ( n = `LE` v = `<={LOW}` )
+ ( n = `GT` v = `>{LOW}` )
+ ( n = `GE` v = `>={LOW}` )
+ ( n = `CP` v = `*{LOW}*` )
+ ( n = `BT` v = `{LOW}...{HIGH}` )
+ ( n = `NE` v = `!(={LOW})` )
+ ( n = `NE` v = `!()` )
+ ( n = `` v = `` )
).
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page1) = view->page( id = `page_main`
- title = 'abap2UI5 - sap.ui.table.Table Features'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- class = 'sapUiContentPadding' ).
+ DATA(page1) = view->page( id = `page_main`
+ title = 'abap2UI5 - sap.ui.table.Table Features'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ class = 'sapUiContentPadding' ).
- DATA(page) = page1->dynamic_page( headerexpanded = abap_true headerpinned = abap_true ).
+ DATA(page) = page1->dynamic_page( headerexpanded = abap_true
+ headerpinned = abap_true ).
DATA(header_title) = page->title( ns = 'f' )->get( )->dynamic_page_title( ).
header_title->heading( ns = 'f' )->hbox( )->title( `Search Field` ).
@@ -162,52 +155,89 @@ CLASS z2ui5_cl_demo_app_070 IMPLEMENTATION.
header_title->snapped_content( ns = 'f' ).
DATA(lo_box) = page->header( )->dynamic_page_header( pinnable = abap_true
- )->flex_box( alignitems = `Start` justifycontent = `SpaceBetween` )->flex_box( alignitems = `Start` ).
+ )->flex_box( alignitems = `Start`
+ justifycontent = `SpaceBetween` )->flex_box( alignitems = `Start` ).
- lo_box->vbox( )->text( `Search` )->search_field(
- value = client->_bind_edit( mv_search_value )
- search = client->_event( 'BUTTON_SEARCH' )
- change = client->_event( 'BUTTON_SEARCH' )
-* livechange = client->__event( 'BUTTON_SEARCH' )
- width = `17.5rem`
- id = `SEARCH` ).
+ lo_box->vbox( )->text( `Search` )->search_field( value = client->_bind_edit( mv_search_value )
+ search = client->_event( 'BUTTON_SEARCH' )
+ change = client->_event( 'BUTTON_SEARCH' )
+* livechange = client->__event( 'BUTTON_SEARCH' )
+ width = `17.5rem`
+ id = `SEARCH` ).
- lo_box->get_parent( )->hbox( justifycontent = `End` )->button(
- text = `Go`
- press = client->_event( `BUTTON_START` )
- type = `Emphasized` ).
+ lo_box->get_parent( )->hbox( justifycontent = `End` )->button( text = `Go`
+ press = client->_event( `BUTTON_START` )
+ type = `Emphasized` ).
DATA(cont) = page->content( ns = 'f' ).
- DATA(tab) = cont->ui_table( rows = client->_bind( val = mt_table )
- editable = abap_false
+ DATA(tab) = cont->ui_table( rows = client->_bind( val = mt_table )
+ editable = abap_false
alternaterowcolors = abap_true
- rowactioncount = '2'
- enablegrouping = abap_false
- fixedcolumncount = '1'
- selectionmode = 'None'
- sort = client->_event( 'SORT' )
- filter = client->_event( 'FILTER' )
- customfilter = client->_event( 'CUSTOMFILTER' ) ).
+ rowactioncount = '2'
+ enablegrouping = abap_false
+ fixedcolumncount = '1'
+ selectionmode = 'None'
+ sort = client->_event( 'SORT' )
+ filter = client->_event( 'FILTER' )
+ customfilter = client->_event( 'CUSTOMFILTER' ) ).
tab->ui_extension( )->overflow_toolbar( )->title( text = 'Products' ).
DATA(lo_columns) = tab->ui_columns( ).
- lo_columns->ui_column( width = '4rem' )->checkbox( selected = client->_bind_edit( lv_selkz ) enabled = abap_true select = client->_event( val = `SELKZ` ) )->ui_template( )->checkbox( selected = `{SELKZ}` ).
- lo_columns->ui_column( width = '5rem' sortproperty = 'ROW_ID'
- filterproperty = 'ROW_ID' )->text( text = `Index` )->ui_template( )->text( text = `{ROW_ID}` ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'PROCESS' filterproperty = 'PROCESS' )->text( text = `Process Indicator`
- )->ui_template( )->progress_indicator( class = 'sapUiSmallMarginBottom' percentvalue = `{PROCESS}` displayvalue = '{PROCESS} %' showvalue = 'true' state = '{PROCESS_STATE}' ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'PRODUCT'
- filterproperty = 'PRODUCT' )->text( text = `Product` )->ui_template( )->input( value = `{PRODUCT}` editable = abap_false ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'CREATE_DATE' filterproperty = 'CREATE_DATE' )->text( text = `Date` )->ui_template( )->text( text = `{CREATE_DATE}` ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'CREATE_BY' filterproperty = 'CREATE_BY')->text( text = `Name` )->ui_template( )->text( text = `{CREATE_BY}` ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'STORAGE_LOCATION' filterproperty = 'STORAGE_LOCATION' )->text( text = `Location` )->ui_template( )->text( text = `{STORAGE_LOCATION}`).
- lo_columns->ui_column( width = '11rem' sortproperty = 'QUANTITY' filterproperty = 'QUANTITY' )->text( text = `Quantity` )->ui_template( )->text( text = `{QUANTITY}`).
- lo_columns->ui_column( width = '6rem' sortproperty = 'MEINS' filterproperty = 'MEINS' )->text( text = `Unit` )->ui_template( )->text( text = `{MEINS}`).
- lo_columns->ui_column( width = '11rem' sortproperty = 'PRICE' filterproperty = 'PRICE' )->text( text = `Price` )->ui_template( )->currency( value = `{PRICE}` currency = `{WAERS}` ).
+ lo_columns->ui_column( width = '4rem' )->checkbox(
+ selected = client->_bind_edit( lv_selkz )
+ enabled = abap_true
+ select = client->_event( val = `SELKZ` ) )->ui_template( )->checkbox(
+ selected = `{SELKZ}` ).
+ lo_columns->ui_column( width = '5rem'
+ sortproperty = 'ROW_ID'
+ filterproperty = 'ROW_ID' )->text( text = `Index` )->ui_template( )->text(
+ text = `{ROW_ID}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'PROCESS'
+ filterproperty = 'PROCESS' )->text( text = `Process Indicator`
+ )->ui_template( )->progress_indicator( class = 'sapUiSmallMarginBottom'
+ percentvalue = `{PROCESS}`
+ displayvalue = '{PROCESS} %'
+ showvalue = 'true'
+ state = '{PROCESS_STATE}' ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'PRODUCT'
+ filterproperty = 'PRODUCT' )->text( text = `Product` )->ui_template( )->input(
+ value = `{PRODUCT}`
+ editable = abap_false ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'CREATE_DATE'
+ filterproperty = 'CREATE_DATE' )->text( text = `Date` )->ui_template( )->text(
+ text = `{CREATE_DATE}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'CREATE_BY'
+ filterproperty = 'CREATE_BY' )->text( text = `Name` )->ui_template( )->text(
+ text = `{CREATE_BY}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'STORAGE_LOCATION'
+ filterproperty = 'STORAGE_LOCATION' )->text( text = `Location` )->ui_template( )->text(
+ text = `{STORAGE_LOCATION}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'QUANTITY'
+ filterproperty = 'QUANTITY' )->text( text = `Quantity` )->ui_template( )->text(
+ text = `{QUANTITY}` ).
+ lo_columns->ui_column( width = '6rem'
+ sortproperty = 'MEINS'
+ filterproperty = 'MEINS' )->text( text = `Unit` )->ui_template( )->text( text = `{MEINS}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'PRICE'
+ filterproperty = 'PRICE' )->text( text = `Price` )->ui_template( )->currency(
+ value = `{PRICE}`
+ currency = `{WAERS}` ).
lo_columns->get_parent( )->ui_row_action_template( )->ui_row_action(
- )->ui_row_action_item( type = 'Navigation'
- press = client->_event( val = 'ROW_ACTION_ITEM_NAVIGATION' t_arg = VALUE #( ( `${ROW_ID}` ) ) )
- )->get_parent( )->ui_row_action_item( icon = 'sap-icon://edit' text = 'Edit' press = client->_event( val = 'ROW_ACTION_ITEM_EDIT' t_arg = VALUE #( ( `${ROW_ID}` ) ) ) ).
+ )->ui_row_action_item( type = 'Navigation'
+ press = client->_event( val = 'ROW_ACTION_ITEM_NAVIGATION'
+ t_arg = VALUE #( ( `${ROW_ID}` ) ) )
+ )->get_parent( )->ui_row_action_item(
+ icon = 'sap-icon://edit'
+ text = 'Edit'
+ press = client->_event( val = 'ROW_ACTION_ITEM_EDIT'
+ t_arg = VALUE #( ( `${ROW_ID}` ) ) ) ).
*
*
*
@@ -219,42 +249,96 @@ CLASS z2ui5_cl_demo_app_070 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
- mt_table = VALUE #(
- ( selkz = abap_false row_id = '1' product = 'table' create_date = `01.01.2023` create_by = `Olaf` storage_location = `AREA_001` quantity = 400 meins = 'ST' price = '1000.50' waers = 'EUR' process = '10' process_state = 'None' )
- ( selkz = abap_false row_id = '2' product = 'chair' create_date = `01.01.2022` create_by = `Karlo` storage_location = `AREA_001` quantity = 123 meins = 'ST' price = '2000.55' waers = 'USD' process = '20' process_state = 'Warning' )
- ( selkz = abap_false row_id = '3' product = 'sofa' create_date = `01.05.2021` create_by = `Elin` storage_location = `AREA_002` quantity = 700 meins = 'ST' price = '3000.11' waers = 'CNY' process = '30' process_state = 'Success' )
- ( selkz = abap_false row_id = '4' product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_002` quantity = 200 meins = 'ST' price = '4000.88' waers = 'USD' process = '40' process_state = 'Information' )
- ( selkz = abap_false row_id = '5' product = 'printer' create_date = `01.01.2023` create_by = `Renate` storage_location = `AREA_003` quantity = 90 meins = 'ST' price = '5000.47' waers = 'EUR' process = '70' process_state = 'Warning' )
- ( selkz = abap_false row_id = '6' product = 'table2' create_date = `01.01.2023` create_by = `Angela` storage_location = `AREA_003` quantity = 110 meins = 'ST' price = '6000.33' waers = 'GBP' process = '90' process_state = 'Error' )
- ).
+ mt_table = VALUE #( selkz = abap_false
+ meins = 'ST'
+ ( row_id = '1'
+ product = 'table'
+ create_date = `01.01.2023`
+ create_by = `Olaf`
+ storage_location = `AREA_001`
+ quantity = 400
+ price = '1000.50'
+ waers = 'EUR'
+ process = '10'
+ process_state = 'None' )
+ ( row_id = '2'
+ product = 'chair'
+ create_date = `01.01.2022`
+ create_by = `Karlo`
+ storage_location = `AREA_001`
+ quantity = 123
+ price = '2000.55'
+ waers = 'USD'
+ process = '20'
+ process_state = 'Warning' )
+ ( row_id = '3'
+ product = 'sofa'
+ create_date = `01.05.2021`
+ create_by = `Elin`
+ storage_location = `AREA_002`
+ quantity = 700
+ price = '3000.11'
+ waers = 'CNY'
+ process = '30'
+ process_state = 'Success' )
+ ( row_id = '4'
+ product = 'computer'
+ create_date = `27.01.2023`
+ create_by = `Theo`
+ storage_location = `AREA_002`
+ quantity = 200
+ price = '4000.88'
+ waers = 'USD'
+ process = '40'
+ process_state = 'Information' )
+ ( row_id = '5'
+ product = 'printer'
+ create_date = `01.01.2023`
+ create_by = `Renate`
+ storage_location = `AREA_003`
+ quantity = 90
+ price = '5000.47'
+ waers = 'EUR'
+ process = '70'
+ process_state = 'Warning' )
+ ( row_id = '6'
+ product = 'table2'
+ create_date = `01.01.2023`
+ create_by = `Angela`
+ storage_location = `AREA_003`
+ quantity = 110
+ price = '6000.33'
+ waers = 'GBP'
+ process = '90'
+ process_state = 'Error' ) ).
ENDMETHOD.
-
METHOD z2ui5_set_search.
- IF mv_search_value IS NOT INITIAL.
-
- LOOP AT mt_table REFERENCE INTO DATA(lr_row).
- DATA(lv_row) = ``.
- DATA(lv_index) = 1.
- DO.
- ASSIGN COMPONENT lv_index OF STRUCTURE lr_row->* TO FIELD-SYMBOL().
- IF sy-subrc <> 0.
- EXIT.
- ENDIF.
- lv_row = lv_row && .
- lv_index = lv_index + 1.
- ENDDO.
-
- IF lv_row NS mv_search_value.
- DELETE mt_table.
- ENDIF.
- ENDLOOP.
+ IF mv_search_value IS INITIAL.
+ RETURN.
ENDIF.
+ LOOP AT mt_table REFERENCE INTO DATA(lr_row).
+ DATA(lv_row) = ``.
+ DATA(lv_index) = 1.
+ DO.
+ ASSIGN COMPONENT lv_index OF STRUCTURE lr_row->* TO FIELD-SYMBOL().
+ IF sy-subrc <> 0.
+ EXIT.
+ ENDIF.
+ lv_row = lv_row && .
+ lv_index = lv_index + 1.
+ ENDDO.
+
+ IF lv_row NS mv_search_value.
+ DELETE mt_table.
+ ENDIF.
+ ENDLOOP.
+
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_071.clas.abap b/src/z2ui5_cl_demo_app_071.clas.abap
index d094c3e4..5f8e3a6c 100644
--- a/src/z2ui5_cl_demo_app_071.clas.abap
+++ b/src/z2ui5_cl_demo_app_071.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_071 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -11,26 +10,25 @@ CLASS z2ui5_cl_demo_app_071 DEFINITION PUBLIC.
END OF s_combobox.
TYPES ty_t_combo TYPE STANDARD TABLE OF s_combobox WITH EMPTY KEY.
- DATA mv_set_size_limit TYPE i VALUE 100.
- DATA mv_combo_number TYPE i VALUE 105.
+ DATA mv_set_size_limit TYPE i VALUE 100.
+ DATA mv_combo_number TYPE i VALUE 105.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_071 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
CASE client->get( )-event.
WHEN `UPDATE`.
- client->follow_up_action( client->_event_client(
- val = `SET_SIZE_LIMIT`
- t_arg = value #( ( conv #( mv_set_size_limit ) ) ( client->cs_view-main ) )
+ client->follow_up_action( client->_event_client( val = `SET_SIZE_LIMIT`
+ t_arg = VALUE #( ( CONV #( mv_set_size_limit ) )
+ ( client->cs_view-main ) )
) ).
client->view_model_update( ).
client->message_toast_display( `SizeLimitUpdated` ).
@@ -41,35 +39,35 @@ CLASS z2ui5_cl_demo_app_071 IMPLEMENTATION.
RETURN.
ENDCASE.
-
-
DATA(lt_combo) = VALUE ty_T_combo( ).
DO mv_combo_number TIMES.
- INSERT VALUE #( key = sy-index text = sy-index ) INTO TABLE lt_combo.
+ INSERT VALUE #( key = sy-index
+ text = sy-index ) INTO TABLE lt_combo.
ENDDO.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
client->view_display( val = view->shell(
- )->page(
- title = 'abap2UI5 - First Example'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Form Title' editable = abap_true
+ )->page( title = 'abap2UI5 - First Example'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->simple_form( title = 'Form Title'
+ editable = abap_true
)->content( 'form'
)->title( 'Input'
)->label( 'Link'
)->label( 'setSizeLimit'
- )->input( value = client->_bind_edit( mv_set_size_limit )
+ )->input( value = client->_bind_edit( mv_set_size_limit )
)->label( 'Number of Entries'
- )->input( value = client->_bind_edit( mv_combo_number )
+ )->input( value = client->_bind_edit( mv_combo_number )
)->label( 'demo'
)->combobox( items = client->_bind_local( lt_combo )
- )->item( key = '{KEY}' text = '{TEXT}'
+ )->item( key = '{KEY}'
+ text = '{TEXT}'
)->get_parent( )->get_parent(
- )->button(
- text = 'Press 2x update'
- press = client->_event( val = 'UPDATE' )
+ )->button( text = 'Press 2x update'
+ press = client->_event( val = 'UPDATE' )
)->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_072.clas.abap b/src/z2ui5_cl_demo_app_072.clas.abap
index a41755e9..409e5397 100644
--- a/src/z2ui5_cl_demo_app_072.clas.abap
+++ b/src/z2ui5_cl_demo_app_072.clas.abap
@@ -1,9 +1,8 @@
-CLASS Z2UI5_CL_DEMO_APP_072 DEFINITION
+CLASS z2ui5_cl_demo_app_072 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -12,8 +11,8 @@ CLASS Z2UI5_CL_DEMO_APP_072 DEFINITION
productname TYPE string,
Suppliername TYPE string,
Measure TYPE p LENGTH 10 DECIMALS 2,
- unit TYPE string, "meins,
- price TYPE p LENGTH 14 DECIMALS 3, "p LENGTH 10 DECIMALS 2,
+ unit TYPE string, " meins,
+ price TYPE p LENGTH 14 DECIMALS 3, " p LENGTH 10 DECIMALS 2,
waers TYPE waers,
Width TYPE string,
Depth TYPE string,
@@ -22,38 +21,36 @@ CLASS Z2UI5_CL_DEMO_APP_072 DEFINITION
state_price TYPE string,
state_measure TYPE string,
rating TYPE string,
- END OF ty_s_tab .
- TYPES:
- ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY .
-
- DATA mt_table TYPE ty_t_table .
- DATA lv_cnt_total TYPE i .
- DATA lv_cnt_pos TYPE i .
- DATA lv_cnt_heavy TYPE i .
- DATA lv_cnt_neg TYPE i .
- DATA lv_selectedkey TYPE string .
+ END OF ty_s_tab.
+ TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
+
+ DATA mt_table TYPE ty_t_table.
+ DATA lv_cnt_total TYPE i.
+ DATA lv_cnt_pos TYPE i.
+ DATA lv_cnt_heavy TYPE i.
+ DATA lv_cnt_neg TYPE i.
+ DATA lv_selectedkey TYPE string.
+
CONSTANTS c_lcb TYPE string VALUE '{' ##NO_TEXT.
CONSTANTS c_rcb TYPE string VALUE '}' ##NO_TEXT.
+
PROTECTED SECTION.
+ DATA client TYPE REF TO Z2UI5_if_client.
+ DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO Z2UI5_if_client .
- DATA check_initialized TYPE abap_bool .
+ METHODS Z2UI5_on_init.
+ METHODS Z2UI5_on_event.
+ METHODS Z2UI5_set_data.
- METHODS Z2UI5_on_init .
- METHODS Z2UI5_on_event .
- METHODS Z2UI5_set_data .
PRIVATE SECTION.
-
- METHODS set_filter .
+ METHODS set_filter.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_072 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_072 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -66,11 +63,10 @@ CLASS Z2UI5_CL_DEMO_APP_072 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
- WHEN 'OnSelectIconTabBar' .
+ WHEN 'OnSelectIconTabBar'.
client->message_toast_display( |Event SelectedTabBar Key { lv_selectedKey } | ).
set_filter( ).
client->view_model_update( ).
@@ -80,77 +76,148 @@ CLASS Z2UI5_CL_DEMO_APP_072 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
-
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->shell( )->page( id = `page_main`
- showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
- title = 'abap2UI5 - IconTabBar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- class = 'sapUiContentPadding' ).
-
- DATA(lo_items) = page->icon_tab_bar( class = 'sapUiResponsiveContentPadding' selectedKey = client->_bind_edit( lv_selectedKey ) select = client->_event( val = 'OnSelectIconTabBar' t_arg = VALUE #( ( `${LV_SELECTEDKEY}` ) ) ) )->items( ).
- lo_items->icon_tab_filter( count = client->_bind_edit( lv_cnt_total ) text = 'Products' key = 'ALL' showall = abap_true ).
- lo_items->icon_tab_separator( ).
- lo_items->icon_tab_filter( icon = 'sap-icon://begin' iconcolor = 'Positive' count = client->_bind_edit( lv_cnt_pos ) text = 'OK' key = 'OK' ).
- lo_items->icon_tab_filter( icon = 'sap-icon://compare' iconcolor = 'Critical' count = client->_bind_edit( lv_cnt_heavy ) text = 'Heavy' key = 'HEAVY' ).
- lo_items->icon_tab_filter( icon = 'sap-icon://inventory' iconcolor = 'Negative' count = client->_bind_edit( lv_cnt_neg ) text = 'Overweight' key = 'OVERWEIGHT' ).
-
- DATA(tab) = page->scroll_container( height = '70%' vertical = abap_true
- )->table(
- inset = abap_false
- showSeparators = 'Inner'
- headerText = 'Products'
- items = client->_bind( mt_table ) ).
+ DATA(page) = view->shell( )->page(
+ id = `page_main`
+ showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
+ title = 'abap2UI5 - IconTabBar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ class = 'sapUiContentPadding' ).
+
+ DATA(lo_items) = page->icon_tab_bar(
+ class = 'sapUiResponsiveContentPadding'
+ selectedKey = client->_bind_edit( lv_selectedKey )
+ select = client->_event( val = 'OnSelectIconTabBar'
+ t_arg = VALUE #( ( `${LV_SELECTEDKEY}` ) ) ) )->items( ).
+ lo_items->icon_tab_filter( count = client->_bind_edit( lv_cnt_total )
+ text = 'Products'
+ key = 'ALL'
+ showall = abap_true ).
+ lo_items->icon_tab_separator( ).
+ lo_items->icon_tab_filter( icon = 'sap-icon://begin'
+ iconcolor = 'Positive'
+ count = client->_bind_edit( lv_cnt_pos )
+ text = 'OK'
+ key = 'OK' ).
+ lo_items->icon_tab_filter( icon = 'sap-icon://compare'
+ iconcolor = 'Critical'
+ count = client->_bind_edit( lv_cnt_heavy )
+ text = 'Heavy'
+ key = 'HEAVY' ).
+ lo_items->icon_tab_filter( icon = 'sap-icon://inventory'
+ iconcolor = 'Negative'
+ count = client->_bind_edit( lv_cnt_neg )
+ text = 'Overweight'
+ key = 'OVERWEIGHT' ).
+
+ DATA(tab) = page->scroll_container( height = '70%'
+ vertical = abap_true
+ )->table( inset = abap_false
+ showSeparators = 'Inner'
+ headerText = 'Products'
+ items = client->_bind( mt_table ) ).
tab->columns(
)->column( width = '12em'
)->text( 'Product' )->get_parent(
- )->column( minScreenWidth = 'Tablet' demandPopin = abap_true
+ )->column( minScreenWidth = 'Tablet'
+ demandPopin = abap_true
)->text( 'Supplier' )->get_parent(
- )->column( minScreenWidth = 'Desktop' demandPopin = abap_true hAlign = 'End'
+ )->column( minScreenWidth = 'Desktop'
+ demandPopin = abap_true
+ hAlign = 'End'
)->text( 'Dimensions' )->get_parent(
- )->column( minScreenWidth = 'Desktop' demandPopin = abap_true hAlign = 'Center'
+ )->column( minScreenWidth = 'Desktop'
+ demandPopin = abap_true
+ hAlign = 'Center'
)->text( 'Weight' )->get_parent(
)->column( hAlign = 'End'
)->text( 'Price' )->get_parent(
)->column( hAlign = 'End'
- )->text( 'Rating' ) .
+ )->text( 'Rating' ).
tab->items(
)->column_list_item(
)->cells(
- )->object_identifier( text = '{PRODUCTNAME}' title = '{PRODUCTID}' )->get_parent(
+ )->object_identifier( text = '{PRODUCTNAME}'
+ title = '{PRODUCTID}' )->get_parent(
)->text( text = '{SUPPLIERNAME}' )->get_parent(
)->text( text = '{WIDTH} x {DEPTH} x {HEIGHT} {DIMUNIT}'
- )->object_number( number = '{MEASURE}' unit = '{UNIT}' state = '{STATE_MEASURE}'
- )->object_number(
- state = '{STATE_PRICE}'
- number = `{ parts: [ { path : 'PRICE' } , { path : 'WAERS' } ] } `
+ )->object_number( number = '{MEASURE}'
+ unit = '{UNIT}'
+ state = '{STATE_MEASURE}'
+ )->object_number( state = '{STATE_PRICE}'
+ number = `{ parts: [ { path : 'PRICE' } , { path : 'WAERS' } ] } `
).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_set_data.
- mt_table = VALUE #(
- ( Productid = '1' productname = 'table' suppliername = 'Company 1' Width = '10' Depth = '20' Height = '30' DimUnit = 'CM' Measure = 100 unit = 'ST' price = '1000.50' waers = 'EUR' state_price = `Success` rating = '0' state_measure = `Warning` )
- ( Productid = '2' productname = 'chair' suppliername = 'Company 2' Width = '10' Depth = '20' Height = '30' DimUnit = 'CM' Measure = 123 unit = 'ST' price = '2000.55' waers = 'USD' state_price = `Error` rating = '1' state_measure = `Warning` )
- ( Productid = '3' productname = 'sofa' suppliername = 'Company 3' Width = '10' Depth = '20' Height = '30' DimUnit = 'CM' Measure = 700 unit = 'ST' price = '3000.11' waers = 'CNY' state_price = `Success` rating = '2' state_measure =
-`Warning` )
- ( Productid = '4' productname = 'computer' suppliername = 'Company 4' Width = '10' Depth = '20' Height = '30' DimUnit = 'CM' Measure = 200 unit = 'ST' price = '4000.88' waers = 'USD' state_price = `Success` rating = '3' state_measure =
-`Success` )
- ( Productid = '5' productname = 'printer' suppliername = 'Company 5' Width = '10' Depth = '20' Height = '30' DimUnit = 'CM' Measure = 90 unit = 'ST' price = '5000.47' waers = 'EUR' state_price = `Error` rating = '4' state_measure =
-`Warning` )
- ( Productid = '6' productname = 'table2' suppliername = 'Company 6' Width = '10' Depth = '20' Height = '30' DimUnit = 'CM' Measure = 600 unit = 'ST' price = '6000.33' waers = 'GBP' state_price = `Success` rating = '5' state_measure =
-`Information` )
- ).
+ mt_table = VALUE #( Width = '10'
+ Depth = '20'
+ Height = '30'
+ DimUnit = 'CM'
+ unit = 'ST'
+ ( Productid = '1'
+ productname = 'table'
+ suppliername = 'Company 1'
+ Measure = 100
+ price = '1000.50'
+ waers = 'EUR'
+ state_price = `Success`
+ rating = '0'
+ state_measure = `Warning` )
+ ( Productid = '2'
+ productname = 'chair'
+ suppliername = 'Company 2'
+ Measure = 123
+ price = '2000.55'
+ waers = 'USD'
+ state_price = `Error`
+ rating = '1'
+ state_measure = `Warning` )
+ ( Productid = '3'
+ productname = 'sofa'
+ suppliername = 'Company 3'
+ Measure = 700
+ price = '3000.11'
+ waers = 'CNY'
+ state_price = `Success`
+ rating = '2'
+ state_measure = `Warning` )
+ ( Productid = '4'
+ productname = 'computer'
+ suppliername = 'Company 4'
+ Measure = 200
+ price = '4000.88'
+ waers = 'USD'
+ state_price = `Success`
+ rating = '3'
+ state_measure = `Success` )
+ ( Productid = '5'
+ productname = 'printer'
+ suppliername = 'Company 5'
+ Measure = 90
+ price = '5000.47'
+ waers = 'EUR'
+ state_price = `Error`
+ rating = '4'
+ state_measure = `Warning` )
+ ( Productid = '6'
+ productname = 'table2'
+ suppliername = 'Company 6'
+ Measure = 600
+ price = '6000.33'
+ waers = 'GBP'
+ state_price = `Success`
+ rating = '5'
+ state_measure = `Information` ) ).
lv_cnt_total = lines( mt_table ).
lv_cnt_pos = REDUCE i( INIT i = 0 FOR wa IN mt_table WHERE ( measure > 0 AND measure <= 100 ) NEXT i = i + 1 ).
@@ -159,17 +226,17 @@ CLASS Z2UI5_CL_DEMO_APP_072 IMPLEMENTATION.
ENDMETHOD.
-
METHOD set_filter.
Z2UI5_set_data( ).
CASE lv_selectedkey.
WHEN 'ALL'.
WHEN 'OK'.
- DELETE mt_table WHERE NOT measure BETWEEN 0 AND 100.
+ DELETE mt_table WHERE NOT measure BETWEEN 0 AND 100.
WHEN 'HEAVY'.
DELETE mt_table WHERE NOT measure BETWEEN 101 AND 500.
WHEN 'OVERWEIGHT'.
- DELETE mt_table WHERE NOT measure > 500 .
+ DELETE mt_table WHERE NOT measure > 500.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_073.clas.abap b/src/z2ui5_cl_demo_app_073.clas.abap
index 74dd48c0..4211b63c 100644
--- a/src/z2ui5_cl_demo_app_073.clas.abap
+++ b/src/z2ui5_cl_demo_app_073.clas.abap
@@ -1,49 +1,46 @@
CLASS z2ui5_cl_demo_app_073 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA check_initialized TYPE abap_bool.
- DATA mv_url TYPE string.
+ DATA check_initialized TYPE abap_bool.
+ DATA mv_url TYPE string.
DATA mv_check_timer_active TYPE abap_bool.
METHODS display_view.
DATA client TYPE REF TO z2ui5_if_client.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_073 IMPLEMENTATION.
-
METHOD display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
client->view_display( view->shell(
- )->page(
- title = 'abap2UI5 - First Example'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - First Example'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->_z2ui5( )->timer(
- checkactive = client->_bind( mv_check_timer_active )
- finished = client->_event_client( val = client->cs_event-open_new_tab
- t_arg = VALUE #( ( `$` && client->_bind( mv_url ) ) ) )
- )->simple_form( title = 'Form Title' editable = abap_true
+ checkactive = client->_bind( mv_check_timer_active )
+ finished = client->_event_client( val = client->cs_event-open_new_tab
+ t_arg = VALUE #( ( |${ client->_bind( mv_url ) }| ) ) )
+ )->simple_form( title = 'Form Title'
+ editable = abap_true
)->content( 'form'
- )->button(
- text = 'open new tab'
- press = client->_event( val = 'BUTTON_OPEN_NEW_TAB' )
+ )->button( text = 'open new tab'
+ press = client->_event( val = 'BUTTON_OPEN_NEW_TAB' )
)->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -67,4 +64,5 @@ CLASS z2ui5_cl_demo_app_073 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_074.clas.abap b/src/z2ui5_cl_demo_app_074.clas.abap
index 1d0fb710..8baee3f2 100644
--- a/src/z2ui5_cl_demo_app_074.clas.abap
+++ b/src/z2ui5_cl_demo_app_074.clas.abap
@@ -1,18 +1,16 @@
CLASS z2ui5_cl_demo_app_074 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA mv_path TYPE string.
- DATA mv_value TYPE string.
- DATA mr_table TYPE REF TO data.
- DATA mv_check_edit TYPE abap_bool.
+ DATA mv_path TYPE string.
+ DATA mv_value TYPE string.
+ DATA mr_table TYPE REF TO data.
+ DATA mv_check_edit TYPE abap_bool.
DATA mv_check_download TYPE abap_bool.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS ui5_on_event.
@@ -25,10 +23,8 @@ CLASS z2ui5_cl_demo_app_074 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_074 IMPLEMENTATION.
-
METHOD ui5_on_event.
TRY.
@@ -59,15 +55,15 @@ CLASS z2ui5_cl_demo_app_074 IMPLEMENTATION.
ENDCASE.
CATCH cx_root INTO DATA(x).
- client->message_box_display( text = x->get_text( ) type = `error` ).
+ client->message_box_display( text = x->get_text( )
+ type = `error` ).
ENDTRY.
ENDMETHOD.
-
METHOD ui5_view_init_display.
- ui5_view_main_display( ).
+ ui5_view_main_display( ).
* client->view_display( z2ui5_cl_xml_view=>factory( client
* )->_z2ui5( )->timer( client->_event( `START` )
@@ -76,14 +72,13 @@ CLASS z2ui5_cl_demo_app_074 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_view_main_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell( )->page(
- title = 'abap2UI5 - CSV to ABAP internal Table'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = 'abap2UI5 - CSV to ABAP internal Table'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
IF mr_table IS NOT INITIAL.
@@ -92,14 +87,15 @@ CLASS z2ui5_cl_demo_app_074 IMPLEMENTATION.
ASSIGN mr_table->* TO .
DATA(tab) = page->table(
- items = COND #( WHEN mv_check_edit = abap_true THEN client->_bind_edit( ) ELSE client->_bind_edit( ) )
+ items = COND #( WHEN mv_check_edit = abap_true
+ THEN client->_bind_edit( )
+ ELSE client->_bind_edit( ) )
)->header_toolbar(
)->overflow_toolbar(
)->title( 'CSV Content'
)->toolbar_spacer(
)->get_parent( )->get_parent( ).
-
DATA(lr_fields) = z2ui5_cl_util=>rtti_get_t_attri_by_any( ).
DATA(lo_cols) = tab->columns( ).
LOOP AT lr_fields REFERENCE INTO DATA(lr_col).
@@ -107,23 +103,21 @@ CLASS z2ui5_cl_demo_app_074 IMPLEMENTATION.
ENDLOOP.
DATA(lo_cells) = tab->items( )->column_list_item( )->cells( ).
LOOP AT lr_fields REFERENCE INTO lr_col.
- lo_cells->text( `{` && lr_col->name && `}` ).
+ lo_cells->text( |\{{ lr_col->name }\}| ).
ENDLOOP.
ENDIF.
DATA(footer) = page->footer( )->overflow_toolbar( ).
- footer->_z2ui5( )->file_uploader(
- value = client->_bind_edit( mv_value )
- path = client->_bind_edit( mv_path )
- placeholder = 'filepath here...'
- upload = client->_event( 'UPLOAD' ) ).
+ footer->_z2ui5( )->file_uploader( value = client->_bind_edit( mv_value )
+ path = client->_bind_edit( mv_path )
+ placeholder = 'filepath here...'
+ upload = client->_event( 'UPLOAD' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -141,4 +135,5 @@ CLASS z2ui5_cl_demo_app_074 IMPLEMENTATION.
ui5_on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_075.clas.abap b/src/z2ui5_cl_demo_app_075.clas.abap
index 01e081f6..cc74be99 100644
--- a/src/z2ui5_cl_demo_app_075.clas.abap
+++ b/src/z2ui5_cl_demo_app_075.clas.abap
@@ -1,20 +1,18 @@
-CLASS Z2UI5_CL_DEMO_APP_075 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_075 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA mv_path TYPE string.
- DATA mv_value TYPE string.
- DATA mr_table TYPE REF TO data.
- DATA mv_check_edit TYPE abap_bool.
+ DATA mv_path TYPE string.
+ DATA mv_value TYPE string.
+ DATA mr_table TYPE REF TO data.
+ DATA mv_check_edit TYPE abap_bool.
DATA mv_check_download TYPE abap_bool.
- DATA mv_file TYPE string.
+ DATA mv_file TYPE string.
PROTECTED SECTION.
-
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS ui5_on_init.
@@ -28,9 +26,7 @@ CLASS Z2UI5_CL_DEMO_APP_075 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_075 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_075 IMPLEMENTATION.
METHOD ui5_on_event.
TRY.
@@ -61,58 +57,53 @@ CLASS Z2UI5_CL_DEMO_APP_075 IMPLEMENTATION.
ENDCASE.
CATCH cx_root INTO DATA(x).
- client->message_box_display( text = x->get_text( ) type = `error` ).
+ client->message_box_display( text = x->get_text( )
+ type = `error` ).
ENDTRY.
ENDMETHOD.
-
METHOD ui5_on_init.
ui5_view_init_display( ).
ENDMETHOD.
-
METHOD ui5_view_init_display.
- ui5_view_main_display( ).
+ ui5_view_main_display( ).
ENDMETHOD.
-
METHOD ui5_view_main_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell( )->page(
- title = 'abap2UI5 - Upload Files'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = 'abap2UI5 - Upload Files'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
IF mv_file IS NOT INITIAL.
- page->code_editor(
- value = client->_bind( mv_file )
- editable = abap_false
+ page->code_editor( value = client->_bind( mv_file )
+ editable = abap_false
).
ENDIF.
DATA(footer) = page->footer( )->overflow_toolbar( ).
- footer->_z2ui5( )->file_uploader(
- value = client->_bind_edit( mv_value )
- path = client->_bind_edit( mv_path )
- placeholder = 'filepath here...'
-* enabled = abap_false
- upload = client->_event( 'UPLOAD' ) ).
+ footer->_z2ui5( )->file_uploader( value = client->_bind_edit( mv_value )
+ path = client->_bind_edit( mv_path )
+ placeholder = 'filepath here...'
+* enabled = abap_false
+ upload = client->_event( 'UPLOAD' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -130,4 +121,5 @@ CLASS Z2UI5_CL_DEMO_APP_075 IMPLEMENTATION.
ui5_on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_076.clas.abap b/src/z2ui5_cl_demo_app_076.clas.abap
index c5256091..44cd3dcf 100644
--- a/src/z2ui5_cl_demo_app_076.clas.abap
+++ b/src/z2ui5_cl_demo_app_076.clas.abap
@@ -1,17 +1,16 @@
-CLASS Z2UI5_CL_DEMO_APP_076 DEFINITION
+CLASS z2ui5_cl_demo_app_076 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES Z2UI5_if_app .
+ INTERFACES Z2UI5_if_app.
TYPES: BEGIN OF t_subtask5,
id TYPE string,
starttime TYPE string,
endtime TYPE string,
END OF t_subtask5.
- TYPES: tt_subtask5 TYPE STANDARD TABLE OF t_subtask5 WITH DEFAULT KEY.
+ TYPES tt_subtask5 TYPE STANDARD TABLE OF t_subtask5 WITH DEFAULT KEY.
TYPES: BEGIN OF t_task3,
id TYPE string,
starttime TYPE string,
@@ -22,15 +21,15 @@ CLASS Z2UI5_CL_DEMO_APP_076 DEFINITION
text TYPE string,
subtask TYPE tt_subtask5,
END OF t_children4.
- TYPES: tt_task3 TYPE STANDARD TABLE OF t_task3 WITH DEFAULT KEY.
- TYPES: tt_children4 TYPE STANDARD TABLE OF t_children4 WITH DEFAULT KEY.
+ TYPES tt_task3 TYPE STANDARD TABLE OF t_task3 WITH DEFAULT KEY.
+ TYPES tt_children4 TYPE STANDARD TABLE OF t_children4 WITH DEFAULT KEY.
TYPES: BEGIN OF t_children2,
id TYPE string,
text TYPE string,
task TYPE tt_task3,
children TYPE tt_children4,
END OF t_children2.
- TYPES: tt_children2 TYPE STANDARD TABLE OF t_children2 WITH DEFAULT KEY.
+ TYPES tt_children2 TYPE STANDARD TABLE OF t_children2 WITH DEFAULT KEY.
TYPES: BEGIN OF t_root6,
children TYPE tt_children2,
END OF t_root6.
@@ -41,21 +40,18 @@ CLASS Z2UI5_CL_DEMO_APP_076 DEFINITION
DATA mt_table TYPE t_root6.
PROTECTED SECTION.
+ DATA client TYPE REF TO Z2UI5_if_client.
+ DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO Z2UI5_if_client .
- DATA check_initialized TYPE abap_bool .
-
- METHODS Z2UI5_on_init .
- METHODS Z2UI5_on_event .
- METHODS Z2UI5_set_data .
+ METHODS Z2UI5_on_init.
+ METHODS Z2UI5_on_event.
+ METHODS Z2UI5_set_data.
-private section.
+ PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_076 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_076 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -72,7 +68,6 @@ CLASS Z2UI5_CL_DEMO_APP_076 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
@@ -82,63 +77,75 @@ CLASS Z2UI5_CL_DEMO_APP_076 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
-
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic_property( VALUE #( n = `core:require` v = `{Helper:'z2ui5/Util'}` ) ).
-
- DATA(page) = view->page( id = `page_main`
- title = 'abap2UI5 - Gantt'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- class = 'sapUiContentPadding' ).
-
+ view->_generic_property( VALUE #( n = `core:require`
+ v = `{Helper:'z2ui5/Util'}` ) ).
+ DATA(page) = view->page( id = `page_main`
+ title = 'abap2UI5 - Gantt'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ class = 'sapUiContentPadding' ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(gantt) = page->gantt_chart_container(
- )->gantt_chart_with_table( id = `gantt` shapeselectionmode = `Single`
+ )->gantt_chart_with_table( id = `gantt`
+ shapeselectionmode = `Single`
)->axis_time_strategy(
)->proportion_zoom_strategy(
)->total_horizon(
- )->time_horizon( starttime = `20181029000000` endtime = `20181129000000` )->get_parent( )->get_parent(
+ )->time_horizon( starttime = `20181029000000`
+ endtime = `20181129000000` )->get_parent( )->get_parent(
)->visible_horizon(
- )->time_horizon( starttime = `20181029000000` endtime = `20181129000000` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->time_horizon( starttime = `20181029000000`
+ endtime = `20181129000000` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->gantt_table(
- )->tree_table( rows = `{path: '` && client->_bind( val = mt_table path = abap_true ) && `', parameters: {arrayNames: ['CHILDREN'],numberOfExpandedLevels: 1}}`
+ )->tree_table(
+ rows = |\{path: '{ client->_bind(
+ val = mt_table
+ path = abap_true ) }', parameters: \{arrayNames: ['CHILDREN'],numberOfExpandedLevels: 1\}\}|
)->tree_columns(
- )->tree_column( label = 'Col 1' )->tree_template( )->text( text = `{TEXT}` )->get_parent( )->get_parent( )->get_parent(
+ )->tree_column( label = 'Col 1' )->tree_template( )->text(
+ text = `{TEXT}` )->get_parent( )->get_parent( )->get_parent(
* )->tree_column( label = 'Col 1' template = 'text' )->get_parent( )->get_parent(
)->row_settings_template(
- )->gantt_row_settings( rowid = `{ID}` shapes1 = `{path: 'TASK', templateShareable:false}` shapes2 = `{path: 'SUBTASK', templateShareable:false}`
+ )->gantt_row_settings( rowid = `{ID}`
+ shapes1 = `{path: 'TASK', templateShareable:false}`
+ shapes2 = `{path: 'SUBTASK', templateShareable:false}`
)->shapes1(
- )->task( time = `{= Helper.DateCreateObject(${STARTTIME} ) }`
- endtime = `{= Helper.DateCreateObject(${ENDTIME} ) }` type = `SummaryExpanded` color = `sapUiAccent5` )->get_parent( )->get_parent(
+ )->task( time = `{= Helper.DateCreateObject(${STARTTIME} ) }`
+ endtime = `{= Helper.DateCreateObject(${ENDTIME} ) }`
+ type = `SummaryExpanded`
+ color = `sapUiAccent5` )->get_parent( )->get_parent(
)->shapes2(
- )->task( time = `{= Helper.DateCreateObject(${STARTTIME} ) }`
- endtime = `{= Helper.DateCreateObject(${ENDTIME} ) }` ).
-
+ )->task( time = `{= Helper.DateCreateObject(${STARTTIME} ) }`
+ endtime = `{= Helper.DateCreateObject(${ENDTIME} ) }` ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_set_data.
-
- mt_table = VALUE #( children = VALUE #( ( id = `line`
- text = `Level 1`
- task = VALUE #( ( id = `rectangle1` starttime = `2018-11-01T09:00:00` endtime = `2018-11-27T09:00:00`
-) )
-children = VALUE #( ( id = `line2` text = `Level 2`
- subtask = VALUE #( ( id = `chevron1` starttime = `2018-11-01T09:00:00` endtime = `2018-11-13T09:00:00` )
- ( id = `chevron2` starttime = `2018-11-15T09:00:00` endtime = `2018-11-27T09:00:00` ) )
-
-) ) ) ) ) .
+ mt_table = VALUE #(
+ children = VALUE #(
+ ( id = `line`
+ text = `Level 1`
+ task = VALUE #( ( id = `rectangle1` starttime = `2018-11-01T09:00:00` endtime = `2018-11-27T09:00:00`
+ ) )
+ children = VALUE #(
+ ( id = `line2`
+ text = `Level 2`
+ subtask = VALUE #(
+ ( id = `chevron1` starttime = `2018-11-01T09:00:00` endtime = `2018-11-13T09:00:00` )
+ ( id = `chevron2` starttime = `2018-11-15T09:00:00` endtime = `2018-11-27T09:00:00` ) )
+
+ ) ) ) ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_078.clas.abap b/src/z2ui5_cl_demo_app_078.clas.abap
index 2c802c0d..68163187 100644
--- a/src/z2ui5_cl_demo_app_078.clas.abap
+++ b/src/z2ui5_cl_demo_app_078.clas.abap
@@ -1,6 +1,5 @@
CLASS z2ui5_cl_demo_app_078 DEFINITION
- PUBLIC
- FINAL
+ PUBLIC FINAL
CREATE PUBLIC.
PUBLIC SECTION.
@@ -17,18 +16,18 @@ CLASS z2ui5_cl_demo_app_078 DEFINITION
DATA mv_value TYPE string.
DATA mt_token TYPE STANDARD TABLE OF ty_s_token WITH EMPTY KEY.
- DATA mt_tokens_added TYPE STANDARD TABLE OF ty_s_token WITH EMPTY KEY.
+ DATA mt_tokens_added TYPE STANDARD TABLE OF ty_s_token WITH EMPTY KEY.
DATA mt_tokens_removed TYPE STANDARD TABLE OF ty_s_token WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_078 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -36,22 +35,20 @@ CLASS z2ui5_cl_demo_app_078 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view = view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Select-Options'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ view = view->shell( )->page( id = `page_main`
+ title = 'abap2UI5 - Select-Options'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- view->_z2ui5( )->multiinput_ext(
- addedtokens = client->_bind_edit( mt_tokens_added )
- removedtokens = client->_bind_edit( mt_tokens_removed )
- change = client->_event( 'UPDATE_BACKEND' )
- MultiInputId = `test` ).
+ view->_z2ui5( )->multiinput_ext( addedtokens = client->_bind_edit( mt_tokens_added )
+ removedtokens = client->_bind_edit( mt_tokens_removed )
+ change = client->_event( 'UPDATE_BACKEND' )
+ MultiInputId = `test` ).
- view->multi_input(
- id = `test`
- tokens = client->_bind_edit( mt_token )
- showclearicon = abap_true
+ view->multi_input( id = `test`
+ tokens = client->_bind_edit( mt_token )
+ showclearicon = abap_true
)->tokens(
)->token( key = `{KEY}`
text = `{TEXT}`
@@ -60,9 +57,8 @@ CLASS z2ui5_cl_demo_app_078 IMPLEMENTATION.
editable = `{EDITABLE}`
).
- DATA(tab) = view->table(
- items = client->_bind_edit( mt_token )
- mode = 'MultiSelect' ).
+ DATA(tab) = view->table( items = client->_bind_edit( mt_token )
+ mode = 'MultiSelect' ).
tab->columns(
)->column(
@@ -72,14 +68,15 @@ CLASS z2ui5_cl_demo_app_078 IMPLEMENTATION.
tab->items( )->column_list_item( selected = '{SELKZ}'
)->cells(
- )->input( value = '{KEY}' enabled = `{EDITABLE}`
- )->input( value = '{TEXT}' enabled = `{EDITABLE}`).
+ )->input( value = '{KEY}'
+ enabled = `{EDITABLE}`
+ )->input( value = '{TEXT}'
+ enabled = `{EDITABLE}` ).
client->view_display( view->stringify( ) ).
ENDIF.
-
CASE client->get( )-event.
WHEN 'UPDATE_BACKEND'.
@@ -89,7 +86,10 @@ CLASS z2ui5_cl_demo_app_078 IMPLEMENTATION.
ENDLOOP.
LOOP AT mt_tokens_added INTO ls_token.
- INSERT VALUE #( key = ls_token-key text = ls_token-text visible = abap_true editable = abap_true ) INTO TABLE mt_token.
+ INSERT VALUE #( key = ls_token-key
+ text = ls_token-text
+ visible = abap_true
+ editable = abap_true ) INTO TABLE mt_token.
ENDLOOP.
CLEAR mt_tokens_removed.
@@ -102,4 +102,5 @@ CLASS z2ui5_cl_demo_app_078 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_079.clas.abap b/src/z2ui5_cl_demo_app_079.clas.abap
index 6e1bcd14..4abeaeea 100644
--- a/src/z2ui5_cl_demo_app_079.clas.abap
+++ b/src/z2ui5_cl_demo_app_079.clas.abap
@@ -1,6 +1,5 @@
CLASS z2ui5_cl_demo_app_079 DEFINITION
- PUBLIC
- FINAL
+ PUBLIC FINAL
CREATE PUBLIC.
PUBLIC SECTION.
@@ -14,53 +13,51 @@ CLASS z2ui5_cl_demo_app_079 DEFINITION
VALUE(result) TYPE string.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_079 IMPLEMENTATION.
-
METHOD get_example_pdf.
- result = `JVBERi0xLjMNCiXi48/TDQoNCjEgMCBvYmoNCjw8D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cuICBNb3JlLCBhIGxpdHRsZSBtb3JlIHRleHQuIFRoZSBlbmQsIGFuZCBqdXN0IGFzIHdlbGwuICkgVGoNCkVUDQplbmRzdHJlYW0| &&
+ |NCmVuZG9iag0KDQo4IDAgb2JqDQpbL1BERiAvVGV4dF0NCmVuZG9iag0KDQo5IDAgb2JqDQo8PA0KL1R5cGUgL0ZvbnQNCi9TdWJ0eXBlIC9UeXBlMQ0KL05hbWUgL0YxDQovQmFzZUZvbnQgL0hlbHZldGljYQ0KL0VuY29kaW5nIC9XaW5BbnNpRW5jb2RpbmcNCj4+DQplbmRvYmoNCg0KMTAgMCBvYmoNCjw8DQovQ3JlYXRvciA| &&
+ |oUmF2ZSBcKGh0dHA6Ly93d3cubmV2cm9uYS5jb20vcmF2ZVwpKQ0KL1Byb2R1Y2VyIChOZXZyb25hIERlc2lnbnMpDQovQ3JlYXRpb25EYXRlIChEOjIwMDYwMzAxMDcyODI2KQ0KPj4NCmVuZG9iag0KDQp4cmVmDQowIDExDQowMDAwMDAwMDAwIDY1NTM1IGYNCjAwMDAwMDAwMTkgMDAwMDAgbg0KMDAwMDAwMDA5MyAwMDAwMCB| &&
+ |uDQowMDAwMDAwMTQ3IDAwMDAwIG4NCjAwMDAwMDAyMjIgMDAwMDAgbg0KMDAwMDAwMDM5MCAwMDAwMCBuDQowMDAwMDAxNTIyIDAwMDAwIG4NCjAwMDAwMDE2OTAgMDAwMDAgbg0KMDAwMDAwMjQyMyAwMDAwMCBuDQowMDAwMDAyNDU2IDAwMDAwIG4NCjAwMDAwMDI1NzQgMDAwMDAgbg0KDQp0cmFpbGVyDQo8PA0KL1NpemUgMTE| &&
+ |NCi9Sb290IDEgMCBSDQovSW5mbyAxMCAwIFINCj4+DQoNCnN0YXJ0eHJlZg0KMjcxNA0KJSVFT0YNCg==|.
+
+ result = |data:application/pdf;base64,{ result }|.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
- DATA(view) = z2ui5_cl_xml_view=>factory( )->shell( )->page( title = 'PDF Output' navbuttonpress = client->_event( 'BACK' ) shownavbutton = abap_true
- )->_generic(
- ns = `html`
- name = `iframe`
- t_prop = VALUE #(
- ( n = `src` v = get_example_pdf( ) )
- ( n = `height` v = `90%` )
- ( n = `width` v = `90%` )
- ) ).
+ DATA(view) = z2ui5_cl_xml_view=>factory( )->shell( )->page( title = 'PDF Output'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
+ )->_generic( ns = `html`
+ name = `iframe`
+ t_prop = VALUE #( ( n = `src` v = get_example_pdf( ) )
+ ( n = `height` v = `90%` )
+ ( n = `width` v = `90%` )
+ ) ).
client->view_display( view->stringify( ) ).
@@ -72,4 +69,5 @@ CLASS z2ui5_cl_demo_app_079 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_080.clas.abap b/src/z2ui5_cl_demo_app_080.clas.abap
index 82cd48b9..a35e512d 100644
--- a/src/z2ui5_cl_demo_app_080.clas.abap
+++ b/src/z2ui5_cl_demo_app_080.clas.abap
@@ -1,10 +1,9 @@
CLASS z2ui5_cl_demo_app_080 DEFINITION
-PUBLIC
- CREATE PUBLIC .
+ PUBLIC
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_s_appointments,
@@ -15,7 +14,7 @@ PUBLIC
info TYPE string,
pic TYPE string,
tentative TYPE abap_bool,
- END OF ty_s_appointments .
+ END OF ty_s_appointments.
TYPES:
BEGIN OF ty_s_headers,
start TYPE string,
@@ -25,20 +24,19 @@ PUBLIC
info TYPE string,
pic TYPE string,
tentative TYPE abap_bool,
- END OF ty_s_headers .
+ END OF ty_s_headers.
TYPES:
BEGIN OF ty_s_people,
name TYPE string,
pic TYPE string,
role TYPE string,
appointments TYPE TABLE OF ty_s_appointments WITH NON-UNIQUE DEFAULT KEY,
- headers TYPE TABLE OF ty_s_headers WITH NON-UNIQUE DEFAULT KEY,
- END OF ty_s_people .
+ headers TYPE TABLE OF ty_s_headers WITH NON-UNIQUE DEFAULT KEY,
+ END OF ty_s_people.
DATA mt_people TYPE STANDARD TABLE OF ty_s_people.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
@@ -50,65 +48,63 @@ PUBLIC
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_080 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_080 IMPLEMENTATION.
METHOD z2ui5_display_view.
- DATA(lv_s_date) = '2023-04-22T08:15:00'.
+ DATA(lv_s_date) = '2023-04-22T08:15:00'.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic_property( VALUE #( n = `core:require` v = `{Helper:'z2ui5/Util'}` ) ).
+ view->_generic_property( VALUE #( n = `core:require`
+ v = `{Helper:'z2ui5/Util'}` ) ).
- DATA(page) = view->page( id = `page_main`
- title = 'abap2UI5 - Planning Calendar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- class = 'sapUiContentPadding' ).
+ DATA(page) = view->page( id = `page_main`
+ title = 'abap2UI5 - Planning Calendar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ class = 'sapUiContentPadding' ).
- DATA(lo_vbox) = page->vbox( class ='sapUiSmallMargin' ).
+ DATA(lo_vbox) = page->vbox( class = 'sapUiSmallMargin' ).
DATA(lo_planningcalendar) = lo_vbox->planning_calendar(
- startdate = `{= Helper.DateCreateObject($` && client->_bind_local( lv_s_date ) && ') }'
- rows = `{path: '` && client->_bind_local( val = mt_people path = abap_true ) && `'}`
- appointmentselect = client->_event( val = 'AppSelected' t_arg = VALUE #( ( `${$parameters>/appointment/mProperties/title}`) ) )
- showweeknumbers = abap_true ).
-
+ startdate = |\{= Helper.DateCreateObject(${ client->_bind_local( lv_s_date ) }) \}|
+ rows = |\{path: '{ client->_bind_local( val = mt_people
+ path = abap_true ) }'\}|
+ appointmentselect = client->_event( val = 'AppSelected'
+ t_arg = VALUE #( ( `${$parameters>/appointment/mProperties/title}` ) ) )
+ showweeknumbers = abap_true ).
DATA(lo_rows) = lo_planningcalendar->rows( ).
DATA(lo_planningcalendarrow) = lo_rows->planning_calendar_row(
- appointments = `{path:'APPOINTMENTS', templateShareable: false}`
- icon = '{PIC}'
- title = '{NAME}'
- text = '{ROLE}'
- intervalheaders = `{path:'HEADERS', templateShareable: false}`
+ appointments = `{path:'APPOINTMENTS', templateShareable: false}`
+ icon = '{PIC}'
+ title = '{NAME}'
+ text = '{ROLE}'
+ intervalheaders = `{path:'HEADERS', templateShareable: false}`
).
- lo_planningcalendarrow->appointments( )->calendar_appointment(
- startdate = `{= Helper.DateCreateObject(${START} ) }`
- enddate = `{= Helper.DateCreateObject(${END} ) }`
- icon = '{PIC}'
- title = '{TITLE}'
- text = '{INFO}'
- type = '{TYPE}'
- tentative = '{TENTATIVE}' ).
+ lo_planningcalendarrow->appointments( )->calendar_appointment( startdate = `{= Helper.DateCreateObject(${START} ) }`
+ enddate = `{= Helper.DateCreateObject(${END} ) }`
+ icon = '{PIC}'
+ title = '{TITLE}'
+ text = '{INFO}'
+ type = '{TYPE}'
+ tentative = '{TENTATIVE}' ).
lo_planningcalendarrow->interval_headers( )->calendar_appointment(
- startdate = `{= Helper.DateCreateObject(${START} ) }`
- enddate = `{= Helper.DateCreateObject(${END} ) }`
- icon = '{PIC}'
- title = '{TITLE}'
- text = '{INFO}'
- type = '{TYPE}'
+ startdate = `{= Helper.DateCreateObject(${START} ) }`
+ enddate = `{= Helper.DateCreateObject(${END} ) }`
+ icon = '{PIC}'
+ title = '{TITLE}'
+ text = '{INFO}'
+ type = '{TYPE}'
).
- client->view_display( view->stringify( ) ).
+ client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -124,10 +120,9 @@ CLASS Z2UI5_CL_DEMO_APP_080 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
- WHEN 'AppSelected' .
+ WHEN 'AppSelected'.
DATA(ls_client) = client->get( ).
client->message_toast_display( |Event AppSelected with appointment { ls_client-t_event_arg[ 1 ] }| ).
WHEN 'BACK'.
@@ -135,25 +130,30 @@ CLASS Z2UI5_CL_DEMO_APP_080 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_set_data.
mt_people = VALUE #(
- ( name = 'Olaf' role = 'Team Member' pic = 'sap-icon://employee'
+ role = 'Team Member'
+ pic = 'sap-icon://employee'
+ ( name = 'Olaf'
appointments = VALUE #(
- ( start = '2023-04-22T08:15:00' end = '2023-04-23T08:15:00' info = 'Mittag1' type = 'Type01' title = 'App1' tentative = abap_false pic = 'sap-icon://sap-ui5' )
- ( start = '2023-04-25T10:30:00' end = '2023-04-26T11:30:00' info = 'Mittag2' type = 'Type02' title = 'App2' tentative = abap_false pic = 'sap-icon://sap-ui5' )
- ( start = '2023-04-10T10:30:00' end = '2023-04-11T11:30:00' info = 'Mittag3' type = 'Type03' title = 'App3' tentative = abap_false pic = 'sap-icon://sap-ui5' ) )
- headers = VALUE #(
+ tentative = abap_false
+ pic = 'sap-icon://sap-ui5'
+ ( start = '2023-04-22T08:15:00' end = '2023-04-23T08:15:00' info = 'Mittag1' type = 'Type01' title = 'App1' )
+ ( start = '2023-04-25T10:30:00' end = '2023-04-26T11:30:00' info = 'Mittag2' type = 'Type02' title = 'App2' )
+ ( start = '2023-04-10T10:30:00' end = '2023-04-11T11:30:00' info = 'Mittag3' type = 'Type03' title = 'App3' ) )
+ headers = VALUE #(
( start = '2020-04-22T08:15:00' end = '2020-04-23T08:15:00' type = 'Type11' title = 'Reminder1' tentative = abap_true )
( start = '2020-04-25T10:30:00' end = '2020-04-26T11:30:00' type = 'Type12' title = 'Reminder2' tentative = abap_false ) ) )
- ( name = 'Stefanie' role = 'Team Member' pic = 'sap-icon://employee'
+ ( name = 'Stefanie'
appointments = VALUE #(
- ( start = '2023-04-22T08:15:00' end = '2023-04-23T08:15:00' info = 'Mittag11' type = 'Type11' title = 'App11' tentative = abap_false pic = 'sap-icon://sap-ui5' )
- ( start = '2023-04-25T10:30:00' end = '2023-04-26T11:30:00' info = 'Mittag21' type = 'Type12' title = 'App12' tentative = abap_false pic = 'sap-icon://sap-ui5' )
- ( start = '2023-04-10T10:30:00' end = '2023-04-11T11:30:00' info = 'Mittag31' type = 'Type13' title = 'App13' tentative = abap_false pic = 'sap-icon://sap-ui5' ) )
- headers = VALUE #(
+ tentative = abap_false
+ pic = 'sap-icon://sap-ui5'
+ ( start = '2023-04-22T08:15:00' end = '2023-04-23T08:15:00' info = 'Mittag11' type = 'Type11' title = 'App11' )
+ ( start = '2023-04-25T10:30:00' end = '2023-04-26T11:30:00' info = 'Mittag21' type = 'Type12' title = 'App12' )
+ ( start = '2023-04-10T10:30:00' end = '2023-04-11T11:30:00' info = 'Mittag31' type = 'Type13' title = 'App13' ) )
+ headers = VALUE #(
( start = '2023-04-22T08:15:00' end = '2023-04-23T08:15:00' type = 'Type11' title = 'Reminder11' tentative = abap_true )
- ( start = '2023-04-25T10:30:00' end = '2023-04-26T11:30:00' type = 'Type12' title = 'Reminder21' tentative = abap_false ) ) )
- ) .
+ ( start = '2023-04-25T10:30:00' end = '2023-04-26T11:30:00' type = 'Type12' title = 'Reminder21' tentative = abap_false ) ) ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_081.clas.abap b/src/z2ui5_cl_demo_app_081.clas.abap
index b7e8aa96..7d2af8e2 100644
--- a/src/z2ui5_cl_demo_app_081.clas.abap
+++ b/src/z2ui5_cl_demo_app_081.clas.abap
@@ -1,11 +1,10 @@
-CLASS Z2UI5_CL_DEMO_APP_081 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_081 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA product TYPE string.
- DATA quantity TYPE string.
+ DATA product TYPE string.
+ DATA quantity TYPE string.
DATA mv_placement TYPE string.
TYPES:
@@ -15,19 +14,20 @@ CLASS Z2UI5_CL_DEMO_APP_081 DEFINITION PUBLIC.
name TYPE string,
END OF ty_tab.
- DATA: mt_tab TYPE STANDARD TABLE OF ty_tab WITH EMPTY KEY.
+ DATA mt_tab TYPE STANDARD TABLE OF ty_tab WITH EMPTY KEY.
PROTECTED SECTION.
-
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS Z2UI5_on_init.
METHODS Z2UI5_on_event.
METHODS Z2UI5_display_view.
+
METHODS Z2UI5_display_popover
IMPORTING
id TYPE string.
+
METHODS Z2UI5_display_popover_list
IMPORTING
id TYPE string.
@@ -36,33 +36,27 @@ CLASS Z2UI5_CL_DEMO_APP_081 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_081 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_081 IMPLEMENTATION.
METHOD Z2UI5_display_popover.
DATA(view) = Z2UI5_cl_xml_view=>factory_popup( ).
- view->popover(
- title = 'Popover Title'
- placement = mv_placement
+ view->popover( title = 'Popover Title'
+ placement = mv_placement
)->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'Cancel'
- press = client->_event( 'BUTTON_CANCEL' )
- )->button(
- text = 'Confirm'
- press = client->_event( 'BUTTON_CONFIRM' )
- type = 'Emphasized'
+ )->button( text = 'Cancel'
+ press = client->_event( 'BUTTON_CANCEL' )
+ )->button( text = 'Confirm'
+ press = client->_event( 'BUTTON_CONFIRM' )
+ type = 'Emphasized'
)->get_parent( )->get_parent(
- )->text( 'make an input here:'
+ )->text( 'make an input here:'
)->input( value = 'abcd'
).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
@@ -70,66 +64,55 @@ CLASS Z2UI5_CL_DEMO_APP_081 IMPLEMENTATION.
METHOD Z2UI5_display_popover_list.
DATA(view) = Z2UI5_cl_xml_view=>factory_popup( ).
- view->popover(
- title = 'Popover Title'
- placement = mv_placement
- )->list(
- items = client->_bind_edit( mt_tab )
-* selectionchange = client->_event( val = 'SEL_CHANGE' t_arg = VALUE #( ( `${$parameters>/listItem}` ) ) )
- selectionchange = client->_event( val = 'SEL_CHANGE' )
- mode = `SingleSelectMaster`
- )->standard_list_item(
- title = `{ID}`
- description = `{NAME}`
- selected = `{SELECTED}` ).
-
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->popover( title = 'Popover Title'
+ placement = mv_placement
+ )->list( items = client->_bind_edit( mt_tab )
+* selectionchange = client->_event( val = 'SEL_CHANGE' t_arg = VALUE #( ( `${$parameters>/listItem}` ) ) )
+ selectionchange = client->_event( val = 'SEL_CHANGE' )
+ mode = `SingleSelectMaster`
+ )->standard_list_item( title = `{ID}`
+ description = `{NAME}`
+ selected = `{SELECTED}` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD Z2UI5_display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popover with List'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Popover with List'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->simple_form( 'Popover'
)->content( 'form'
)->title( 'Input'
)->label( 'Link'
- )->link( text = 'Documentation UI5 Popover Control' href = 'https://openui5.hana.ondemand.com/entity/sap.m.Popover'
+ )->link( text = 'Documentation UI5 Popover Control'
+ href = 'https://openui5.hana.ondemand.com/entity/sap.m.Popover'
)->label( 'placement'
)->segmented_button( selected_key = client->_bind_edit( mv_placement )
)->items(
- )->segmented_button_item(
- key = 'Left'
- icon = 'sap-icon://add-favorite'
- text = 'Left'
- )->segmented_button_item(
- key = 'Top'
- icon = 'sap-icon://accept'
- text = 'Top'
- )->segmented_button_item(
- key = 'Bottom'
- icon = 'sap-icon://accept'
- text = 'Bottom'
- )->segmented_button_item(
- key = 'Right'
- icon = 'sap-icon://attachment'
- text = 'Right'
+ )->segmented_button_item( key = 'Left'
+ icon = 'sap-icon://add-favorite'
+ text = 'Left'
+ )->segmented_button_item( key = 'Top'
+ icon = 'sap-icon://accept'
+ text = 'Top'
+ )->segmented_button_item( key = 'Bottom'
+ icon = 'sap-icon://accept'
+ text = 'Bottom'
+ )->segmented_button_item( key = 'Right'
+ icon = 'sap-icon://attachment'
+ text = 'Right'
)->get_parent( )->get_parent(
)->label( 'popover'
- )->button(
- text = 'show popover with list'
- press = client->_event( 'POPOVER_LIST' )
- id = 'TEST'
+ )->button( text = 'show popover with list'
+ press = client->_event( 'POPOVER_LIST' )
+ id = 'TEST'
).
client->view_display( view->stringify( ) ).
@@ -151,12 +134,12 @@ CLASS Z2UI5_CL_DEMO_APP_081 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
WHEN 'SEL_CHANGE'.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lt_sel) = mt_tab.
DELETE lt_sel WHERE selected IS INITIAL.
@@ -181,19 +164,18 @@ CLASS Z2UI5_CL_DEMO_APP_081 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
mv_placement = 'Left'.
product = 'tomato'.
quantity = '500'.
- mt_tab = VALUE #(
- ( id = `1` name = `name1` )
+ mt_tab = VALUE #( ( id = `1` name = `name1` )
( id = `2` name = `name2` )
( id = `3` name = `name3` )
( id = `4` name = `name4` )
).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_082.clas.abap b/src/z2ui5_cl_demo_app_082.clas.abap
index b167ac83..8cd08333 100644
--- a/src/z2ui5_cl_demo_app_082.clas.abap
+++ b/src/z2ui5_cl_demo_app_082.clas.abap
@@ -1,7 +1,6 @@
-CLASS Z2UI5_CL_DEMO_APP_082 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_082 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
TYPES:
@@ -13,15 +12,14 @@ CLASS Z2UI5_CL_DEMO_APP_082 DEFINITION PUBLIC.
info TYPE string,
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA mv_Counter TYPE i.
PROTECTED SECTION.
-
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA check_initialized TYPE abap_bool.
-
METHODS Z2UI5_on_init.
METHODS Z2UI5_on_event.
METHODS Z2UI5_view_display.
@@ -30,13 +28,11 @@ CLASS Z2UI5_CL_DEMO_APP_082 DEFINITION PUBLIC.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_082 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_082 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -50,15 +46,17 @@ CLASS Z2UI5_CL_DEMO_APP_082 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
WHEN 'TIMER_FINISHED'.
mv_counter = mv_counter + 1.
- INSERT VALUE #( title = 'entry' && mv_counter info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- INTO TABLE t_tab.
+ INSERT VALUE #( title = |entry{ mv_counter }|
+ info = 'completed'
+ descr = 'this is a description'
+ icon = 'sap-icon://account' )
+ INTO TABLE t_tab.
* client->timer_set(
* interval_ms = '2000'
@@ -74,13 +72,12 @@ CLASS Z2UI5_CL_DEMO_APP_082 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
mv_counter = 1.
t_tab = VALUE #(
- ( title = 'entry' && mv_counter info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' ) ).
+ ( title = |entry{ mv_counter }| info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' ) ).
* client->timer_set(
* interval_ms = '2000'
@@ -89,29 +86,29 @@ CLASS Z2UI5_CL_DEMO_APP_082 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_view_display.
DATA(lo_view) = z2ui5_cl_xml_view=>factory( ).
- lo_view->_z2ui5( )->timer( finished = client->_event( `TIMER_FINISHED` ) delayms = `2000` checkrepeat = abap_true ).
+ lo_view->_z2ui5( )->timer( finished = client->_event( `TIMER_FINISHED` )
+ delayms = `2000`
+ checkrepeat = abap_true ).
DATA(page) = lo_view->shell( )->page(
- title = 'abap2UI5 - Roundtrip Speed Test'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = 'abap2UI5 - Roundtrip Speed Test'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- page->list(
- headertext = 'Data auto refresh (2 sec)'
- items = client->_bind( t_tab )
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESCR}'
- icon = '{ICON}'
- info = '{INFO}' ).
+ page->list( headertext = 'Data auto refresh (2 sec)'
+ items = client->_bind( t_tab )
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESCR}'
+ icon = '{ICON}'
+ info = '{INFO}' ).
client->view_display( lo_view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_083.clas.abap b/src/z2ui5_cl_demo_app_083.clas.abap
index 89cdb1aa..ec67ba62 100644
--- a/src/z2ui5_cl_demo_app_083.clas.abap
+++ b/src/z2ui5_cl_demo_app_083.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_083 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -18,8 +17,9 @@ CLASS z2ui5_cl_demo_app_083 DEFINITION PUBLIC.
field_doma TYPE string,
END OF ty_s_tab_02.
- DATA mt_02 TYPE STANDARD TABLE OF ty_s_tab_02 WITH EMPTY KEY.
+ DATA mt_02 TYPE STANDARD TABLE OF ty_s_tab_02 WITH EMPTY KEY.
DATA mt_02_display TYPE STANDARD TABLE OF ty_s_tab_02 WITH EMPTY KEY.
+
TYPES:
BEGIN OF ty_s_tab_02_input,
name TYPE string,
@@ -35,6 +35,7 @@ CLASS z2ui5_cl_demo_app_083 DEFINITION PUBLIC.
high TYPE string,
key TYPE string,
END OF ty_s_filter_pop.
+
DATA mt_filter TYPE STANDARD TABLE OF ty_s_filter_pop WITH EMPTY KEY.
TYPES:
@@ -46,9 +47,9 @@ CLASS z2ui5_cl_demo_app_083 DEFINITION PUBLIC.
editable TYPE abap_bool,
END OF ty_s_token.
- DATA mv_value TYPE string.
- DATA mv_value2 TYPE string.
- DATA mt_token TYPE STANDARD TABLE OF ty_s_token WITH EMPTY KEY.
+ DATA mv_value TYPE string.
+ DATA mv_value2 TYPE string.
+ DATA mt_token TYPE STANDARD TABLE OF ty_s_token WITH EMPTY KEY.
DATA mt_mapping TYPE z2ui5_if_types=>ty_t_name_value.
@@ -60,13 +61,12 @@ CLASS z2ui5_cl_demo_app_083 DEFINITION PUBLIC.
END OF ty_s_filter.
DATA ms_filter TYPE ty_s_filter.
- DATA mv_name TYPE string.
+ DATA mv_name TYPE string.
- DATA mt_table TYPE REF TO data.
+ DATA mt_table TYPE REF TO data.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_init.
@@ -81,13 +81,11 @@ CLASS z2ui5_cl_demo_app_083 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_083 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -99,7 +97,6 @@ CLASS z2ui5_cl_demo_app_083 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -119,11 +116,10 @@ CLASS z2ui5_cl_demo_app_083 IMPLEMENTATION.
WHEN `FILTER_VALUE_HELP_OK`.
CLEAR ms_filter-product.
LOOP AT mt_filter REFERENCE INTO DATA(lr_filter).
- INSERT VALUE #(
- sign = `I`
- option = lr_filter->option
- low = lr_filter->low
- high = lr_filter->high
+ INSERT VALUE #( sign = `I`
+ option = lr_filter->option
+ low = lr_filter->low
+ high = lr_filter->high
) INTO TABLE ms_filter-product.
ENDLOOP.
@@ -147,11 +143,10 @@ CLASS z2ui5_cl_demo_app_083 IMPLEMENTATION.
CLEAR mt_filter.
LOOP AT ms_filter-product REFERENCE INTO DATA(lr_product).
- INSERT VALUE #(
- low = lr_product->low
- high = lr_product->high
- option = lr_product->option
- key = z2ui5_cl_util=>uuid_get_c32( )
+ INSERT VALUE #( low = lr_product->low
+ high = lr_product->high
+ option = lr_product->option
+ key = z2ui5_cl_util=>uuid_get_c32( )
) INTO TABLE mt_filter.
ENDLOOP.
@@ -162,31 +157,29 @@ CLASS z2ui5_cl_demo_app_083 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
- mt_01 = VALUE #( ( screen_name = `screen_01` ) ( screen_name = `screen_02` ) ).
+ mt_01 = VALUE #( ( screen_name = `screen_01` )
+ ( screen_name = `screen_02` ) ).
- mt_02 = VALUE #(
- ( screen_name = `screen_01` field_doma = `CHAR30` field = `MATNR` )
- ( screen_name = `screen_01` field_doma = `STRING` field = `LGNUM` )
- ( screen_name = `screen_02` field_doma = `PRODUCT` field = `PRODUCT` )
+ mt_02 = VALUE #( ( screen_name = `screen_01` field_doma = `CHAR30` field = `MATNR` )
+ ( screen_name = `screen_01` field_doma = `STRING` field = `LGNUM` )
+ ( screen_name = `screen_02` field_doma = `PRODUCT` field = `PRODUCT` )
).
mv_name = `screen_01`.
z2ui5_on_render_main( ).
- mt_mapping = VALUE #(
- ( n = `EQ` v = `={LOW}` )
- ( n = `LT` v = `<{LOW}` )
- ( n = `LE` v = `<={LOW}` )
- ( n = `GT` v = `>{LOW}` )
- ( n = `GE` v = `>={LOW}` )
- ( n = `CP` v = `*{LOW}*` )
- ( n = `BT` v = `{LOW}...{HIGH}` )
- ( n = `NE` v = `!(={LOW})` )
- ( n = `NE` v = `!()` )
- ( n = `` v = `` )
+ mt_mapping = VALUE #( ( n = `EQ` v = `={LOW}` )
+ ( n = `LT` v = `<{LOW}` )
+ ( n = `LE` v = `<={LOW}` )
+ ( n = `GT` v = `>{LOW}` )
+ ( n = `GE` v = `>={LOW}` )
+ ( n = `CP` v = `*{LOW}*` )
+ ( n = `BT` v = `{LOW}...{HIGH}` )
+ ( n = `NE` v = `!(={LOW})` )
+ ( n = `NE` v = `!()` )
+ ( n = `` v = `` )
).
ENDMETHOD.
@@ -195,15 +188,14 @@ CLASS z2ui5_cl_demo_app_083 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view = view->page( id = `page_main`
- title = 'abap2UI5 - Select-Options'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ view = view->page( id = `page_main`
+ title = 'abap2UI5 - Select-Options'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- DATA(page) = view->dynamic_page(
- headerexpanded = abap_true
- headerpinned = abap_true
+ DATA(page) = view->dynamic_page( headerexpanded = abap_true
+ headerpinned = abap_true
).
DATA(header_title) = page->title( ns = 'f'
@@ -215,19 +207,19 @@ CLASS z2ui5_cl_demo_app_083 IMPLEMENTATION.
header_title->snapped_content( ns = 'f' ).
DATA(lo_box) = page->header( )->dynamic_page_header( pinnable = abap_true
- )->flex_box( alignitems = `Start` justifycontent = `SpaceBetween` )->flex_box( alignitems = `Start` ).
+ )->flex_box( alignitems = `Start`
+ justifycontent = `SpaceBetween` )->flex_box( alignitems = `Start` ).
DATA(vbox) = lo_box->vbox( ).
- vbox->simple_form( editable = abap_true
+ vbox->simple_form( editable = abap_true
)->content( `form`
)->title( 'Table'
)->label( 'Name' ).
vbox->input( client->_bind_edit( mv_name ) ).
- vbox->button(
- text = 'read'
- press = client->_event( 'BUTTON_POST' )
+ vbox->button( text = 'read'
+ press = client->_event( 'BUTTON_POST' )
).
vbox = lo_box->vbox( ).
@@ -237,104 +229,102 @@ CLASS z2ui5_cl_demo_app_083 IMPLEMENTATION.
mt_02_display = mt_02.
DELETE mt_02_display WHERE screen_name <> mv_name.
- mt_tab_02_input = VALUE #( FOR line IN mt_cols ( name = line ) ).
+ mt_tab_02_input = VALUE #( FOR line IN mt_cols
+ ( name = line ) ).
LOOP AT mt_02_display REFERENCE INTO DATA(lr_tab).
- INSERT VALUE #(
- name = lr_tab->field
-* value = lr_tab->field_doma
+ INSERT VALUE #( name = lr_tab->field
+* value = lr_tab->field_doma
) INTO TABLE mt_tab_02_input.
ENDLOOP.
-*
- vbox->list(
- items = client->_bind( mt_tab_02_input )
- headertext = `Filter`
+ "
+ vbox->list( items = client->_bind( mt_tab_02_input )
+ headertext = `Filter`
)->custom_list_item(
)->hbox(
)->text( `{NAME}`
- )->multi_input(
- tokens = client->_bind( mt_token )
- showclearicon = abap_true
- value = `{VALUE}`
- tokenupdate = client->_event( val = 'FILTER_UPDATE1' )
- submit = client->_event( 'FILTER_UPDATE' )
- id = `FILTER`
- valuehelprequest = client->_event( 'FILTER_VALUE_HELP' )
- )->item(
- key = `{KEY}`
- text = `{TEXT}`
+ )->multi_input( tokens = client->_bind( mt_token )
+ showclearicon = abap_true
+ value = `{VALUE}`
+ tokenupdate = client->_event( val = 'FILTER_UPDATE1' )
+ submit = client->_event( 'FILTER_UPDATE' )
+ id = `FILTER`
+ valuehelprequest = client->_event( 'FILTER_VALUE_HELP' )
+ )->item( key = `{KEY}`
+ text = `{TEXT}`
)->tokens(
- )->token(
- key = `{KEY}`
- text = `{TEXT}`
- visible = `{VISIBLE}`
- selected = `{SELKZ}`
- editable = `{EDITABLE}` ).
+ )->token( key = `{KEY}`
+ text = `{TEXT}`
+ visible = `{VISIBLE}`
+ selected = `{SELKZ}`
+ editable = `{EDITABLE}` ).
ENDIF.
client->view_display( page->get_root( )->xml_get( ) ).
ENDMETHOD.
-
METHOD z2ui5_on_render_pop_filter.
DATA(lo_popup) = z2ui5_cl_xml_view=>factory_popup( ).
- lo_popup = lo_popup->dialog(
- contentheight = `50%`
- contentwidth = `50%`
- title = 'Define Conditons - Product' ).
+ lo_popup = lo_popup->dialog( contentheight = `50%`
+ contentwidth = `50%`
+ title = 'Define Conditons - Product' ).
- DATA(vbox) = lo_popup->vbox( height = `100%` justifycontent = 'SpaceBetween' ).
+ DATA(vbox) = lo_popup->vbox( height = `100%`
+ justifycontent = 'SpaceBetween' ).
- DATA(pan) = vbox->panel(
- expandable = abap_false
- expanded = abap_true
- headertext = `Product`
+ DATA(pan) = vbox->panel( expandable = abap_false
+ expanded = abap_true
+ headertext = `Product`
).
DATA(item) = pan->list(
- " headertext = `Product`
- nodata = `no conditions defined`
- items = client->_bind_edit( mt_filter )
- selectionchange = client->_event( 'SELCHANGE' )
+ " headertext = `Product`
+ nodata = `no conditions defined`
+ items = client->_bind_edit( mt_filter )
+ selectionchange = client->_event( 'SELCHANGE' )
)->custom_list_item( ).
DATA(grid) = item->grid( ).
- grid->combobox(
- selectedkey = `{OPTION}`
- items = client->_bind_edit( mt_mapping )
- )->item(
- key = '{N}'
- text = '{N}'
+ grid->combobox( selectedkey = `{OPTION}`
+ items = client->_bind_edit( mt_mapping )
+ )->item( key = '{N}'
+ text = '{N}'
)->get_parent(
)->input( value = `{LOW}`
- )->input( value = `{HIGH}` visible = `{= ${OPTION} === 'BT' }`
- )->button( icon = 'sap-icon://decline' type = `Transparent` press = client->_event( val = `POPUP_DELETE` t_arg = VALUE #( ( `${KEY}` ) ) )
+ )->input( value = `{HIGH}`
+ visible = `{= ${OPTION} === 'BT' }`
+ )->button( icon = 'sap-icon://decline'
+ type = `Transparent`
+ press = client->_event( val = `POPUP_DELETE`
+ t_arg = VALUE #( ( `${KEY}` ) ) )
).
lo_popup->footer( )->overflow_toolbar(
- )->button( text = `Delete All` icon = 'sap-icon://delete' type = `Transparent` press = client->_event( val = `POPUP_DELETE_ALL` )
- )->button( text = `Add Item` icon = `sap-icon://add` press = client->_event( val = `POPUP_ADD` )
+ )->button( text = `Delete All`
+ icon = 'sap-icon://delete'
+ type = `Transparent`
+ press = client->_event( val = `POPUP_DELETE_ALL` )
+ )->button( text = `Add Item`
+ icon = `sap-icon://add`
+ press = client->_event( val = `POPUP_ADD` )
)->toolbar_spacer(
- )->button(
- text = 'OK'
- press = client->_event( 'FILTER_VALUE_HELP_OK' )
- type = 'Emphasized'
- )->button(
- text = 'Cancel'
- press = client->_event( 'FILTER_VALUE_HELP_CANCEL' )
+ )->button( text = 'OK'
+ press = client->_event( 'FILTER_VALUE_HELP_OK' )
+ type = 'Emphasized'
+ )->button( text = 'Cancel'
+ press = client->_event( 'FILTER_VALUE_HELP_CANCEL' )
).
client->popup_display( lo_popup->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_set_data.
- "replace this with a db select here...
+ " replace this with a db select here...
* mt_table = VALUE #(
* ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
* ( product = 'chair' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
@@ -344,9 +334,10 @@ CLASS z2ui5_cl_demo_app_083 IMPLEMENTATION.
* ( product = 'table2' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
* ).
- "put the range in the where clause of your abap sql command
- "using internal table instead
+ " put the range in the where clause of your abap sql command
+ " using internal table instead
* DELETE mt_table WHERE product NOT IN ms_filter-product.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_084.clas.abap b/src/z2ui5_cl_demo_app_084.clas.abap
index 5bbe6354..438d3e0d 100644
--- a/src/z2ui5_cl_demo_app_084.clas.abap
+++ b/src/z2ui5_cl_demo_app_084.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_084 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA:
@@ -24,6 +23,7 @@ CLASS z2ui5_cl_demo_app_084 DEFINITION PUBLIC.
value TYPE string,
descr TYPE string,
END OF s_suggestion_items.
+
DATA mt_suggestion TYPE STANDARD TABLE OF s_suggestion_items WITH EMPTY KEY.
TYPES:
@@ -34,14 +34,11 @@ CLASS z2ui5_cl_demo_app_084 DEFINITION PUBLIC.
TYPES ty_t_combo TYPE STANDARD TABLE OF s_combobox WITH EMPTY KEY.
-
-
DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
PROTECTED SECTION.
-
METHODS z2ui5_on_rendering.
METHODS z2ui5_on_event.
METHODS z2ui5_on_init.
@@ -50,10 +47,8 @@ CLASS z2ui5_cl_demo_app_084 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_084 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -61,28 +56,27 @@ CLASS z2ui5_cl_demo_app_084 IMPLEMENTATION.
IF check_initialized = abap_false.
check_initialized = abap_true.
- DATA(lv_script) = `` && |\n| &&
- `function setInputFIlter(){` && |\n| &&
- ` var inp = sap.z2ui5.oView.byId('suggInput');` && |\n| &&
- ` inp.setFilterFunction(function(sValue, oItem){` && |\n| &&
- ` var aSplit = sValue.split(" ");` && |\n| &&
- ` if (aSplit.length > 0) {` && |\n| &&
- ` var sTermNew = aSplit.slice(-1)[0];` && |\n| &&
- ` sTermNew.trim();` && |\n| &&
- ` if (sTermNew) {` && |\n| &&
- ` return oItem.getText().match(new RegExp(sTermNew, "i"));` && |\n| &&
- ` }` && |\n| &&
- ` }` && |\n| &&
- ` });` && |\n| &&
- `}`.
-
+ DATA(lv_script) = || && |\n| &&
+ |function setInputFIlter()\{| && |\n| &&
+ | var inp = sap.z2ui5.oView.byId('suggInput');| && |\n| &&
+ | inp.setFilterFunction(function(sValue, oItem)\{| && |\n| &&
+ | var aSplit = sValue.split(" ");| && |\n| &&
+ | if (aSplit.length > 0) \{| && |\n| &&
+ | var sTermNew = aSplit.slice(-1)[0];| && |\n| &&
+ | sTermNew.trim();| && |\n| &&
+ | if (sTermNew) \{| && |\n| &&
+ | return oItem.getText().match(new RegExp(sTermNew, "i"));| && |\n| &&
+ | \}| && |\n| &&
+ | \}| && |\n| &&
+ | \});| && |\n| &&
+ |\}|.
client->view_display( z2ui5_cl_xml_view=>factory(
- )->_z2ui5( )->timer( client->_event( `START` )
- )->_generic( ns = `html` name = `script` )->_cc_plain_xml( lv_script
+ )->_z2ui5( )->timer( client->_event( `START` )
+ )->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( lv_script
)->stringify( ) ).
-
z2ui5_on_init( ).
RETURN.
ENDIF.
@@ -91,29 +85,40 @@ CLASS z2ui5_cl_demo_app_084 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
WHEN 'START'.
z2ui5_on_rendering( ).
WHEN 'BUTTON_MCUSTOM'.
-* send type = '' is mandatory in order to not break current implementation
- client->message_box_display( type = '' text = 'Custom MessageBox' icon = `SUCCESS`
- title = 'Custom MessageBox' actions = VALUE #( ( `First Button` ) ( `Second Button` ) ) emphasizedaction = `First Button`
- onclose = `callMessageToast()` details = `these are details `).
+ " send type = '' is mandatory in order to not break current implementation
+ client->message_box_display( type = ''
+ text = 'Custom MessageBox'
+ icon = `SUCCESS`
+ title = 'Custom MessageBox'
+ actions = VALUE #( ( `First Button` ) ( `Second Button` ) )
+ emphasizedaction = `First Button`
+ onclose = `callMessageToast()`
+ details = `these are details ` ).
WHEN 'BUTTON_MCONFIRM'.
- client->message_box_display( type = 'confirm' text = 'Confirm MessageBox' ).
+ client->message_box_display( type = 'confirm'
+ text = 'Confirm MessageBox' ).
WHEN 'BUTTON_MALERT'.
- client->message_box_display( type = 'alert' text = 'Alert MessageBox' ).
+ client->message_box_display( type = 'alert'
+ text = 'Alert MessageBox' ).
WHEN 'BUTTON_MERROR'.
- client->message_box_display( type = 'error' text = 'Error MessageBox' ).
+ client->message_box_display( type = 'error'
+ text = 'Error MessageBox' ).
WHEN 'BUTTON_MINFO'.
- client->message_box_display( type = 'information' text = 'Information MessageBox' ).
+ client->message_box_display( type = 'information'
+ text = 'Information MessageBox' ).
WHEN 'BUTTON_MWARNING'.
- client->message_box_display( type = 'warning' text = 'Warning MessageBox' ).
+ client->message_box_display( type = 'warning'
+ text = 'Warning MessageBox' ).
WHEN 'BUTTON_MSUCCESS'.
- client->message_box_display( type = 'success' text = 'Success MessageBox' icon = `sap-icon://accept` ).
+ client->message_box_display( type = 'success'
+ text = 'Success MessageBox'
+ icon = `sap-icon://accept` ).
WHEN 'BUTTON_SEND'.
client->message_box_display( 'success - values send to the server' ).
WHEN 'BUTTON_CLEAR'.
@@ -126,97 +131,85 @@ CLASS z2ui5_cl_demo_app_084 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
- screen = VALUE #(
- check_is_active = abap_true
- colour = 'BLUE'
- combo_key = 'GRAY'
- segment_key = 'GREEN'
- date = '07.12.22'
- date_time = '23.12.2022, 19:27:20'
- time_start = '05:24:00'
- time_end = '17:23:57').
-
- mt_suggestion = VALUE #(
- ( descr = 'Green' value = 'GREEN' )
- ( descr = 'Blue' value = 'BLUE' )
- ( descr = 'Black' value = 'BLACK' )
- ( descr = 'Gray' value = 'GRAY' )
- ( descr = 'Blue2' value = 'BLUE2' )
- ( descr = 'Blue3' value = 'BLUE3' ) ).
+ screen = VALUE #( check_is_active = abap_true
+ colour = 'BLUE'
+ combo_key = 'GRAY'
+ segment_key = 'GREEN'
+ date = '07.12.22'
+ date_time = '23.12.2022, 19:27:20'
+ time_start = '05:24:00'
+ time_end = '17:23:57' ).
+
+ mt_suggestion = VALUE #( ( descr = 'Green' value = 'GREEN' )
+ ( descr = 'Blue' value = 'BLUE' )
+ ( descr = 'Black' value = 'BLACK' )
+ ( descr = 'Gray' value = 'GRAY' )
+ ( descr = 'Blue2' value = 'BLUE2' )
+ ( descr = 'Blue3' value = 'BLUE3' ) ).
ENDMETHOD.
-
METHOD z2ui5_on_rendering.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `script` ns = `html` )->_cc_plain_xml( `function callMessageToast(sAction) { sap.m.MessageToast.show('Hello there !!'); }` ).
+ view->_generic( name = `script`
+ ns = `html` )->_cc_plain_xml(
+ `function callMessageToast(sAction) { sap.m.MessageToast.show('Hello there !!'); }` ).
DATA(page) = view->shell(
- )->page(
- showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
- title = 'abap2UI5 - Selection-Screen Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
+ title = 'abap2UI5 - Selection-Screen Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(grid) = page->grid( 'L6 M12 S12'
)->content( 'layout' ).
- grid->simple_form( title = 'Input' editable = abap_true
+ grid->simple_form( title = 'Input'
+ editable = abap_true
)->content( 'form'
)->label( 'Input with suggestion items'
- )->input(
- id = `suggInput`
- value = client->_bind_edit( screen-colour )
- placeholder = 'Fill in your favorite color'
- suggestionitems = client->_bind( mt_suggestion )
- showsuggestion = abap_true )->get(
+ )->input( id = `suggInput`
+ value = client->_bind_edit( screen-colour )
+ placeholder = 'Fill in your favorite color'
+ suggestionitems = client->_bind( mt_suggestion )
+ showsuggestion = abap_true )->get(
)->suggestion_items( )->get(
- )->list_item(
- text = '{VALUE}'
- additionaltext = '{DESCR}' ).
+ )->list_item( text = '{VALUE}'
+ additionaltext = '{DESCR}' ).
page->footer( )->overflow_toolbar(
)->text( text = `MessageBox Types`
- )->button(
- text = 'Confirm'
- press = client->_event( 'BUTTON_MCONFIRM' )
- )->button(
- text = 'Alert'
- press = client->_event( 'BUTTON_MALERT' )
- )->button(
- text = 'Error'
- press = client->_event( 'BUTTON_MERROR' )
- )->button(
- text = 'Information'
- press = client->_event( 'BUTTON_MINFO' )
- )->button(
- text = 'Warning'
- press = client->_event( 'BUTTON_MWARNING' )
- )->button(
- text = 'Success'
- press = client->_event( 'BUTTON_MSUCCESS' )
- )->button(
- text = 'Custom'
- press = client->_event( 'BUTTON_MCUSTOM' )
+ )->button( text = 'Confirm'
+ press = client->_event( 'BUTTON_MCONFIRM' )
+ )->button( text = 'Alert'
+ press = client->_event( 'BUTTON_MALERT' )
+ )->button( text = 'Error'
+ press = client->_event( 'BUTTON_MERROR' )
+ )->button( text = 'Information'
+ press = client->_event( 'BUTTON_MINFO' )
+ )->button( text = 'Warning'
+ press = client->_event( 'BUTTON_MWARNING' )
+ )->button( text = 'Success'
+ press = client->_event( 'BUTTON_MSUCCESS' )
+ )->button( text = 'Custom'
+ press = client->_event( 'BUTTON_MCUSTOM' )
)->toolbar_spacer(
- )->button(
- text = 'Clear'
- press = client->_event( 'BUTTON_CLEAR' )
- type = 'Reject'
- icon = 'sap-icon://delete'
- )->button(
- text = 'Send to Server'
- press = client->_event( 'BUTTON_SEND' )
- type = 'Success' ).
-
+ )->button( text = 'Clear'
+ press = client->_event( 'BUTTON_CLEAR' )
+ type = 'Reject'
+ icon = 'sap-icon://delete'
+ )->button( text = 'Send to Server'
+ press = client->_event( 'BUTTON_SEND' )
+ type = 'Success' ).
- view->_generic( name = `script` ns = `html` )->_cc_plain_xml( `setInputFIlter()` ).
+ view->_generic( name = `script`
+ ns = `html` )->_cc_plain_xml( `setInputFIlter()` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_085.clas.abap b/src/z2ui5_cl_demo_app_085.clas.abap
index c5ec4335..735f55ef 100644
--- a/src/z2ui5_cl_demo_app_085.clas.abap
+++ b/src/z2ui5_cl_demo_app_085.clas.abap
@@ -1,12 +1,9 @@
-CLASS Z2UI5_CL_DEMO_APP_085 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+CLASS z2ui5_cl_demo_app_085 DEFINITION
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES Z2UI5_if_app .
+ INTERFACES Z2UI5_if_app.
TYPES:
BEGIN OF ty_s_tab,
@@ -15,8 +12,8 @@ CLASS Z2UI5_CL_DEMO_APP_085 DEFINITION
productname TYPE string,
Suppliername TYPE string,
Measure TYPE p LENGTH 10 DECIMALS 2,
- unit TYPE string, "meins,
- price TYPE p LENGTH 14 DECIMALS 3, "p LENGTH 10 DECIMALS 2,
+ unit TYPE string, " meins,
+ price TYPE p LENGTH 14 DECIMALS 3, " p LENGTH 10 DECIMALS 2,
waers TYPE waers,
Width TYPE string,
Depth TYPE string,
@@ -27,7 +24,7 @@ CLASS Z2UI5_CL_DEMO_APP_085 DEFINITION
pic TYPE string,
rating TYPE string,
process TYPE string,
- END OF ty_s_tab .
+ END OF ty_s_tab.
TYPES:
BEGIN OF ty_s_tab_supplier,
Suppliername TYPE string,
@@ -37,42 +34,39 @@ CLASS Z2UI5_CL_DEMO_APP_085 DEFINITION
city TYPE string,
street TYPE string,
country TYPE string,
- END OF ty_s_tab_supplier .
- TYPES:
- ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY .
- TYPES:
- ty_t_table_supplier TYPE STANDARD TABLE OF ty_s_tab_supplier WITH EMPTY KEY .
+ END OF ty_s_tab_supplier.
+ TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
+ TYPES ty_t_table_supplier TYPE STANDARD TABLE OF ty_s_tab_supplier WITH EMPTY KEY.
- DATA mt_table TYPE ty_t_table .
- DATA mt_table_supplier TYPE ty_t_table_supplier .
- DATA check_initialized TYPE abap_bool .
- DATA mv_search_value TYPE string.
- PROTECTED SECTION.
+ DATA mt_table TYPE ty_t_table.
+ DATA mt_table_supplier TYPE ty_t_table_supplier.
+ DATA check_initialized TYPE abap_bool.
+ DATA mv_search_value TYPE string.
- DATA client TYPE REF TO Z2UI5_if_client .
+ PROTECTED SECTION.
+ DATA client TYPE REF TO Z2UI5_if_client.
- METHODS view_display_master .
- METHODS view_display_detail .
- METHODS Z2UI5_set_data .
- METHODS Z2UI5_on_event .
- METHODS Z2UI5_on_init .
+ METHODS view_display_master.
+ METHODS view_display_detail.
+ METHODS Z2UI5_set_data.
+ METHODS Z2UI5_on_event.
+ METHODS Z2UI5_on_init.
METHODS Z2UI5_set_search.
- PRIVATE SECTION.
- DATA lv_layout TYPE string .
- DATA ls_detail TYPE ty_s_tab .
- DATA lv_sort_desc TYPE abap_bool VALUE abap_true.
- DATA c_pic_url TYPE string VALUE 'https://sapui5.hana.ondemand.com/sdk/test-resources/sap/ui/documentation/sdk/images/'.
- DATA ls_detail_supplier TYPE ty_s_tab_supplier .
+ PRIVATE SECTION.
+ DATA lv_layout TYPE string.
+ DATA ls_detail TYPE ty_s_tab.
+ DATA lv_sort_desc TYPE abap_bool VALUE abap_true.
+ DATA c_pic_url TYPE string
+ VALUE 'https://sapui5.hana.ondemand.com/sdk/test-resources/sap/ui/documentation/sdk/images/'.
+ DATA ls_detail_supplier TYPE ty_s_tab_supplier.
DATA check_detail_active TYPE abap_bool.
- METHODS sort .
+ METHODS sort.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_085 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_085 IMPLEMENTATION.
METHOD sort.
IF lv_sort_desc = abap_true.
@@ -84,180 +78,209 @@ CLASS Z2UI5_CL_DEMO_APP_085 IMPLEMENTATION.
ENDIF.
ENDMETHOD.
-
METHOD view_display_detail.
DATA(lo_view_nested) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = lo_view_nested->object_page_layout(
- showtitleinheadercontent = abap_true
- showeditheaderbutton = abap_true
- editheaderbuttonpress = client->_event( 'EDIT_HEADER_PRESS' )
- uppercaseanchorbar = abap_false
+ DATA(page) = lo_view_nested->object_page_layout( showtitleinheadercontent = abap_true
+ showeditheaderbutton = abap_true
+ editheaderbuttonpress = client->_event( 'EDIT_HEADER_PRESS' )
+ uppercaseanchorbar = abap_false
).
- DATA(header_title) = page->header_title( )->object_page_dyn_header_title( ).
+ DATA(header_title) = page->header_title( )->object_page_dyn_header_title( ).
header_title->expanded_heading(
)->hbox(
* )->title( Text = |Product Id |
- )->info_label( text = |Product Id | && client->_bind_local( val = ls_detail-productid ) colorScheme = '9'
- width = '200px' icon = 'sap-icon://home-share' ) .
+ )->info_label( text = |Product Id { client->_bind_local( val = ls_detail-productid ) }|
+ colorScheme = '9'
+ width = '200px'
+ icon = 'sap-icon://home-share' ).
header_title->snapped_heading(
)->flex_box( alignitems = `Center`
- )->avatar( src = c_pic_url && ls_detail-pic class = 'sapUiTinyMarginEnd'
- )->info_label( text = |Product Id | && client->_bind_local( val = ls_detail-productid ) colorScheme = '9'
- width = '200px' icon = 'sap-icon://home-share' ) .
+ )->avatar( src = c_pic_url && ls_detail-pic
+ class = 'sapUiTinyMarginEnd'
+ )->info_label( text = |Product Id { client->_bind_local( val = ls_detail-productid ) }|
+ colorScheme = '9'
+ width = '200px'
+ icon = 'sap-icon://home-share' ).
header_title->expanded_content( ns = `uxap` )->text( client->_bind_local( val = ls_detail-productname ) ).
header_title->snapped_Content( ns = `uxap` )->text( client->_bind_local( val = ls_detail-productname ) ).
- header_title->snapped_Title_On_Mobile( )->title( client->_bind_local( val = ls_detail-productname ) ).
+ header_title->snapped_Title_On_Mobile( )->title( client->_bind_local( val = ls_detail-productname ) ).
header_title->actions( ns = `uxap` )->overflow_toolbar(
- )->overflow_toolbar_button(
- icon = `sap-icon://supplier`
- text = 'Supplier Detail'
- type = 'Transparent'
- enabled = 'true'
- tooltip = 'Goto Supplier'
- press = client->_event( 'ONGOTOSUPPLIER' )
- )->overflow_toolbar_button(
- icon = `sap-icon://exit-full-screen`
- text = 'Exit Fullscreen Mode'
- type = 'Transparent'
- tooltip = 'Close Fullscreen Mode'
- enabled = SWITCH string( lv_layout
- WHEN 'TwoColumnsMidExpanded' THEN 'false'
- WHEN 'MidColumnFullScreen' THEN 'true'
- )
- press = client->_event( 'ONEXITFULLSCREENMODE' )
- )->overflow_toolbar_button(
- icon = `sap-icon://full-screen`
- text = 'Enter Fullscreen Mode'
- type = 'Transparent'
- enabled = SWITCH string( lv_layout
- WHEN 'TwoColumnsMidExpanded' THEN 'true'
- WHEN 'MidColumnFullScreen' THEN 'false'
- )
- tooltip = 'Fullscreen Mode'
- press = client->_event( 'ONFULLSCREENMODE' )
- )->overflow_toolbar_button(
- icon = `sap-icon://decline`
- text = 'Exit Detail Screen'
- type = 'Transparent'
- enabled = 'true'
- tooltip = 'Close Detail'
- press = client->_event( 'ONCLOSEDETAIL' )
+ )->overflow_toolbar_button( icon = `sap-icon://supplier`
+ text = 'Supplier Detail'
+ type = 'Transparent'
+ enabled = 'true'
+ tooltip = 'Goto Supplier'
+ press = client->_event( 'ONGOTOSUPPLIER' )
+ )->overflow_toolbar_button( icon = `sap-icon://exit-full-screen`
+ text = 'Exit Fullscreen Mode'
+ type = 'Transparent'
+ tooltip = 'Close Fullscreen Mode'
+ enabled = SWITCH string( lv_layout
+ WHEN 'TwoColumnsMidExpanded' THEN 'false'
+ WHEN 'MidColumnFullScreen' THEN 'true'
+ )
+ press = client->_event( 'ONEXITFULLSCREENMODE' )
+ )->overflow_toolbar_button( icon = `sap-icon://full-screen`
+ text = 'Enter Fullscreen Mode'
+ type = 'Transparent'
+ enabled = SWITCH string( lv_layout
+ WHEN 'TwoColumnsMidExpanded' THEN 'true'
+ WHEN 'MidColumnFullScreen' THEN 'false'
+ )
+ tooltip = 'Fullscreen Mode'
+ press = client->_event( 'ONFULLSCREENMODE' )
+ )->overflow_toolbar_button( icon = `sap-icon://decline`
+ text = 'Exit Detail Screen'
+ type = 'Transparent'
+ enabled = 'true'
+ tooltip = 'Close Detail'
+ press = client->_event( 'ONCLOSEDETAIL' )
).
DATA(header_content) = page->header_Content( ns = 'uxap' ).
header_content->flex_box( wrap = 'Wrap'
- )->avatar( src = c_pic_url && ls_detail-pic class = 'sapUiSmallMarginEnd' displaySize = 'layout'
+ )->avatar( src = c_pic_url && ls_detail-pic
+ class = 'sapUiSmallMarginEnd'
+ displaySize = 'layout'
)->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( text = 'Dimension'
- )->label( text = 'Weight'
- )->label( text = 'Price'
- )->label( text = 'Rating'
- )->label( text = 'Achived goals'
+ )->label( text = 'Dimension'
+ )->label( text = 'Weight'
+ )->label( text = 'Price'
+ )->label( text = 'Rating'
+ )->label( text = 'Achived goals'
)->get_parent(
)->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->text( text = | { ls_detail-width } x { ls_detail-depth } x { ls_detail-height } { ls_detail-dimunit }|
- )->object_number( number = CONV string( ls_detail-measure ) unit = ls_detail-unit state = ls_detail-state_measure
+ )->text( text = | { ls_detail-width } x { ls_detail-depth } x { ls_detail-height } { ls_detail-dimunit }|
+ )->object_number( number = CONV string( ls_detail-measure )
+ unit = ls_detail-unit
+ state = ls_detail-state_measure
)->text( text = |{ ls_detail-price } { ls_detail-waers } |
** )->object_number( number = `{ parts: [ { path : 'PRICE' } , { path : 'WAERS' } ] } ` state = ls_detail-state_price
)->vbox(
- )->rating_indicator( class = 'sapUiSmallMarginBottom' value = ls_detail-rating maxvalue = '6' displayOnly = 'true'
+ )->rating_indicator( class = 'sapUiSmallMarginBottom'
+ value = ls_detail-rating
+ maxvalue = '6'
+ displayOnly = 'true'
)->get_parent(
- )->progress_indicator( percentvalue = ls_detail-process displayvalue = |{ ls_detail-process } %| state = ls_detail-state_price showvalue = 'true'
+ )->progress_indicator( percentvalue = ls_detail-process
+ displayvalue = |{ ls_detail-process } %|
+ state = ls_detail-state_price
+ showvalue = 'true'
)->get_parent( )->get_parent(
)->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( text = 'Supplier'
- )->label( text = 'Country'
- )->label( text = 'City'
- )->label( text = 'Street'
- )->label( text = 'Mail'
- )->label( text = 'Phone'
+ )->label( text = 'Supplier'
+ )->label( text = 'Country'
+ )->label( text = 'City'
+ )->label( text = 'Street'
+ )->label( text = 'Mail'
+ )->label( text = 'Phone'
)->get_parent(
)->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( text = ls_detail_supplier-suppliername
- )->label( text = ls_detail_supplier-country
- )->label( text = |{ ls_detail_supplier-zipcode }-{ ls_detail_supplier-city } |
- )->link( text = ls_detail_supplier-street href = |https://www.google.com/maps/search/?api=1&query={ ls_detail_supplier-street },{ ls_detail_supplier-city },{ ls_detail_supplier-country }|
- target = '_blank'
- )->link( text = ls_detail_supplier-email href = |mailto:{ ls_detail_supplier-email }| target = '_blank'
- )->link( text = ls_detail_supplier-phone href = |tel:{ ls_detail_supplier-phone }|
+ )->label( text = ls_detail_supplier-SupplierName
+ )->label( text = ls_detail_supplier-Country
+ )->label( text = |{ ls_detail_supplier-ZipCode }-{ ls_detail_supplier-City } |
+ )->link(
+ text = ls_detail_supplier-Street
+ href = |https://www.google.com/maps/search/?api=1&query={ ls_detail_supplier-Street },{ ls_detail_supplier-City },{ ls_detail_supplier-Country }|
+ target = '_blank'
+ )->link( text = ls_detail_supplier-Email
+ href = |mailto:{ ls_detail_supplier-Email }|
+ target = '_blank'
+ )->link( text = ls_detail_supplier-Phone
+ href = |tel:{ ls_detail_supplier-Phone }|
)->get_parent(
).
DATA(sections) = page->sections( ).
- sections->object_page_section( titleuppercase = abap_false id = 'SectionDescription' title = 'Description'
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'SectionDescription'
+ title = 'Description'
)->heading( ns = `uxap`
* )->message_strip( text = 'this is a message strip'
)->get_parent(
)->sub_sections(
- )->object_page_sub_section( id = 'SectionDescription1' title = 'Description'
+ )->object_page_sub_section( id = 'SectionDescription1'
+ title = 'Description'
)->blocks(
)->vbox(
- )->text_area( rows = '10' value = 'Text' editable = 'false' width = '100%'
+ )->text_area( rows = '10'
+ value = 'Text'
+ editable = 'false'
+ width = '100%'
)->get_parent( )->get_parent( )->get_parent(
- )->object_page_sub_section( id = 'SectionDescription2' title = 'Picture'
+ )->object_page_sub_section( id = 'SectionDescription2'
+ title = 'Picture'
)->blocks(
)->vbox(
)->image( src = c_pic_url && ls_detail-pic ).
- sections->object_page_section( titleuppercase = abap_false id = 'SupplierSection' title = 'Supplier'
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'SupplierSection'
+ title = 'Supplier'
)->heading( ns = `uxap`
)->get_parent(
)->sub_sections(
- )->object_page_sub_section( id = 'SupplierSection1' title = 'Connect'
+ )->object_page_sub_section( id = 'SupplierSection1'
+ title = 'Connect'
)->blocks(
* )->simple_form( layout = 'ResponsiveGridLayout' editable = 'false'
* )->content(
- )->label( text = |Phone { ls_detail_supplier-phone }|
- )->label( text = |Mail { ls_detail_supplier-email }|
+ )->label( text = |Phone { ls_detail_supplier-Phone }|
+ )->label( text = |Mail { ls_detail_supplier-Email }|
)->get_parent( )->get_parent( )->get_parent(
- )->object_page_sub_section( id = 'SupplierSection2' title = 'Payment information '
+ )->object_page_sub_section( id = 'SupplierSection2'
+ title = 'Payment information '
)->blocks(
- )->label( text = '20 Days Net' ).
+ )->label( text = '20 Days Net' ).
- sections->object_page_section( titleuppercase = abap_false id = 'Others' title = 'Others'
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'Others'
+ title = 'Others'
)->heading( ns = `uxap`
)->get_parent(
)->sub_sections(
- )->object_page_sub_section( id = 'Others1' title = 'Information'
+ )->object_page_sub_section( id = 'Others1'
+ title = 'Information'
)->blocks(
)->vbox(
- )->label( text = 'info'
- )->label( text = 'info'
+ )->label( text = 'info'
+ )->label( text = 'info'
)->get_parent( )->get_parent( )->get_parent(
- )->object_page_sub_section( id = 'Others2' title = 'Details '
+ )->object_page_sub_section( id = 'Others2'
+ title = 'Details '
)->blocks(
)->vbox(
- )->label( text = 'details'
- )->label( text = 'details'
-
- )->label( text = 'details' ).
+ )->label( text = 'details'
+ )->label( text = 'details'
+ )->label( text = 'details' ).
-
-
- sections->object_page_section( titleuppercase = abap_false id = 'OtherSuppliers' title = 'Other Supplier'
+ sections->object_page_section( titleuppercase = abap_false
+ id = 'OtherSuppliers'
+ title = 'Other Supplier'
)->heading( ns = `uxap`
)->get_parent(
)->sub_sections(
- )->object_page_sub_section( id = 'OtherSupplier1' title = 'Supplier List'
- )->scroll_container( height = '100%' vertical = abap_true
- )->table(
- inset = abap_false
- showSeparators = 'Inner'
- headerText = 'Suppliers'
-* growing = abap_true
-* growingthreshold = '20'
-* growingscrolltoload = abap_true
- items = client->_bind( mt_table_supplier )
- sticky = 'ColumnHeaders,HeaderToolbar'
+ )->object_page_sub_section( id = 'OtherSupplier1'
+ title = 'Supplier List'
+ )->scroll_container( height = '100%'
+ vertical = abap_true
+ )->table( inset = abap_false
+ showSeparators = 'Inner'
+ headerText = 'Suppliers'
+* growing = abap_true
+* growingthreshold = '20'
+* growingscrolltoload = abap_true
+ items = client->_bind( mt_table_supplier )
+ sticky = 'ColumnHeaders,HeaderToolbar'
)->columns(
)->column(
@@ -268,87 +291,101 @@ CLASS Z2UI5_CL_DEMO_APP_085 IMPLEMENTATION.
)->text( 'City' )->get_parent(
)->get_parent(
-
)->items(
- )->column_list_item( type = 'Navigation' press = client->_event( val = `ONPRESSSUPPLIER` t_arg = VALUE #( ( `${SUPPLIERNAME}` ) ) )
+ )->column_list_item( type = 'Navigation'
+ press = client->_event( val = `ONPRESSSUPPLIER`
+ t_arg = VALUE #( ( `${SUPPLIERNAME}` ) ) )
)->cells(
)->text( text = '{SUPPLIERNAME}' )->get_parent(
)->text( text = '{COUNTRY}'
)->text( text = '{CITY}'
).
-
check_detail_active = abap_true.
- client->nest_view_display(
- val = lo_view_nested->stringify( )
- id = `Detail`
- method_insert = 'addMidColumnPage'
- method_destroy = 'removeAllMidColumnPages'
+ client->nest_view_display( val = lo_view_nested->stringify( )
+ id = `Detail`
+ method_insert = 'addMidColumnPage'
+ method_destroy = 'removeAllMidColumnPages'
).
ENDMETHOD.
-
METHOD view_display_master.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->shell( )->page(
- title = 'abap2UI5 - Master Detail'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ DATA(page) = view->shell( )->page( title = 'abap2UI5 - Master Detail'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->header_content(
- )->link( text = 'Demo' target = '_blank' href = `https://twitter.com/abap2UI5/status/1691003695654133760`
+ )->link( text = 'Demo'
+ target = '_blank'
+ href = `https://twitter.com/abap2UI5/status/1691003695654133760`
)->link(
)->get_parent( ).
- DATA(lr_master) = page->flexible_column_layout( layout = lv_layout id = 'Detail' )->begin_column_pages( ).
-
- DATA(tab) = lr_master->scroll_container( height = '100%' vertical = abap_true
- )->table(
- inset = abap_false
- showSeparators = 'Inner'
- headerText = 'Products'
-* growing = abap_true
-* growingthreshold = '20'
-* growingscrolltoload = abap_true
- items = client->_bind( mt_table )
- sticky = 'ColumnHeaders,HeaderToolbar' ).
+ DATA(lr_master) = page->flexible_column_layout( layout = lv_layout
+ id = 'Detail' )->begin_column_pages( ).
+ DATA(tab) = lr_master->scroll_container( height = '100%'
+ vertical = abap_true
+ )->table( inset = abap_false
+ showSeparators = 'Inner'
+ headerText = 'Products'
+* growing = abap_true
+* growingthreshold = '20'
+* growingscrolltoload = abap_true
+ items = client->_bind( mt_table )
+ sticky = 'ColumnHeaders,HeaderToolbar' ).
tab->header_toolbar( )->overflow_toolbar(
- )->search_field( id = `SEARCH` width = '17.5rem' search = client->_event( 'ONSEARCH' ) change = client->_event( 'ONSEARCH' ) value = client->_bind_edit( mv_search_value )
+ )->search_field( id = `SEARCH`
+ width = '17.5rem'
+ search = client->_event( 'ONSEARCH' )
+ change = client->_event( 'ONSEARCH' )
+ value = client->_bind_edit( mv_search_value )
)->toolbar_spacer(
- )->overflow_toolbar_button( icon = 'sap-icon://sort' type = 'Transparent' press = client->_event( 'ONSORT' ) ).
+ )->overflow_toolbar_button( icon = 'sap-icon://sort'
+ type = 'Transparent'
+ press = client->_event( 'ONSORT' ) ).
tab->columns(
)->column( width = '12em'
)->text( 'Product' )->get_parent(
- )->column( minScreenWidth = 'Tablet' demandPopin = abap_true
+ )->column( minScreenWidth = 'Tablet'
+ demandPopin = abap_true
)->text( 'Supplier' )->get_parent(
- )->column( minScreenWidth = 'Desktop' demandPopin = abap_true hAlign = 'End'
+ )->column( minScreenWidth = 'Desktop'
+ demandPopin = abap_true
+ hAlign = 'End'
)->text( 'Dimensions' )->get_parent(
- )->column( minScreenWidth = 'Desktop' demandPopin = abap_true hAlign = 'Center'
+ )->column( minScreenWidth = 'Desktop'
+ demandPopin = abap_true
+ hAlign = 'Center'
)->text( 'Weight' )->get_parent(
)->column( hAlign = 'End'
)->text( 'Price' ).
tab->items(
- )->column_list_item( type = 'Navigation' press = client->_event( val = `ONPRESSMASTER` t_arg = VALUE #( ( `${KEY}` ) ) )
+ )->column_list_item( type = 'Navigation'
+ press = client->_event( val = `ONPRESSMASTER`
+ t_arg = VALUE #( ( `${KEY}` ) ) )
)->cells(
- )->object_identifier( text = '{PRODUCTNAME}' title = '{PRODUCTID}' )->get_parent(
+ )->object_identifier( text = '{PRODUCTNAME}'
+ title = '{PRODUCTID}' )->get_parent(
)->text( text = '{SUPPLIERNAME}' )->get_parent(
)->text( text = '{WIDTH} x {DEPTH} x {HEIGHT} {DIMUNIT}'
- )->object_number( number = '{MEASURE}' unit = '{UNIT}' state = '{STATE_MEASURE}'
- )->object_number( "number = '{MEASURE}' unit = '{UNIT}'
- state = '{STATE_PRICE}'
- number = `{ parts: [ { path : 'PRICE' } , { path : 'WAERS' } ] } ` ", type: 'sap.ui.model.type.Currency , formatOptions: { currencyCode : false } } `
+ )->object_number( number = '{MEASURE}'
+ unit = '{UNIT}'
+ state = '{STATE_MEASURE}'
+ )->object_number( " number = '{MEASURE}' unit = '{UNIT}'
+ state = '{STATE_PRICE}'
+ number = `{ parts: [ { path : 'PRICE' } , { path : 'WAERS' } ] } ` ", type: 'sap.ui.model.type.Currency , formatOptions: { currencyCode : false } } `
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -370,63 +407,62 @@ CLASS Z2UI5_CL_DEMO_APP_085 IMPLEMENTATION.
Z2UI5_on_event( ).
ENDMETHOD.
-
METHOD Z2UI5_on_event.
-* https://sapui5.hana.ondemand.com/sdk/#/topic/3b9f760da5b64adf8db7f95247879086
+ " https://sapui5.hana.ondemand.com/sdk/#/topic/3b9f760da5b64adf8db7f95247879086
CASE client->get( )-event.
- WHEN 'ONGOTOSUPPLIER' .
- DATA(lo_app_next) = NEW Z2UI5_CL_DEMO_APP_086( ).
+ WHEN 'ONGOTOSUPPLIER'.
+ DATA(lo_app_next) = NEW z2ui5_cl_demo_app_086( ).
lo_app_next->ls_detail_supplier = ls_detail_supplier.
client->nav_app_call( lo_app_next ).
- WHEN 'ONEXITFULLSCREENMODE' .
+ WHEN 'ONEXITFULLSCREENMODE'.
lv_layout = 'TwoColumnsMidExpanded'.
view_display_master( ).
- view_display_detail( ).
+ view_display_detail( ).
client->nest_view_model_update( ).
client->message_toast_display( |Event Close FullScreen Mode | ).
- WHEN 'ONFULLSCREENMODE' .
+ WHEN 'ONFULLSCREENMODE'.
lv_layout = 'MidColumnFullScreen'.
view_display_master( ).
- view_display_detail( ).
+ view_display_detail( ).
client->nest_view_model_update( ).
client->message_toast_display( |Event FullScreen Detail | ).
- WHEN 'ONCLOSEDETAIL' .
+ WHEN 'ONCLOSEDETAIL'.
lv_layout = 'OneColumn'.
view_display_master( ).
- view_display_detail( ).
+ view_display_detail( ).
check_detail_active = abap_false.
client->nest_view_model_update( ).
client->message_toast_display( |Event Close Detail | ).
WHEN 'ONPRESSSUPPLIER'.
DATA(lt_arg) = client->get( )-t_event_arg.
- READ TABLE mt_table_supplier WITH KEY suppliername = lt_arg[ 1 ] INTO ls_detail_supplier.
+ READ TABLE mt_table_supplier WITH KEY SupplierName = lt_arg[ 1 ] INTO ls_detail_supplier.
client->message_toast_display( |Event Press Supplier List Name: { lt_arg[ 1 ] } | ).
- lo_app_next = NEW Z2UI5_CL_DEMO_APP_086( ).
+ lo_app_next = NEW z2ui5_cl_demo_app_086( ).
lo_app_next->ls_detail_supplier = ls_detail_supplier.
client->nav_app_call( lo_app_next ).
WHEN `ONPRESSMASTER`.
lt_arg = client->get( )-t_event_arg.
client->message_toast_display( |Event Press Master - Product Id { lt_arg[ 1 ] } | ).
READ TABLE mt_table WITH KEY key = lt_arg[ 1 ] INTO ls_detail.
- READ TABLE mt_table_supplier WITH KEY suppliername = ls_detail-suppliername INTO ls_detail_supplier.
+ READ TABLE mt_table_supplier WITH KEY SupplierName = ls_detail-SupplierName INTO ls_detail_supplier.
lv_layout = 'TwoColumnsMidExpanded'.
IF check_detail_active = abap_false.
view_display_master( ).
ENDIF.
- view_display_detail( ).
+ view_display_detail( ).
client->view_model_update( ).
client->nest_view_model_update( ).
WHEN `UPDATE_DETAIL`.
- view_display_detail( ).
- WHEN 'ONSORT' .
+ view_display_detail( ).
+ WHEN 'ONSORT'.
client->message_toast_display( 'Sort Entries' ).
sort( ).
READ TABLE mt_table INDEX 1 INTO ls_detail.
view_display_master( ).
- view_display_detail( ).
+ view_display_detail( ).
client->view_model_update( ).
client->nest_view_model_update( ).
- WHEN 'ONSEARCH' .
+ WHEN 'ONSEARCH'.
client->message_toast_display( 'Search Entries' ).
Z2UI5_set_data( ).
Z2UI5_set_search( ).
@@ -437,88 +473,192 @@ CLASS Z2UI5_CL_DEMO_APP_085 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
-
METHOD Z2UI5_on_init.
- view_display_master( ) .
+ view_display_master( ).
* view_display_detail( ).
ENDMETHOD.
-
METHOD Z2UI5_set_data.
- mt_table = VALUE #(
- ( key = '1' Productid = '1' productname = 'table' suppliername = 'Company 1' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 100 unit = 'ST' price = '1000.50' waers = 'EUR' state_price = `Success` state_measure = `Warning`
- Pic = 'HT-1010.jpg' rating = '0' process = '0' )
- ( key = '2' Productid = '2' productname = 'chair' suppliername = 'Company 2' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 123 unit = 'ST' price = '2000.55' waers = 'USD' state_price = `Error` state_measure = `Error`
- Pic = 'HT-2001.jpg' rating = '1' process = '10' )
- ( key = '3' Productid = '3' productname = 'sofa' suppliername = 'Company 3' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 700 unit = 'ST' price = '3000.11' waers = 'CNY' state_price = `Success` state_measure = `Warning`
- Pic = 'HT-1251.jpg' rating = '2' process = '15' )
- ( key = '4' Productid = '4' productname = 'computer' suppliername = 'Company 4' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 200 unit = 'ST' price = '4000.88' waers = 'USD' state_price = `Success` state_measure = `Success`
- Pic = 'HT-6100.jpg' rating = '3' process = '38' )
- ( key = '5' Productid = '5' productname = 'printer' suppliername = 'Company 5' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 90 unit = 'ST' price = '5000.47' waers = 'EUR' state_price = `Error` state_measure = `Warning`
- Pic = 'HT-1000.jpg' rating = '4' process = '66' )
- ( key = '6' Productid = '6' productname = 'table2' suppliername = 'Company 6' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 600 unit = 'ST' price = '6000.33' waers = 'GBP' state_price = `Success` state_measure = `Information`
- Pic = 'HT-1137.jpg' rating = '2' process = '91' )
- ( key = '7' Productid = '7' productname = 'table3' suppliername = 'Company 7' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 600 unit = 'ST' price = '6000.33' waers = 'GBP' state_price = `Success` state_measure = `Warning`
- Pic = 'HT-7000.jpg' rating = '6' process = '5' )
- ( key = '8' Productid = '8' productname = 'table4' suppliername = 'Company 8' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 600 unit = 'ST' price = '6000.33' waers = 'GBP' state_price = `Warning` state_measure = `Error`
- Pic = 'HT-9997.jpg' rating = '0' process = '75' )
- ( key = '9' Productid = '9' productname = 'table5' suppliername = 'Company 9' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 600 unit = 'ST' price = '6000.33' waers = 'GBP' state_price = `Information` state_measure = `Success`
- Pic = 'HT-7020.jpg' rating = '1' process = '81' )
- ( key = '10' Productid = '10' productname = 'table6' suppliername = 'Company 10' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 600 unit = 'ST' price = '6000.33' waers = 'GBP' state_price = `Success` state_measure = `Information`
- Pic = 'HT-1023.jpg' rating = '4' process = '24' )
- ( key = '11' Productid = '11' productname = 'table7' suppliername = 'Company 11' Width = '10' Depth = '20' Height = '30'
- DimUnit = 'CM' Measure = 600 unit = 'ST' price = '6000.33' waers = 'GBP' state_price = `Information` state_measure = `Success`
- Pic = 'HT-1085.jpg' rating = '5' process = '46' ) ).
-*Rungestraße 79-78, 18055 RostockMarktstraße, 03046 CottbusMarktpl. 1, 06108 Halle (Saale)
+ mt_table = VALUE #( Width = '10'
+ Depth = '20'
+ Height = '30'
+ DimUnit = 'CM'
+ unit = 'ST'
+ ( key = '1'
+ Productid = '1'
+ productname = 'table'
+ suppliername = 'Company 1'
+ Measure = 100
+ price = '1000.50'
+ waers = 'EUR'
+ state_price = `Success`
+ state_measure = `Warning`
+ Pic = 'HT-1010.jpg'
+ rating = '0'
+ process = '0' )
+ ( key = '2'
+ Productid = '2'
+ productname = 'chair'
+ suppliername = 'Company 2'
+ Measure = 123
+ price = '2000.55'
+ waers = 'USD'
+ state_price = `Error`
+ state_measure = `Error`
+ Pic = 'HT-2001.jpg'
+ rating = '1'
+ process = '10' )
+ ( key = '3'
+ Productid = '3'
+ productname = 'sofa'
+ suppliername = 'Company 3'
+ Measure = 700
+ price = '3000.11'
+ waers = 'CNY'
+ state_price = `Success`
+ state_measure = `Warning`
+ Pic = 'HT-1251.jpg'
+ rating = '2'
+ process = '15' )
+ ( key = '4'
+ Productid = '4'
+ productname = 'computer'
+ suppliername = 'Company 4'
+ Measure = 200
+ price = '4000.88'
+ waers = 'USD'
+ state_price = `Success`
+ state_measure = `Success`
+ Pic = 'HT-6100.jpg'
+ rating = '3'
+ process = '38' )
+ ( key = '5'
+ Productid = '5'
+ productname = 'printer'
+ suppliername = 'Company 5'
+ Measure = 90
+ price = '5000.47'
+ waers = 'EUR'
+ state_price = `Error`
+ state_measure = `Warning`
+ Pic = 'HT-1000.jpg'
+ rating = '4'
+ process = '66' )
+ ( key = '6'
+ Productid = '6'
+ productname = 'table2'
+ suppliername = 'Company 6'
+ Measure = 600
+ price = '6000.33'
+ waers = 'GBP'
+ state_price = `Success`
+ state_measure = `Information`
+ Pic = 'HT-1137.jpg'
+ rating = '2'
+ process = '91' )
+ ( key = '7'
+ Productid = '7'
+ productname = 'table3'
+ suppliername = 'Company 7'
+ Measure = 600
+ price = '6000.33'
+ waers = 'GBP'
+ state_price = `Success`
+ state_measure = `Warning`
+ Pic = 'HT-7000.jpg'
+ rating = '6'
+ process = '5' )
+ ( key = '8'
+ Productid = '8'
+ productname = 'table4'
+ suppliername = 'Company 8'
+ Measure = 600
+ price = '6000.33'
+ waers = 'GBP'
+ state_price = `Warning`
+ state_measure = `Error`
+ Pic = 'HT-9997.jpg'
+ rating = '0'
+ process = '75' )
+ ( key = '9'
+ Productid = '9'
+ productname = 'table5'
+ suppliername = 'Company 9'
+ Measure = 600
+ price = '6000.33'
+ waers = 'GBP'
+ state_price = `Information`
+ state_measure = `Success`
+ Pic = 'HT-7020.jpg'
+ rating = '1'
+ process = '81' )
+ ( key = '10'
+ Productid = '10'
+ productname = 'table6'
+ suppliername = 'Company 10'
+ Measure = 600
+ price = '6000.33'
+ waers = 'GBP'
+ state_price = `Success`
+ state_measure = `Information`
+ Pic = 'HT-1023.jpg'
+ rating = '4'
+ process = '24' )
+ ( key = '11'
+ Productid = '11'
+ productname = 'table7'
+ suppliername = 'Company 11'
+ Measure = 600
+ price = '6000.33'
+ waers = 'GBP'
+ state_price = `Information`
+ state_measure = `Success`
+ Pic = 'HT-1085.jpg'
+ rating = '5'
+ process = '46' ) ).
+ " Rungestraße 79-78, 18055 RostockMarktstraße, 03046 CottbusMarktpl. 1, 06108 Halle (Saale)
mt_table_supplier = VALUE #(
- ( suppliername = 'Company 1' email = 'company1@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Dresden' street = 'Neumarkt' zipcode = '01067' )
- ( suppliername = 'Company 2' email = 'company2@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Erfurt' street = 'Domplatz' zipcode = '99084' )
- ( suppliername = 'Company 3' email = 'company3@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Suhl' street = 'Carl-Fiedler-Straße 58' zipcode = '98527' )
- ( suppliername = 'Company 4' email = 'company4@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Hildburgheusen' street = 'Markt' zipcode = '98646' )
- ( suppliername = 'Company 5' email = 'company5@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Sonneberg' street = 'Beethovenstraße 10' zipcode = '96515' )
- ( suppliername = 'Company 6' email = 'company6@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Meiningen' street = 'Schloßplatz 1' zipcode = '98617' )
- ( suppliername = 'Company 7' email = 'company7@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Leipzig' street = 'Pfaffendorfer Str. 29' zipcode = '04105' )
- ( suppliername = 'Company 8' email = 'company8@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Magdeburg' street = 'Am Dom 1' zipcode = '39104' )
- ( suppliername = 'Company 9' email = 'company9@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Schwerin' street = 'Lennéstraße 1' zipcode = '19053' )
- ( suppliername = 'Company 10' email = 'company10@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Rostock' street = 'Rungestraße 79-78' zipcode = '18055' )
- ( suppliername = 'Company 11' email = 'company11@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Cottbus' street = 'Marktstraße' zipcode = '03046' )
- ( suppliername = 'Company 12' email = 'company12@sap.com' phone = '+49 1234567890' country = 'Germany' city = 'Halle (Saale)' street = 'Marktpl. 1' zipcode = '06108' ) ).
+ Phone = '+49 1234567890'
+ Country = 'Germany'
+ ( SupplierName = 'Company 1' Email = 'company1@sap.com' City = 'Dresden' Street = 'Neumarkt' ZipCode = '01067' )
+ ( SupplierName = 'Company 2' Email = 'company2@sap.com' City = 'Erfurt' Street = 'Domplatz' ZipCode = '99084' )
+ ( SupplierName = 'Company 3' Email = 'company3@sap.com' City = 'Suhl' Street = 'Carl-Fiedler-Straße 58' ZipCode = '98527' )
+ ( SupplierName = 'Company 4' Email = 'company4@sap.com' City = 'Hildburgheusen' Street = 'Markt' ZipCode = '98646' )
+ ( SupplierName = 'Company 5' Email = 'company5@sap.com' City = 'Sonneberg' Street = 'Beethovenstraße 10' ZipCode = '96515' )
+ ( SupplierName = 'Company 6' Email = 'company6@sap.com' City = 'Meiningen' Street = 'Schloßplatz 1' ZipCode = '98617' )
+ ( SupplierName = 'Company 7' Email = 'company7@sap.com' City = 'Leipzig' Street = 'Pfaffendorfer Str. 29' ZipCode = '04105' )
+ ( SupplierName = 'Company 8' Email = 'company8@sap.com' City = 'Magdeburg' Street = 'Am Dom 1' ZipCode = '39104' )
+ ( SupplierName = 'Company 9' Email = 'company9@sap.com' City = 'Schwerin' Street = 'Lennéstraße 1' ZipCode = '19053' )
+ ( SupplierName = 'Company 10' Email = 'company10@sap.com' City = 'Rostock' Street = 'Rungestraße 79-78' ZipCode = '18055' )
+ ( SupplierName = 'Company 11' Email = 'company11@sap.com' City = 'Cottbus' Street = 'Marktstraße' ZipCode = '03046' )
+ ( SupplierName = 'Company 12' Email = 'company12@sap.com' City = 'Halle (Saale)' Street = 'Marktpl. 1' ZipCode = '06108' ) ).
ls_detail = mt_table[ 1 ].
ENDMETHOD.
-
METHOD Z2UI5_set_search.
- IF mv_search_value IS NOT INITIAL.
-
- LOOP AT mt_table REFERENCE INTO DATA(lr_row).
- DATA(lv_row) = ``.
- DATA(lv_index) = 1.
- DO.
- ASSIGN COMPONENT lv_index OF STRUCTURE lr_row->* TO FIELD-SYMBOL().
- IF sy-subrc <> 0.
- EXIT.
- ENDIF.
- lv_row = lv_row && .
- lv_index = lv_index + 1.
- ENDDO.
-
- IF lv_row NS mv_search_value.
- DELETE mt_table.
- ENDIF.
- ENDLOOP.
+ IF mv_search_value IS INITIAL.
+ RETURN.
ENDIF.
+ LOOP AT mt_table REFERENCE INTO DATA(lr_row).
+ DATA(lv_row) = ``.
+ DATA(lv_index) = 1.
+ DO.
+ ASSIGN COMPONENT lv_index OF STRUCTURE lr_row->* TO FIELD-SYMBOL().
+ IF sy-subrc <> 0.
+ EXIT.
+ ENDIF.
+ lv_row = lv_row && .
+ lv_index = lv_index + 1.
+ ENDDO.
+
+ IF lv_row NS mv_search_value.
+ DELETE mt_table.
+ ENDIF.
+ ENDLOOP.
+
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_086.clas.abap b/src/z2ui5_cl_demo_app_086.clas.abap
index 8e452693..5ea77a2c 100644
--- a/src/z2ui5_cl_demo_app_086.clas.abap
+++ b/src/z2ui5_cl_demo_app_086.clas.abap
@@ -1,11 +1,9 @@
-CLASS Z2UI5_CL_DEMO_APP_086 DEFINITION
+CLASS z2ui5_cl_demo_app_086 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES Z2UI5_if_app .
+ INTERFACES Z2UI5_if_app.
TYPES:
BEGIN OF ty_s_tab_supplier,
@@ -16,17 +14,17 @@ CLASS Z2UI5_CL_DEMO_APP_086 DEFINITION
city TYPE string,
street TYPE string,
country TYPE string,
- END OF ty_s_tab_supplier .
+ END OF ty_s_tab_supplier.
+
+ DATA ls_detail_supplier TYPE ty_s_tab_supplier.
- DATA ls_detail_supplier TYPE ty_s_tab_supplier .
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_086 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_086 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
@@ -35,12 +33,11 @@ CLASS Z2UI5_CL_DEMO_APP_086 IMPLEMENTATION.
client->nav_app_leave( ).
ENDCASE.
-
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Flow Logic - APP 85'
- navbuttonpress = client->_event( 'BACK' ) shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - Flow Logic - APP 85'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
).
page->grid( 'L6 M12 S12' )->content( 'layout'
@@ -48,10 +45,11 @@ CLASS Z2UI5_CL_DEMO_APP_086 IMPLEMENTATION.
)->simple_form( 'Supplier' )->content( 'form'
)->label( 'Value set by previous app'
- )->input( value = ls_detail_supplier-suppliername editable = 'false' ).
-
+ )->input( value = ls_detail_supplier-SupplierName
+ editable = 'false' ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_087.clas.abap b/src/z2ui5_cl_demo_app_087.clas.abap
index 5fc22792..3e587eff 100644
--- a/src/z2ui5_cl_demo_app_087.clas.abap
+++ b/src/z2ui5_cl_demo_app_087.clas.abap
@@ -1,44 +1,44 @@
CLASS z2ui5_cl_demo_app_087 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_row,
- count TYPE i,
- value TYPE string,
- descr TYPE string,
- icon TYPE string,
- info TYPE string,
- checkbox TYPE abap_bool,
- percentage(5) TYPE p DECIMALS 2,
- valuecolor TYPE string,
+ count TYPE i,
+ value TYPE string,
+ descr TYPE string,
+ icon TYPE string,
+ info TYPE string,
+ checkbox TYPE abap_bool,
+ percentage TYPE p LENGTH 5 DECIMALS 2,
+ valuecolor TYPE string,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
- DATA check_ui5 TYPE abap_bool.
- DATA mv_key TYPE string.
+ DATA check_ui5 TYPE abap_bool.
+ DATA mv_key TYPE string.
+
METHODS refresh_data.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
CLASS z2ui5_cl_demo_app_087 IMPLEMENTATION.
-
METHOD refresh_data.
DO 100 TIMES.
DATA ls_row TYPE ty_row.
- ls_row-count = sy-index.
- ls_row-value = 'red'.
+ ls_row-count = sy-index.
+ ls_row-value = 'red'.
* info = COND #( WHEN sy-index < 50 THEN 'completed' ELSE 'uncompleted' )
- ls_row-descr = 'this is a description'.
- ls_row-checkbox = abap_true.
+ ls_row-descr = 'this is a description'.
+ ls_row-checkbox = abap_true.
* percentage = COND #( WHEN sy-index <= 100 THEN sy-index ELSE '100' )
ls_row-valuecolor = `Good`.
INSERT ls_row INTO TABLE t_tab.
@@ -46,7 +46,6 @@ CLASS z2ui5_cl_demo_app_087 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -71,33 +70,28 @@ CLASS z2ui5_cl_demo_app_087 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Table with Cell Copy'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Table with Cell Copy'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- DATA(tab) = page->table(
- growing = abap_true
- growingthreshold = '20'
- growingscrolltoload = abap_true
- items = client->_bind_edit( t_tab )
- sticky = 'ColumnHeaders,HeaderToolbar' ).
+ DATA(tab) = page->table( growing = abap_true
+ growingthreshold = '20'
+ growingscrolltoload = abap_true
+ items = client->_bind_edit( t_tab )
+ sticky = 'ColumnHeaders,HeaderToolbar' ).
tab->header_toolbar(
)->toolbar(
)->title( 'title of the table'
- )->button(
- text = 'letf side button'
- icon = 'sap-icon://account'
- press = client->_event( 'BUTTON_SORT' )
+ )->button( text = 'letf side button'
+ icon = 'sap-icon://account'
+ press = client->_event( 'BUTTON_SORT' )
)->toolbar_spacer(
- )->button(
- icon = 'sap-icon://sort-descending'
- press = client->_event( 'SORT_DESCENDING' )
- )->button(
- icon = 'sap-icon://sort-ascending'
- press = client->_event( 'SORT_ASCENDING' )
+ )->button( icon = 'sap-icon://sort-descending'
+ press = client->_event( 'SORT_DESCENDING' )
+ )->button( icon = 'sap-icon://sort-ascending'
+ press = client->_event( 'SORT_ASCENDING' )
).
tab->columns(
@@ -118,7 +112,8 @@ CLASS z2ui5_cl_demo_app_087 IMPLEMENTATION.
)->text( '{VALUE}'
)->text( '{INFO}'
)->text( '{DESCR}'
- )->checkbox( selected = '{CHECKBOX}' enabled = abap_false
+ )->checkbox( selected = '{CHECKBOX}'
+ enabled = abap_false
)->text( '{COUNT}'
).
@@ -137,4 +132,5 @@ CLASS z2ui5_cl_demo_app_087 IMPLEMENTATION.
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_088.clas.abap b/src/z2ui5_cl_demo_app_088.clas.abap
index 408060d8..9491f1cb 100644
--- a/src/z2ui5_cl_demo_app_088.clas.abap
+++ b/src/z2ui5_cl_demo_app_088.clas.abap
@@ -1,16 +1,16 @@
CLASS z2ui5_cl_demo_app_088 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
+
DATA mv_selected_key TYPE string.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
+
METHODS z2ui5_view_display.
METHODS z2ui5_on_event.
@@ -20,13 +20,11 @@ CLASS z2ui5_cl_demo_app_088 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_088 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -39,7 +37,6 @@ CLASS z2ui5_cl_demo_app_088 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -55,41 +52,45 @@ CLASS z2ui5_cl_demo_app_088 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_view_display.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = z2ui5_cl_xml_view=>factory( )->shell( )->page(
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- title = `abap2UI5 - Sample: Nav Container`
- )->content( ).
-
- page->icon_tab_header( selectedkey = client->_bind_edit( mv_selected_key )
- select = client->_event_client( val = client->cs_event-nav_container_to t_arg = VALUE #( ( `NavCon` ) ( `${$parameters>/selectedKey}` ) ) )
- mode = `Inline`
+ DATA(page) = z2ui5_cl_xml_view=>factory( )->shell( )->page(
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = `abap2UI5 - Sample: Nav Container`
+ )->content( ).
+
+ page->icon_tab_header(
+ selectedkey = client->_bind_edit( mv_selected_key )
+ select = client->_event_client( val = client->cs_event-nav_container_to
+ t_arg = VALUE #( ( `NavCon` ) ( `${$parameters>/selectedKey}` ) ) )
+ mode = `Inline`
)->items(
- )->icon_tab_filter( key = `page1` text = `Home` )->get_parent(
- )->icon_tab_filter( key = `page2` text = `Applications` )->get_parent(
- )->icon_tab_filter( key = `page3` text = `Users and Groups` ).
-
- page->nav_container( id = `NavCon` initialpage = `page1` defaulttransitionname = `flip`
- )->pages(
- )->page(
- title = 'first page'
- id = `page1`
- )->get_parent(
- )->page(
- title = 'second page'
- id = `page2`
- )->get_parent(
- )->page(
- title = 'third page'
- id = `page3`
- ).
-
+ )->icon_tab_filter( key = `page1`
+ text = `Home` )->get_parent(
+ )->icon_tab_filter( key = `page2`
+ text = `Applications` )->get_parent(
+ )->icon_tab_filter( key = `page3`
+ text = `Users and Groups` ).
+
+ page->nav_container( id = `NavCon`
+ initialpage = `page1`
+ defaulttransitionname = `flip`
+ )->pages(
+ )->page( title = 'first page'
+ id = `page1`
+ )->get_parent(
+ )->page( title = 'second page'
+ id = `page2`
+ )->get_parent(
+ )->page( title = 'third page'
+ id = `page3`
+ ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_090.clas.abap b/src/z2ui5_cl_demo_app_090.clas.abap
index 9ba7fb62..5511351c 100644
--- a/src/z2ui5_cl_demo_app_090.clas.abap
+++ b/src/z2ui5_cl_demo_app_090.clas.abap
@@ -1,10 +1,9 @@
CLASS z2ui5_cl_demo_app_090 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES: BEGIN OF t_items2,
columnkey TYPE string,
@@ -12,7 +11,7 @@ CLASS z2ui5_cl_demo_app_090 DEFINITION
visible TYPE abap_bool,
index TYPE i,
END OF t_items2.
- TYPES: tt_items2 TYPE STANDARD TABLE OF t_items2 WITH DEFAULT KEY.
+ TYPES tt_items2 TYPE STANDARD TABLE OF t_items2 WITH DEFAULT KEY.
TYPES: BEGIN OF t_items3,
columnkey TYPE string,
@@ -21,19 +20,19 @@ CLASS z2ui5_cl_demo_app_090 DEFINITION
key TYPE string,
text TYPE string,
END OF t_items3.
- TYPES: tt_items3 TYPE STANDARD TABLE OF t_items3 WITH DEFAULT KEY.
+ TYPES tt_items3 TYPE STANDARD TABLE OF t_items3 WITH DEFAULT KEY.
- DATA: mt_columns TYPE tt_items2.
- DATA: mt_columns1 TYPE tt_items2.
- DATA: mt_groups TYPE tt_items3.
+ DATA mt_columns TYPE tt_items2.
+ DATA mt_columns1 TYPE tt_items2.
+ DATA mt_groups TYPE tt_items3.
- "P13N
+ " P13N
TYPES: BEGIN OF t_items22,
visible TYPE abap_bool,
name TYPE string,
label TYPE string,
END OF t_items22.
- TYPES: tt_items22 TYPE STANDARD TABLE OF t_items22 WITH DEFAULT KEY.
+ TYPES tt_items22 TYPE STANDARD TABLE OF t_items22 WITH DEFAULT KEY.
TYPES: BEGIN OF t_items32,
sorted TYPE abap_bool,
@@ -41,48 +40,45 @@ CLASS z2ui5_cl_demo_app_090 DEFINITION
label TYPE string,
descending TYPE abap_bool,
END OF t_items32.
- TYPES: tt_items32 TYPE STANDARD TABLE OF t_items32 WITH DEFAULT KEY.
+ TYPES tt_items32 TYPE STANDARD TABLE OF t_items32 WITH DEFAULT KEY.
TYPES: BEGIN OF t_items33,
grouped TYPE abap_bool,
name TYPE string,
label TYPE string,
END OF t_items33.
- TYPES: tt_items33 TYPE STANDARD TABLE OF t_items33 WITH DEFAULT KEY.
+ TYPES tt_items33 TYPE STANDARD TABLE OF t_items33 WITH DEFAULT KEY.
- DATA: mt_columns_p13n TYPE tt_items22.
- DATA: mt_sort_p13n TYPE tt_items32.
- DATA: mt_groups_p13n TYPE tt_items33.
+ DATA mt_columns_p13n TYPE tt_items22.
+ DATA mt_sort_p13n TYPE tt_items32.
+ DATA mt_groups_p13n TYPE tt_items33.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
- DATA check_cc_loaded TYPE abap_bool.
+ DATA check_cc_loaded TYPE abap_bool.
METHODS z2ui5_view_display.
METHODS z2ui5_view_p13n.
METHODS z2ui5_view_p13n_popup.
METHODS z2ui5_on_event.
METHODS init_data_set.
+
METHODS get_custom_js
RETURNING
VALUE(result) TYPE string.
-
PRIVATE SECTION.
DATA mv_page TYPE string.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_090 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_cc_loaded = abap_false.
check_cc_loaded = abap_true.
@@ -100,7 +96,6 @@ CLASS z2ui5_cl_demo_app_090 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -120,140 +115,168 @@ CLASS z2ui5_cl_demo_app_090 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_view_display.
- client->_bind_edit( val = mt_columns_p13n custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ).
- client->_bind_edit( val = mt_sort_p13n custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ).
- client->_bind_edit( val = mt_groups_p13n custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ).
+ client->_bind_edit( val = mt_columns_p13n
+ custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ).
+ client->_bind_edit( val = mt_sort_p13n
+ custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ).
+ client->_bind_edit( val = mt_groups_p13n
+ custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ).
- DATA(page) = z2ui5_cl_xml_view=>factory( ).
+ DATA(page) = z2ui5_cl_xml_view=>factory( ).
- page = page->shell( )->page(
- title = 'abap2UI5 - P13N Dialog'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- class = 'sapUiContentPadding' ).
+ page = page->shell( )->page( title = 'abap2UI5 - P13N Dialog'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ class = 'sapUiContentPadding' ).
page = page->vbox( ).
- page->_generic( name = `Popup` ns = `p13n`
- t_prop = VALUE #( ( n = `title` v = `My Custom View Settings` )
- ( n = `close` v = `sap.z2ui5.updateData(${$parameters>/reason})` )
+ page->_generic( name = `Popup`
+ ns = `p13n`
+ t_prop = VALUE #( ( n = `title` v = `My Custom View Settings` )
+ ( n = `close` v = `sap.z2ui5.updateData(${$parameters>/reason})` )
* ( n = `warningText` v = `Are you sure?` )
- ( n = `id` v = `p13nPopup` )
+ ( n = `id` v = `p13nPopup` )
* ( n = `reset` v = client->_event( `P13N_RESET` ) )
- )
- )->_generic( name = `panels` ns = `p13n`
- )->_generic( name = `SelectionPanel` ns = `p13n`
+ )
+ )->_generic( name = `panels`
+ ns = `p13n`
+ )->_generic( name = `SelectionPanel`
+ ns = `p13n`
t_prop = VALUE #( ( n = `id` v = `columnsPanel` )
( n = `title` v = `Columns` )
* ( n = `enableCount` v = 'X' )
* ( n = `showHeader` v = 'X' )
) )->get_parent(
- )->_generic( name = `SortPanel` ns = `p13n`
+ )->_generic( name = `SortPanel`
+ ns = `p13n`
t_prop = VALUE #( ( n = `id` v = `sortPanel` )
( n = `title` v = `Sort` )
)
)->get_parent(
- )->_generic( name = `P13nFilterPanel` ns = ``
+ )->_generic( name = `P13nFilterPanel`
+ ns = ``
t_prop = VALUE #( ( n = `id` v = `filterPanel` )
( n = `title` v = `Filter` )
)
)->get_parent(
- )->_generic( name = `GroupPanel` ns = `p13n`
+ )->_generic( name = `GroupPanel`
+ ns = `p13n`
t_prop = VALUE #( ( n = `id` v = `groupPanel` )
( n = `title` v = `Group` )
)
- )->get_parent( )->get_parent( )->get_parent(
+ )->get_parent( )->get_parent( )->get_parent(
)->get_parent( )->get_parent( ).
- page->button( text = `Open P13N Dialog` press = client->_event( 'P13N_OPEN' ) class = `sapUiTinyMarginBeginEnd`
- )->button( text = `Open P13N.POPUP` press = `sap.z2ui5.setInitialData()` )->get_parent( )->get_parent( ).
+ page->button( text = `Open P13N Dialog`
+ press = client->_event( 'P13N_OPEN' )
+ class = `sapUiTinyMarginBeginEnd`
+ )->button( text = `Open P13N.POPUP`
+ press = `sap.z2ui5.setInitialData()` )->get_parent( )->get_parent( ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_view_p13n.
DATA(p13n_dialog) = z2ui5_cl_xml_view=>factory_popup( ).
- DATA(p13n) = p13n_dialog->_generic( name = `P13nDialog`
- t_prop = VALUE #(
- ( n = `ok` v = client->_event( `OK` ) )
- ( n = `cancel` v = client->_event( `CANCEL` ) )
- ( n = `reset` v = client->_event( `RESET` ) )
- ( n = `showReset` v = `true` )
- ( n = `initialVisiblePanelType` v = `sort` )
- )
+ DATA(p13n) = p13n_dialog->_generic( name = `P13nDialog`
+ t_prop = VALUE #(
+ ( n = `ok` v = client->_event( `OK` ) )
+ ( n = `cancel` v = client->_event( `CANCEL` ) )
+ ( n = `reset` v = client->_event( `RESET` ) )
+ ( n = `showReset` v = `true` )
+ ( n = `initialVisiblePanelType` v = `sort` )
+ )
)->_generic( name = `panels`
- )->_generic( name = `P13nColumnsPanel`
- t_prop = VALUE #(
+ )->_generic(
+ name = `P13nColumnsPanel`
+ t_prop = VALUE #(
* ( n = `title` v = `Columns` )
* ( n = `visible` v = `true` )
* ( n = `type` v = `Columns` )
- ( n = `items` v = `{path:'` && client->_bind_edit( val = mt_columns path = abap_true custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ) && `'}` )
- ( n = `columnsItems` v = `{path:'` && client->_bind_edit( val = mt_columns1 path = abap_true custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ) && `'}` ) )
+ ( n = `items`
+ v = |\{path:'{ client->_bind_edit(
+ val = mt_columns
+ path = abap_true
+ custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ) }'\}| )
+ ( n = `columnsItems`
+ v = |\{path:'{ client->_bind_edit(
+ val = mt_columns1
+ path = abap_true
+ custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ) }'\}| ) )
)->items(
- )->_generic( name = `P13nItem`
- t_prop = VALUE #( ( n = `columnKey` v = `{columnkey}` )
- ( n = `text` v = `{text}` ) ) )->get_parent( )->get_parent(
+ )->_generic( name = `P13nItem`
+ t_prop = VALUE #( ( n = `columnKey` v = `{columnkey}` )
+ ( n = `text` v = `{text}` ) ) )->get_parent( )->get_parent(
)->_generic( name = `columnsItems`
- )->_generic( name = `P13nColumnsItem`
+ )->_generic(
+ name = `P13nColumnsItem`
t_prop = VALUE #( ( n = `columnKey` v = `{columnkey}` )
- ( n = `visible` v = `{visible}` )
- ( n = `index` v = `{index}` ) ) )->get_parent( )->get_parent( )->get_parent(
-
- )->_generic( name = `P13nGroupPanel`
- t_prop = VALUE #( ( n = `groupItems` v = `{path:'` && client->_bind_edit( val = mt_groups path = abap_true custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ) && `'}` ) )
+ ( n = `visible` v = `{visible}` )
+ ( n = `index` v = `{index}` ) ) )->get_parent( )->get_parent( )->get_parent(
+
+ )->_generic(
+ name = `P13nGroupPanel`
+ t_prop = VALUE #( ( n = `groupItems`
+ v = |\{path:'{ client->_bind_edit(
+ val = mt_groups
+ path = abap_true
+ custom_mapper = z2ui5_cl_ajson_mapping=>create_lower_case( ) ) }'\}| ) )
)->items(
- )->_generic( name = `P13nItem`
- t_prop = VALUE #( ( n = `columnKey` v = `{columnkey}` )
- ( n = `text` v = `{text}` ) ) )->get_parent( )->get_parent(
+ )->_generic( name = `P13nItem`
+ t_prop = VALUE #( ( n = `columnKey` v = `{columnkey}` )
+ ( n = `text` v = `{text}` ) ) )->get_parent( )->get_parent(
)->_generic( name = `groupItems`
- )->_generic( name = `P13nGroupItem`
- t_prop = VALUE #( ( n = `columnKey` v = `{columnkey}` )
- ( n = `operation` v = `{operation}` )
- ( n = `showIfGrouped` v = `{showifgrouped}` ) ) ).
+ )->_generic( name = `P13nGroupItem`
+ t_prop = VALUE #( ( n = `columnKey` v = `{columnkey}` )
+ ( n = `operation` v = `{operation}` )
+ ( n = `showIfGrouped` v = `{showifgrouped}` ) ) ).
client->popup_display( p13n->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_view_p13n_popup.
DATA(p13n_popup) = z2ui5_cl_xml_view=>factory( ).
- p13n_popup->_generic( name = `Popup` ns = `p13n`
- t_prop = VALUE #( ( n = `title` v = `My Custom View Settings` )
+ p13n_popup->_generic( name = `Popup`
+ ns = `p13n`
+ t_prop = VALUE #( ( n = `title` v = `My Custom View Settings` )
* ( n = `close` v = client->_event( 'P13N_CLOSE' ) )
* ( n = `warningText` v = `Are you sure?` )
- ( n = `id` v = `p13nPopup` )
+ ( n = `id` v = `p13nPopup` )
* ( n = `reset` v = client->_event( `P13N_RESET` ) )
- )
- )->_generic( name = `panels` ns = `p13n`
- )->_generic( name = `SelectionPanel` ns = `p13n`
+ )
+ )->_generic( name = `panels`
+ ns = `p13n`
+ )->_generic( name = `SelectionPanel`
+ ns = `p13n`
t_prop = VALUE #( ( n = `id` v = `columnsPanel` )
( n = `title` v = `Columns` )
* ( n = `enableCount` v = 'X' )
* ( n = `showHeader` v = 'X' )
) )->get_parent(
- )->_generic( name = `SortPanel` ns = `p13n`
+ )->_generic( name = `SortPanel`
+ ns = `p13n`
t_prop = VALUE #( ( n = `id` v = `sortPanel` )
( n = `title` v = `Sort` )
)
)->get_parent(
- )->_generic( name = `GroupPanel` ns = `p13n`
+ )->_generic( name = `GroupPanel`
+ ns = `p13n`
t_prop = VALUE #( ( n = `id` v = `groupPanel` )
( n = `title` v = `Group` )
)
- )->get_parent( )->get_parent( )->get_parent(
+ )->get_parent( )->get_parent( )->get_parent(
).
client->view_display( p13n_popup->stringify( ) ).
@@ -263,15 +286,14 @@ CLASS z2ui5_cl_demo_app_090 IMPLEMENTATION.
METHOD init_data_set.
mt_columns = VALUE #( ( columnkey = `productId` text = `Product ID` )
- ( columnkey = `name` text = `Name` )
- ( columnkey = `category` text = `Category` )
- ( columnkey = `supplierName` text = `Supplier Name` )
+ ( columnkey = `name` text = `Name` )
+ ( columnkey = `category` text = `Category` )
+ ( columnkey = `supplierName` text = `Supplier Name` )
).
- mt_columns1 = VALUE #(
- ( columnkey = `name` visible = abap_true index = 0 )
- ( columnkey = `category` visible = abap_true index = 1 )
- ( columnkey = `productId` visible = abap_false )
- ( columnkey = `supplierName` visible = abap_false )
+ mt_columns1 = VALUE #( ( columnkey = `name` visible = abap_true index = 0 )
+ ( columnkey = `category` visible = abap_true index = 1 )
+ ( columnkey = `productId` visible = abap_false )
+ ( columnkey = `supplierName` visible = abap_false )
).
mt_groups = VALUE #( ( columnkey = `name` text = `Name` showifgrouped = abap_true )
@@ -280,51 +302,47 @@ CLASS z2ui5_cl_demo_app_090 IMPLEMENTATION.
( columnkey = `supplierName` showifgrouped = abap_false )
).
- mt_columns_p13n = VALUE #(
- ( visible = `true` name = `key1` label = `City` )
- ( visible = `false` name = `key2` label = `Country` )
- ( visible = `false` name = `key2` label = `Region` )
+ mt_columns_p13n = VALUE #( ( visible = `true` name = `key1` label = `City` )
+ ( visible = `false` name = `key2` label = `Country` )
+ ( visible = `false` name = `key2` label = `Region` )
).
- mt_sort_p13n = VALUE #(
- ( sorted = `true` name = `key1` label = `City` descending = `true` )
- ( sorted = `false` name = `key2` label = `Country` descending = `false` )
- ( sorted = `false` name = `key2` label = `Region` descending = `false` )
+ mt_sort_p13n = VALUE #( ( sorted = `true` name = `key1` label = `City` descending = `true` )
+ ( sorted = `false` name = `key2` label = `Country` descending = `false` )
+ ( sorted = `false` name = `key2` label = `Region` descending = `false` )
).
- mt_groups_p13n = VALUE #(
- ( grouped = `true` name = `key1` label = `City` )
- ( grouped = `false` name = `key2` label = `Country` )
- ( grouped = `false` name = `key2` label = `Region` )
+ mt_groups_p13n = VALUE #( ( grouped = `true` name = `key1` label = `City` )
+ ( grouped = `false` name = `key2` label = `Country` )
+ ( grouped = `false` name = `key2` label = `Region` )
).
ENDMETHOD.
-
METHOD get_custom_js.
- result = `sap.z2ui5.setInitialData = () => {` && |\n| &&
- ` var oView = sap.z2ui5.oView` && |\n| &&
- ` var oSelectionPanel = oView.byId("columnsPanel");` && |\n| &&
- ` var oSortPanel = oView.byId("sortPanel");` && |\n| &&
- ` var oGroupPanel = oView.byId("groupPanel");` && |\n| &&
- ` oSelectionPanel.setP13nData(oView.getModel().oData.EDIT.MT_COLUMNS_P13N);` && |\n| &&
- ` oSortPanel.setP13nData(oView.getModel().oData.EDIT.MT_SORT_P13N);` && |\n| &&
- ` oGroupPanel.setP13nData(oView.getModel().oData.EDIT.MT_GROUPS_P13N);` && |\n| &&
- ` var oPopup = oView.byId("p13nPopup");` && |\n| &&
- ` oPopup.open();` && |\n| &&
- `};` && |\n| &&
- `sap.z2ui5.updateData = (oReason) => {` && |\n| &&
- ` if( oReason === "Ok" ) {` && |\n| &&
- ` var oView = sap.z2ui5.oView` && |\n| &&
- ` var oSelectionPanel = oView.byId("columnsPanel");` && |\n| &&
- ` var oSortPanel = oView.byId("sortPanel");` && |\n| &&
- ` var oGroupPanel = oView.byId("groupPanel");` && |\n| &&
- ` oView.getModel().oData.EDIT.MT_COLUMNS_P13N = oSelectionPanel.getP13nData();` && |\n| &&
- ` oView.getModel().oData.EDIT.MT_SORT_P13N = oSortPanel.getP13nData();` && |\n| &&
- ` oView.getModel().oData.EDIT.MT_GROUPS_P13N = oGroupPanel.getP13nData();` && |\n| &&
- ` };` && |\n| &&
- `};`.
+ result = |sap.z2ui5.setInitialData = () => \{| && |\n| &&
+ | var oView = sap.z2ui5.oView| && |\n| &&
+ | var oSelectionPanel = oView.byId("columnsPanel");| && |\n| &&
+ | var oSortPanel = oView.byId("sortPanel");| && |\n| &&
+ | var oGroupPanel = oView.byId("groupPanel");| && |\n| &&
+ | oSelectionPanel.setP13nData(oView.getModel().oData.EDIT.MT_COLUMNS_P13N);| && |\n| &&
+ | oSortPanel.setP13nData(oView.getModel().oData.EDIT.MT_SORT_P13N);| && |\n| &&
+ | oGroupPanel.setP13nData(oView.getModel().oData.EDIT.MT_GROUPS_P13N);| && |\n| &&
+ | var oPopup = oView.byId("p13nPopup");| && |\n| &&
+ | oPopup.open();| && |\n| &&
+ |\};| && |\n| &&
+ |sap.z2ui5.updateData = (oReason) => \{| && |\n| &&
+ | if( oReason === "Ok" ) \{| && |\n| &&
+ | var oView = sap.z2ui5.oView| && |\n| &&
+ | var oSelectionPanel = oView.byId("columnsPanel");| && |\n| &&
+ | var oSortPanel = oView.byId("sortPanel");| && |\n| &&
+ | var oGroupPanel = oView.byId("groupPanel");| && |\n| &&
+ | oView.getModel().oData.EDIT.MT_COLUMNS_P13N = oSelectionPanel.getP13nData();| && |\n| &&
+ | oView.getModel().oData.EDIT.MT_SORT_P13N = oSortPanel.getP13nData();| && |\n| &&
+ | oView.getModel().oData.EDIT.MT_GROUPS_P13N = oGroupPanel.getP13nData();| && |\n| &&
+ | \};| && |\n| &&
+ |\};|.
ENDMETHOD.
diff --git a/src/z2ui5_cl_demo_app_091.clas.abap b/src/z2ui5_cl_demo_app_091.clas.abap
index 08112657..525e77ee 100644
--- a/src/z2ui5_cl_demo_app_091.clas.abap
+++ b/src/z2ui5_cl_demo_app_091.clas.abap
@@ -1,20 +1,19 @@
-CLASS Z2UI5_CL_DEMO_APP_091 DEFINITION
+CLASS z2ui5_cl_demo_app_091 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES Z2UI5_if_app.
- INTERFACES Z2UI5_if_app .
-
- TYPES: children_array TYPE STANDARD TABLE OF int4 WITH NON-UNIQUE KEY table_line.
- TYPES: texts_array TYPE STANDARD TABLE OF string WITH NON-UNIQUE KEY table_line.
+ TYPES children_array TYPE STANDARD TABLE OF int4 WITH NON-UNIQUE KEY table_line.
+ TYPES texts_array TYPE STANDARD TABLE OF string WITH NON-UNIQUE KEY table_line.
TYPES: BEGIN OF t_children3,
children TYPE i,
END OF t_children3.
- TYPES: t_texts4 TYPE string.
- TYPES: tt_children3 TYPE STANDARD TABLE OF t_children3 WITH DEFAULT KEY.
- TYPES: tt_texts4 TYPE STANDARD TABLE OF t_texts4 WITH DEFAULT KEY.
+ TYPES t_texts4 TYPE string.
+ TYPES tt_children3 TYPE STANDARD TABLE OF t_children3 WITH DEFAULT KEY.
+ TYPES tt_texts4 TYPE STANDARD TABLE OF t_texts4 WITH DEFAULT KEY.
TYPES: BEGIN OF t_nodes2,
id TYPE string,
lane TYPE string,
@@ -33,34 +32,30 @@ CLASS Z2UI5_CL_DEMO_APP_091 DEFINITION
label TYPE string,
position TYPE i,
END OF t_lanes5.
- TYPES: tt_nodes2 TYPE STANDARD TABLE OF t_nodes2 WITH DEFAULT KEY.
- TYPES: tt_lanes5 TYPE STANDARD TABLE OF t_lanes5 WITH DEFAULT KEY.
+ TYPES tt_nodes2 TYPE STANDARD TABLE OF t_nodes2 WITH DEFAULT KEY.
+ TYPES tt_lanes5 TYPE STANDARD TABLE OF t_lanes5 WITH DEFAULT KEY.
- DATA: mt_nodes TYPE tt_nodes2.
- DATA: mt_lanes TYPE tt_lanes5.
+ DATA mt_nodes TYPE tt_nodes2.
+ DATA mt_lanes TYPE tt_lanes5.
PROTECTED SECTION.
-
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS Z2UI5_set_data.
METHODS Z2UI5_view_display.
METHODS Z2UI5_on_event.
-
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_091 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_091 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -75,7 +70,6 @@ CLASS Z2UI5_CL_DEMO_APP_091 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
@@ -87,22 +81,37 @@ CLASS Z2UI5_CL_DEMO_APP_091 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_set_data.
- mt_nodes = VALUE #( ( id = `1` lane = `0` title = `Sales Order 1` titleabbreviation = `SO 1` children = VALUE #( ( 10 ) ( 11 ) ( 12 ) ) state = `Positive` statetext = `OK status` focused = abap_true
- highlighted = abap_false texts = VALUE #( ( `Sales Order Document Overdue long text for the wrap up all the aspects` ) ( `Not cleared` ) ) )
- ( id = `10` lane = `1` title = `Outbound Delivery 40` titleabbreviation = `OD 40` state = `Positive` statetext = `OK status` focused = abap_true highlighted = abap_false
- texts = VALUE #( ( `Sales Order Document Overdue long text for the wrap up all the aspects` ) ( `Not cleared` ) ) )
- ( id = `11` lane = `1` title = `Outbound Delivery 43` titleabbreviation = `OD 43` children = VALUE #( ( 21 ) ) state = `Neutral` statetext = `OK status` focused = abap_true highlighted = abap_false
- texts = VALUE #( ( `Sales Order Document Overdue long text for the wrap up all the aspects` ) ( `Not cleared` ) ) )
- ( id = `12` lane = `1` title = `Outbound Delivery 45` titleabbreviation = `OD 45` children = VALUE #( ( 20 ) ) state = `Neutral` focused = abap_false highlighted = abap_false
- texts = VALUE #( ( `Sales Order Document Overdue long text for the wrap up all the aspects` ) ( `Not cleared` ) ) )
- ( id = `20` lane = `2` title = `Invoice 9` titleabbreviation = `I 9` state = `Positive` statetext = `OK status` focused = abap_false highlighted = abap_false
- texts = VALUE #( ( `Sales Order Document Overdue long text for the wrap up all the aspects` ) ( `Not cleared` ) ) )
- ( id = `21` lane = `2` title = `Invoice Planned` titleabbreviation = `IP` state = `PlannedNegative` focused = abap_false highlighted = abap_false
- texts = VALUE #( ( `Sales Order Document Overdue long text for the wrap up all the aspects` ) ( `Not cleared` ) ) )
- ).
+ mt_nodes = VALUE #(
+ highlighted = abap_false
+ texts = VALUE #( ( `Sales Order Document Overdue long text for the wrap up all the aspects` ) ( `Not cleared` ) )
+ ( id = `1`
+ lane = `0`
+ title = `Sales Order 1`
+ titleabbreviation = `SO 1`
+ children = VALUE #( ( 10 ) ( 11 ) ( 12 ) )
+ state = `Positive`
+ statetext = `OK status`
+ focused = abap_true )
+ ( id = `10` lane = `1` title = `Outbound Delivery 40` titleabbreviation = `OD 40` state = `Positive` statetext = `OK status` focused = abap_true )
+ ( id = `11`
+ lane = `1`
+ title = `Outbound Delivery 43`
+ titleabbreviation = `OD 43`
+ children = VALUE #( ( 21 ) )
+ state = `Neutral`
+ statetext = `OK status`
+ focused = abap_true )
+ ( id = `12`
+ lane = `1`
+ title = `Outbound Delivery 45`
+ titleabbreviation = `OD 45`
+ children = VALUE #( ( 20 ) )
+ state = `Neutral`
+ focused = abap_false )
+ ( id = `20` lane = `2` title = `Invoice 9` titleabbreviation = `I 9` state = `Positive` statetext = `OK status` focused = abap_false )
+ ( id = `21` lane = `2` title = `Invoice Planned` titleabbreviation = `IP` state = `PlannedNegative` focused = abap_false ) ).
mt_lanes = VALUE #( ( id = `0` icon = `sap-icon://order-status` label = `Order Processing` position = 0 )
( id = `1` icon = `sap-icon://monitor-payments` label = `Delivery Processing` position = 1 )
@@ -110,46 +119,44 @@ CLASS Z2UI5_CL_DEMO_APP_091 IMPLEMENTATION.
).
ENDMETHOD.
-
METHOD Z2UI5_view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell( )->page(
- title = 'abap2UI5 - Process Flow'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- class = 'sapUiContentPadding' ).
-
- DATA(process_flow) = page->process_flow(
- id = `processflow1`
- scrollable = abap_true
- wheelzoomable = abap_false
- foldedcorners = abap_true
- nodepress = client->_event( val = `NODE_PRESS` )
- nodes = client->_bind_edit( mt_nodes )
- lanes = client->_bind_edit( mt_lanes )
+ title = 'abap2UI5 - Process Flow'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ class = 'sapUiContentPadding' ).
+
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(process_flow) = page->process_flow( id = `processflow1`
+ scrollable = abap_true
+ wheelzoomable = abap_false
+ foldedcorners = abap_true
+ nodepress = client->_event( val = `NODE_PRESS` )
+ nodes = client->_bind_edit( mt_nodes )
+ lanes = client->_bind_edit( mt_lanes )
)->nodes( ns = `commons`
- )->process_flow_node(
- laneid = `{LANE}`
- nodeid = `{ID}`
- title = `{TITLE}`
- titleabbreviation = `{TITLEABBREVIATION}`
- children = `{CHILDREN}`
- state = `{STATE}`
- statetext = `{STATETEXT}`
-* texts = `{TEXTS}`
- highlighted = `{HIGHLIGHTED}`
- focused = `{FOCUSED}`
+ )->process_flow_node( laneid = `{LANE}`
+ nodeid = `{ID}`
+ title = `{TITLE}`
+ titleabbreviation = `{TITLEABBREVIATION}`
+ children = `{CHILDREN}`
+ state = `{STATE}`
+ statetext = `{STATETEXT}`
+* texts = `{TEXTS}`
+ highlighted = `{HIGHLIGHTED}`
+ focused = `{FOCUSED}`
)->get_parent( )->get_parent(
)->lanes(
- )->process_flow_lane_header(
- laneid = `{ID}`
- iconsrc = `{ICON}`
- text = `{LABEL}`
- position = `{POSITION}` ).
+ )->process_flow_lane_header( laneid = `{ID}`
+ iconsrc = `{ICON}`
+ text = `{LABEL}`
+ position = `{POSITION}` ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_093.clas.abap b/src/z2ui5_cl_demo_app_093.clas.abap
index 1a8470bd..9e4a768b 100644
--- a/src/z2ui5_cl_demo_app_093.clas.abap
+++ b/src/z2ui5_cl_demo_app_093.clas.abap
@@ -1,21 +1,19 @@
-CLASS Z2UI5_CL_DEMO_APP_093 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_093 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES Z2UI5_if_app.
- DATA product TYPE string.
- DATA quantity TYPE string.
+ DATA product TYPE string.
+ DATA quantity TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_093 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_093 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
@@ -27,23 +25,24 @@ CLASS Z2UI5_CL_DEMO_APP_093 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( ns = `html` name = `script`)->_cc_plain_xml( `sap.z2ui5.myFunction();`).
+ view->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( `sap.z2ui5.myFunction();` ).
client->view_display( view->shell(
- )->page(
- title = 'abap2UI5 - First Example'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Form Title' editable = abap_true
+ )->page( title = 'abap2UI5 - First Example'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->simple_form( title = 'Form Title'
+ editable = abap_true
)->content( 'form'
)->title( 'Input'
)->label( 'quantity'
)->input( client->_bind_edit( quantity )
)->label( `product`
- )->input( value = product enabled = abap_false
- )->button(
- text = 'post'
- press = client->_event( val = 'BUTTON_POST' )
+ )->input( value = product
+ enabled = abap_false
+ )->button( text = 'post'
+ press = client->_event( val = 'BUTTON_POST' )
)->stringify( ) ).
ENDIF.
@@ -59,4 +58,5 @@ CLASS Z2UI5_CL_DEMO_APP_093 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_094.clas.abap b/src/z2ui5_cl_demo_app_094.clas.abap
index 315acb91..0670dfcb 100644
--- a/src/z2ui5_cl_demo_app_094.clas.abap
+++ b/src/z2ui5_cl_demo_app_094.clas.abap
@@ -1,4 +1,4 @@
-CLASS Z2UI5_CL_DEMO_APP_094 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_094 DEFINITION PUBLIC.
PUBLIC SECTION.
INTERFACES Z2UI5_if_app.
@@ -20,25 +20,24 @@ CLASS Z2UI5_CL_DEMO_APP_094 DEFINITION PUBLIC.
DATA ms_screen TYPE ty_s_01.
DATA mr_input TYPE REF TO data.
DATA mr_screen TYPE REF TO data.
- DATA mo_app TYPE REF TO Z2UI5_CL_DEMO_APP_094.
+ DATA mo_app TYPE REF TO z2ui5_cl_demo_app_094.
DATA mv_val TYPE string.
- DATA client TYPE REF TO Z2UI5_if_client.
- DATA mv_init TYPE abap_bool.
+ DATA client TYPE REF TO Z2UI5_if_client.
+ DATA mv_init TYPE abap_bool.
METHODS on_init.
METHODS view_build.
PROTECTED SECTION.
+
PRIVATE SECTION.
- DATA: page TYPE REF TO Z2UI5_cl_xml_view.
+ DATA page TYPE REF TO Z2UI5_cl_xml_view.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_094 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_094 IMPLEMENTATION.
METHOD on_init.
@@ -60,23 +59,23 @@ CLASS Z2UI5_CL_DEMO_APP_094 IMPLEMENTATION.
ms_screen-ty_s_02-ty_s_03-ty_s_04-input = `struc deep switch guid name - working`.
- mo_app = new #( ).
+ mo_app = NEW #( ).
mo_app->mv_val = `instance attribute val - working`.
mo_app->ms_screen-input = `instance attribute struc - working`.
ENDMETHOD.
-
METHOD view_build.
FIELD-SYMBOLS TYPE any.
+
ASSIGN mr_input->* TO .
FIELD-SYMBOLS TYPE ty_s_01.
ASSIGN mr_screen->* TO .
page = z2ui5_cl_xml_view=>factory( )->shell(
- )->page( title = `test` ).
+ )->page( title = `test` ).
DATA(o_grid) = page->grid( 'L6 M12 S12'
)->content( 'layout' ).
@@ -102,26 +101,22 @@ CLASS Z2UI5_CL_DEMO_APP_094 IMPLEMENTATION.
page->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'Delete'
- press = client->_event( 'BUTTON_DELETE' )
- type = 'Reject'
- icon = 'sap-icon://delete'
- )->button(
- text = 'Add'
- press = client->_event( 'BUTTON_ADD' )
- type = 'Default'
- icon = 'sap-icon://add'
- )->button(
- text = 'Save'
- press = client->_event( 'BUTTON_SAVE' )
- type = 'Success' ).
+ )->button( text = 'Delete'
+ press = client->_event( 'BUTTON_DELETE' )
+ type = 'Reject'
+ icon = 'sap-icon://delete'
+ )->button( text = 'Add'
+ press = client->_event( 'BUTTON_ADD' )
+ type = 'Default'
+ icon = 'sap-icon://add'
+ )->button( text = 'Save'
+ press = client->_event( 'BUTTON_SAVE' )
+ type = 'Success' ).
client->view_display( page->get_root( )->xml_get( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -132,8 +127,9 @@ CLASS Z2UI5_CL_DEMO_APP_094 IMPLEMENTATION.
ENDIF.
- view_build( ).
+ view_build( ).
client->message_toast_display( `server roundtrip` ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_095.clas.abap b/src/z2ui5_cl_demo_app_095.clas.abap
index 240e9ea0..79346eb6 100644
--- a/src/z2ui5_cl_demo_app_095.clas.abap
+++ b/src/z2ui5_cl_demo_app_095.clas.abap
@@ -1,4 +1,4 @@
-CLASS Z2UI5_CL_DEMO_APP_095 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_095 DEFINITION PUBLIC.
PUBLIC SECTION.
INTERFACES Z2UI5_if_app.
@@ -16,16 +16,17 @@ CLASS Z2UI5_CL_DEMO_APP_095 DEFINITION PUBLIC.
END OF ty_s_03,
END OF ty_s_02,
END OF ty_s_01.
- DATA ms_screen TYPE ty_s_01.
- DATA mo_app_sub TYPE REF TO Z2UI5_CL_DEMO_APP_096.
+ DATA ms_screen TYPE ty_s_01.
+
+ DATA mo_app_sub TYPE REF TO z2ui5_cl_demo_app_096.
DATA client TYPE REF TO Z2UI5_if_client.
DATA mv_init TYPE abap_bool.
DATA mo_grid_sub TYPE REF TO Z2UI5_cl_xml_view.
- DATA mr_input TYPE REF TO data.
- DATA mr_screen TYPE REF TO data.
+ DATA mr_input TYPE REF TO data.
+ DATA mr_screen TYPE REF TO data.
METHODS on_init.
METHODS on_event.
@@ -34,15 +35,14 @@ CLASS Z2UI5_CL_DEMO_APP_095 DEFINITION PUBLIC.
METHODS on_event_sub.
PROTECTED SECTION.
+
PRIVATE SECTION.
- DATA: page TYPE REF TO Z2UI5_cl_xml_view.
+ DATA page TYPE REF TO Z2UI5_cl_xml_view.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_095 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_095 IMPLEMENTATION.
METHOD on_event.
@@ -58,7 +58,6 @@ CLASS Z2UI5_CL_DEMO_APP_095 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event_sub.
mo_app_sub->mo_view_parent = mo_grid_sub.
@@ -66,18 +65,16 @@ CLASS Z2UI5_CL_DEMO_APP_095 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_init.
ms_screen-input = `app main`.
- view_build( ).
+ view_build( ).
ENDMETHOD.
-
METHOD on_init_sub.
- mo_app_sub = new #( ).
+ mo_app_sub = NEW #( ).
mo_app_sub->mo_view_parent = mo_grid_sub.
mo_app_sub->Z2UI5_if_app~main( client = client ).
@@ -85,14 +82,12 @@ CLASS Z2UI5_CL_DEMO_APP_095 IMPLEMENTATION.
ENDMETHOD.
-
METHOD view_build.
page = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Main App with Sub App'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = 'abap2UI5 - Main App with Sub App'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
DATA(o_grid) = page->grid( 'L6 M12 S12'
)->content( 'layout' ).
@@ -100,33 +95,28 @@ CLASS Z2UI5_CL_DEMO_APP_095 IMPLEMENTATION.
DATA(content) = o_grid->simple_form( title = 'Input'
)->content( 'form' ).
content->label( 'main app'
- )->input(
- value = client->_bind_edit( ms_screen-input )
- submit = client->_event( 'INPUT' ) ).
+ )->input( value = client->_bind_edit( ms_screen-input )
+ submit = client->_event( 'INPUT' ) ).
mo_grid_sub = page->grid( 'L12 M12 S12'
)->content( 'layout' ).
page->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'Delete'
- press = client->_event( 'BUTTON_DELETE' )
- type = 'Reject'
- icon = 'sap-icon://delete'
- )->button(
- text = 'Add'
- press = client->_event( 'BUTTON_ADD' )
- type = 'Default'
- icon = 'sap-icon://add'
- )->button(
- text = 'Save'
- press = client->_event( 'BUTTON_SAVE' )
- type = 'Success' ).
+ )->button( text = 'Delete'
+ press = client->_event( 'BUTTON_DELETE' )
+ type = 'Reject'
+ icon = 'sap-icon://delete'
+ )->button( text = 'Add'
+ press = client->_event( 'BUTTON_ADD' )
+ type = 'Default'
+ icon = 'sap-icon://add'
+ )->button( text = 'Save'
+ press = client->_event( 'BUTTON_SAVE' )
+ type = 'Success' ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -143,4 +133,5 @@ CLASS Z2UI5_CL_DEMO_APP_095 IMPLEMENTATION.
on_event_sub( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_096.clas.abap b/src/z2ui5_cl_demo_app_096.clas.abap
index 836039c3..50685626 100644
--- a/src/z2ui5_cl_demo_app_096.clas.abap
+++ b/src/z2ui5_cl_demo_app_096.clas.abap
@@ -1,28 +1,32 @@
-CLASS Z2UI5_CL_DEMO_APP_096 DEFINITION PUBLIC.
+CLASS z2ui5_cl_demo_app_096 DEFINITION PUBLIC.
PUBLIC SECTION.
INTERFACES Z2UI5_if_app.
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA mo_view_parent TYPE REF TO Z2UI5_cl_xml_view.
DATA mv_descr TYPE string.
- DATA mv_init TYPE abap_bool.
+ DATA mv_init TYPE abap_bool.
+
METHODS on_init.
METHODS on_event.
DATA mr_data TYPE REF TO data.
METHODS display_view
- CHANGING xml TYPE REF TO Z2UI5_cl_xml_view OPTIONAL.
+ CHANGING
+ xml TYPE REF TO Z2UI5_cl_xml_view OPTIONAL.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-CLASS Z2UI5_CL_DEMO_APP_096 IMPLEMENTATION.
+CLASS z2ui5_cl_demo_app_096 IMPLEMENTATION.
+
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -55,6 +59,7 @@ CLASS Z2UI5_CL_DEMO_APP_096 IMPLEMENTATION.
ENDMETHOD.
METHOD display_view.
+ " TODO: parameter XML is never used or assigned (ABAP cleaner)
IF mo_view_parent IS NOT BOUND.
@@ -73,7 +78,9 @@ CLASS Z2UI5_CL_DEMO_APP_096 IMPLEMENTATION.
ENDIF.
mo_view_parent->input( value = client->_bind_edit( mv_descr ) ).
- mo_view_parent->button( text = `event sub app` press = client->_event( `MESSAGE_SUB` ) ).
+ mo_view_parent->button( text = `event sub app`
+ press = client->_event( `MESSAGE_SUB` ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_097.clas.abap b/src/z2ui5_cl_demo_app_097.clas.abap
index c80fb888..7251e609 100644
--- a/src/z2ui5_cl_demo_app_097.clas.abap
+++ b/src/z2ui5_cl_demo_app_097.clas.abap
@@ -1,12 +1,9 @@
-CLASS Z2UI5_CL_DEMO_APP_097 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+CLASS z2ui5_cl_demo_app_097 DEFINITION
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES Z2UI5_if_app .
+ INTERFACES Z2UI5_if_app.
TYPES:
BEGIN OF ty_row,
@@ -19,14 +16,14 @@ CLASS Z2UI5_CL_DEMO_APP_097 DEFINITION
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
- DATA t_tab2 TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
- DATA mv_layout TYPE string.
- DATA check_initialized TYPE abap_bool .
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab2 TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA mv_layout TYPE string.
+ DATA check_initialized TYPE abap_bool.
DATA mv_check_enabled_01 TYPE abap_bool VALUE abap_true.
- DATA mv_check_enabled_02 TYPE abap_bool .
- PROTECTED SECTION.
+ DATA mv_check_enabled_02 TYPE abap_bool.
+ PROTECTED SECTION.
DATA client TYPE REF TO Z2UI5_if_client.
METHODS view_display_master.
@@ -37,9 +34,7 @@ CLASS Z2UI5_CL_DEMO_APP_097 DEFINITION
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_097 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_097 IMPLEMENTATION.
METHOD view_display_detail.
@@ -47,73 +42,77 @@ CLASS Z2UI5_CL_DEMO_APP_097 IMPLEMENTATION.
DATA(page) = lo_view_nested->page( title = `Nested View` ).
- DATA(tab) = page->ui_table( rows = client->_bind_edit( val = t_tab2 view = client->cs_view-nested )
- editable = abap_false
+ DATA(tab) = page->ui_table( rows = client->_bind_edit( val = t_tab2
+ view = client->cs_view-nested )
+ editable = abap_false
alternaterowcolors = abap_true
- rowactioncount = '1'
- enablegrouping = abap_false
- fixedcolumncount = '1'
- selectionmode = 'None'
- sort = client->_event( 'SORT' )
- filter = client->_event( 'FILTER' )
- customfilter = client->_event( 'CUSTOMFILTER' ) ).
+ rowactioncount = '1'
+ enablegrouping = abap_false
+ fixedcolumncount = '1'
+ selectionmode = 'None'
+ sort = client->_event( 'SORT' )
+ filter = client->_event( 'FILTER' )
+ customfilter = client->_event( 'CUSTOMFILTER' ) ).
tab->ui_extension( )->overflow_toolbar( )->title( text = 'Products' ).
DATA(lo_columns) = tab->ui_columns( ).
* lo_columns->ui_column( width = '4rem' )->checkbox( selected = client->_bind_edit( lv_selkz ) enabled = abap_true select = client->_event( val = `SELKZ` ) )->ui_template( )->checkbox( selected = `{SELKZ}` ).
- lo_columns->ui_column( sortproperty = 'TITLE'
- filterproperty = 'TITLE' )->text( text = `Index` )->ui_template( )->text( text = `{TITLE}` ).
- lo_columns->ui_column( sortproperty = 'DESCR' filterproperty = 'DESCR' )->text( text = `DESCR` )->ui_template( )->text( text = `{DESCR}` ).
- lo_columns->ui_column( sortproperty = 'INFO' filterproperty = 'INFO' )->text( text = `INFO` )->ui_template( )->text( text = `{INFO}` ).
+ lo_columns->ui_column( sortproperty = 'TITLE'
+ filterproperty = 'TITLE' )->text( text = `Index` )->ui_template( )->text( text = `{TITLE}` ).
+ lo_columns->ui_column( sortproperty = 'DESCR'
+ filterproperty = 'DESCR' )->text( text = `DESCR` )->ui_template( )->text( text = `{DESCR}` ).
+ lo_columns->ui_column( sortproperty = 'INFO'
+ filterproperty = 'INFO' )->text( text = `INFO` )->ui_template( )->text( text = `{INFO}` ).
lo_columns->get_parent( )->ui_row_action_template( )->ui_row_action(
- )->ui_row_action_item( icon = `sap-icon://delete`
- press = client->_event( val = 'ROW_DELETE' t_arg = VALUE #( ( `${TITLE}` ) ) ) ).
-
- client->nest_view_display(
- val = lo_view_nested->stringify( )
- id = `test`
- method_insert = 'addMidColumnPage'
- method_destroy = 'removeAllMidColumnPages'
+ )->ui_row_action_item( icon = `sap-icon://delete`
+ press = client->_event( val = 'ROW_DELETE'
+ t_arg = VALUE #( ( `${TITLE}` ) ) ) ).
+
+ client->nest_view_display( val = lo_view_nested->stringify( )
+ id = `test`
+ method_insert = 'addMidColumnPage'
+ method_destroy = 'removeAllMidColumnPages'
).
ENDMETHOD.
-
METHOD view_display_master.
DATA(page) = Z2UI5_cl_xml_view=>factory(
- )->page(
- title = 'abap2UI5 - Master Detail Page with Nested View'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = 'abap2UI5 - Master Detail Page with Nested View'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
page->header_content(
- )->link( text = 'Demo' target = '_blank' href = `https://twitter.com/abap2UI5/status/1628701535222865922`
+ )->link( text = 'Demo'
+ target = '_blank'
+ href = `https://twitter.com/abap2UI5/status/1628701535222865922`
)->link(
)->get_parent( ).
- DATA(col_layout) = page->flexible_column_layout( layout = client->_bind_edit( mv_layout ) id = 'test' ).
+ DATA(col_layout) = page->flexible_column_layout( layout = client->_bind_edit( mv_layout )
+ id = 'test' ).
DATA(lr_master) = col_layout->begin_column_pages( ).
DATA(lr_list) = lr_master->list(
- headertext = 'List Ouput'
- items = client->_bind_edit( val = t_tab view = client->cs_view-main )
- mode = `SingleSelectMaster`
- selectionchange = client->_event( 'SELCHANGE' )
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESCR}'
- icon = '{ICON}'
- info = '{INFO}'
- press = client->_event( 'TEST' )
- selected = `{SELECTED}`
+ " TODO: check spelling: Ouput (typo) -> Output (ABAP cleaner)
+ headertext = 'List Ouput'
+ items = client->_bind_edit( val = t_tab
+ view = client->cs_view-main )
+ mode = `SingleSelectMaster`
+ selectionchange = client->_event( 'SELCHANGE' )
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESCR}'
+ icon = '{ICON}'
+ info = '{INFO}'
+ press = client->_event( 'TEST' )
+ selected = `{SELECTED}`
).
client->view_display( lr_list->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_if_app~main.
me->client = client.
@@ -121,19 +120,19 @@ CLASS Z2UI5_CL_DEMO_APP_097 IMPLEMENTATION.
IF check_initialized = abap_false.
check_initialized = abap_true.
- t_tab = VALUE #(
- ( title = 'row_01' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_02' info = 'incompleted' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_03' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_04' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_05' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_06' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ).
+ t_tab = VALUE #( descr = 'this is a description'
+ icon = 'sap-icon://account'
+ ( title = 'row_01' info = 'completed' )
+ ( title = 'row_02' info = 'incompleted' )
+ ( title = 'row_03' info = 'working' )
+ ( title = 'row_04' info = 'working' )
+ ( title = 'row_05' info = 'completed' )
+ ( title = 'row_06' info = 'completed' ) ).
mv_layout = `OneColumn`.
- view_display_master( ).
- view_display_detail( ).
+ view_display_master( ).
+ view_display_detail( ).
ENDIF.
@@ -166,4 +165,5 @@ CLASS Z2UI5_CL_DEMO_APP_097 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_098.clas.abap b/src/z2ui5_cl_demo_app_098.clas.abap
index 5d20fa28..a96ca631 100644
--- a/src/z2ui5_cl_demo_app_098.clas.abap
+++ b/src/z2ui5_cl_demo_app_098.clas.abap
@@ -1,12 +1,9 @@
-CLASS Z2UI5_CL_DEMO_APP_098 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+CLASS z2ui5_cl_demo_app_098 DEFINITION
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_row,
@@ -17,19 +14,17 @@ CLASS Z2UI5_CL_DEMO_APP_098 DEFINITION
info TYPE string,
selected TYPE abap_bool,
checkbox TYPE abap_bool,
- END OF ty_row .
-
- DATA:
- t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY .
- DATA:
- t_tab2 TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY .
- DATA mv_layout TYPE string .
- DATA mv_title TYPE string .
- DATA check_initialized TYPE abap_bool .
+ END OF ty_row.
+
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab2 TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA mv_layout TYPE string.
+ DATA mv_title TYPE string.
+ DATA check_initialized TYPE abap_bool.
DATA mv_check_enabled_01 TYPE abap_bool VALUE abap_true.
- DATA mv_check_enabled_02 TYPE abap_bool .
- PROTECTED SECTION.
+ DATA mv_check_enabled_02 TYPE abap_bool.
+ PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
METHODS view_display_master.
@@ -41,9 +36,7 @@ CLASS Z2UI5_CL_DEMO_APP_098 DEFINITION
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_098 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_098 IMPLEMENTATION.
METHOD view_display_detail.
@@ -51,96 +44,98 @@ CLASS Z2UI5_CL_DEMO_APP_098 IMPLEMENTATION.
DATA(page) = lo_view_nested->page( title = `Nested View` ).
- DATA(tab) = page->ui_table( rows = client->_bind_edit( val = t_tab2 view = client->cs_view-nested )
- editable = abap_false
+ DATA(tab) = page->ui_table( rows = client->_bind_edit( val = t_tab2
+ view = client->cs_view-nested )
+ editable = abap_false
alternaterowcolors = abap_true
- rowactioncount = '1'
- enablegrouping = abap_false
- fixedcolumncount = '1'
- selectionmode = 'None'
- sort = client->_event( 'SORT' )
- filter = client->_event( 'FILTER' )
- customfilter = client->_event( 'CUSTOMFILTER' ) ).
+ rowactioncount = '1'
+ enablegrouping = abap_false
+ fixedcolumncount = '1'
+ selectionmode = 'None'
+ sort = client->_event( 'SORT' )
+ filter = client->_event( 'FILTER' )
+ customfilter = client->_event( 'CUSTOMFILTER' ) ).
tab->ui_extension( )->overflow_toolbar( )->title( text = 'Products' ).
DATA(lo_columns) = tab->ui_columns( ).
* lo_columns->ui_column( width = '4rem' )->checkbox( selected = client->_bind_edit( lv_selkz ) enabled = abap_true select = client->_event( val = `SELKZ` ) )->ui_template( )->checkbox( selected = `{SELKZ}` ).
- lo_columns->ui_column( sortproperty = 'TITLE'
- filterproperty = 'TITLE' )->text( text = `Index` )->ui_template( )->text( text = `{TITLE}` ).
- lo_columns->ui_column( sortproperty = 'DESCR' filterproperty = 'DESCR' )->text( text = `DESCR` )->ui_template( )->text( text = `{DESCR}` ).
- lo_columns->ui_column( sortproperty = 'INFO' filterproperty = 'INFO')->text( text = `INFO` )->ui_template( )->text( text = `{INFO}` ).
+ lo_columns->ui_column( sortproperty = 'TITLE'
+ filterproperty = 'TITLE' )->text( text = `Index` )->ui_template( )->text( text = `{TITLE}` ).
+ lo_columns->ui_column( sortproperty = 'DESCR'
+ filterproperty = 'DESCR' )->text( text = `DESCR` )->ui_template( )->text( text = `{DESCR}` ).
+ lo_columns->ui_column( sortproperty = 'INFO'
+ filterproperty = 'INFO' )->text( text = `INFO` )->ui_template( )->text( text = `{INFO}` ).
lo_columns->get_parent( )->ui_row_action_template( )->ui_row_action(
- )->ui_row_action_item( type = `Navigation` "icon = `sap-icon://navigation-right-arrow`
- press = client->_event( val = 'ROW_NAVIGATE' t_arg = VALUE #( ( `${TITLE}` ) ) ) ).
-
- client->nest_view_display(
- val = lo_view_nested->stringify( )
- id = `test`
- method_insert = 'addMidColumnPage'
- method_destroy = 'removeAllMidColumnPages'
+ )->ui_row_action_item( type = `Navigation` " icon = `sap-icon://navigation-right-arrow`
+ press = client->_event( val = 'ROW_NAVIGATE'
+ t_arg = VALUE #( ( `${TITLE}` ) ) ) ).
+
+ client->nest_view_display( val = lo_view_nested->stringify( )
+ id = `test`
+ method_insert = 'addMidColumnPage'
+ method_destroy = 'removeAllMidColumnPages'
).
ENDMETHOD.
-
METHOD view_display_detail_detail.
DATA(lo_view_nested) = z2ui5_cl_xml_view=>factory( ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(page) = lo_view_nested->page( title = `Nested View` ).
page = page->text( text = client->_bind( mv_title )
- )->button(
- text = `frontend event`
- press = client->_event_client( val = client->cs_event-open_new_tab t_arg = value #( ( `https://github.com/abap2UI5/abap2UI5/` ) ) ) ).
-
-
- client->nest2_view_display(
- val = lo_view_nested->stringify( )
- id = `test`
- method_insert = 'addEndColumnPage'
- method_destroy = 'removeAllEndColumnPages'
+ )->button( text = `frontend event`
+ press = client->_event_client( val = client->cs_event-open_new_tab
+ t_arg = VALUE #( ( `https://github.com/abap2UI5/abap2UI5/` ) ) ) ).
+
+ client->nest2_view_display( val = lo_view_nested->stringify( )
+ id = `test`
+ method_insert = 'addEndColumnPage'
+ method_destroy = 'removeAllEndColumnPages'
).
ENDMETHOD.
-
METHOD view_display_master.
DATA(page) = z2ui5_cl_xml_view=>factory(
- )->page(
- showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
- title = 'abap2UI5 - Master Detail Page with Nested View'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
+ title = 'abap2UI5 - Master Detail Page with Nested View'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
page->header_content(
- )->link( text = 'Demo' target = '_blank' href = `https://twitter.com/abap2UI5/status/1628701535222865922`
+ )->link( text = 'Demo'
+ target = '_blank'
+ href = `https://twitter.com/abap2UI5/status/1628701535222865922`
)->link(
)->get_parent( ).
- DATA(col_layout) = page->flexible_column_layout( layout = client->_bind_edit( mv_layout ) id ='test' ).
+ DATA(col_layout) = page->flexible_column_layout( layout = client->_bind_edit( mv_layout )
+ id = 'test' ).
DATA(lr_master) = col_layout->begin_column_pages( ).
DATA(lr_list) = lr_master->list(
- headertext = 'List Ouput'
- items = client->_bind_edit( val = t_tab view = client->cs_view-main )
- mode = `SingleSelectMaster`
- selectionchange = client->_event( 'SELCHANGE' )
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESCR}'
- icon = '{ICON}'
- info = '{INFO}'
- press = client->_event( 'TEST' )
- selected = `{SELECTED}`
+ " TODO: check spelling: Ouput (typo) -> Output (ABAP cleaner)
+ headertext = 'List Ouput'
+ items = client->_bind_edit( val = t_tab
+ view = client->cs_view-main )
+ mode = `SingleSelectMaster`
+ selectionchange = client->_event( 'SELCHANGE' )
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESCR}'
+ icon = '{ICON}'
+ info = '{INFO}'
+ press = client->_event( 'TEST' )
+ selected = `{SELECTED}`
).
client->view_display( lr_list->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -148,19 +143,19 @@ CLASS Z2UI5_CL_DEMO_APP_098 IMPLEMENTATION.
IF check_initialized = abap_false.
check_initialized = abap_true.
- t_tab = VALUE #(
- ( title = 'row_01' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_02' info = 'incompleted' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_03' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_04' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_05' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_06' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ).
+ t_tab = VALUE #( descr = 'this is a description'
+ icon = 'sap-icon://account'
+ ( title = 'row_01' info = 'completed' )
+ ( title = 'row_02' info = 'incompleted' )
+ ( title = 'row_03' info = 'working' )
+ ( title = 'row_04' info = 'working' )
+ ( title = 'row_05' info = 'completed' )
+ ( title = 'row_06' info = 'completed' ) ).
mv_layout = `OneColumn`.
- view_display_master( ).
- view_display_detail( ).
+ view_display_master( ).
+ view_display_detail( ).
* view_display_detail_detail( ).
ENDIF.
@@ -176,7 +171,7 @@ CLASS Z2UI5_CL_DEMO_APP_098 IMPLEMENTATION.
client->nest_view_model_update( ).
client->view_model_update( ).
- view_display_detail_detail( ).
+ view_display_detail_detail( ).
WHEN `SELCHANGE`.
DATA(lt_sel) = t_tab.
@@ -190,7 +185,7 @@ CLASS Z2UI5_CL_DEMO_APP_098 IMPLEMENTATION.
client->nest_view_model_update( ).
client->view_model_update( ).
- view_display_detail( ).
+ view_display_detail( ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -198,4 +193,5 @@ CLASS Z2UI5_CL_DEMO_APP_098 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_099.clas.abap b/src/z2ui5_cl_demo_app_099.clas.abap
index f8ddea71..f895b504 100644
--- a/src/z2ui5_cl_demo_app_099.clas.abap
+++ b/src/z2ui5_cl_demo_app_099.clas.abap
@@ -1,11 +1,9 @@
CLASS z2ui5_cl_demo_app_099 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_row,
@@ -15,30 +13,26 @@ CLASS z2ui5_cl_demo_app_099 DEFINITION
icon TYPE string,
info TYPE string,
selected TYPE abap_bool,
- END OF ty_row .
+ END OF ty_row.
TYPES:
BEGIN OF ty_sort,
text TYPE string,
key TYPE string,
selected TYPE abap_bool,
- END OF ty_sort .
-
- DATA:
- t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY .
- DATA:
- t_tab_sort TYPE STANDARD TABLE OF ty_sort WITH EMPTY KEY .
- DATA:
- t_tab_group TYPE STANDARD TABLE OF ty_sort WITH EMPTY KEY .
- DATA:
- t_tab_filter TYPE STANDARD TABLE OF ty_sort WITH EMPTY KEY .
- DATA mv_sorter_group TYPE string .
- DATA mv_filter TYPE string .
- DATA mv_sort_descending TYPE abap_bool .
- DATA mv_group_descending TYPE abap_bool .
- DATA mv_group_desc_str TYPE string VALUE `false` ##NO_TEXT.
- PROTECTED SECTION.
+ END OF ty_sort.
+
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab_sort TYPE STANDARD TABLE OF ty_sort WITH EMPTY KEY.
+ DATA t_tab_group TYPE STANDARD TABLE OF ty_sort WITH EMPTY KEY.
+ DATA t_tab_filter TYPE STANDARD TABLE OF ty_sort WITH EMPTY KEY.
+ DATA mv_sorter_group TYPE string.
+ DATA mv_filter TYPE string.
+ DATA mv_sort_descending TYPE abap_bool.
+ DATA mv_group_descending TYPE abap_bool.
+ DATA mv_group_desc_str TYPE string VALUE `false` ##NO_TEXT.
- DATA client TYPE REF TO z2ui5_if_client.
+ PROTECTED SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_set_data.
@@ -49,14 +43,11 @@ CLASS z2ui5_cl_demo_app_099 DEFINITION
METHODS z2ui5_view_settings_popup.
METHODS z2ui5_on_event.
-
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_099 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_099 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
@@ -75,7 +66,6 @@ CLASS Z2UI5_CL_DEMO_APP_099 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -114,6 +104,7 @@ CLASS Z2UI5_CL_DEMO_APP_099 IMPLEMENTATION.
IF lt_arg IS NOT INITIAL.
DATA(filter_string) = lt_arg[ 1 ].
+ " TODO: variable is assigned but never used (ABAP cleaner)
SPLIT filter_string AT ':' INTO DATA(lv_dummy) filter_string.
CONDENSE filter_string NO-GAPS.
SPLIT filter_string AT `(` INTO DATA(lv_field) DATA(lv_values).
@@ -123,13 +114,12 @@ CLASS Z2UI5_CL_DEMO_APP_099 IMPLEMENTATION.
SPLIT lv_values AT ',' INTO TABLE DATA(lt_values) IN CHARACTER MODE.
IF sy-subrc = 0.
LOOP AT lt_values INTO DATA(lv_val).
- mv_filter = mv_filter && `{path:'` && lv_field && `',operator: 'EQ',value1:'` && lv_val && `'},`.
+ mv_filter = |{ mv_filter }\{path:'{ lv_field }',operator: 'EQ',value1:'{ lv_val }'\},|.
ENDLOOP.
ENDIF.
DATA(mv_filter_len) = strlen( mv_filter ) - 1.
mv_filter = mv_filter+0(mv_filter_len).
-
z2ui5_view_display( ).
ENDIF.
@@ -172,65 +162,66 @@ CLASS Z2UI5_CL_DEMO_APP_099 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
- t_tab = VALUE #(
- ( title = 'row_01' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_02' info = 'incompleted' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_03' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_04' info = 'working' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_05' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'row_06' info = 'completed' descr = 'this is a description' icon = 'sap-icon://account' ) ).
+ t_tab = VALUE #( descr = 'this is a description'
+ icon = 'sap-icon://account'
+ ( title = 'row_01' info = 'completed' )
+ ( title = 'row_02' info = 'incompleted' )
+ ( title = 'row_03' info = 'working' )
+ ( title = 'row_04' info = 'working' )
+ ( title = 'row_05' info = 'completed' )
+ ( title = 'row_06' info = 'completed' ) ).
- t_tab_group = VALUE #(
- ( text = `Title` key = `title` )
- ( text = `Info` key = `info` )
- ( text = `Description` key = `descr` ) ).
+ t_tab_group = VALUE #( ( text = `Title` key = `title` )
+ ( text = `Info` key = `info` )
+ ( text = `Description` key = `descr` ) ).
- t_tab_sort = VALUE #(
- ( text = `Title` key = `title` )
- ( text = `Info` key = `info` )
- ( text = `Description` key = `descr` ) ).
-
- t_tab_filter = VALUE #(
- ( text = `Title` key = `Title` )
- ( text = `Descr` key = `Descr` )
- ( text = `Info` key = `Info` ) ).
+ t_tab_sort = VALUE #( ( text = `Title` key = `title` )
+ ( text = `Info` key = `info` )
+ ( text = `Description` key = `descr` ) ).
+ t_tab_filter = VALUE #( ( text = `Title` key = `Title` )
+ ( text = `Descr` key = `Descr` )
+ ( text = `Info` key = `Info` ) ).
ENDMETHOD.
-
METHOD z2ui5_view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - List'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - List'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->header_content(
)->link(
-
)->get_parent( ).
-
- page->table(
- headertext = 'Table Output'
- items = `{path:'` && client->_bind_edit( val = t_tab path = abap_true )
- && `',sorter:{path:'` && mv_sorter_group
- && `',group:` && `true` && `}`
- && `,filters:[` && mv_filter && `] }`
+ page->table( headertext = 'Table Output'
+ items = |\{path:'{ client->_bind_edit( val = t_tab
+ path = abap_true ) }|
+ && |',sorter:\{path:'{ mv_sorter_group }|
+ && |',group:true\}|
+ && |,filters:[{ mv_filter }] \}|
)->header_toolbar(
)->overflow_toolbar(
- )->title( text = `Table` level = `H2`
+ )->title( text = `Table`
+ level = `H2`
)->toolbar_spacer(
- )->button( icon = `sap-icon://sort` tooltip = `Sort` press = client->_event( `SORT` )
- )->button( icon = `sap-icon://filter` tooltip = `Filter` press = client->_event( `FILTER` )
- )->button( icon = `sap-icon://group-2` tooltip = `Group` press = client->_event( `GROUP` )
- )->button( icon = `sap-icon://action-settings` tooltip = `Group` press = client->_event( `ALL` )
+ )->button( icon = `sap-icon://sort`
+ tooltip = `Sort`
+ press = client->_event( `SORT` )
+ )->button( icon = `sap-icon://filter`
+ tooltip = `Filter`
+ press = client->_event( `FILTER` )
+ )->button( icon = `sap-icon://group-2`
+ tooltip = `Group`
+ press = client->_event( `GROUP` )
+ )->button( icon = `sap-icon://action-settings`
+ tooltip = `Group`
+ press = client->_event( `ALL` )
)->get_parent( )->get_parent(
)->columns(
)->column( )->text( text = `Title` )->get_parent(
@@ -250,78 +241,93 @@ CLASS Z2UI5_CL_DEMO_APP_099 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_view_filter_popup.
DATA(popup_filter) = z2ui5_cl_xml_view=>factory_popup( ).
- DATA(filter_view) = popup_filter->view_settings_dialog( filteritems = client->_bind_edit( t_tab_filter )
- confirm = client->_event( val = `CONFIRM_FILTER` t_arg = VALUE #( ( `${$parameters>/filterString}` ) ) )
+ DATA(filter_view) = popup_filter->view_settings_dialog(
+ filteritems = client->_bind_edit( t_tab_filter )
+ confirm = client->_event( val = `CONFIRM_FILTER`
+ t_arg = VALUE #( ( `${$parameters>/filterString}` ) ) )
)->filter_items(
- )->view_settings_filter_item( multiselect = abap_true text = `{TEXT}` key = `{KEY}`
+ )->view_settings_filter_item( multiselect = abap_true
+ text = `{TEXT}`
+ key = `{KEY}`
)->items(
- )->view_settings_item( text = `{TEXT}` key = `{KEY}` )->get_parent(
+ )->view_settings_item( text = `{TEXT}`
+ key = `{KEY}` )->get_parent(
* )->view_settings_item( text = `Completed` key = `Completed` )->get_parent(
* )->view_settings_item( text = `Incompleted` key = `Incompleted` )->get_parent(
* )->view_settings_item( text = `Working` key = `Working`
).
- client->popup_display( filter_view->stringify( ) ) .
+ client->popup_display( filter_view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_view_group_popup.
DATA(popup_group) = z2ui5_cl_xml_view=>factory_popup( ).
- DATA(group_view) = popup_group->view_settings_dialog( confirm = client->_event( val = `CONFIRM_GROUP` t_arg = VALUE #( ( `${$parameters>/groupItem/mProperties/key}` ) ) )
- reset = client->_event( `RESET_GROUP` )
- groupdescending = client->_bind_edit( mv_group_descending )
- groupitems = client->_bind_edit( t_tab_group )
+ DATA(group_view) = popup_group->view_settings_dialog(
+ confirm = client->_event( val = `CONFIRM_GROUP`
+ t_arg = VALUE #( ( `${$parameters>/groupItem/mProperties/key}` ) ) )
+ reset = client->_event( `RESET_GROUP` )
+ groupdescending = client->_bind_edit( mv_group_descending )
+ groupitems = client->_bind_edit( t_tab_group )
)->group_items(
- )->view_settings_item( text = `{TEXT}` key = `{KEY}` selected = `{SELECTED}`
+ )->view_settings_item( text = `{TEXT}`
+ key = `{KEY}`
+ selected = `{SELECTED}`
).
client->popup_display( group_view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_view_settings_popup.
DATA(popup_settings) = z2ui5_cl_xml_view=>factory_popup( ).
- popup_settings = popup_settings->view_settings_dialog(
- confirm = client->_event( 'ALL_EVENT' )
- sortitems = client->_bind_edit( t_tab_sort )
- groupitems = client->_bind_edit( t_tab_group )
- filteritems = client->_bind_edit( t_tab_filter )
+ popup_settings = popup_settings->view_settings_dialog( confirm = client->_event( 'ALL_EVENT' )
+ sortitems = client->_bind_edit( t_tab_sort )
+ groupitems = client->_bind_edit( t_tab_group )
+ filteritems = client->_bind_edit( t_tab_filter )
)->sort_items(
- )->view_settings_item( text = `{TEXT}` key = `{KEY}` selected = `{SELECTED}` )->get_parent( )->get_parent(
+ )->view_settings_item( text = `{TEXT}`
+ key = `{KEY}`
+ selected = `{SELECTED}` )->get_parent( )->get_parent(
)->group_items(
- )->view_settings_item( text = `{TEXT}` key = `{KEY}` selected = `{SELECTED}` )->get_parent( )->get_parent(
+ )->view_settings_item( text = `{TEXT}`
+ key = `{KEY}`
+ selected = `{SELECTED}` )->get_parent( )->get_parent(
)->filter_items(
- )->view_settings_filter_item( text = `{TEXT}` key = `{KEY}` multiselect = abap_true
+ )->view_settings_filter_item( text = `{TEXT}`
+ key = `{KEY}`
+ multiselect = abap_true
)->items(
- )->view_settings_item( text = `{TEXT}` key = `{KEY}` ).
+ )->view_settings_item( text = `{TEXT}`
+ key = `{KEY}` ).
client->popup_display( popup_settings->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_view_sort_popup.
DATA(popup_sort) = z2ui5_cl_xml_view=>factory_popup( ).
DATA(sort_view) = popup_sort->view_settings_dialog(
- confirm = client->_event( val = `CONFIRM_SORT` t_arg = VALUE #( ( `${$parameters>/sortItem/mProperties/key}` ) ) )
- sortitems = client->_bind_edit( t_tab_sort )
- sortdescending = client->_bind_edit( mv_sort_descending )
+ confirm = client->_event( val = `CONFIRM_SORT`
+ t_arg = VALUE #( ( `${$parameters>/sortItem/mProperties/key}` ) ) )
+ sortitems = client->_bind_edit( t_tab_sort )
+ sortdescending = client->_bind_edit( mv_sort_descending )
)->sort_items(
- )->view_settings_item( text = `{TEXT}` key = `{KEY}` selected = `{SELECTED}` ).
+ )->view_settings_item( text = `{TEXT}`
+ key = `{KEY}`
+ selected = `{SELECTED}` ).
client->popup_display( sort_view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_100.clas.abap b/src/z2ui5_cl_demo_app_100.clas.abap
index 0658fd57..c614cd7f 100644
--- a/src/z2ui5_cl_demo_app_100.clas.abap
+++ b/src/z2ui5_cl_demo_app_100.clas.abap
@@ -1,10 +1,9 @@
-CLASS Z2UI5_CL_DEMO_APP_100 DEFINITION
+CLASS z2ui5_cl_demo_app_100 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES Z2UI5_if_app .
+ INTERFACES Z2UI5_if_app.
TYPES:
BEGIN OF ty_s_tab,
@@ -21,15 +20,14 @@ CLASS Z2UI5_CL_DEMO_APP_100 DEFINITION
selected TYPE abap_bool,
process TYPE string,
process_state TYPE string,
- END OF ty_s_tab .
+ END OF ty_s_tab.
TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
- DATA mt_table TYPE ty_t_table .
- DATA lv_selkz TYPE abap_bool .
+ DATA mt_table TYPE ty_t_table.
+ DATA lv_selkz TYPE abap_bool.
PROTECTED SECTION.
-
- DATA client TYPE REF TO Z2UI5_if_client.
+ DATA client TYPE REF TO Z2UI5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS Z2UI5_set_data.
@@ -41,9 +39,7 @@ CLASS Z2UI5_CL_DEMO_APP_100 DEFINITION
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_100 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_100 IMPLEMENTATION.
METHOD Z2UI5_if_app~main.
@@ -62,7 +58,6 @@ CLASS Z2UI5_CL_DEMO_APP_100 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_on_event.
CASE client->get( )-event.
@@ -73,81 +68,169 @@ CLASS Z2UI5_CL_DEMO_APP_100 IMPLEMENTATION.
ENDMETHOD.
-
METHOD Z2UI5_set_data.
- mt_table = VALUE #(
- ( selkz = abap_false row_id = '1' product = 'table' create_date = `01.01.2023` create_by = `Olaf` storage_location = `AREA_001` quantity = 400 meins = 'ST' price = '1000.50' waers = 'EUR' process = '10' process_state = 'None' )
- ( selkz = abap_false row_id = '2' product = 'chair' create_date = `01.01.2022` create_by = `Karlo` storage_location = `AREA_001` quantity = 123 meins = 'ST' price = '2000.55' waers = 'USD' process = '20' process_state = 'Warning' )
- ( selkz = abap_false row_id = '3' product = 'sofa' create_date = `01.05.2021` create_by = `Elin` storage_location = `AREA_002` quantity = 700 meins = 'ST' price = '3000.11' waers = 'CNY' process = '30' process_state = 'Success' )
- ( selkz = abap_false row_id = '4' product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_002` quantity = 200 meins = 'ST' price = '4000.88' waers = 'USD' process = '40' process_state = 'Information' )
- ( selkz = abap_false row_id = '5' product = 'printer' create_date = `01.01.2023` create_by = `Renate` storage_location = `AREA_003` quantity = 90 meins = 'ST' price = '5000.47' waers = 'EUR' process = '70' process_state = 'Warning' )
- ( selkz = abap_false row_id = '6' product = 'table2' create_date = `01.01.2023` create_by = `Angela` storage_location = `AREA_003` quantity = 110 meins = 'ST' price = '6000.33' waers = 'GBP' process = '90' process_state = 'Error' )
- ).
-
+ mt_table = VALUE #( selkz = abap_false
+ meins = 'ST'
+ ( row_id = '1'
+ product = 'table'
+ create_date = `01.01.2023`
+ create_by = `Olaf`
+ storage_location = `AREA_001`
+ quantity = 400
+ price = '1000.50'
+ waers = 'EUR'
+ process = '10'
+ process_state = 'None' )
+ ( row_id = '2'
+ product = 'chair'
+ create_date = `01.01.2022`
+ create_by = `Karlo`
+ storage_location = `AREA_001`
+ quantity = 123
+ price = '2000.55'
+ waers = 'USD'
+ process = '20'
+ process_state = 'Warning' )
+ ( row_id = '3'
+ product = 'sofa'
+ create_date = `01.05.2021`
+ create_by = `Elin`
+ storage_location = `AREA_002`
+ quantity = 700
+ price = '3000.11'
+ waers = 'CNY'
+ process = '30'
+ process_state = 'Success' )
+ ( row_id = '4'
+ product = 'computer'
+ create_date = `27.01.2023`
+ create_by = `Theo`
+ storage_location = `AREA_002`
+ quantity = 200
+ price = '4000.88'
+ waers = 'USD'
+ process = '40'
+ process_state = 'Information' )
+ ( row_id = '5'
+ product = 'printer'
+ create_date = `01.01.2023`
+ create_by = `Renate`
+ storage_location = `AREA_003`
+ quantity = 90
+ price = '5000.47'
+ waers = 'EUR'
+ process = '70'
+ process_state = 'Warning' )
+ ( row_id = '6'
+ product = 'table2'
+ create_date = `01.01.2023`
+ create_by = `Angela`
+ storage_location = `AREA_003`
+ quantity = 110
+ price = '6000.33'
+ waers = 'GBP'
+ process = '90'
+ process_state = 'Error' ) ).
ENDMETHOD.
-
METHOD Z2UI5_view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - List'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - List'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
)->header_content(
)->link(
-
)->get_parent( ).
-
- DATA(tab) = page->ui_table( rows = client->_bind( val = mt_table )
- id = `persoTable`
- editable = abap_false
- alternaterowcolors = abap_true
- rowactioncount = '2'
- enablegrouping = abap_false
- fixedcolumncount = '1'
- selectionmode = 'None'
- sort = client->_event( 'SORT' )
- filter = client->_event( 'FILTER' )
- customfilter = client->_event( 'CUSTOMFILTER' ) ).
+ DATA(tab) = page->ui_table( rows = client->_bind( val = mt_table )
+ id = `persoTable`
+ editable = abap_false
+ alternaterowcolors = abap_true
+ rowactioncount = '2'
+ enablegrouping = abap_false
+ fixedcolumncount = '1'
+ selectionmode = 'None'
+ sort = client->_event( 'SORT' )
+ filter = client->_event( 'FILTER' )
+ customfilter = client->_event( 'CUSTOMFILTER' ) ).
tab->ui_extension( )->overflow_toolbar( )->title( text = 'Products' )->toolbar_spacer(
)->variant_management( showExecuteOnSelection = abap_true
)->variant_items(
- )->variant_item( key = `{KEY}` text = `{TEXT}` executeonselection = abap_true )->get_parent( ).
+ )->variant_item( key = `{KEY}`
+ text = `{TEXT}`
+ executeonselection = abap_true )->get_parent( ).
DATA(lo_columns) = tab->ui_columns( ).
- lo_columns->ui_column( width = '4rem' )->checkbox( selected = client->_bind_edit( lv_selkz ) enabled = abap_true select = client->_event( val = `SELKZ` ) )->ui_template( )->checkbox( selected = `{SELKZ}` ).
- lo_columns->ui_column( width = '5rem' sortproperty = 'ROW_ID'
- filterproperty = 'ROW_ID' )->text( text = `Index` )->ui_template( )->text( text = `{ROW_ID}` ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'PROCESS' filterproperty = 'PROCESS' )->text( text = `Process Indicator`
- )->ui_template( )->progress_indicator( class = 'sapUiSmallMarginBottom' percentvalue = `{PROCESS}` displayvalue = '{PROCESS} %' showvalue = 'true' state = '{PROCESS_STATE}' ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'PRODUCT'
- filterproperty = 'PRODUCT' )->text( text = `Product` )->ui_template( )->input( value = `{PRODUCT}` editable = abap_false ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'CREATE_DATE' filterproperty = 'CREATE_DATE' )->text( text = `Date` )->ui_template( )->text( text = `{CREATE_DATE}` ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'CREATE_BY' filterproperty = 'CREATE_BY')->text( text = `Name` )->ui_template( )->text( text = `{CREATE_BY}` ).
- lo_columns->ui_column( width = '11rem' sortproperty = 'STORAGE_LOCATION' filterproperty = 'STORAGE_LOCATION' )->text( text = `Location` )->ui_template( )->text( text = `{STORAGE_LOCATION}`).
- lo_columns->ui_column( width = '11rem' sortproperty = 'QUANTITY' filterproperty = 'QUANTITY' )->text( text = `Quantity` )->ui_template( )->text( text = `{QUANTITY}`).
- lo_columns->ui_column( width = '6rem' sortproperty = 'MEINS' filterproperty = 'MEINS' )->text( text = `Unit` )->ui_template( )->text( text = `{MEINS}`).
- lo_columns->ui_column( width = '11rem' sortproperty = 'PRICE' filterproperty = 'PRICE' )->text( text = `Price` )->ui_template( )->currency( value = `{PRICE}` currency = `{WAERS}` ).
+ lo_columns->ui_column( width = '4rem' )->checkbox(
+ selected = client->_bind_edit( lv_selkz )
+ enabled = abap_true
+ select = client->_event( val = `SELKZ` ) )->ui_template( )->checkbox(
+ selected = `{SELKZ}` ).
+ lo_columns->ui_column( width = '5rem'
+ sortproperty = 'ROW_ID'
+ filterproperty = 'ROW_ID' )->text( text = `Index` )->ui_template( )->text(
+ text = `{ROW_ID}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'PROCESS'
+ filterproperty = 'PROCESS' )->text( text = `Process Indicator`
+ )->ui_template( )->progress_indicator( class = 'sapUiSmallMarginBottom'
+ percentvalue = `{PROCESS}`
+ displayvalue = '{PROCESS} %'
+ showvalue = 'true'
+ state = '{PROCESS_STATE}' ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'PRODUCT'
+ filterproperty = 'PRODUCT' )->text( text = `Product` )->ui_template( )->input(
+ value = `{PRODUCT}`
+ editable = abap_false ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'CREATE_DATE'
+ filterproperty = 'CREATE_DATE' )->text( text = `Date` )->ui_template( )->text(
+ text = `{CREATE_DATE}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'CREATE_BY'
+ filterproperty = 'CREATE_BY' )->text( text = `Name` )->ui_template( )->text(
+ text = `{CREATE_BY}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'STORAGE_LOCATION'
+ filterproperty = 'STORAGE_LOCATION' )->text( text = `Location` )->ui_template( )->text(
+ text = `{STORAGE_LOCATION}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'QUANTITY'
+ filterproperty = 'QUANTITY' )->text( text = `Quantity` )->ui_template( )->text(
+ text = `{QUANTITY}` ).
+ lo_columns->ui_column( width = '6rem'
+ sortproperty = 'MEINS'
+ filterproperty = 'MEINS' )->text( text = `Unit` )->ui_template( )->text( text = `{MEINS}` ).
+ lo_columns->ui_column( width = '11rem'
+ sortproperty = 'PRICE'
+ filterproperty = 'PRICE' )->text( text = `Price` )->ui_template( )->currency(
+ value = `{PRICE}`
+ currency = `{WAERS}` ).
lo_columns->get_parent( )->ui_row_action_template( )->ui_row_action(
- )->ui_row_action_item( type = 'Navigation'
- press = client->_event( val = 'ROW_ACTION_ITEM_NAVIGATION' t_arg = VALUE #( ( `${ROW_ID}` ) ) )
- )->get_parent( )->ui_row_action_item( icon = 'sap-icon://edit' text = 'Edit' press = client->_event( val = 'ROW_ACTION_ITEM_EDIT' t_arg = VALUE #( ( `${ROW_ID}` ) ) ) ).
-*
+ )->ui_row_action_item( type = 'Navigation'
+ press = client->_event( val = 'ROW_ACTION_ITEM_NAVIGATION'
+ t_arg = VALUE #( ( `${ROW_ID}` ) ) )
+ )->get_parent( )->ui_row_action_item(
+ icon = 'sap-icon://edit'
+ text = 'Edit'
+ press = client->_event( val = 'ROW_ACTION_ITEM_EDIT'
+ t_arg = VALUE #( ( `${ROW_ID}` ) ) ) ).
+ "
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD Z2UI5_view_vm_popup.
DATA(popup_sort) = Z2UI5_cl_xml_view=>factory_popup( ).
client->popup_display( popup_sort->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_101.clas.abap b/src/z2ui5_cl_demo_app_101.clas.abap
index 23a15549..62bc43ef 100644
--- a/src/z2ui5_cl_demo_app_101.clas.abap
+++ b/src/z2ui5_cl_demo_app_101.clas.abap
@@ -1,10 +1,9 @@
CLASS z2ui5_cl_demo_app_101 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_feed,
@@ -15,12 +14,12 @@ CLASS z2ui5_cl_demo_app_101 DEFINITION
text TYPE string,
END OF ty_feed.
- DATA mt_feed TYPE TABLE OF ty_feed.
- DATA ms_feed TYPE ty_feed.
+ DATA mt_feed TYPE TABLE OF ty_feed.
+ DATA ms_feed TYPE ty_feed.
DATA mv_value TYPE string.
PROTECTED SECTION.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_event.
@@ -31,10 +30,8 @@ CLASS z2ui5_cl_demo_app_101 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_101 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -50,7 +47,6 @@ CLASS z2ui5_cl_demo_app_101 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -62,63 +58,63 @@ CLASS z2ui5_cl_demo_app_101 IMPLEMENTATION.
ENDIF.
CLEAR ms_feed.
ms_feed-author = sy-uname.
- ms_feed-type = 'Respond'.
- ms_feed-text = mv_value.
+ ms_feed-type = 'Respond'.
+ ms_feed-text = mv_value.
mv_value = ``.
INSERT ms_feed INTO mt_feed INDEX 1.
client->view_model_update( ).
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_set_data.
mt_feed = VALUE #(
- ( author = `choper725` authorpic = `employee` type = `Request` date = `August 26 2023`
- text = `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, seddiamnonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna` &&
- `aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` )
- ( author = `choper725` authorpic = `sap-icon://employee` type = `Reply` date = `August 26 2023` text = `this is feed input` )
- ).
+ author = `choper725`
+ date = `August 26 2023`
+ ( authorpic = `employee`
+ type = `Request`
+ text = |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, seddiamnonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna| &&
+|aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| )
+ ( authorpic = `sap-icon://employee` type = `Reply` text = `this is feed input` ) ).
ENDMETHOD.
-
METHOD z2ui5_view_display.
DATA(lo_view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = lo_view->shell( )->page(
- title = 'Feed Input'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = 'Feed Input'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(fi) = page->vbox(
- )->feed_input( post = client->_event( val = 'POST' )
- growing = abap_true
- rows = `4`
- icondensityaware = abap_false
- value = client->_bind_edit( mv_value )
- class = `sapUiSmallMarginTopBottom`
+ )->feed_input( post = client->_event( val = 'POST' )
+ growing = abap_true
+ rows = `4`
+ icondensityaware = abap_false
+ value = client->_bind_edit( mv_value )
+ class = `sapUiSmallMarginTopBottom`
)->get_parent( )->get_parent(
- )->list(
- items = client->_bind_edit( mt_feed )
- showseparators = `Inner`
- )->feed_list_item(
- sender = `{AUTHOR}`
- senderpress = client->_event( 'SENDER_PRESS' )
- iconpress = client->_event( 'ICON_PRESS' )
- icondensityaware = abap_false
- showicon = abap_false
- info = `Reply`
- text = `{TEXT}`
- convertlinkstoanchortags = `All` ).
+ )->list( items = client->_bind_edit( mt_feed )
+ showseparators = `Inner`
+ )->feed_list_item( sender = `{AUTHOR}`
+ senderpress = client->_event( 'SENDER_PRESS' )
+ iconpress = client->_event( 'ICON_PRESS' )
+ icondensityaware = abap_false
+ showicon = abap_false
+ info = `Reply`
+ text = `{TEXT}`
+ convertlinkstoanchortags = `All` ).
client->view_display( lo_view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_103.clas.abap b/src/z2ui5_cl_demo_app_103.clas.abap
index 9f42b70b..5a19a810 100644
--- a/src/z2ui5_cl_demo_app_103.clas.abap
+++ b/src/z2ui5_cl_demo_app_103.clas.abap
@@ -1,26 +1,24 @@
CLASS z2ui5_cl_demo_app_103 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_event.
METHODS z2ui5_view_display.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_103 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -35,7 +33,6 @@ CLASS z2ui5_cl_demo_app_103 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -47,19 +44,18 @@ CLASS z2ui5_cl_demo_app_103 IMPLEMENTATION.
METHOD z2ui5_view_display.
-
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Side Panel Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = 'abap2UI5 - Side Panel Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
page->header_content(
- )->link( ).
+ )->link( ).
page->responsive_splitter( defaultpane = `default`
)->pane_container(
- )->split_pane( requiredparentwidth = `400` id = `default`
+ )->split_pane( requiredparentwidth = `400`
+ id = `default`
)->layout_data( ns = `layout`
)->splitter_layout_data( size = `auto` )->get_parent( )->get_parent(
)->panel( headertext = `first pane` )->get_parent( )->get_parent(
@@ -73,8 +69,8 @@ CLASS z2ui5_cl_demo_app_103 IMPLEMENTATION.
)->splitter_layout_data( size = `auto` )->get_parent( )->get_parent(
)->panel( headertext = `second pane` ).
-
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_104.clas.abap b/src/z2ui5_cl_demo_app_104.clas.abap
index b6d2fe9d..f0b99ff8 100644
--- a/src/z2ui5_cl_demo_app_104.clas.abap
+++ b/src/z2ui5_cl_demo_app_104.clas.abap
@@ -1,15 +1,12 @@
CLASS z2ui5_cl_demo_app_104 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
-
- INTERFACES z2ui5_if_app .
-
- DATA mo_app_sub TYPE REF TO object .
- DATA classname TYPE string.
+ DATA mo_app_sub TYPE REF TO object.
+ DATA classname TYPE string.
TYPES:
BEGIN OF ty_row,
@@ -20,22 +17,19 @@ CLASS z2ui5_cl_demo_app_104 DEFINITION
info TYPE string,
selected TYPE abap_bool,
checkbox TYPE abap_bool,
- END OF ty_row .
-
- DATA:
- t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY .
- DATA:
- t_tab2 TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY .
- DATA mv_layout TYPE string .
- DATA mv_title TYPE string .
- DATA check_initialized TYPE abap_bool .
+ END OF ty_row.
+
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab2 TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA mv_layout TYPE string.
+ DATA mv_title TYPE string.
+ DATA check_initialized TYPE abap_bool.
DATA mv_check_enabled_01 TYPE abap_bool VALUE abap_true.
- DATA mv_check_enabled_02 TYPE abap_bool .
- DATA mo_grid_sub TYPE REF TO z2ui5_cl_xml_view .
- DATA lo_view_nested TYPE REF TO z2ui5_cl_xml_view.
+ DATA mv_check_enabled_02 TYPE abap_bool.
+ DATA mo_grid_sub TYPE REF TO z2ui5_cl_xml_view.
+ DATA lo_view_nested TYPE REF TO z2ui5_cl_xml_view.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS view_display_master.
@@ -48,22 +42,20 @@ CLASS z2ui5_cl_demo_app_104 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_104 IMPLEMENTATION.
-
METHOD on_event_sub.
IF mo_app_sub IS BOUND.
ASSIGN mo_app_sub->('MO_VIEW_PARENT') TO FIELD-SYMBOL().
= mo_grid_sub.
- CALL METHOD mo_app_sub->('Z2UI5_IF_APP~MAIN') EXPORTING client = client.
+ CALL METHOD mo_app_sub->('Z2UI5_IF_APP~MAIN')
+ EXPORTING client = client.
ENDIF.
ENDMETHOD.
-
METHOD on_init_sub.
classname = to_upper( classname ).
@@ -71,11 +63,11 @@ CLASS z2ui5_cl_demo_app_104 IMPLEMENTATION.
ASSIGN mo_app_sub->('MO_VIEW_PARENT') TO FIELD-SYMBOL().
= mo_grid_sub.
- CALL METHOD mo_app_sub->('Z2UI5_IF_APP~MAIN') EXPORTING client = client.
+ CALL METHOD mo_app_sub->('Z2UI5_IF_APP~MAIN')
+ EXPORTING client = client.
ENDMETHOD.
-
METHOD view_display_detail.
lo_view_nested = z2ui5_cl_xml_view=>factory( ).
@@ -85,43 +77,44 @@ CLASS z2ui5_cl_demo_app_104 IMPLEMENTATION.
ENDMETHOD.
-
METHOD view_display_master.
DATA(page) = z2ui5_cl_xml_view=>factory(
- )->page(
- title = 'abap2UI5 - Master Detail Page with Nested View'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = 'abap2UI5 - Master Detail Page with Nested View'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
page->header_content(
- )->link( text = 'Demo' target = '_blank' href = `https://twitter.com/abap2UI5/status/1628701535222865922`
+ )->link( text = 'Demo'
+ target = '_blank'
+ href = `https://twitter.com/abap2UI5/status/1628701535222865922`
)->link(
)->get_parent( ).
- DATA(col_layout) = page->flexible_column_layout( layout = client->_bind_edit( mv_layout ) id ='test' ).
+ DATA(col_layout) = page->flexible_column_layout( layout = client->_bind_edit( mv_layout )
+ id = 'test' ).
DATA(lr_master) = col_layout->begin_column_pages( ).
DATA(lr_list) = lr_master->list(
- headertext = 'List Ouput'
- items = client->_bind_edit( val = t_tab view = client->cs_view-main )
- mode = `SingleSelectMaster`
- selectionchange = client->_event( val = 'SELCHANGE' )
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESCR}'
- icon = '{ICON}'
- info = '{INFO}'
- press = client->_event( 'TEST' )
- selected = `{SELECTED}`
+ " TODO: check spelling: Ouput (typo) -> Output (ABAP cleaner)
+ headertext = 'List Ouput'
+ items = client->_bind_edit( val = t_tab
+ view = client->cs_view-main )
+ mode = `SingleSelectMaster`
+ selectionchange = client->_event( val = 'SELCHANGE' )
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESCR}'
+ icon = '{ICON}'
+ info = '{INFO}'
+ press = client->_event( 'TEST' )
+ selected = `{SELECTED}`
).
client->view_display( lr_list->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -129,14 +122,14 @@ CLASS z2ui5_cl_demo_app_104 IMPLEMENTATION.
IF check_initialized = abap_false.
check_initialized = abap_true.
- t_tab = VALUE #(
- ( title = 'Class 1' info = 'z2ui5_cl_demo_app_105' descr = 'this is a description' icon = 'sap-icon://account' )
- ( title = 'Class 2' info = 'z2ui5_cl_demo_app_112' descr = 'this is a description' icon = 'sap-icon://account' )
- ).
+ t_tab = VALUE #( descr = 'this is a description'
+ icon = 'sap-icon://account'
+ ( title = 'Class 1' info = 'z2ui5_cl_demo_app_105' )
+ ( title = 'Class 2' info = 'z2ui5_cl_demo_app_112' ) ).
mv_layout = `OneColumn`.
- view_display_master( ).
- view_display_detail( ).
+ view_display_master( ).
+ view_display_detail( ).
ENDIF.
@@ -157,14 +150,13 @@ CLASS z2ui5_cl_demo_app_104 IMPLEMENTATION.
mv_layout = `TwoColumnsMidExpanded`.
client->view_model_update( ).
- view_display_detail( ).
+ view_display_detail( ).
on_init_sub( ).
- client->nest_view_display(
- val = lo_view_nested->stringify( )
- id = `test`
- method_insert = 'addMidColumnPage'
- method_destroy = 'removeAllMidColumnPages' ).
+ client->nest_view_display( val = lo_view_nested->stringify( )
+ id = `test`
+ method_insert = 'addMidColumnPage'
+ method_destroy = 'removeAllMidColumnPages' ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -174,4 +166,5 @@ CLASS z2ui5_cl_demo_app_104 IMPLEMENTATION.
on_event_sub( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_105.clas.abap b/src/z2ui5_cl_demo_app_105.clas.abap
index 24ff556d..d0b91dcd 100644
--- a/src/z2ui5_cl_demo_app_105.clas.abap
+++ b/src/z2ui5_cl_demo_app_105.clas.abap
@@ -1,35 +1,38 @@
CLASS z2ui5_cl_demo_app_105 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app .
+ DATA client TYPE REF TO z2ui5_if_client.
+ DATA mo_view_parent TYPE REF TO z2ui5_cl_xml_view.
+ DATA mv_class_1 TYPE string.
+ DATA mv_init TYPE abap_bool.
+ DATA mr_data TYPE REF TO data.
- DATA client TYPE REF TO z2ui5_if_client .
- DATA mo_view_parent TYPE REF TO z2ui5_cl_xml_view .
- DATA MV_CLASS_1 TYPE string .
- DATA mv_init TYPE abap_bool .
- DATA mr_data TYPE REF TO data .
+ METHODS on_init.
- METHODS on_init .
+ METHODS on_event.
- METHODS on_event .
METHODS display_view
CHANGING
- !xml TYPE REF TO z2ui5_cl_xml_view OPTIONAL .
+ xml TYPE REF TO z2ui5_cl_xml_view OPTIONAL.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_105 IMPLEMENTATION.
+CLASS z2ui5_cl_demo_app_105 IMPLEMENTATION.
METHOD display_view.
+ " TODO: parameter XML is never used or assigned (ABAP cleaner)
- mo_view_parent->input( value = client->_bind_edit( MV_CLASS_1 ) placeholder = `Input From Class 1` ).
+ mo_view_parent->input( value = client->_bind_edit( mv_class_1 )
+ placeholder = `Input From Class 1` ).
ENDMETHOD.
@@ -44,14 +47,12 @@ CLASS Z2UI5_CL_DEMO_APP_105 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_init.
display_view( ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -65,4 +66,5 @@ CLASS Z2UI5_CL_DEMO_APP_105 IMPLEMENTATION.
on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_106.clas.abap b/src/z2ui5_cl_demo_app_106.clas.abap
index e323f9ed..32def5a5 100644
--- a/src/z2ui5_cl_demo_app_106.clas.abap
+++ b/src/z2ui5_cl_demo_app_106.clas.abap
@@ -1,23 +1,21 @@
CLASS z2ui5_cl_demo_app_106 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
+ DATA check_initialized TYPE abap_bool.
+ DATA mv_value TYPE string.
- INTERFACES z2ui5_if_app .
-
- DATA check_initialized TYPE abap_bool .
- DATA mv_value TYPE string .
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_106 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -25,30 +23,27 @@ CLASS z2ui5_cl_demo_app_106 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(lo_p) = view->shell(
- )->page(
- title = 'abap2UI5 - Rich Text Editor'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ DATA(lo_p) = view->shell(
+ )->page( title = 'abap2UI5 - Rich Text Editor'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
-
- lo_p->rich_text_editor( width = `100%`
- height = `400px`
- value = client->_bind_edit( mv_value )
- customtoolbar = abap_true
- showGroupFont = abap_true
- showGroupLink = abap_true
- showGroupInsert = abap_true
- wrapping = abap_false ).
+ lo_p->rich_text_editor( width = `100%`
+ height = `400px`
+ value = client->_bind_edit( mv_value )
+ customtoolbar = abap_true
+ showGroupFont = abap_true
+ showGroupLink = abap_true
+ showGroupInsert = abap_true
+ wrapping = abap_false ).
lo_p->footer(
)->overflow_toolbar(
- )->button(
- text = 'Send To Server'
- type = 'Emphasized'
- icon = 'sap-icon://paper-plane'
- press = client->_event( 'SERVER' ) ).
+ )->button( text = 'Send To Server'
+ type = 'Emphasized'
+ icon = 'sap-icon://paper-plane'
+ press = client->_event( 'SERVER' ) ).
client->view_display( view->stringify( ) ).
@@ -65,4 +60,5 @@ CLASS z2ui5_cl_demo_app_106 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_107.clas.abap b/src/z2ui5_cl_demo_app_107.clas.abap
index a54e5041..5526b32f 100644
--- a/src/z2ui5_cl_demo_app_107.clas.abap
+++ b/src/z2ui5_cl_demo_app_107.clas.abap
@@ -1,11 +1,9 @@
CLASS z2ui5_cl_demo_app_107 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_items,
@@ -13,59 +11,55 @@ CLASS z2ui5_cl_demo_app_107 DEFINITION
mediatype TYPE string,
uploadstate TYPE string,
url TYPE string,
- END OF ty_items .
+ END OF ty_items.
- DATA:
- mt_items TYPE TABLE OF ty_items WITH DEFAULT KEY .
- DATA mv_file_raw TYPE string .
- PROTECTED SECTION.
+ DATA mt_items TYPE TABLE OF ty_items WITH DEFAULT KEY.
+ DATA mv_file_raw TYPE string.
- DATA client TYPE REF TO z2ui5_if_client.
+ PROTECTED SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
- DATA check_load_cc TYPE abap_bool.
+ DATA check_load_cc TYPE abap_bool.
METHODS z2ui5_view_display.
METHODS z2ui5_on_event.
+
METHODS get_custom_js
RETURNING
VALUE(result) TYPE string.
-
PRIVATE SECTION.
DATA mv_page TYPE string.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_107 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_107 IMPLEMENTATION.
METHOD get_custom_js.
- result = `` && |\n| &&
- `sap.z2ui5.fileGet = (oEvent,oController) => {` && |\n| &&
- ` var oFileUploadComponent = oEvent.getParameters("items").item.getFileObject();` && |\n| &&
- ` if (oFileUploadComponent) {` && |\n| &&
- ` _handleRawFile(oFileUploadComponent,oController);` && |\n| &&
- ` }` && |\n| &&
- ` console.log(sap.z2ui5.oResponse.OVIEWMODEL.XX.MV_FILE_RAW.data);` && |\n| &&
- `};` && |\n| &&
- `_handleRawFile = (oFile, oController) => {` && |\n| &&
- ` var oFileRaw = {` && |\n| &&
- ` name: oFile.name,mimetype: oFile.type,size: oFile.size,data: []` && |\n| &&
- ` }` && |\n| &&
- ` var reader = new FileReader();` && |\n| &&
- ` reader.onload = function (e) {` && |\n| &&
- ` oFileRaw.data = e.target.result;` && |\n| &&
- ` sap.z2ui5.oResponse.OVIEWMODEL.XX.MV_FILE_RAW = oFileRaw;` && |\n| &&
- ` }` && |\n| &&
- ` reader.readAsDataURL(oFile);` && |\n| &&
- `};`.
+ result = || && |\n| &&
+ |sap.z2ui5.fileGet = (oEvent,oController) => \{| && |\n| &&
+ | var oFileUploadComponent = oEvent.getParameters("items").item.getFileObject();| && |\n| &&
+ | if (oFileUploadComponent) \{| && |\n| &&
+ | _handleRawFile(oFileUploadComponent,oController);| && |\n| &&
+ | \}| && |\n| &&
+ | console.log(sap.z2ui5.oResponse.OVIEWMODEL.XX.MV_FILE_RAW.data);| && |\n| &&
+ |\};| && |\n| &&
+ |_handleRawFile = (oFile, oController) => \{| && |\n| &&
+ | var oFileRaw = \{| && |\n| &&
+ | name: oFile.name,mimetype: oFile.type,size: oFile.size,data: []| && |\n| &&
+ | \}| && |\n| &&
+ | var reader = new FileReader();| && |\n| &&
+ | reader.onload = function (e) \{| && |\n| &&
+ | oFileRaw.data = e.target.result;| && |\n| &&
+ | sap.z2ui5.oResponse.OVIEWMODEL.XX.MV_FILE_RAW = oFileRaw;| && |\n| &&
+ | \}| && |\n| &&
+ | reader.readAsDataURL(oFile);| && |\n| &&
+ |\};|.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -85,7 +79,6 @@ CLASS Z2UI5_CL_DEMO_APP_107 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -95,44 +88,45 @@ CLASS Z2UI5_CL_DEMO_APP_107 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_view_display.
client->_bind_edit( mv_file_raw ).
- DATA(view) = z2ui5_cl_xml_view=>factory( ).
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell( )->page(
- title = 'abap2UI5 - P13N Dialog'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- class = 'sapUiContentPadding' ).
-
- page = page->upload_set( instantupload = abap_true
- showicons = abap_true
- uploadenabled = abap_true
+ title = 'abap2UI5 - P13N Dialog'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ class = 'sapUiContentPadding' ).
+
+ page = page->upload_set( instantupload = abap_true
+ showicons = abap_true
+ uploadenabled = abap_true
terminationenabled = abap_true
-* filetypes = `txt,doc,png`
- maxfilenamelength = `30`
- maxfilesize = `200`
-* mediatypes = 'text/plain,application/msword,image/png'
- mode = `MultiSelect`
- items = client->_bind_edit( mt_items )
-* afteritemadded = client->_event( val = 'AFTER' t_arg = VALUE #( ( `${$parameters>/}` ) ) )
- afteritemadded = `sap.z2ui5.fileGet($event,$controller)` "sap.z2ui5.updateData(${$parameters>/reason})
- uploadcompleted = `sap.z2ui5.fileGet($event,$controller)` "sap.z2ui5.updateData(${$parameters>/reason})
- )->_generic( name = `toolbar` ns = `upload`
+* filetypes = `txt,doc,png`
+ maxfilenamelength = `30`
+ maxfilesize = `200`
+* mediatypes = 'text/plain,application/msword,image/png'
+ mode = `MultiSelect`
+ items = client->_bind_edit( mt_items )
+* afteritemadded = client->_event( val = 'AFTER' t_arg = VALUE #( ( `${$parameters>/}` ) ) )
+ afteritemadded = `sap.z2ui5.fileGet($event,$controller)` " sap.z2ui5.updateData(${$parameters>/reason})
+ uploadcompleted = `sap.z2ui5.fileGet($event,$controller)` " sap.z2ui5.updateData(${$parameters>/reason})
+ )->_generic( name = `toolbar`
+ ns = `upload`
)->overflow_toolbar(
)->toolbar_spacer(
)->upload_set_toolbar_placeholder(
)->get_parent( )->get_parent( )->get_parent(
)->items( ns = `upload`
- )->upload_set_item( filename = `{FILENAME}`
- url = `{URL}`
+ )->upload_set_item( filename = `{FILENAME}`
+ url = `{URL}`
mediatype = `{MEDIATYPE}`
* uploadState = `{UPLOADSTATE}`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_108.clas.abap b/src/z2ui5_cl_demo_app_108.clas.abap
index 8fb1c135..d3375db1 100644
--- a/src/z2ui5_cl_demo_app_108.clas.abap
+++ b/src/z2ui5_cl_demo_app_108.clas.abap
@@ -1,38 +1,36 @@
-class Z2UI5_CL_DEMO_APP_108 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_108 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
-
- interfaces Z2UI5_IF_APP .
-
- data:
- BEGIN OF screen,
+ DATA:
+ BEGIN OF screen,
input1 TYPE string,
input2 TYPE string,
input3 TYPE string,
- END OF screen .
- data CHECK_INITIALIZED type ABAP_BOOL .
- PROTECTED SECTION.
+ END OF screen.
+ DATA check_initialized TYPE abap_bool.
+ PROTECTED SECTION.
METHODS Z2UI5_on_rendering
IMPORTING
client TYPE REF TO Z2UI5_if_client.
+
METHODS Z2UI5_on_event
IMPORTING
client TYPE REF TO Z2UI5_if_client.
+
METHODS Z2UI5_on_init.
PRIVATE SECTION.
ENDCLASS.
+CLASS z2ui5_cl_demo_app_108 IMPLEMENTATION.
-CLASS Z2UI5_CL_DEMO_APP_108 IMPLEMENTATION.
-
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -44,8 +42,7 @@ CLASS Z2UI5_CL_DEMO_APP_108 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_ON_EVENT.
+ METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -61,24 +58,22 @@ CLASS Z2UI5_CL_DEMO_APP_108 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_ON_INIT.
+ METHOD z2ui5_on_init.
ENDMETHOD.
-
- METHOD Z2UI5_ON_RENDERING.
+ METHOD z2ui5_on_rendering.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Side Panel Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = 'abap2UI5 - Side Panel Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
page->header_content(
)->link(
)->get_parent( ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(side_panel) = page->side_panel( sidepanelposition = `Left`
)->main_content(
)->button( text = `Button 1`
@@ -87,30 +82,37 @@ CLASS Z2UI5_CL_DEMO_APP_108 IMPLEMENTATION.
)->label( text = `Switch 1`
)->switch(
)->get_parent(
- )->text( text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut` &&
- `labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris` &&
- `nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse` &&
- `cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui` &&
- `officia deserunt mollit anim id est laborum`
+ )->text(
+ text = |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut| &&
+ |labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris| &&
+ |nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse| &&
+ |cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui| &&
+ |officia deserunt mollit anim id est laborum|
)->get_parent(
)->items( ns = `f`
- )->side_panel_item( icon = `sap-icon://physical-activity` text = `Run`
+ )->side_panel_item( icon = `sap-icon://physical-activity`
+ text = `Run`
)->vbox(
- )->text( text = `Static Content` class = `sapUiSmallMarginBottom`
+ )->text( text = `Static Content`
+ class = `sapUiSmallMarginBottom`
)->switch(
)->button( text = `Press Me`
)->get_parent(
)->get_parent(
- )->side_panel_item( icon = `sap-icon://addresses` text = `Go Home`
+ )->side_panel_item( icon = `sap-icon://addresses`
+ text = `Go Home`
)->vbox(
- )->text( text = `Static Content` class = `sapUiSmallMarginBottom`
+ )->text( text = `Static Content`
+ class = `sapUiSmallMarginBottom`
)->button( text = `Press Me`
)->button( text = `Hit Me`
)->get_parent(
)->get_parent(
- )->side_panel_item( icon = `sap-icon://flight` text = `Fly abroad` ).
+ )->side_panel_item( icon = `sap-icon://flight`
+ text = `Fly abroad` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_109.clas.abap b/src/z2ui5_cl_demo_app_109.clas.abap
index 2d32277c..8c17f5e3 100644
--- a/src/z2ui5_cl_demo_app_109.clas.abap
+++ b/src/z2ui5_cl_demo_app_109.clas.abap
@@ -1,23 +1,22 @@
CLASS z2ui5_cl_demo_app_109 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app .
-
- DATA product TYPE string .
- DATA quantity TYPE string .
- DATA mv_placement TYPE string .
+ DATA product TYPE string.
+ DATA quantity TYPE string.
+ DATA mv_placement TYPE string.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_init.
METHODS z2ui5_on_event.
METHODS z2ui5_display_view.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,97 +25,85 @@ CLASS z2ui5_cl_demo_app_109 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_109 IMPLEMENTATION.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
view->quick_view( placement = mv_placement
- )->quick_view_page( pageid = `employeePageId`
- header = `Employee Info`
- title = `choper725`
- titleurl = `https://github.com/abap2UI5/abap2UI5`
+ )->quick_view_page( pageid = `employeePageId`
+ header = `Employee Info`
+ title = `choper725`
+ titleurl = `https://github.com/abap2UI5/abap2UI5`
description = `Enjoy`
)->quick_view_group( heading = `Contact Details`
)->quick_view_group_element( label = `Mobile`
value = `123-456-789`
- type = `mobile`
+ type = `mobile`
)->get_parent(
)->quick_view_group_element( label = `Phone`
value = `789-456-123`
- type = `phone`
+ type = `phone`
)->get_parent(
- )->quick_view_group_element( label = `Email`
- value = `thisisemail@email.com`
+ )->quick_view_group_element( label = `Email`
+ value = `thisisemail@email.com`
emailsubject = `Subject`
- type = `email`
+ type = `email`
)->get_parent(
)->get_parent(
)->quick_view_group( heading = `Company`
)->quick_view_group_element( label = `Name`
- value = `Adventure Company`
- url = `https://github.com/abap2UI5/abap2UI5`
- type = `link`
+ value = `Adventure Company`
+ url = `https://github.com/abap2UI5/abap2UI5`
+ type = `link`
)->get_parent(
)->quick_view_group_element( label = `Address`
- value = `Here"`
+ value = `Here"`
)->get_parent( ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popover Quickview Examples'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Popover Quickview Examples'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->simple_form( 'QuickView Popover'
)->content( 'form'
)->title( 'QuickView Popover'
)->label( 'placement'
)->segmented_button( selected_key = client->_bind_edit( mv_placement )
)->items(
- )->segmented_button_item(
- key = 'Left'
- icon = 'sap-icon://add-favorite'
- text = 'Left'
- )->segmented_button_item(
- key = 'Top'
- icon = 'sap-icon://accept'
- text = 'Top'
- )->segmented_button_item(
- key = 'Bottom'
- icon = 'sap-icon://accept'
- text = 'Bottom'
- )->segmented_button_item(
- key = 'Right'
- icon = 'sap-icon://attachment'
- text = 'Right'
+ )->segmented_button_item( key = 'Left'
+ icon = 'sap-icon://add-favorite'
+ text = 'Left'
+ )->segmented_button_item( key = 'Top'
+ icon = 'sap-icon://accept'
+ text = 'Top'
+ )->segmented_button_item( key = 'Bottom'
+ icon = 'sap-icon://accept'
+ text = 'Bottom'
+ )->segmented_button_item( key = 'Right'
+ icon = 'sap-icon://attachment'
+ text = 'Right'
)->get_parent( )->get_parent(
)->label( 'popover'
- )->button(
- text = 'show'
- press = client->_event( 'POPOVER' )
- id = 'TEST'
- width = `10rem`
+ )->button( text = 'show'
+ press = client->_event( 'POPOVER' )
+ id = 'TEST'
+ width = `10rem`
).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -132,7 +119,6 @@ CLASS z2ui5_cl_demo_app_109 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -156,7 +142,6 @@ CLASS z2ui5_cl_demo_app_109 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
mv_placement = 'Left'.
@@ -164,4 +149,5 @@ CLASS z2ui5_cl_demo_app_109 IMPLEMENTATION.
quantity = '500'.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_110.clas.abap b/src/z2ui5_cl_demo_app_110.clas.abap
index 8b752bd0..e3dafd32 100644
--- a/src/z2ui5_cl_demo_app_110.clas.abap
+++ b/src/z2ui5_cl_demo_app_110.clas.abap
@@ -1,71 +1,88 @@
CLASS z2ui5_cl_demo_app_110 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
+ DATA product TYPE string.
+ DATA quantity TYPE string.
- INTERFACES z2ui5_if_app .
-
- DATA product TYPE string .
- DATA quantity TYPE string .
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_init.
METHODS z2ui5_on_event.
METHODS z2ui5_display_view.
-
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_110 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_110 IMPLEMENTATION.
METHOD z2ui5_display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Sample: MaskInput'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Generic Mask Input' layout = 'ColumnLayout' editable = abap_true
+ )->page( title = 'abap2UI5 - Sample: MaskInput'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->simple_form( title = 'Generic Mask Input'
+ layout = 'ColumnLayout'
+ editable = abap_true
* )->content( 'form'
)->label( text = 'Unique ID'
- )->mask_input( mask = `~~~~~~~~~~` placeholdersymbol = `_` placeholder = 'All characters allowed' )->get(
+ )->mask_input( mask = `~~~~~~~~~~`
+ placeholdersymbol = `_`
+ placeholder = 'All characters allowed' )->get(
)->rules(
- )->mask_input_rule( maskformatsymbol = '~' regex = `[^_]`
+ )->mask_input_rule( maskformatsymbol = '~'
+ regex = `[^_]`
)->get_parent( )->get_parent( )->get_parent(
)->label( text = `Promo code`
- )->mask_input( mask = `**********` placeholdersymbol = `_` placeholder = `Latin characters (case insensitive) and numbers` )->get(
+ )->mask_input( mask = `**********`
+ placeholdersymbol = `_`
+ placeholder = `Latin characters (case insensitive) and numbers` )->get(
)->rules(
)->mask_input_rule(
)->get_parent( )->get_parent( )->get_parent(
)->label( text = `Phone number`
- )->mask_input( mask = `(999) 999 999999` placeholdersymbol = `_` placeholder = `Enter twelve-digit number` showclearicon = abap_true )->get(
+ )->mask_input( mask = `(999) 999 999999`
+ placeholdersymbol = `_`
+ placeholder = `Enter twelve-digit number`
+ showclearicon = abap_true )->get(
)->rules(
)->mask_input_rule(
- )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->get_parent( )->get_parent( )->get_parent( )->get_parent(
- )->simple_form( title = 'Possible usages (may require additional coding)' layout = 'ColumnLayout' editable = abap_true
+ )->simple_form( title = 'Possible usages (may require additional coding)'
+ layout = 'ColumnLayout'
+ editable = abap_true
)->label( text = `Serial number`
- )->mask_input( mask = `CCCC-CCCC-CCCC-CCCC-CCCC` placeholdersymbol = `_` placeholder = `Enter digits and capital letters` showclearicon = abap_true )->get(
+ )->mask_input( mask = `CCCC-CCCC-CCCC-CCCC-CCCC`
+ placeholdersymbol = `_`
+ placeholder = `Enter digits and capital letters`
+ showclearicon = abap_true )->get(
)->rules(
- )->mask_input_rule( maskformatsymbol = `C` regex = `[A-Z0-9]`
+ )->mask_input_rule( maskformatsymbol = `C`
+ regex = `[A-Z0-9]`
)->get_parent( )->get_parent( )->get_parent(
)->label( text = `Product activation key`
- )->mask_input( mask = `SAP-CCCCC-CCCCC` placeholdersymbol = `_` placeholder = `Starts with 'SAP' followed by digits and capital letters` showclearicon = abap_true )->get(
+ )->mask_input( mask = `SAP-CCCCC-CCCCC`
+ placeholdersymbol = `_`
+ placeholder = `Starts with 'SAP' followed by digits and capital letters`
+ showclearicon = abap_true )->get(
)->rules(
- )->mask_input_rule( maskformatsymbol = `C` regex = `[A-Z0-9]`
+ )->mask_input_rule( maskformatsymbol = `C`
+ regex = `[A-Z0-9]`
)->get_parent( )->get_parent( )->get_parent(
)->label( text = `ISBN`
- )->mask_input( mask = `999-99-999-9999-9` placeholdersymbol = `_` placeholder = `Enter thirteen-digit number` showclearicon = abap_true )->get(
+ )->mask_input( mask = `999-99-999-9999-9`
+ placeholdersymbol = `_`
+ placeholder = `Enter thirteen-digit number`
+ showclearicon = abap_true )->get(
* )->rules(
* )->mask_input_rule(
* )->get_parent( )->get_parent( )->get_parent( )->get_parent( )->get_parent(
@@ -75,7 +92,6 @@ CLASS Z2UI5_CL_DEMO_APP_110 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -91,7 +107,6 @@ CLASS Z2UI5_CL_DEMO_APP_110 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -103,9 +118,8 @@ CLASS Z2UI5_CL_DEMO_APP_110 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
-
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_111.clas.abap b/src/z2ui5_cl_demo_app_111.clas.abap
index a3143bd3..bc73ca52 100644
--- a/src/z2ui5_cl_demo_app_111.clas.abap
+++ b/src/z2ui5_cl_demo_app_111.clas.abap
@@ -1,11 +1,9 @@
CLASS z2ui5_cl_demo_app_111 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_s_tab,
@@ -15,27 +13,27 @@ CLASS z2ui5_cl_demo_app_111 DEFINITION
create_by TYPE string,
storage_location TYPE string,
quantity TYPE i,
- END OF ty_s_tab .
- TYPES:
- ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY .
-
- DATA mv_search_value TYPE string .
- DATA mt_table TYPE ty_t_table .
- DATA mv_key TYPE string .
- DATA mv_product TYPE string .
- DATA mv_create_date TYPE string .
- DATA mv_create_by TYPE string .
- DATA mv_storage_location TYPE string .
- DATA mv_quantity TYPE string .
- PROTECTED SECTION.
+ END OF ty_s_tab.
+ TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
+
+ DATA mv_search_value TYPE string.
+ DATA mt_table TYPE ty_t_table.
+ DATA mv_key TYPE string.
+ DATA mv_product TYPE string.
+ DATA mv_create_date TYPE string.
+ DATA mv_create_by TYPE string.
+ DATA mv_storage_location TYPE string.
+ DATA mv_quantity TYPE string.
- DATA client TYPE REF TO z2ui5_if_client.
+ PROTECTED SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_event.
METHODS z2ui5_set_search.
METHODS z2ui5_set_data.
METHODS z2ui5_view_display.
+
METHODS get_custom_js
RETURNING
VALUE(result) TYPE string.
@@ -44,13 +42,11 @@ CLASS z2ui5_cl_demo_app_111 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_111 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
- me->client = client.
+ me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -68,7 +64,6 @@ CLASS z2ui5_cl_demo_app_111 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -83,45 +78,42 @@ CLASS z2ui5_cl_demo_app_111 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ).
+ mt_table = VALUE #( storage_location = `AREA_001`
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 ) ).
ENDMETHOD.
-
METHOD z2ui5_set_search.
- IF mv_search_value IS NOT INITIAL.
-
- LOOP AT mt_table REFERENCE INTO DATA(lr_row).
- DATA(lv_row) = ``.
- DATA(lv_index) = 1.
- DO.
- ASSIGN COMPONENT lv_index OF STRUCTURE lr_row->* TO FIELD-SYMBOL().
- IF sy-subrc <> 0.
- EXIT.
- ENDIF.
- lv_row = lv_row && .
- lv_index = lv_index + 1.
- ENDDO.
-
- IF lv_row NS mv_search_value.
- DELETE mt_table.
- ENDIF.
- ENDLOOP.
+ IF mv_search_value IS INITIAL.
+ RETURN.
ENDIF.
- ENDMETHOD.
+ LOOP AT mt_table REFERENCE INTO DATA(lr_row).
+ DATA(lv_row) = ``.
+ DATA(lv_index) = 1.
+ DO.
+ ASSIGN COMPONENT lv_index OF STRUCTURE lr_row->* TO FIELD-SYMBOL().
+ IF sy-subrc <> 0.
+ EXIT.
+ ENDIF.
+ lv_row = lv_row && .
+ lv_index = lv_index + 1.
+ ENDDO.
+ IF lv_row NS mv_search_value.
+ DELETE mt_table.
+ ENDIF.
+ ENDLOOP.
+
+ ENDMETHOD.
METHOD z2ui5_view_display.
@@ -129,50 +121,81 @@ CLASS z2ui5_cl_demo_app_111 IMPLEMENTATION.
client->view_display( z2ui5_cl_xml_view=>factory(
* )->_cc_plain_xml( `` && lv_script && ` `
- )->_generic( ns = `html` name = `script` )->_cc_plain_xml( `sap.z2ui5.InitSvm();`
+ )->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( `sap.z2ui5.InitSvm();`
)->stringify( ) ).
* view->_cc_plain_xml( ` sap.z2ui5.InitSvm(); ` ).
- DATA(page1) = view->page( id = `page_main`
- title = 'abap2UI5 - List Report Features'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ DATA(page1) = view->page( id = `page_main`
+ title = 'abap2UI5 - List Report Features'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(page) = page1->dynamic_page( headerexpanded = abap_true headerpinned = abap_true ).
+ DATA(page) = page1->dynamic_page( headerexpanded = abap_true
+ headerpinned = abap_true ).
DATA(header_title) = page->title( ns = 'f' )->get( )->dynamic_page_title( ).
- header_title->heading( ns = 'f' )->smart_variant_management( id = `svm` showexecuteonselection = abap_true ).
+ header_title->heading( ns = 'f' )->smart_variant_management( id = `svm`
+ showexecuteonselection = abap_true ).
header_title->expanded_content( 'f' ).
header_title->snapped_content( ns = 'f' ).
DATA(lo_fb) = page->header( )->dynamic_page_header( pinnable = abap_true ).
- lo_fb->filter_bar( id = `fbar` persistencykey = `myPersKey` usetoolbar = abap_false search = `sap.z2ui5.onSearch();`
+ lo_fb->filter_bar( id = `fbar`
+ persistencykey = `myPersKey`
+ usetoolbar = abap_false
+ search = `sap.z2ui5.onSearch();`
)->filter_group_items(
- )->filter_group_item( name = `PRODUCT` label = `Product` groupname = `group1` visibleinfilterbar = abap_true
+ )->filter_group_item( name = `PRODUCT`
+ label = `Product`
+ groupname = `group1`
+ visibleinfilterbar = abap_true
)->fb_control(
- )->input( value = client->_bind_edit( mv_product ) suggest = abap_true suggestionitems = `{/EDIT/MT_TABLE}` change = `sap.z2ui5.onChange();`
+ )->input( value = client->_bind_edit( mv_product )
+ suggest = abap_true
+ suggestionitems = `{/EDIT/MT_TABLE}`
+ change = `sap.z2ui5.onChange();`
)->get( )->suggestion_items( )->item( text = `{PRODUCT}`
- )->get_parent( )->get_parent( )->get_parent( )->get_parent(
- )->filter_group_item( name = `CREATE_DATE` label = `Create Date` groupname = `group1` visibleinfilterbar = abap_true
+ )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->filter_group_item( name = `CREATE_DATE`
+ label = `Create Date`
+ groupname = `group1`
+ visibleinfilterbar = abap_true
)->fb_control(
- )->input( value = client->_bind_edit( mv_create_date ) change = `sap.z2ui5.onChange();` )->get_parent( )->get_parent(
- )->filter_group_item( name = `CREATE_BY` label = `Create By` groupname = `group1` visibleinfilterbar = abap_true
+ )->input( value = client->_bind_edit( mv_create_date )
+ change = `sap.z2ui5.onChange();` )->get_parent( )->get_parent(
+ )->filter_group_item( name = `CREATE_BY`
+ label = `Create By`
+ groupname = `group1`
+ visibleinfilterbar = abap_true
)->fb_control(
- )->input( value = client->_bind_edit( mv_create_by ) change = `sap.z2ui5.onChange();` )->get_parent( )->get_parent(
- )->filter_group_item( name = `STORAGE_LOCATION` label = `Storage Location` groupname = `group1` visibleinfilterbar = abap_true
+ )->input( value = client->_bind_edit( mv_create_by )
+ change = `sap.z2ui5.onChange();` )->get_parent( )->get_parent(
+ )->filter_group_item( name = `STORAGE_LOCATION`
+ label = `Storage Location`
+ groupname = `group1`
+ visibleinfilterbar = abap_true
)->fb_control(
- )->input( value = client->_bind_edit( mv_storage_location ) change = `sap.z2ui5.onChange();` )->get_parent( )->get_parent(
- )->filter_group_item( name = `QUANTITY` label = `Quantity` groupname = `group1` visibleinfilterbar = abap_true
+ )->input( value = client->_bind_edit( mv_storage_location )
+ change = `sap.z2ui5.onChange();` )->get_parent( )->get_parent(
+ )->filter_group_item( name = `QUANTITY`
+ label = `Quantity`
+ groupname = `group1`
+ visibleinfilterbar = abap_true
)->fb_control(
- )->input( suggest = abap_true suggestionitems = `{/EDIT/MT_TABLE}` value = client->_bind_edit( mv_quantity ) change = `sap.z2ui5.onChange($event);`
+ )->input( suggest = abap_true
+ suggestionitems = `{/EDIT/MT_TABLE}`
+ value = client->_bind_edit( mv_quantity )
+ change = `sap.z2ui5.onChange($event);`
)->get( )->suggestion_items( )->item( text = `{QUANTITY}`
)->get_parent( )->get_parent( )->get_parent( ).
DATA(cont) = page->content( ns = 'f' ).
- DATA(tab) = cont->table( id = `table1` items = client->_bind_edit( val = mt_table ) ).
+ DATA(tab) = cont->table( id = `table1`
+ items = client->_bind_edit( val = mt_table ) ).
DATA(lo_columns) = tab->columns( ).
lo_columns->column( )->text( text = `Product` ).
@@ -194,80 +217,81 @@ CLASS z2ui5_cl_demo_app_111 IMPLEMENTATION.
METHOD get_custom_js.
- result = `sap.z2ui5.InitSvm = () => {` && |\n| &&
- ` var oView = sap.z2ui5.oView` && |\n| &&
- ` var oSmartVariantManagement = oView.byId("svm");` && |\n| &&
- ` var oFilterBar = oView.byId("fbar");` && |\n| &&
- ` var aData = _registerFetchData(oFilterBar);` && |\n| &&
- ` oFilterBar.registerFetchData( aData );` && |\n| &&
- ` oFilterBar.registerApplyData( _registerApplyData(oFilterBar, aData));` && |\n| &&
- ` oFilterBar.registerGetFiltersWithValues( _registerGetFiltersWithValues(oFilterBar));` && |\n| &&
- ` var oPersInfo = new sap.ui.comp.smartvariants.PersonalizableInfo({` && |\n| &&
- ` type: "filterBar",` && |\n| &&
- ` keyName: "persistencyKey",` && |\n| &&
- ` dataSource: "",` && |\n| &&
- ` control: oFilterBar` && |\n| &&
- ` });` && |\n| &&
- ` oSmartVariantManagement.addPersonalizableControl(oPersInfo);` && |\n| &&
- ` oSmartVariantManagement.initialise(function () {oSmartVariantManagement.currentVariantSetModified(false);}, oFilterBar);` && |\n| &&
- `};` && |\n| &&
- `_registerFetchData = (oFilterBar) => {` && |\n| &&
- ` var aData = oFilterBar.getAllFilterItems().reduce(function (aResult, oFilterItem) {` && |\n| &&
- ` aResult.push({` && |\n| &&
- ` groupName: oFilterItem.getGroupName(),` && |\n| &&
- ` fieldName: oFilterItem.getName(),` && |\n| &&
- ` fieldData: oFilterItem.getControl().getValue()` && |\n| &&
- ` });` && |\n| &&
- ` return aResult;` && |\n| &&
- ` }, []);` && |\n| &&
- ` return aData;` && |\n| &&
- `};` && |\n| &&
- `_registerApplyData = (oFilterBar, aData) => {` && |\n| &&
- ` aData.forEach(function (oDataObject) {` && |\n| &&
- ` var oControl = oFilterBar.determineControlByName(oDataObject.fieldName, oDataObject.groupName);` && |\n| &&
- ` oControl.setValue(oDataObject.fieldData);` && |\n| &&
- ` });` && |\n| &&
- `};` && |\n| &&
- `_registerGetFiltersWithValues = (oFilterBar) => {` && |\n| &&
- ` var aFiltersWithValue = oFilterBar.getFilterGroupItems().reduce(function (aResult, oFilterGroupItem) {` && |\n| &&
- ` var oControl = oFilterGroupItem.getControl();` && |\n| &&
- ` if (oControl && oControl.getValue && oControl.getValue().length > 0) {` && |\n| &&
- ` aResult.push(oFilterGroupItem);` && |\n| &&
- ` }` && |\n| &&
- ` return aResult;` && |\n| &&
- ` }, []);` && |\n| &&
- ` return aFiltersWithValue;` && |\n| &&
- `};` && |\n| &&
- `sap.z2ui5.onSearch = () => {` && |\n| &&
- ` var oView = sap.z2ui5.oView` && |\n| &&
- ` var oFilterBar = oView.byId("fbar");` && |\n| &&
- ` var oTable = oView.byId("table1");` && |\n| &&
- ` var aTableFilters = oFilterBar.getFilterGroupItems().reduce(function (aResult, oFilterGroupItem) {` && |\n| &&
- ` var oControl = oFilterGroupItem.getControl(),` && |\n| &&
- ` aSelectedKey = oControl.getValue(),` && |\n| &&
- ` aFilters = return new sap.ui.model.Filter({` && |\n| &&
- ` path: oFilterGroupItem.getName(),` && |\n| &&
- ` operator: "Contains",` && |\n| &&
- ` value1: sSelectedKey` && |\n| &&
- ` });` && |\n| &&
+ result = |sap.z2ui5.InitSvm = () => \{| && |\n| &&
+ | var oView = sap.z2ui5.oView| && |\n| &&
+ | var oSmartVariantManagement = oView.byId("svm");| && |\n| &&
+ | var oFilterBar = oView.byId("fbar");| && |\n| &&
+ | var aData = _registerFetchData(oFilterBar);| && |\n| &&
+ | oFilterBar.registerFetchData( aData );| && |\n| &&
+ | oFilterBar.registerApplyData( _registerApplyData(oFilterBar, aData));| && |\n| &&
+ | oFilterBar.registerGetFiltersWithValues( _registerGetFiltersWithValues(oFilterBar));| && |\n| &&
+ | var oPersInfo = new sap.ui.comp.smartvariants.PersonalizableInfo(\{| && |\n| &&
+ | type: "filterBar",| && |\n| &&
+ | keyName: "persistencyKey",| && |\n| &&
+ | dataSource: "",| && |\n| &&
+ | control: oFilterBar| && |\n| &&
+ | \});| && |\n| &&
+ | oSmartVariantManagement.addPersonalizableControl(oPersInfo);| && |\n| &&
+ " TODO: check spelling: initialise (BE) -> initialize (ABAP cleaner)
+ | oSmartVariantManagement.initialise(function () \{oSmartVariantManagement.currentVariantSetModified(false);\}, oFilterBar);| && |\n| &&
+ |\};| && |\n| &&
+ |_registerFetchData = (oFilterBar) => \{| && |\n| &&
+ | var aData = oFilterBar.getAllFilterItems().reduce(function (aResult, oFilterItem) \{| && |\n| &&
+ | aResult.push(\{| && |\n| &&
+ | groupName: oFilterItem.getGroupName(),| && |\n| &&
+ | fieldName: oFilterItem.getName(),| && |\n| &&
+ | fieldData: oFilterItem.getControl().getValue()| && |\n| &&
+ | \});| && |\n| &&
+ | return aResult;| && |\n| &&
+ | \}, []);| && |\n| &&
+ | return aData;| && |\n| &&
+ |\};| && |\n| &&
+ |_registerApplyData = (oFilterBar, aData) => \{| && |\n| &&
+ | aData.forEach(function (oDataObject) \{| && |\n| &&
+ | var oControl = oFilterBar.determineControlByName(oDataObject.fieldName, oDataObject.groupName);| && |\n| &&
+ | oControl.setValue(oDataObject.fieldData);| && |\n| &&
+ | \});| && |\n| &&
+ |\};| && |\n| &&
+ |_registerGetFiltersWithValues = (oFilterBar) => \{| && |\n| &&
+ | var aFiltersWithValue = oFilterBar.getFilterGroupItems().reduce(function (aResult, oFilterGroupItem) \{| && |\n| &&
+ | var oControl = oFilterGroupItem.getControl();| && |\n| &&
+ | if (oControl && oControl.getValue && oControl.getValue().length > 0) \{| && |\n| &&
+ | aResult.push(oFilterGroupItem);| && |\n| &&
+ | \}| && |\n| &&
+ | return aResult;| && |\n| &&
+ | \}, []);| && |\n| &&
+ | return aFiltersWithValue;| && |\n| &&
+ |\};| && |\n| &&
+ |sap.z2ui5.onSearch = () => \{| && |\n| &&
+ | var oView = sap.z2ui5.oView| && |\n| &&
+ | var oFilterBar = oView.byId("fbar");| && |\n| &&
+ | var oTable = oView.byId("table1");| && |\n| &&
+ | var aTableFilters = oFilterBar.getFilterGroupItems().reduce(function (aResult, oFilterGroupItem) \{| && |\n| &&
+ | var oControl = oFilterGroupItem.getControl(),| && |\n| &&
+ | aSelectedKey = oControl.getValue(),| && |\n| &&
+ | aFilters = return new sap.ui.model.Filter(\{| && |\n| &&
+ | path: oFilterGroupItem.getName(),| && |\n| &&
+ | operator: "Contains",| && |\n| &&
+ | value1: sSelectedKey| && |\n| &&
+ | \});| && |\n| &&
* ` });` && |\n| &&
- ` if (aSelectedKey.length > 0) {` && |\n| &&
- ` aResult.push(new sap.ui.model.Filter({` && |\n| &&
- ` filters: aFilters,` && |\n| &&
- ` and: false` && |\n| &&
- ` }));` && |\n| &&
- ` }` && |\n| &&
- ` return aResult;` && |\n| &&
- ` }, []);` && |\n| &&
- ` oTable.getBinding("items").filter(aTableFilters);` && |\n| &&
- `};` && |\n| &&
- `sap.z2ui5.onChange = (oEvent) => {` && |\n| &&
- ` var oView = sap.z2ui5.oView` && |\n| &&
- ` var oFilterBar = oView.byId("fbar");` && |\n| &&
- ` var oSmartVariantManagement = oView.byId("svm");` && |\n| &&
- ` oSmartVariantManagement.currentVariantSetModified(true);` && |\n| &&
- ` oFilterBar.fireFilterChange(oEvent);` && |\n| &&
- `}`.
+ | if (aSelectedKey.length > 0) \{| && |\n| &&
+ | aResult.push(new sap.ui.model.Filter(\{| && |\n| &&
+ | filters: aFilters,| && |\n| &&
+ | and: false| && |\n| &&
+ | \}));| && |\n| &&
+ | \}| && |\n| &&
+ | return aResult;| && |\n| &&
+ | \}, []);| && |\n| &&
+ | oTable.getBinding("items").filter(aTableFilters);| && |\n| &&
+ |\};| && |\n| &&
+ |sap.z2ui5.onChange = (oEvent) => \{| && |\n| &&
+ | var oView = sap.z2ui5.oView| && |\n| &&
+ | var oFilterBar = oView.byId("fbar");| && |\n| &&
+ | var oSmartVariantManagement = oView.byId("svm");| && |\n| &&
+ | oSmartVariantManagement.currentVariantSetModified(true);| && |\n| &&
+ | oFilterBar.fireFilterChange(oEvent);| && |\n| &&
+ |\}|.
ENDMETHOD.
diff --git a/src/z2ui5_cl_demo_app_112.clas.abap b/src/z2ui5_cl_demo_app_112.clas.abap
index 013edb30..b6739455 100644
--- a/src/z2ui5_cl_demo_app_112.clas.abap
+++ b/src/z2ui5_cl_demo_app_112.clas.abap
@@ -1,40 +1,40 @@
CLASS z2ui5_cl_demo_app_112 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
+ DATA client TYPE REF TO z2ui5_if_client.
+ DATA mo_view_parent TYPE REF TO z2ui5_cl_xml_view.
+ DATA mv_class_2 TYPE string.
+ DATA mv_init TYPE abap_bool.
+ DATA mr_data TYPE REF TO data.
- INTERFACES z2ui5_if_app .
+ METHODS on_init.
+ METHODS on_event.
- DATA client TYPE REF TO z2ui5_if_client .
- DATA mo_view_parent TYPE REF TO z2ui5_cl_xml_view .
- DATA mv_class_2 TYPE string .
- DATA mv_init TYPE abap_bool .
- DATA mr_data TYPE REF TO data .
-
- METHODS on_init .
- METHODS on_event .
METHODS display_view
CHANGING
- !xml TYPE REF TO z2ui5_cl_xml_view OPTIONAL .
+ xml TYPE REF TO z2ui5_cl_xml_view OPTIONAL.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_112 IMPLEMENTATION.
-
METHOD display_view.
+ " TODO: parameter XML is never used or assigned (ABAP cleaner)
- mo_view_parent->input( value = client->_bind_edit( mv_class_2 ) placeholder = `Input From Class 2` ).
+ mo_view_parent->input( value = client->_bind_edit( mv_class_2 )
+ placeholder = `Input From Class 2` ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -46,7 +46,6 @@ CLASS z2ui5_cl_demo_app_112 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_init.
* mv_descr = `data sub app`.
@@ -67,4 +66,5 @@ CLASS z2ui5_cl_demo_app_112 IMPLEMENTATION.
on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_113.clas.abap b/src/z2ui5_cl_demo_app_113.clas.abap
index b186b9e3..7188b16b 100644
--- a/src/z2ui5_cl_demo_app_113.clas.abap
+++ b/src/z2ui5_cl_demo_app_113.clas.abap
@@ -1,10 +1,9 @@
CLASS z2ui5_cl_demo_app_113 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_feed,
@@ -21,7 +20,7 @@ CLASS z2ui5_cl_demo_app_113 DEFINITION
DATA ms_feed TYPE ty_feed.
PROTECTED SECTION.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_event.
@@ -32,10 +31,8 @@ CLASS z2ui5_cl_demo_app_113 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_113 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -51,7 +48,6 @@ CLASS z2ui5_cl_demo_app_113 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -59,56 +55,70 @@ CLASS z2ui5_cl_demo_app_113 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_set_data.
mt_feed = VALUE #(
- ( author = `Developer9` authorpic = `sap-icon://employee` type = `Reply` datetime = `01.11.2023` text = `newest entry` )
- ( author = `Developer8` authorpic = `sap-icon://employee` type = `Reply` datetime = `01.10.2023` text = `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor` )
- ( author = `Developer7` authorpic = `sap-icon://employee` type = `Reply` datetime = `01.09.2023` text = `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor` )
- ( author = `Developer6` authorpic = `sap-icon://employee` type = `Reply` datetime = `01.08.2023` text = `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor` )
- ( author = `Developer5` authorpic = `sap-icon://employee` type = `Reply` datetime = `01.07.2023` text = `this is a text` )
- ( author = `Developer4` authorpic = `sap-icon://employee` type = `Reply` datetime = `01.06.2023` text = `this is another entry Product D` )
- ( author = `Developer3` authorpic = `sap-icon://employee` type = `Reply` datetime = `01.05.2023` text = `this is another entry Product C` )
- ( author = `Developer2` authorpic = `sap-icon://employee` type = `Reply` datetime = `01.04.2023` text = `this is another entry Product B` )
- ( author = `Developer1` authorpic = `sap-icon://employee` type = `Reply` datetime = `01.03.2023` text = `this is another entry Product A` )
-
- ( author = `Developer` title = `this is a title` datetime = `01.02.2023` authorpic = `sap-icon://employee` type = `Request` date = `August 26 2023`
- text =
-`this is a long text Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, seddiamnonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna` &&
- `aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` )
-
- ( title = `first entry` author = `Developer` datetime = `01.01.2023` authorpic = `sap-icon://employee` type = `Reply` date = `August 26 2023` text = `this is the beginning of a timeline` )
- ).
+ authorpic = `sap-icon://employee`
+ ( author = `Developer9` type = `Reply` datetime = `01.11.2023` text = `newest entry` )
+ ( author = `Developer8`
+ type = `Reply`
+ datetime = `01.10.2023`
+ text = `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor` )
+ ( author = `Developer7`
+ type = `Reply`
+ datetime = `01.09.2023`
+ text = `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor` )
+ ( author = `Developer6`
+ type = `Reply`
+ datetime = `01.08.2023`
+ text = `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor` )
+ ( author = `Developer5` type = `Reply` datetime = `01.07.2023` text = `this is a text` )
+ ( author = `Developer4` type = `Reply` datetime = `01.06.2023` text = `this is another entry Product D` )
+ ( author = `Developer3` type = `Reply` datetime = `01.05.2023` text = `this is another entry Product C` )
+ ( author = `Developer2` type = `Reply` datetime = `01.04.2023` text = `this is another entry Product B` )
+ ( author = `Developer1` type = `Reply` datetime = `01.03.2023` text = `this is another entry Product A` )
+
+ ( author = `Developer`
+ title = `this is a title`
+ datetime = `01.02.2023`
+ type = `Request`
+ date = `August 26 2023`
+ text = |this is a long text Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, seddiamnonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna| &&
+ |aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| )
+
+ ( title = `first entry`
+ author = `Developer`
+ datetime = `01.01.2023`
+ type = `Reply`
+ date = `August 26 2023`
+ text = `this is the beginning of a timeline` ) ).
ENDMETHOD.
-
METHOD z2ui5_view_display.
DATA(lo_view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = lo_view->shell( )->page(
- title = 'Timeline'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = 'Timeline'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- DATA(timeline) = page->timeline(
- content = client->_bind( mt_feed ) ).
+ DATA(timeline) = page->timeline( content = client->_bind( mt_feed ) ).
- timeline->content( ns = `commons` )->timeline_item(
- datetime = `{DATETIME}`
- title = `{TITLE}`
- userpicture = `{AUTHORPIC}`
- text = `{TEXT}`
- username = `{AUTHOR}` ).
+ timeline->content( ns = `commons` )->timeline_item( datetime = `{DATETIME}`
+ title = `{TITLE}`
+ userpicture = `{AUTHORPIC}`
+ text = `{TEXT}`
+ username = `{AUTHOR}` ).
client->view_display( lo_view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_114.clas.abap b/src/z2ui5_cl_demo_app_114.clas.abap
index 308412b8..5d9049e6 100644
--- a/src/z2ui5_cl_demo_app_114.clas.abap
+++ b/src/z2ui5_cl_demo_app_114.clas.abap
@@ -1,10 +1,9 @@
CLASS z2ui5_cl_demo_app_114 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_feed,
@@ -15,12 +14,12 @@ CLASS z2ui5_cl_demo_app_114 DEFINITION
text TYPE string,
END OF ty_feed.
- DATA mt_feed TYPE TABLE OF ty_feed.
- DATA ms_feed TYPE ty_feed.
+ DATA mt_feed TYPE TABLE OF ty_feed.
+ DATA ms_feed TYPE ty_feed.
DATA mv_value TYPE string.
PROTECTED SECTION.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_event.
@@ -31,10 +30,8 @@ CLASS z2ui5_cl_demo_app_114 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_114 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -50,7 +47,6 @@ CLASS z2ui5_cl_demo_app_114 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -61,8 +57,8 @@ CLASS z2ui5_cl_demo_app_114 IMPLEMENTATION.
IF mv_value IS NOT INITIAL.
CLEAR ms_feed.
ms_feed-author = sy-uname.
- ms_feed-type = 'Respond'.
- ms_feed-text = mv_value.
+ ms_feed-type = 'Respond'.
+ ms_feed-text = mv_value.
mv_value = ``.
INSERT ms_feed INTO mt_feed INDEX 1.
client->view_model_update( ).
@@ -71,68 +67,63 @@ CLASS z2ui5_cl_demo_app_114 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_set_data.
mt_feed = VALUE #(
- ( author = `choper725` authorpic = `employee` type = `Request` date = `August 26 2023`
- text = `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, seddiamnonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna` &&
- `aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.` )
-
- ( author = `choper725` authorpic = `sap-icon://employee` type = `Reply` date = `August 26 2023` text = `this is feed input` )
- ).
+ author = `choper725`
+ date = `August 26 2023`
+ ( authorpic = `employee`
+ type = `Request`
+ text = |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, seddiamnonumyeirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna| &&
+|aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.| )
+
+ ( authorpic = `sap-icon://employee` type = `Reply` text = `this is feed input` ) ).
ENDMETHOD.
-
METHOD z2ui5_view_display.
DATA(lo_view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = lo_view->shell( )->page(
- title = 'Feed Input'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = 'Feed Input'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- page->flex_box(
- justifycontent = `Start`
- class = `sapUiSmallMarginEnd`
- alignitems = `Center`
- )->avatar(
- class = `sapUiSmallMarginEnd`
- )->text_area(
- value = client->_bind_edit( mv_value )
- rows = `4`
- cols = `120`
- class = `sapUiSmallMarginEnd`
- placeholder = `Post something here...`
- editable = abap_true
- enabled = abap_true
- )->button(
- icon = `sap-icon://paper-plane`
- press = client->_event( val = 'POST' )
- iconfirst = abap_true ).
-
- page->list(
- items = client->_bind_edit( mt_feed )
- showseparators = `Inner`
- )->feed_list_item(
- sender = `{AUTHOR}`
- senderpress = client->_event( 'SENDER_PRESS' )
- iconpress = client->_event( 'ICON_PRESS' )
- icondensityaware = abap_false
- showicon = abap_false
- info = `Reply`
- text = `{TEXT}`
- convertlinkstoanchortags = `All` ).
+ page->flex_box( justifycontent = `Start`
+ class = `sapUiSmallMarginEnd`
+ alignitems = `Center`
+ )->avatar( class = `sapUiSmallMarginEnd`
+ )->text_area( value = client->_bind_edit( mv_value )
+ rows = `4`
+ cols = `120`
+ class = `sapUiSmallMarginEnd`
+ placeholder = `Post something here...`
+ editable = abap_true
+ enabled = abap_true
+ )->button( icon = `sap-icon://paper-plane`
+ press = client->_event( val = 'POST' )
+ iconfirst = abap_true ).
+
+ page->list( items = client->_bind_edit( mt_feed )
+ showseparators = `Inner`
+ )->feed_list_item( sender = `{AUTHOR}`
+ senderpress = client->_event( 'SENDER_PRESS' )
+ iconpress = client->_event( 'ICON_PRESS' )
+ icondensityaware = abap_false
+ showicon = abap_false
+ info = `Reply`
+ text = `{TEXT}`
+ convertlinkstoanchortags = `All` ).
client->view_display( lo_view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_115.clas.abap b/src/z2ui5_cl_demo_app_115.clas.abap
index b542d7c6..7cfc05c7 100644
--- a/src/z2ui5_cl_demo_app_115.clas.abap
+++ b/src/z2ui5_cl_demo_app_115.clas.abap
@@ -1,40 +1,36 @@
CLASS z2ui5_cl_demo_app_115 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- data mv_output type string.
+ DATA mv_output TYPE string.
METHODS display_demo_output
IMPORTING
client TYPE REF TO z2ui5_if_client.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-CLASS Z2UI5_CL_DEMO_APP_115 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_115 IMPLEMENTATION.
METHOD display_demo_output.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
client->view_display( view->shell(
- )->page(
- title = 'abap2UI5 - CL_DEMO_OUTPUT - TODO uncomment the source code'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - CL_DEMO_OUTPUT - TODO uncomment the source code'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->_z2ui5( )->demo_output( mv_output
)->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
*
** Abschnitt 1
@@ -126,4 +122,5 @@ CLASS Z2UI5_CL_DEMO_APP_115 IMPLEMENTATION.
* display_demo_output( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_116.clas.abap b/src/z2ui5_cl_demo_app_116.clas.abap
index 56ffdca1..bdb75a39 100644
--- a/src/z2ui5_cl_demo_app_116.clas.abap
+++ b/src/z2ui5_cl_demo_app_116.clas.abap
@@ -1,11 +1,9 @@
CLASS z2ui5_cl_demo_app_116 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_prodh_node_level3,
@@ -13,7 +11,7 @@ CLASS z2ui5_cl_demo_app_116 DEFINITION
text TYPE string,
counter TYPE i,
prodh TYPE string,
- END OF ty_prodh_node_level3 .
+ END OF ty_prodh_node_level3.
TYPES:
BEGIN OF ty_prodh_node_level2,
is_selected TYPE abap_bool,
@@ -21,7 +19,7 @@ CLASS z2ui5_cl_demo_app_116 DEFINITION
counter TYPE i,
prodh TYPE string,
nodes TYPE STANDARD TABLE OF ty_prodh_node_level3 WITH DEFAULT KEY,
- END OF ty_prodh_node_level2 .
+ END OF ty_prodh_node_level2.
TYPES:
BEGIN OF ty_prodh_node_level1,
is_selected TYPE abap_bool,
@@ -29,38 +27,37 @@ CLASS z2ui5_cl_demo_app_116 DEFINITION
counter TYPE i,
prodh TYPE string,
nodes TYPE STANDARD TABLE OF ty_prodh_node_level2 WITH DEFAULT KEY,
- END OF ty_prodh_node_level1 .
- TYPES:
- ty_prodh_nodes TYPE STANDARD TABLE OF ty_prodh_node_level1 WITH DEFAULT KEY .
- TYPES:
- ty_prin_nodes TYPE STANDARD TABLE OF ty_prodh_node_level2 WITH DEFAULT KEY.
+ END OF ty_prodh_node_level1.
+ TYPES ty_prodh_nodes TYPE STANDARD TABLE OF ty_prodh_node_level1 WITH DEFAULT KEY.
+ TYPES ty_prin_nodes TYPE STANDARD TABLE OF ty_prodh_node_level2 WITH DEFAULT KEY.
- DATA prodh_nodes TYPE ty_prodh_nodes .
- DATA is_initialized TYPE abap_bool .
- DATA gv_user TYPE uname.
- DATA gv_date TYPE d.
+ DATA prodh_nodes TYPE ty_prodh_nodes.
+ DATA is_initialized TYPE abap_bool.
+ DATA gv_user TYPE uname.
+ DATA gv_date TYPE d.
- DATA mv_run_js TYPE abap_bool VALUE abap_false.
+ DATA mv_run_js TYPE abap_bool VALUE abap_false.
- METHODS ui5_display_view .
- methods UI5_DISPLAY_POPOVER
- importing
- !ID type STRING .
- PROTECTED SECTION.
+ METHODS ui5_display_view.
+
+ METHODS ui5_display_popover
+ IMPORTING
+ id TYPE string.
+ PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
+
METHODS ui5_initialize.
- METHODS add_node
- IMPORTING p_prodh TYPE string.
+ METHODS add_node
+ IMPORTING
+ p_prodh TYPE string.
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_116 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_116 IMPLEMENTATION.
METHOD add_node.
LOOP AT prodh_nodes ASSIGNING FIELD-SYMBOL().
@@ -86,30 +83,27 @@ CLASS Z2UI5_CL_DEMO_APP_116 IMPLEMENTATION.
ENDLOOP.
ENDMETHOD.
-
- method ui5_display_popover.
- DATA(lo_popover) = Z2UI5_cl_xml_view=>factory_popup( ).
+ METHOD ui5_display_popover.
+ DATA(lo_popover) = Z2UI5_cl_xml_view=>factory_popup( ).
lo_popover->popover( placement = `Right`
- title = 'SS' "text-028 "`Stock - Details:`
- "&& '-' && gv_matnr "contentwidth = `32%`
+ title = 'SS' " text-028 "`Stock - Details:`
+ "&& '-' && gv_matnr "contentwidth = `32%`
)->footer(
)->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'OK'
- press = client->_event( 'POPOVER_OK' )
- type = 'Emphasized'
+ )->button( text = 'OK'
+ press = client->_event( 'POPOVER_OK' )
+ type = 'Emphasized'
)->get_parent( )->get_parent(
)->text( 'TEST'
).
- client->popover_display( xml = lo_popover->stringify( ) by_id = id ).
- endmethod.
-
+ client->popover_display( xml = lo_popover->stringify( )
+ by_id = id ).
+ ENDMETHOD.
METHOD ui5_display_view.
-
DATA(view) = z2ui5_cl_xml_view=>factory( ).
* view->_z2ui5( )->timer( checkactive = client->_bind_edit( mv_run_js ) finished = `setState();` ).
@@ -121,102 +115,108 @@ CLASS Z2UI5_CL_DEMO_APP_116 IMPLEMENTATION.
*
* client->view_display( page->button( text = 'Open Popup here...' press = client->_event( 'POPUP_TREE' ) )->stringify( ) ).
-
- DATA(page) = view->object_page_layout(
- showtitleinheadercontent = abap_true
- uppercaseanchorbar = abap_false
+ DATA(page) = view->object_page_layout( showtitleinheadercontent = abap_true
+ uppercaseanchorbar = abap_false
).
- DATA(header_title) = page->header_title( )->object_page_dyn_header_title( ).
+ DATA(header_title) = page->header_title( )->object_page_dyn_header_title( ).
header_title->expanded_heading(
)->hbox(
)->title( text = 'PriceList'
- ) .
+ ).
- DATA(header_content) = page->header_content( ns = 'uxap').
+ DATA(header_content) = page->header_content( ns = 'uxap' ).
header_content->block_layout(
)->block_layout_row(
- )->block_layout_cell( backgroundcolorset = 'ColorSet10'
+ )->block_layout_cell( backgroundcolorset = 'ColorSet10'
backgroundcolorshade = 'ShadeE'
)->flex_box( justifycontent = 'SpaceBetween'
)->hbox(
)->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( design = 'Bold' text = 'Something:'
+ )->label( design = 'Bold'
+ text = 'Something:'
)->get_parent(
)->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
)->text( text = 'Other'
)->get_parent( )->get_parent(
)->hbox( justifycontent = 'End'
)->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
- )->label( design = 'Bold' text = 'User:'
- )->label( design = 'Bold' text = 'Date:'
+ )->label( design = 'Bold'
+ text = 'User:'
+ )->label( design = 'Bold'
+ text = 'Date:'
)->get_parent(
)->vertical_layout( class = 'sapUiSmallMarginBeginEnd'
)->text( text = client->_bind( gv_user )
)->text( text = client->_bind( gv_date )
).
-
DATA(sections) = page->sections( ).
-
-
- DATA(cont) = sections->object_page_section( titleuppercase = abap_false id = 'Sets' title = 'Sets'
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(cont) = sections->object_page_section( titleuppercase = abap_false
+ id = 'Sets'
+ title = 'Sets'
)->heading( ns = `uxap`
)->get_parent(
)->sub_sections(
- )->object_page_sub_section( id = 'SETS' title = 'Sets'
- )->scroll_container( vertical = abap_true
+ )->object_page_sub_section( id = 'SETS'
+ title = 'Sets'
+ )->scroll_container( vertical = abap_true
)->vbox(
- )->tree_table( id = 'treeTable'
- rows = `{path:'` && client->_bind( val = prodh_nodes path = abap_true ) && `', parameters: {arrayNames:['NODES']}}`
- toggleopenstate = `saveState()`
+ )->tree_table(
+ id = 'treeTable'
+ rows = |\{path:'{ client->_bind(
+ val = prodh_nodes
+ path = abap_true ) }', parameters: \{arrayNames:['NODES']\}\}|
+ toggleopenstate = `saveState()`
)->tree_columns(
)->tree_column( label = 'Label'
)->tree_template(
- )->text( text = `{####}`
+ )->text( text = `{####}`
)->get_parent( )->get_parent(
)->tree_column( label = 'PRODH'
)->tree_template(
- )->text( text = `{PRODH}`
+ )->text( text = `{PRODH}`
)->get_parent( )->get_parent(
)->tree_column( label = 'Counter'
)->tree_template(
- )->link( text = `{COUNTER}`
- press = client->_event( val = 'POPOVER' t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->link( text = `{COUNTER}`
+ press = client->_event( val = 'POPOVER'
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
)->get_parent( )->get_parent(
)->tree_column( label = 'ADD'
)->tree_template(
- )->button( icon = 'sap-icon://add'
- press = client->_event( val = 'ROW_ADD' t_arg = VALUE #( ( `${PRODH}` ) ) )
- tooltip = 'ADD'
+ )->button( icon = 'sap-icon://add'
+ press = client->_event( val = 'ROW_ADD'
+ t_arg = VALUE #( ( `${PRODH}` ) ) )
+ tooltip = 'ADD'
)->get_parent( )->get_parent(
).
client->view_display( page->get_root( )->xml_get( ) ).
ENDMETHOD.
-
METHOD ui5_initialize.
prodh_nodes =
- VALUE #( ( text = 'Machines'
+ VALUE #( ( text = 'Machines'
prodh = '00100'
- nodes = VALUE #( ( text = 'Pumps'
+ nodes = VALUE #( ( text = 'Pumps'
prodh = '0010000100'
- nodes = VALUE #( ( text = 'Pump 001'
+ nodes = VALUE #( ( text = 'Pump 001'
prodh = '001000010000000100' )
- ( text = 'Pump 002'
+ ( text = 'Pump 002'
prodh = '001000010000000105' )
)
) )
)
- ( text = 'Paints'
+ ( text = 'Paints'
prodh = '00110'
- nodes = VALUE #( ( text = 'Gloss paints'
+ nodes = VALUE #( ( text = 'Gloss paints'
prodh = '0011000105'
- nodes = VALUE #( ( text = 'Paint 001'
+ nodes = VALUE #( ( text = 'Paint 001'
prodh = '001100010500000100' )
- ( text = 'Paint 002'
+ ( text = 'Paint 002'
prodh = '001100010500000105' )
)
) )
@@ -227,7 +227,6 @@ CLASS Z2UI5_CL_DEMO_APP_116 IMPLEMENTATION.
gv_date = sy-datum.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -236,30 +235,32 @@ CLASS Z2UI5_CL_DEMO_APP_116 IMPLEMENTATION.
is_initialized = abap_true.
ui5_initialize( ).
- DATA(lv_save_state_js) = `function saveState() {debugger;` && |\n| &&
- ` var treeTable = sap.z2ui5.oView.byId("treeTable");` && |\n| &&
- ` sap.z2ui5.treeState = treeTable.getBinding('rows').getCurrentTreeState();` && |\n| &&
- ` }; `.
-
- DATA(lv_reset_state_js) = `function setState() {debugger;` && |\n| &&
- ` var treeTable = sap.z2ui5.oView.byId("treeTable");` && |\n| &&
- ` if( sap.z2ui5.treeState == undefined ) {` && |\n| &&
- ` sap.z2ui5.treeState = treeTable.getBinding('rows').getCurrentTreeState();` && |\n| &&
- ` } else {` && |\n| &&
- ` treeTable.getBinding("rows").setTreeState(sap.z2ui5.treeState);` && |\n| &&
- ` treeTable.getBinding("rows").refresh();` && |\n| &&
- ` sap.z2ui5.treeState = treeTable.getBinding('rows').getCurrentTreeState();` && |\n| &&
- ` };` && |\n| &&
- `};`.
+ DATA(lv_save_state_js) = |function saveState() \{debugger;| && |\n| &&
+ | var treeTable = sap.z2ui5.oView.byId("treeTable");| && |\n| &&
+ | sap.z2ui5.treeState = treeTable.getBinding('rows').getCurrentTreeState();| && |\n| &&
+ | \}; |.
+
+ DATA(lv_reset_state_js) = |function setState() \{debugger;| && |\n| &&
+ | var treeTable = sap.z2ui5.oView.byId("treeTable");| && |\n| &&
+ | if( sap.z2ui5.treeState == undefined ) \{| && |\n| &&
+ | sap.z2ui5.treeState = treeTable.getBinding('rows').getCurrentTreeState();| && |\n| &&
+ | \} else \{| && |\n| &&
+ | treeTable.getBinding("rows").setTreeState(sap.z2ui5.treeState);| && |\n| &&
+ | treeTable.getBinding("rows").refresh();| && |\n| &&
+ | sap.z2ui5.treeState = treeTable.getBinding('rows').getCurrentTreeState();| && |\n| &&
+ | \};| && |\n| &&
+ |\};|.
client->view_display( z2ui5_cl_xml_view=>factory(
- )->_z2ui5( )->timer( client->_event( `START` )
- )->_generic( ns = `html` name = `script` )->_cc_plain_xml( lv_save_state_js )->get_parent(
- )->_generic( ns = `html` name = `script` )->_cc_plain_xml( lv_reset_state_js
+ )->_z2ui5( )->timer( client->_event( `START` )
+ )->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( lv_save_state_js )->get_parent(
+ )->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( lv_reset_state_js
)->stringify( ) ).
ENDIF.
- DATA: lt_event_arg TYPE string_table.
+ DATA lt_event_arg TYPE string_table.
lt_event_arg = client->get( )-t_event_arg.
CASE client->get( )-event.
@@ -274,7 +275,7 @@ CLASS Z2UI5_CL_DEMO_APP_116 IMPLEMENTATION.
WHEN 'CANCEL'.
client->popup_destroy( ).
- when 'POPOVER'.
+ WHEN 'POPOVER'.
lt_event_arg = client->get( )-t_event_arg.
DATA(lv_open_by_id) = lt_event_arg[ 1 ].
ui5_display_popover( lv_open_by_id ).
@@ -291,4 +292,5 @@ CLASS Z2UI5_CL_DEMO_APP_116 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_117.clas.abap b/src/z2ui5_cl_demo_app_117.clas.abap
index ad698f26..3daeb1fe 100644
--- a/src/z2ui5_cl_demo_app_117.clas.abap
+++ b/src/z2ui5_cl_demo_app_117.clas.abap
@@ -33,6 +33,7 @@ CLASS z2ui5_cl_demo_app_117 DEFINITION
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_117 IMPLEMENTATION.
METHOD on_event.
@@ -79,7 +80,9 @@ CLASS z2ui5_cl_demo_app_117 IMPLEMENTATION.
)->items( ).
LOOP AT mt_t002 REFERENCE INTO DATA(line).
- lo_items->icon_tab_filter( text = line->class count = line->count key = line->id ).
+ lo_items->icon_tab_filter( text = line->class
+ count = line->count
+ key = line->id ).
lo_items->icon_tab_separator( ).
ENDLOOP.
@@ -105,7 +108,6 @@ CLASS z2ui5_cl_demo_app_117 IMPLEMENTATION.
METHOD render_sub_app.
-
READ TABLE mt_t002 REFERENCE INTO DATA(t002)
WITH KEY id = mv_selectedkey.
@@ -123,8 +125,7 @@ CLASS z2ui5_cl_demo_app_117 IMPLEMENTATION.
TRY.
CALL METHOD mo_app->('SET_APP_DATA')
- EXPORTING
- data = t002->count.
+ EXPORTING data = t002->count.
render_main( ).
@@ -134,8 +135,7 @@ CLASS z2ui5_cl_demo_app_117 IMPLEMENTATION.
ENDIF.
CALL METHOD mo_app->('Z2UI5_IF_APP~MAIN')
- EXPORTING
- client = client.
+ EXPORTING client = client.
CATCH cx_root.
RETURN.
diff --git a/src/z2ui5_cl_demo_app_118.clas.abap b/src/z2ui5_cl_demo_app_118.clas.abap
index 55ce3305..70484a1b 100644
--- a/src/z2ui5_cl_demo_app_118.clas.abap
+++ b/src/z2ui5_cl_demo_app_118.clas.abap
@@ -1,12 +1,10 @@
CLASS z2ui5_cl_demo_app_118 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES if_serializable_object .
- INTERFACES z2ui5_if_app .
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
TYPES: BEGIN OF s_row,
id TYPE i,
@@ -14,68 +12,63 @@ CLASS z2ui5_cl_demo_app_118 DEFINITION
adate TYPE d,
atime TYPE t,
END OF s_row.
- TYPES: t_rows TYPE STANDARD TABLE OF s_row WITH EMPTY KEY.
+ TYPES t_rows TYPE STANDARD TABLE OF s_row WITH EMPTY KEY.
+
+ DATA problematic_rows TYPE t_rows.
+ DATA these_are_fine_rows TYPE t_rows.
- DATA: problematic_rows TYPE t_rows.
- DATA: these_are_fine_rows TYPE t_rows.
+ DATA check_initialized TYPE abap_bool.
- DATA: check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_118 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
problematic_rows = VALUE #(
- ( id = 1 descr = 'filled with the actual date and time in correct format' adate = sy-datum atime = sy-uzeit )
- ( id = 2 descr = 'correct init values' adate = '00000000' atime = '000000' )
- ( id = 3 descr = 'correct init values by ignoring' )
- ( id = 4 descr = 'filling with a zero leads to a correct init value' adate = 0 atime = 0 )
- ( id = 5 descr = 'this raises an exception now' adate = '' atime = '' )
- ( id = 6 descr = 'Fifth row' adate = sy-datum atime = sy-uzeit )
+ ( id = 1 descr = 'filled with the actual date and time in correct format' adate = sy-datum atime = sy-uzeit )
+ ( id = 2 descr = 'correct init values' adate = '00000000' atime = '000000' )
+ ( id = 3 descr = 'correct init values by ignoring' )
+ ( id = 4 descr = 'filling with a zero leads to a correct init value' adate = 0 atime = 0 )
+ ( id = 5 descr = 'this raises an exception now' adate = '' atime = '' )
+ ( id = 6 descr = 'Fifth row' adate = sy-datum atime = sy-uzeit )
).
- these_are_fine_rows = VALUE #(
- ( id = 1 descr = 'First row' adate = sy-datum atime = sy-uzeit )
- ( id = 2 descr = 'Second row' adate = 0 atime = 0 )
- ( id = 3 descr = 'Third row' adate = 0 atime = 0 )
- ( id = 4 descr = 'Fourth row' adate = 0 atime = 0 )
- ( id = 5 descr = 'Fifth row' adate = sy-datum atime = sy-uzeit )
+ these_are_fine_rows = VALUE #( ( id = 1 descr = 'First row' adate = sy-datum atime = sy-uzeit )
+ ( id = 2 descr = 'Second row' adate = 0 atime = 0 )
+ ( id = 3 descr = 'Third row' adate = 0 atime = 0 )
+ ( id = 4 descr = 'Fourth row' adate = 0 atime = 0 )
+ ( id = 5 descr = 'Fifth row' adate = sy-datum atime = sy-uzeit )
).
ENDIF.
-
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->_z2ui5( )->title( 'ABAP2UI5 Weird behavior showcase' )->shell(
- )->page(
- title = 'ABAP2UI5 Weird behavior showcase'
- navbuttonpress = client->_event( 'BACK' )
- showheader = abap_true ).
+ )->page( title = 'ABAP2UI5 Weird behavior showcase'
+ navbuttonpress = client->_event( 'BACK' )
+ showheader = abap_true ).
- DATA(tab_ko) = page->table(
- mode = 'MultiSelect'
- items = client->_bind_edit( problematic_rows ) ).
+ DATA(tab_ko) = page->table( mode = 'MultiSelect'
+ items = client->_bind_edit( problematic_rows ) ).
tab_ko->header_toolbar(
)->toolbar(
)->title( |This table has the weird behavior|
)->toolbar_spacer(
- )->button(
- text = |Go|
- icon = 'sap-icon://blur'
- press = client->_event( 'ON_BTN_GO' ) ).
+ )->button( text = |Go|
+ icon = 'sap-icon://blur'
+ press = client->_event( 'ON_BTN_GO' ) ).
tab_ko->columns(
- )->column( )->text( 'ID' )->get_parent(
+ )->column( )->text( 'ID' )->get_parent(
)->column( )->text( 'Description' )->get_parent(
)->column( )->text( 'Date ' )->get_parent(
)->column( )->text( 'Time' ).
@@ -88,17 +81,15 @@ CLASS z2ui5_cl_demo_app_118 IMPLEMENTATION.
)->text( '{ADATE}'
)->text( '{ATIME}' ).
-
- DATA(tab_ok) = page->table(
- mode = 'MultiSelect'
- items = client->_bind_edit( these_are_fine_rows ) ).
+ DATA(tab_ok) = page->table( mode = 'MultiSelect'
+ items = client->_bind_edit( these_are_fine_rows ) ).
tab_ok->header_toolbar(
)->toolbar(
)->title( |This table is fine| ).
tab_ok->columns(
- )->column( )->text( 'ID' )->get_parent(
+ )->column( )->text( 'ID' )->get_parent(
)->column( )->text( 'Description' )->get_parent(
)->column( )->text( 'Date ' )->get_parent(
)->column( )->text( 'Time' ).
@@ -114,4 +105,5 @@ CLASS z2ui5_cl_demo_app_118 IMPLEMENTATION.
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_120.clas.abap b/src/z2ui5_cl_demo_app_120.clas.abap
index 3b9fedd8..b35f6936 100644
--- a/src/z2ui5_cl_demo_app_120.clas.abap
+++ b/src/z2ui5_cl_demo_app_120.clas.abap
@@ -1,18 +1,17 @@
CLASS z2ui5_cl_demo_app_120 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app .
-
- DATA longitude TYPE string.
- DATA latitude TYPE string.
- DATA altitude TYPE string.
- DATA speed TYPE string.
- DATA altitudeaccuracy TYPE string.
- DATA accuracy TYPE string.
- DATA check_initialized TYPE abap_bool .
+ DATA longitude TYPE string.
+ DATA latitude TYPE string.
+ DATA altitude TYPE string.
+ DATA speed TYPE string.
+ DATA altitudeaccuracy TYPE string.
+ DATA accuracy TYPE string.
+ DATA check_initialized TYPE abap_bool.
TYPES:
BEGIN OF ty_spot,
@@ -24,14 +23,15 @@ CLASS z2ui5_cl_demo_app_120 DEFINITION
key TYPE string,
icon TYPE string,
END OF ty_spot.
+
DATA mt_spot TYPE TABLE OF ty_spot.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_120 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
@@ -39,37 +39,37 @@ CLASS z2ui5_cl_demo_app_120 IMPLEMENTATION.
IF check_initialized = abap_false.
check_initialized = abap_true.
- DATA(view) = z2ui5_cl_xml_view=>factory( ).
- client->view_display( view->shell(
- )->page(
- title = 'abap2UI5 - Device Capabilities'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->_z2ui5( )->geolocation(
- finished = client->_event( `GEOLOCATION_LOADED` )
- longitude = client->_bind_edit( longitude )
- latitude = client->_bind_edit( latitude )
- altitude = client->_bind_edit( altitude )
- altitudeaccuracy = client->_bind_edit( altitudeaccuracy )
- accuracy = client->_bind_edit( accuracy )
- speed = client->_bind_edit( speed )
- )->simple_form( title = 'Geolocation' editable = abap_true
- )->content( 'form'
- )->label( 'Longitude'
- )->input( client->_bind_edit( longitude )
- )->label( `Latitude`
- )->input( client->_bind_edit( latitude )
- )->label( `Altitude`
- )->input( client->_bind_edit( altitude )
- )->label( `Accuracy`
- )->input( client->_bind_edit( accuracy )
- )->label( `AltitudeAccuracy`
- )->input( client->_bind_edit( altitudeaccuracy )
- )->label( `Speed`
- )->input( client->_bind_edit( speed )
- )->label( `MapContainer`
- )->button( text = `Display` press = client->_event( `MAP_CONTAINER_DISPLAY` )
- )->stringify( ) ).
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
+ client->view_display( view->shell(
+ )->page( title = 'abap2UI5 - Device Capabilities'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->_z2ui5( )->geolocation( finished = client->_event( `GEOLOCATION_LOADED` )
+ longitude = client->_bind_edit( longitude )
+ latitude = client->_bind_edit( latitude )
+ altitude = client->_bind_edit( altitude )
+ altitudeaccuracy = client->_bind_edit( altitudeaccuracy )
+ accuracy = client->_bind_edit( accuracy )
+ speed = client->_bind_edit( speed )
+ )->simple_form( title = 'Geolocation'
+ editable = abap_true
+ )->content( 'form'
+ )->label( 'Longitude'
+ )->input( client->_bind_edit( longitude )
+ )->label( `Latitude`
+ )->input( client->_bind_edit( latitude )
+ )->label( `Altitude`
+ )->input( client->_bind_edit( altitude )
+ )->label( `Accuracy`
+ )->input( client->_bind_edit( accuracy )
+ )->label( `AltitudeAccuracy`
+ )->input( client->_bind_edit( altitudeaccuracy )
+ )->label( `Speed`
+ )->input( client->_bind_edit( speed )
+ )->label( `MapContainer`
+ )->button( text = `Display`
+ press = client->_event( `MAP_CONTAINER_DISPLAY` )
+ )->stringify( ) ).
* client->view_display( z2ui5_cl_xml_view=>factory( client
* )->_z2ui5( )->timer( client->_event( `GEOLOCATION_LOADED` )
@@ -83,24 +83,28 @@ CLASS z2ui5_cl_demo_app_120 IMPLEMENTATION.
WHEN 'MAP_CONTAINER_DISPLAY'.
IF longitude IS NOT INITIAL.
- mt_spot = VALUE #( ( pos = longitude && `;` && latitude && `;0` type = `Default` contentoffset = `0;-6` scale = `1;1;1` key = `Your Position` tooltip = `Your Position` ) ).
+ mt_spot = VALUE #( ( pos = |{ longitude };{ latitude };0|
+ type = `Default`
+ contentoffset = `0;-6`
+ scale = `1;1;1`
+ key = `Your Position`
+ tooltip = `Your Position` ) ).
ENDIF.
view = z2ui5_cl_xml_view=>factory( ).
client->view_display( view->shell(
- )->page(
- title = 'abap2UI5 - Device Capabilities'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->_z2ui5( )->geolocation(
- finished = client->_event( )
- longitude = client->_bind_edit( longitude )
- latitude = client->_bind_edit( latitude )
- altitude = client->_bind_edit( altitude )
- altitudeaccuracy = client->_bind_edit( altitudeaccuracy )
- accuracy = client->_bind_edit( accuracy )
- speed = client->_bind_edit( speed )
- )->simple_form( title = 'Geolocation' editable = abap_true
+ )->page( title = 'abap2UI5 - Device Capabilities'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->_z2ui5( )->geolocation( finished = client->_event( )
+ longitude = client->_bind_edit( longitude )
+ latitude = client->_bind_edit( latitude )
+ altitude = client->_bind_edit( altitude )
+ altitudeaccuracy = client->_bind_edit( altitudeaccuracy )
+ accuracy = client->_bind_edit( accuracy )
+ speed = client->_bind_edit( speed )
+ )->simple_form( title = 'Geolocation'
+ editable = abap_true
)->content( 'form'
)->label( 'Longitude'
)->input( client->_bind_edit( longitude )
@@ -115,32 +119,30 @@ CLASS z2ui5_cl_demo_app_120 IMPLEMENTATION.
)->label( `Speed`
)->input( client->_bind_edit( speed )
)->label( `MapContainer`
- )->button( text = `Display` press = client->_event( `MAP_CONTAINER_DISPLAY` )
+ )->button( text = `Display`
+ press = client->_event( `MAP_CONTAINER_DISPLAY` )
)->get_parent( )->get_parent(
- )->map_container( autoadjustheight = abap_true
+ )->map_container( autoadjustheight = abap_true
)->content( ns = `vk`
- )->container_content(
- title = `Analytic Map`
- icon = `sap-icon://geographic-bubble-chart`
+ )->container_content( title = `Analytic Map`
+ icon = `sap-icon://geographic-bubble-chart`
)->content( ns = `vk`
- )->analytic_map(
- initialposition = `9.933573;50;0`
- initialzoom = `6`
+ )->analytic_map( initialposition = `9.933573;50;0`
+ initialzoom = `6`
)->vos(
)->spots( client->_bind( mt_spot )
- )->spot(
- position = `{POS}`
- contentoffset = `{CONTENTOFFSET}`
- type = `{TYPE}`
- scale = `{SCALE}`
- tooltip = `{TOOLTIP}`
+ )->spot( position = `{POS}`
+ contentoffset = `{CONTENTOFFSET}`
+ type = `{TYPE}`
+ scale = `{SCALE}`
+ tooltip = `{TOOLTIP}`
)->stringify( ) ).
-
WHEN 'BACK'.
client->nav_app_leave( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ).
RETURN.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_121.clas.abap b/src/z2ui5_cl_demo_app_121.clas.abap
index 46f80099..0664f3ca 100644
--- a/src/z2ui5_cl_demo_app_121.clas.abap
+++ b/src/z2ui5_cl_demo_app_121.clas.abap
@@ -1,31 +1,29 @@
CLASS z2ui5_cl_demo_app_121 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app .
-
- DATA longitude TYPE string.
- DATA latitude TYPE string.
- DATA altitude TYPE string.
- DATA speed TYPE string.
- DATA altitudeaccuracy TYPE string.
- DATA accuracy TYPE string.
- DATA check_initialized TYPE abap_bool .
+ DATA longitude TYPE string.
+ DATA latitude TYPE string.
+ DATA altitude TYPE string.
+ DATA speed TYPE string.
+ DATA altitudeaccuracy TYPE string.
+ DATA accuracy TYPE string.
+ DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_121 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
-
- "on init
+ " on init
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -37,12 +35,11 @@ CLASS z2ui5_cl_demo_app_121 IMPLEMENTATION.
RETURN.
ENDIF.
-
- "user command
+ " user command
CASE client->get( )-event.
WHEN 'TIMER_FINISHED'.
- client->message_box_display( `Timer finished!`).
+ client->message_box_display( `Timer finished!` ).
RETURN.
WHEN 'BACK'.
@@ -51,21 +48,20 @@ CLASS z2ui5_cl_demo_app_121 IMPLEMENTATION.
ENDCASE.
-
- "render view
+ " render view
DATA(view) = z2ui5_cl_xml_view=>factory( ).
client->view_display( view->shell(
- )->page(
- title = 'abap2UI5'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->_z2ui5( )->timer(
- finished = client->_event( `TIMER_FINISHED` )
- delayms = `2000`
- )->simple_form( title = 'Timer Interval 2000 ms' editable = abap_true
+ )->page( title = 'abap2UI5'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->_z2ui5( )->timer( finished = client->_event( `TIMER_FINISHED` )
+ delayms = `2000`
+ )->simple_form( title = 'Timer Interval 2000 ms'
+ editable = abap_true
)->content( 'form'
)->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_122.clas.abap b/src/z2ui5_cl_demo_app_122.clas.abap
index 1bbe6488..9652f1ab 100644
--- a/src/z2ui5_cl_demo_app_122.clas.abap
+++ b/src/z2ui5_cl_demo_app_122.clas.abap
@@ -1,61 +1,57 @@
CLASS z2ui5_cl_demo_app_122 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app .
-
- DATA ui5_version TYPE string.
- DATA ui5_theme TYPE string.
- DATA ui5_gav TYPE string.
+ DATA ui5_version TYPE string.
+ DATA ui5_theme TYPE string.
+ DATA ui5_gav TYPE string.
DATA device_systemtype TYPE string.
- DATA device_os TYPE string.
- DATA device_browser TYPE string.
+ DATA device_os TYPE string.
+ DATA device_browser TYPE string.
DATA check_initialized TYPE abap_bool.
- DATA device_phone TYPE abap_bool.
- DATA device_desktop TYPE abap_bool.
- DATA device_tablet TYPE abap_bool.
- DATA device_combi TYPE abap_bool.
- DATA device_height type string.
- DATA device_width type string.
-
-
+ DATA device_phone TYPE abap_bool.
+ DATA device_desktop TYPE abap_bool.
+ DATA device_tablet TYPE abap_bool.
+ DATA device_combi TYPE abap_bool.
+ DATA device_height TYPE string.
+ DATA device_width TYPE string.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
+
METHODS display_view.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_122 IMPLEMENTATION.
-
METHOD display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
client->view_display( view->shell(
- )->page(
- title = 'abap2UI5'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->_z2ui5( )->info_frontend(
- finished = client->_event( `INFO_FINISHED` )
- device_browser = client->_bind_edit( device_browser )
- device_os = client->_bind_edit( device_os )
- device_systemtype = client->_bind_edit( device_systemtype )
- ui5_gav = client->_bind_edit( ui5_gav )
- ui5_theme = client->_bind_edit( ui5_theme )
- ui5_version = client->_bind_edit( ui5_version )
- device_phone = client->_bind_edit( device_phone )
- device_desktop = client->_bind_edit( device_desktop )
- device_tablet = client->_bind_edit( device_tablet )
- device_combi = client->_bind_edit( device_combi )
- device_height = client->_bind_edit( device_height )
- device_width = client->_bind_edit( device_width )
- )->simple_form( title = 'Information' editable = abap_true
+ )->page( title = 'abap2UI5'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->_z2ui5( )->info_frontend( finished = client->_event( `INFO_FINISHED` )
+ device_browser = client->_bind_edit( device_browser )
+ device_os = client->_bind_edit( device_os )
+ device_systemtype = client->_bind_edit( device_systemtype )
+ ui5_gav = client->_bind_edit( ui5_gav )
+ ui5_theme = client->_bind_edit( ui5_theme )
+ ui5_version = client->_bind_edit( ui5_version )
+ device_phone = client->_bind_edit( device_phone )
+ device_desktop = client->_bind_edit( device_desktop )
+ device_tablet = client->_bind_edit( device_tablet )
+ device_combi = client->_bind_edit( device_combi )
+ device_height = client->_bind_edit( device_height )
+ device_width = client->_bind_edit( device_width )
+ )->simple_form( title = 'Information'
+ editable = abap_true
)->content( 'form'
)->label( 'device_browser'
)->input( client->_bind_edit( device_browser )
@@ -82,20 +78,17 @@ CLASS z2ui5_cl_demo_app_122 IMPLEMENTATION.
)->label( `device_width`
)->input( client->_bind_edit( device_width )
-
-
)->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
- display_view( ).
+ display_view( ).
ENDIF.
CASE client->get( )-event.
@@ -104,4 +97,5 @@ CLASS z2ui5_cl_demo_app_122 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_123.clas.abap b/src/z2ui5_cl_demo_app_123.clas.abap
index a903b660..746d540a 100644
--- a/src/z2ui5_cl_demo_app_123.clas.abap
+++ b/src/z2ui5_cl_demo_app_123.clas.abap
@@ -1,10 +1,9 @@
CLASS z2ui5_cl_demo_app_123 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_spot,
@@ -16,7 +15,8 @@ CLASS z2ui5_cl_demo_app_123 DEFINITION
key TYPE string,
icon TYPE string,
END OF ty_spot.
- DATA mt_spot TYPE TABLE OF ty_spot.
+
+ DATA mt_spot TYPE TABLE OF ty_spot.
DATA check_initialized TYPE abap_bool.
@@ -28,49 +28,51 @@ CLASS z2ui5_cl_demo_app_123 DEFINITION
color TYPE string,
colorborder TYPE string,
linewidth TYPE string,
- END OF ty_route .
+ END OF ty_route.
- DATA:
- mt_route TYPE TABLE OF ty_ROUTE .
+ DATA mt_route TYPE TABLE OF ty_ROUTE.
TYPES: BEGIN OF ty_s_legend,
text TYPE string,
color TYPE string,
END OF ty_s_legend.
+
DATA mt_legend TYPE TABLE OF ty_s_legend.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_123 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
-
IF check_initialized = abap_false.
check_initialized = abap_true.
mt_spot = VALUE #(
- ( pos = `9.98336;53.55024;0` contentoffset = `0;-6` scale = `1;1;1` key = `Hamburg` tooltip = `Hamburg` type = `Default` icon = `factory` )
- ( pos = `11.5820;48.1351;0` contentoffset = `0;-5` scale = `1;1;1` key = `Munich` tooltip = `Munich` type = `Default` icon = `factory` )
- ( pos = `8.683340000;50.112000000;0` contentoffset = `0;-6` scale = `1;1;1` key = `Frankfurt` tooltip = `Frankfurt` type = `Default` icon = `factory` )
- ).
-
- mt_route = VALUE #(
- ( position = '2.3522219;48.856614;0; -74.0059731;40.7143528;0' routetype = 'Geodesic' lineDash = '10;5' color = '92,186,230' colorBorder = 'rgb(255,255,255)' linewidth = '25' )
- ).
-
-
- mt_legend = VALUE #(
- ( text = 'Dashed flight route' color = 'rgb(92,186,230)' )
- ( text = 'Flight route' color = 'rgb(92,186,35)' )
+ scale = `1;1;1`
+ type = `Default`
+ icon = `factory`
+ ( pos = `9.98336;53.55024;0` contentoffset = `0;-6` key = `Hamburg` tooltip = `Hamburg` )
+ ( pos = `11.5820;48.1351;0` contentoffset = `0;-5` key = `Munich` tooltip = `Munich` )
+ ( pos = `8.683340000;50.112000000;0` contentoffset = `0;-6` key = `Frankfurt` tooltip = `Frankfurt` ) ).
+
+ mt_route = VALUE #( ( position = '2.3522219;48.856614;0; -74.0059731;40.7143528;0'
+ routetype = 'Geodesic'
+ lineDash = '10;5'
+ color = '92,186,230'
+ colorBorder = 'rgb(255,255,255)'
+ linewidth = '25' )
+ ).
+
+ mt_legend = VALUE #( ( text = 'Dashed flight route' color = 'rgb(92,186,230)' )
+ ( text = 'Flight route' color = 'rgb(92,186,35)' )
).
ENDIF.
-
CASE client->get( )-event.
WHEN 'BACK'.
client->nav_app_leave( client->get_app( client->get( )-s_draft-id_prev_app_stack ) ).
@@ -78,70 +80,59 @@ CLASS z2ui5_cl_demo_app_123 IMPLEMENTATION.
ENDCASE.
-
- DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Map Container'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
+ DATA(page) = view->shell(
+ )->page( title = 'abap2UI5 - Map Container'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- DATA(map) = page->map_container( autoadjustheight = abap_true
+ DATA(map) = page->map_container( autoadjustheight = abap_true
)->content( ns = `vk`
- )->container_content(
- title = `Analytic Map`
- icon = `sap-icon://geographic-bubble-chart`
+ )->container_content( title = `Analytic Map`
+ icon = `sap-icon://geographic-bubble-chart`
)->content( ns = `vk`
- )->analytic_map(
- initialposition = `9.933573;50;0`
- initialzoom = `6`
- ) .
-
-
+ )->analytic_map( initialposition = `9.933573;50;0`
+ initialzoom = `6`
+ ).
map->vos(
)->spots( client->_bind( mt_spot )
- )->spot(
- position = `{POS}`
- contentoffset = `{CONTENTOFFSET}`
- type = `{TYPE}`
- scale = `{SCALE}`
- tooltip = `{TOOLTIP}`
+ )->spot( position = `{POS}`
+ contentoffset = `{CONTENTOFFSET}`
+ type = `{TYPE}`
+ scale = `{SCALE}`
+ tooltip = `{TOOLTIP}`
).
-
map->routes( client->_bind( mt_route ) )->route(
- EXPORTING
-* id =
- position = `{POSITION}`
- routetype = `{ROUTETYPE}`
- lineDash = '{LINEDASH}'
- color = '{COLOR}'
- colorBorder = '{COLORBORDER}'
- linewidth = '{LINEWIDTH}'
+* id =
+ position = `{POSITION}`
+ routetype = `{ROUTETYPE}`
+ lineDash = '{LINEDASH}'
+ color = '{COLOR}'
+ colorBorder = '{COLORBORDER}'
+ linewidth = '{LINEWIDTH}'
* RECEIVING
-* result =
+* result =
).
-
map->legend_area( )->legend(
* EXPORTING
-* id =
- items = client->_bind( mt_legend )
- caption = 'Legend'
+* id =
+ items = client->_bind( mt_legend )
+ caption = 'Legend'
* RECEIVING
-* result =
+* result =
)->legenditem(
- EXPORTING
-* id =
- text = '{TEXT}'
- color = '{COLOR}'
+* id =
+ text = '{TEXT}'
+ color = '{COLOR}'
* RECEIVING
-* result =
+* result =
).
- client->view_display( page->stringify( ) ).
-
+ client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_124.clas.abap b/src/z2ui5_cl_demo_app_124.clas.abap
index 9e4f2371..2db47077 100644
--- a/src/z2ui5_cl_demo_app_124.clas.abap
+++ b/src/z2ui5_cl_demo_app_124.clas.abap
@@ -1,32 +1,31 @@
CLASS z2ui5_cl_demo_app_124 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app .
DATA mv_scan_input TYPE string.
- DATA mv_scan_type TYPE string.
+ DATA mv_scan_type TYPE string.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_124 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
CASE client->get( )-event.
WHEN 'ON_SCAN_SUCCESS'.
- client->message_box_display( `Scan finished!`).
+ client->message_box_display( `Scan finished!` ).
DATA(lt_arg) = client->get( )-t_event_arg.
mv_scan_input = lt_arg[ 1 ].
mv_scan_type = lt_arg[ 2 ].
- "implement further processing here...
+ " implement further processing here...
"...
client->view_model_update( ).
RETURN.
@@ -37,23 +36,26 @@ CLASS z2ui5_cl_demo_app_124 IMPLEMENTATION.
ENDCASE.
- client->view_display( z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
- title = 'abap2UI5'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Information' editable = abap_true
- )->content( 'form'
- )->label( 'mv_scan_input'
- )->input( client->_bind_edit( mv_scan_input )
- )->label( `mv_scan_type`
- )->input( client->_bind_edit( mv_scan_type )
- )->label( `scanner`
- )->barcode_scanner_button(
- scansuccess = client->_event( val = 'ON_SCAN_SUCCESS' t_arg = VALUE #( ( `${$parameters>/text}` ) ( `${$parameters>/format}` ) ) )
- dialogtitle = `Barcode Scanner`
- )->stringify( ) ).
+ client->view_display(
+ z2ui5_cl_xml_view=>factory( )->shell(
+)->page( showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
+ title = 'abap2UI5'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+)->simple_form( title = 'Information'
+ editable = abap_true
+)->content( 'form'
+ )->label( 'mv_scan_input'
+ )->input( client->_bind_edit( mv_scan_input )
+ )->label( `mv_scan_type`
+ )->input( client->_bind_edit( mv_scan_type )
+ )->label( `scanner`
+ )->barcode_scanner_button(
+ scansuccess = client->_event( val = 'ON_SCAN_SUCCESS'
+ t_arg = VALUE #( ( `${$parameters>/text}` ) ( `${$parameters>/format}` ) ) )
+ dialogtitle = `Barcode Scanner`
+)->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_125.clas.abap b/src/z2ui5_cl_demo_app_125.clas.abap
index ae20f2a3..3158c57e 100644
--- a/src/z2ui5_cl_demo_app_125.clas.abap
+++ b/src/z2ui5_cl_demo_app_125.clas.abap
@@ -1,23 +1,22 @@
CLASS z2ui5_cl_demo_app_125 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA title TYPE string.
- DATA favicon TYPE string.
+ DATA title TYPE string.
+ DATA favicon TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
- data client type ref to z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
+
METHODS display_view.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_125 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_125 IMPLEMENTATION.
METHOD display_view.
@@ -25,11 +24,11 @@ CLASS Z2UI5_CL_DEMO_APP_125 IMPLEMENTATION.
DATA(tmp) = view->_z2ui5( )->title( client->_bind_edit( title )
)->shell(
- )->page(
- title = 'abap2UI5 - Change Browser Title'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Form Title' editable = abap_true
+ )->page( title = 'abap2UI5 - Change Browser Title'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->simple_form( title = 'Form Title'
+ editable = abap_true
)->content( 'form'
)->title( 'Input'
)->label( 'title'
@@ -40,7 +39,6 @@ CLASS Z2UI5_CL_DEMO_APP_125 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -56,7 +54,7 @@ CLASS Z2UI5_CL_DEMO_APP_125 IMPLEMENTATION.
CASE client->get( )-event.
WHEN 'SET_VIEW'.
- display_view( ).
+ display_view( ).
client->message_toast_display( |{ title } - title changed| ).
WHEN 'BACK'.
@@ -65,4 +63,5 @@ CLASS Z2UI5_CL_DEMO_APP_125 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_126.clas.abap b/src/z2ui5_cl_demo_app_126.clas.abap
index 1655a4d4..13845652 100644
--- a/src/z2ui5_cl_demo_app_126.clas.abap
+++ b/src/z2ui5_cl_demo_app_126.clas.abap
@@ -16,7 +16,8 @@ CLASS z2ui5_cl_demo_app_126 DEFINITION
DATA mt_table_del TYPE REF TO data.
METHODS set_app_data
- IMPORTING !data TYPE string.
+ IMPORTING
+ data TYPE string.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
@@ -31,14 +32,13 @@ CLASS z2ui5_cl_demo_app_126 DEFINITION
METHODS get_data.
METHODS get_comp
- RETURNING VALUE(result) TYPE abap_component_tab.
+ RETURNING
+ VALUE(result) TYPE abap_component_tab.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_126 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_126 IMPLEMENTATION.
METHOD get_comp.
TRY.
@@ -80,7 +80,6 @@ CLASS Z2UI5_CL_DEMO_APP_126 IMPLEMENTATION.
ENDTRY.
ENDMETHOD.
-
METHOD get_data.
FIELD-SYMBOLS TYPE STANDARD TABLE.
FIELD-SYMBOLS TYPE STANDARD TABLE.
@@ -101,7 +100,7 @@ CLASS Z2UI5_CL_DEMO_APP_126 IMPLEMENTATION.
ASSIGN mt_table->* TO .
- SELECT * FROM Z2UI5_T_01
+ SELECT * FROM z2ui5_t_01
INTO CORRESPONDING FIELDS OF TABLE @
UP TO 100 ROWS.
@@ -114,7 +113,6 @@ CLASS Z2UI5_CL_DEMO_APP_126 IMPLEMENTATION.
= .
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -125,13 +123,11 @@ CLASS Z2UI5_CL_DEMO_APP_126 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
-
METHOD on_init.
get_Data( ).
Render_main( ).
ENDMETHOD.
-
METHOD render_main.
IF mo_parent_view IS INITIAL.
@@ -162,12 +158,10 @@ CLASS Z2UI5_CL_DEMO_APP_126 IMPLEMENTATION.
ENDIF.
ENDMETHOD.
-
METHOD set_app_data.
mv_perc = data.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -180,4 +174,5 @@ CLASS Z2UI5_CL_DEMO_APP_126 IMPLEMENTATION.
on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_129.clas.abap b/src/z2ui5_cl_demo_app_129.clas.abap
index aa0a25f4..68b31e69 100644
--- a/src/z2ui5_cl_demo_app_129.clas.abap
+++ b/src/z2ui5_cl_demo_app_129.clas.abap
@@ -1,24 +1,22 @@
CLASS z2ui5_cl_demo_app_129 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF s_suggestion_items,
value TYPE string,
descr TYPE string,
- END OF s_suggestion_items .
+ END OF s_suggestion_items.
TYPES:
BEGIN OF s_combobox,
key TYPE string,
text TYPE string,
- END OF s_combobox .
- TYPES:
- ty_t_combo TYPE STANDARD TABLE OF s_combobox WITH EMPTY KEY .
+ END OF s_combobox.
+ TYPES ty_t_combo TYPE STANDARD TABLE OF s_combobox WITH EMPTY KEY.
+
DATA lv_text TYPE string.
DATA:
BEGIN OF screen,
@@ -33,33 +31,35 @@ CLASS z2ui5_cl_demo_app_129 DEFINITION
time_end TYPE string,
check_switch_01 TYPE abap_bool VALUE abap_false,
check_switch_02 TYPE abap_bool VALUE abap_false,
- END OF screen .
- DATA:
- mt_suggestion TYPE STANDARD TABLE OF s_suggestion_items WITH EMPTY KEY .
- DATA check_initialized TYPE abap_bool .
- PROTECTED SECTION.
+ END OF screen.
+ DATA mt_suggestion TYPE STANDARD TABLE OF s_suggestion_items WITH EMPTY KEY.
+ DATA check_initialized TYPE abap_bool.
+ PROTECTED SECTION.
METHODS z2ui5_on_rendering
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_on_init.
+
METHODS z2ui5_on_rendering_popup
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_on_rendering_popover
IMPORTING
id TYPE string
client TYPE REF TO z2ui5_if_client.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_129 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_129 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
@@ -75,7 +75,6 @@ CLASS Z2UI5_CL_DEMO_APP_129 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -86,13 +85,14 @@ CLASS Z2UI5_CL_DEMO_APP_129 IMPLEMENTATION.
* event_finished = client->_event( 'REFRESH' )
* ).
- client->view_model_update( ).
+ client->view_model_update( ).
WHEN 'BUTTON_SEND'.
* client->message_box_display( 'success - values send to the server' ).
z2ui5_on_rendering_popup( client ).
WHEN 'BUTTON_POPOVER'.
- z2ui5_on_rendering_popover( client = client id = 'ppvr' ).
+ z2ui5_on_rendering_popover( client = client
+ id = 'ppvr' ).
* client->timer_set(
* interval_ms = `3000`
* event_finished = client->_event( 'REFRESH' )
@@ -104,35 +104,33 @@ CLASS Z2UI5_CL_DEMO_APP_129 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_init.
- screen = VALUE #(
- check_is_active = abap_true
- colour = 'BLUE'
- combo_key = 'GRAY'
- segment_key = 'GREEN'
- date = '07.12.22'
- date_time = '23.12.2022, 19:27:20'
- time_start = '05:24:00'
- time_end = '17:23:57').
-
- mt_suggestion = VALUE #(
- ( descr = 'Green' value = 'GREEN' )
- ( descr = 'Blue' value = 'BLUE' )
- ( descr = 'Black' value = 'BLACK' )
- ( descr = 'Grey' value = 'GREY' )
- ( descr = 'Blue2' value = 'BLUE2' )
- ( descr = 'Blue3' value = 'BLUE3' ) ).
+ screen = VALUE #( check_is_active = abap_true
+ colour = 'BLUE'
+ combo_key = 'GRAY'
+ segment_key = 'GREEN'
+ date = '07.12.22'
+ date_time = '23.12.2022, 19:27:20'
+ time_start = '05:24:00'
+ time_end = '17:23:57' ).
+
+ mt_suggestion = VALUE #( ( descr = 'Green' value = 'GREEN' )
+ ( descr = 'Blue' value = 'BLUE' )
+ ( descr = 'Black' value = 'BLACK' )
+ ( descr = 'Grey' value = 'GREY' )
+ ( descr = 'Blue2' value = 'BLUE2' )
+ ( descr = 'Blue3' value = 'BLUE3' ) ).
ENDMETHOD.
-
METHOD z2ui5_on_rendering.
DATA(page) = z2ui5_cl_xml_view=>factory( ).
- page->_z2ui5( )->timer( finished = client->_event( 'REFRESH' ) checkrepeat = abap_true delayms = `3000` ).
+ page->_z2ui5( )->timer( finished = client->_event( 'REFRESH' )
+ checkrepeat = abap_true
+ delayms = `3000` ).
* client->timer_set(
* interval_ms = `3000`
@@ -140,49 +138,50 @@ CLASS Z2UI5_CL_DEMO_APP_129 IMPLEMENTATION.
* ).
page = page->shell(
- )->page(
- title = 'abap2UI5 - Selection-Screen Example'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = 'abap2UI5 - Selection-Screen Example'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(grid) = page->grid( 'L6 M12 S12'
)->content( 'layout' ).
- grid = grid->text( text = client->_bind_edit( val = lv_text view = client->cs_view-main
+ grid = grid->text( text = client->_bind_edit( val = lv_text
+ view = client->cs_view-main
) ).
page->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- id = `ppvr`
- text = 'Open Popover'
- press = client->_event( val = 'BUTTON_POPOVER' t_arg = VALUE #( ( `${$source>/sId}` ) ) )
- type = 'Ghost'
- )->button(
- text = 'Open Popup'
- press = client->_event( 'BUTTON_SEND' )
- type = 'Success' ).
+ )->button( id = `ppvr`
+ text = 'Open Popover'
+ press = client->_event( val = 'BUTTON_POPOVER'
+ t_arg = VALUE #( ( `${$source>/sId}` ) ) )
+ type = 'Ghost'
+ )->button( text = 'Open Popup'
+ press = client->_event( 'BUTTON_SEND' )
+ type = 'Success' ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_on_rendering_popover.
DATA(popover) = z2ui5_cl_xml_view=>factory_popup( )->popover( placement = `Top` ).
popover->text( text = 'this is popover in middle with timer auto refresh' ).
- client->popover_display( xml = popover->stringify( ) by_id = id ).
+ client->popover_display( xml = popover->stringify( )
+ by_id = id ).
ENDMETHOD.
-
METHOD z2ui5_on_rendering_popup.
DATA(dialog) = z2ui5_cl_xml_view=>factory_popup( )->dialog( ).
dialog->text( text = 'this is popup in middle with timer auto refresh' ).
- dialog->button( text = 'close' press = client->_event_client( client->cs_event-popup_close ) ).
+ dialog->button( text = 'close'
+ press = client->_event_client( client->cs_event-popup_close ) ).
client->popup_display( dialog->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_130.clas.abap b/src/z2ui5_cl_demo_app_130.clas.abap
index e94206b3..c78d987a 100644
--- a/src/z2ui5_cl_demo_app_130.clas.abap
+++ b/src/z2ui5_cl_demo_app_130.clas.abap
@@ -1,11 +1,9 @@
CLASS z2ui5_cl_demo_app_130 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_s_token,
@@ -14,88 +12,75 @@ CLASS z2ui5_cl_demo_app_130 DEFINITION
visible TYPE abap_bool,
selkz TYPE abap_bool,
editable TYPE abap_bool,
- END OF ty_s_token .
- TYPES:
- ty_t_token TYPE STANDARD TABLE OF ty_s_token WITH EMPTY KEY .
- TYPES:
- ty_t_range TYPE RANGE OF string .
- TYPES:
- ty_s_range TYPE LINE OF ty_t_range .
+ END OF ty_s_token.
+ TYPES ty_t_token TYPE STANDARD TABLE OF ty_s_token WITH EMPTY KEY.
+ TYPES ty_t_range TYPE RANGE OF string.
+ TYPES ty_s_range TYPE LINE OF ty_t_range.
TYPES:
BEGIN OF ty_s_filter_pop,
option TYPE string,
low TYPE string,
high TYPE string,
key TYPE string,
- END OF ty_s_filter_pop .
- TYPES:
- ty_t_filter_pop TYPE STANDARD TABLE OF ty_s_filter_pop WITH EMPTY KEY .
+ END OF ty_s_filter_pop.
+ TYPES ty_t_filter_pop TYPE STANDARD TABLE OF ty_s_filter_pop WITH EMPTY KEY.
TYPES:
BEGIN OF ty_s_fieldsdb,
screen_name TYPE char10,
field TYPE char10,
field_doma TYPE char10,
- END OF ty_s_fieldsdb .
- TYPES:
- ty_t_fieldsdb TYPE STANDARD TABLE OF ty_s_fieldsdb WITH DEFAULT KEY .
- TYPES:
- BEGIN OF ty_s_fields.
- INCLUDE TYPE ty_s_fieldsdb.
- TYPES: t_token TYPE ty_t_token,
- t_filter TYPE ty_t_filter_pop,
- END OF ty_s_fields .
+ END OF ty_s_fieldsdb.
+ TYPES ty_t_fieldsdb TYPE STANDARD TABLE OF ty_s_fieldsdb WITH DEFAULT KEY.
+ TYPES: BEGIN OF ty_s_fields.
+ INCLUDE TYPE ty_s_fieldsdb.
+ TYPES: t_token TYPE ty_t_token,
+ t_filter TYPE ty_t_filter_pop,
+ END OF ty_s_fields.
TYPES:
BEGIN OF ty_s_var_val,
screen_name TYPE char10,
- var TYPE char10,
- field TYPE char10,
- guid TYPE string,
+ var TYPE char10,
+ field TYPE char10,
+ guid TYPE string,
sign TYPE char1,
opt TYPE char2,
low TYPE char255,
high TYPE char255,
- END OF ty_s_var_val .
- TYPES:
- ty_t_var_val TYPE STANDARD TABLE OF ty_s_var_val WITH DEFAULT KEY .
+ END OF ty_s_var_val.
+ TYPES ty_t_var_val TYPE STANDARD TABLE OF ty_s_var_val WITH DEFAULT KEY.
TYPES:
BEGIN OF ty_s_variants,
screen_name TYPE char10,
var TYPE char10,
descr TYPE string,
- END OF ty_s_variants .
- TYPES:
- ty_t_variants TYPE STANDARD TABLE OF ty_s_variants WITH DEFAULT KEY .
- TYPES:
- BEGIN OF ty_s_var_pop.
- INCLUDE TYPE ty_s_variants.
- TYPES: selkz TYPE xfeld,
- END OF ty_s_var_pop .
+ END OF ty_s_variants.
+ TYPES ty_t_variants TYPE STANDARD TABLE OF ty_s_variants WITH DEFAULT KEY.
+ TYPES: BEGIN OF ty_s_var_pop.
+ INCLUDE TYPE ty_s_variants.
+ TYPES: selkz TYPE xfeld,
+ END OF ty_s_var_pop.
TYPES:
BEGIN OF ty_s_screens,
screen_name TYPE char10,
descr TYPE string,
- END OF ty_s_screens .
-
- DATA:
- mt_filter TYPE STANDARD TABLE OF ty_s_filter_pop WITH EMPTY KEY .
- DATA mt_mapping TYPE z2ui5_if_types=>ty_t_name_value .
- DATA:
- mt_screens TYPE STANDARD TABLE OF ty_s_screens WITH EMPTY KEY .
- DATA:
- mt_variants TYPE STANDARD TABLE OF ty_s_variants WITH EMPTY KEY .
- DATA:
- mt_variants_pop TYPE STANDARD TABLE OF ty_s_var_pop WITH EMPTY KEY .
- DATA mv_activ_elemnt TYPE string .
- DATA mv_screen TYPE string .
- DATA mv_button_active TYPE abap_bool .
- DATA mv_description TYPE string .
- DATA mv_screen_descr TYPE string .
- DATA mv_variant TYPE string .
- DATA mv_description_copy TYPE string .
- DATA mv_variant_copy TYPE string .
- DATA mo_parent_view TYPE REF TO z2ui5_cl_xml_view .
- PROTECTED SECTION.
+ END OF ty_s_screens.
+
+ DATA mt_filter TYPE STANDARD TABLE OF ty_s_filter_pop WITH EMPTY KEY.
+ DATA mt_mapping TYPE z2ui5_if_types=>ty_t_name_value.
+ DATA mt_screens TYPE STANDARD TABLE OF ty_s_screens WITH EMPTY KEY.
+ DATA mt_variants TYPE STANDARD TABLE OF ty_s_variants WITH EMPTY KEY.
+ DATA mt_variants_pop TYPE STANDARD TABLE OF ty_s_var_pop WITH EMPTY KEY.
+ DATA mv_activ_elemnt TYPE string.
+ DATA mv_screen TYPE string.
+ DATA mv_button_active TYPE abap_bool.
+ DATA mv_description TYPE string.
+ DATA mv_screen_descr TYPE string.
+ DATA mv_variant TYPE string.
+ DATA mv_description_copy TYPE string.
+ DATA mv_variant_copy TYPE string.
+ DATA mo_parent_view TYPE REF TO z2ui5_cl_xml_view.
+ PROTECTED SECTION.
METHODS on_init.
METHODS on_event.
@@ -126,19 +111,20 @@ CLASS z2ui5_cl_demo_app_130 DEFINITION
METHODS get_txt
IMPORTING
- roll TYPE string
- type TYPE char1 OPTIONAL
- RETURNING VALUE(result) TYPE string.
+ roll TYPE string
+ type TYPE char1 OPTIONAL
+ RETURNING
+ VALUE(result) TYPE string.
METHODS get_txt_l
IMPORTING
- roll TYPE string
- RETURNING VALUE(result) TYPE string.
+ roll TYPE string
+ RETURNING
+ VALUE(result) TYPE string.
METHODS varaint_page.
PRIVATE SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
DATA mt_fields TYPE STANDARD TABLE OF ty_s_fields WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
@@ -146,29 +132,27 @@ CLASS z2ui5_cl_demo_app_130 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
-
METHOD get_fields.
DATA(db_fields) = VALUE ty_t_fieldsdb(
- ( screen_name = 'INV' field = 'LGNUM' field_doma = '/SCWM/LGNUM' )
- ( screen_name = 'LAGP' field = 'LGNUM' field_doma = '/SCWM/LGNUM' )
- ( screen_name = 'LAGP' field = 'LGPLA' field_doma = '/SCWM/DE_LGPLA' )
- ( screen_name = 'LAGP' field = 'LGTYP' field_doma = '/SCWM/DE_LGTYP' )
- ( screen_name = 'QUAN' field = 'LGNUM' field_doma = '/SCWM/LGNUM' )
- ( screen_name = 'QUAN' field = 'LGPLA' field_doma = '/SCWM/DE_LGPLA' )
- ( screen_name = 'QUAN' field = 'MATNR' field_doma = '/SCWM/DE_MATNR' )
- ( screen_name = 'QUAN' field = 'OWNER' field_doma = '/SCWM/DE_OWNER' )
- ( screen_name = 'TO' field = 'LGNUM' field_doma = '/SCWM/LGNUM' )
- ( screen_name = 'TO' field = 'MATNR' field_doma = '/SCWM/DE_MATNR' )
- ( screen_name = 'TO' field = 'PROCTY' field_doma = '/SCWM/DE_PROCTY' )
- ( screen_name = 'TO' field = 'TOSTAT' field_doma = '/SCWM/DE_TOSTAT' )
- ( screen_name = 'TO' field = 'VLPLA' field_doma = '/SCWM/LTAP_VLPLA' )
+ ( screen_name = 'INV' field = 'LGNUM' field_doma = '/SCWM/LGNUM' )
+ ( screen_name = 'LAGP' field = 'LGNUM' field_doma = '/SCWM/LGNUM' )
+ ( screen_name = 'LAGP' field = 'LGPLA' field_doma = '/SCWM/DE_LGPLA' )
+ ( screen_name = 'LAGP' field = 'LGTYP' field_doma = '/SCWM/DE_LGTYP' )
+ ( screen_name = 'QUAN' field = 'LGNUM' field_doma = '/SCWM/LGNUM' )
+ ( screen_name = 'QUAN' field = 'LGPLA' field_doma = '/SCWM/DE_LGPLA' )
+ ( screen_name = 'QUAN' field = 'MATNR' field_doma = '/SCWM/DE_MATNR' )
+ ( screen_name = 'QUAN' field = 'OWNER' field_doma = '/SCWM/DE_OWNER' )
+ ( screen_name = 'TO' field = 'LGNUM' field_doma = '/SCWM/LGNUM' )
+ ( screen_name = 'TO' field = 'MATNR' field_doma = '/SCWM/DE_MATNR' )
+ ( screen_name = 'TO' field = 'PROCTY' field_doma = '/SCWM/DE_PROCTY' )
+ ( screen_name = 'TO' field = 'TOSTAT' field_doma = '/SCWM/DE_TOSTAT' )
+ ( screen_name = 'TO' field = 'VLPLA' field_doma = '/SCWM/LTAP_VLPLA' )
).
- CLEAR: mt_fields.
+ CLEAR mt_fields.
LOOP AT db_fields REFERENCE INTO DATA(lr_fields) WHERE screen_name = mv_screen.
APPEND INITIAL LINE TO mt_fields REFERENCE INTO DATA(field).
@@ -178,68 +162,65 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
ENDMETHOD.
-
METHOD get_txt.
+ " TODO: parameter ROLL is never used (ABAP cleaner)
+ " TODO: parameter TYPE is never used (ABAP cleaner)
result = 'Text'.
ENDMETHOD.
-
METHOD get_txt_l.
+ " TODO: parameter ROLL is never used (ABAP cleaner)
result = 'Text'.
ENDMETHOD.
-
METHOD get_values.
- DATA(l_variants) = VALUE ty_t_variants(
- ( screen_name = 'QUAN' var = 'E001 - ALL' descr = '123' )
- ( screen_name = 'TO' var = 'E001' descr = '123' )
- ( screen_name = 'TO' var = 'E001 - All' descr = '123' )
- ).
+ DATA(l_variants) = VALUE ty_t_variants( descr = '123'
+ ( screen_name = 'QUAN' var = 'E001 - ALL' )
+ ( screen_name = 'TO' var = 'E001' )
+ ( screen_name = 'TO' var = 'E001 - All' ) ).
DATA var TYPE ty_t_variants.
- LOOP AT l_variants INTO DATA(a) WHERE screen_name = mv_screen
- AND var = mv_variant.
+ LOOP AT l_variants INTO DATA(a) WHERE screen_name = mv_screen
+ AND var = mv_variant.
APPEND a TO var.
mv_description = a-descr.
ENDLOOP.
DATA(var_vall_all) = VALUE ty_t_var_val(
- ( screen_name = 'LTAP' var = 'E001 - All' field = 'LGNUM' guid = '663192E9D70C1EEE8CC06B0F98CD81A3' sign = 'I' opt = 'EQ' )
- ( screen_name = 'LTAP' var = 'E001 - All' field = 'MATNR' guid = '663192E9D70C1EEE8CD4E9389CB11403' sign = 'I' opt = 'EQ' )
- ( screen_name = 'LTAP' var = 'E001 - All' field = 'TOSTAT' guid = '663192E9D70C1EEE8CC06BC66AD581A3' sign = 'I' opt = 'NE' )
- ( screen_name = 'LTAP' var = 'E002 - All' field = 'LGNUM' guid = '663192E9D70C1EEE8CC06B0F98CD81A3' sign = 'I' opt = 'EQ' )
- ( screen_name = 'LTAP' var = 'E002 - All' field = 'MATNR' guid = '663192E9D70C1EEE8CD4E9389CB11403' sign = 'I' opt = 'EQ' )
- ( screen_name = 'LTAP' var = 'E002 - All' field = 'TOSTAT' guid = '663192E9D70C1EEE8CC06BC66AD581A3' sign = 'I' opt = 'NE' )
- ( screen_name = 'QUAN' var = 'E001 - ALL' field = 'LGNUM' guid = '663192E9D70C1EEE90CEE2FA658C51EE' sign = 'I' opt = 'EQ' )
- ( screen_name = 'QUAN' var = 'E001 - ALL' field = 'LGPLA' guid = '663192E9D70C1EEE90CEEF4750FD91EE' sign = 'I' opt = 'EQ' )
- ( screen_name = 'TO' var = 'E001 ' field = 'LGNUM' guid = '663192E9D70C1EEE8E87DE5FF8CC512A' sign = 'I' opt = 'EQ' )
- ( screen_name = 'TO' var = 'E001 ' field = 'PROCTY' guid = '663192E9D70C1EEE8E87DD8D1EB8C7F5' sign = 'I' opt = 'EQ' )
- ( screen_name = 'TO' var = 'E001 - All' field = 'LGNUM' guid = '663192E9D70C1EEE8E86552847635198' sign = 'I' opt = 'EQ' )
-
- ).
+ sign = 'I'
+ ( screen_name = 'LTAP' var = 'E001 - All' field = 'LGNUM' guid = '663192E9D70C1EEE8CC06B0F98CD81A3' opt = 'EQ' )
+ ( screen_name = 'LTAP' var = 'E001 - All' field = 'MATNR' guid = '663192E9D70C1EEE8CD4E9389CB11403' opt = 'EQ' )
+ ( screen_name = 'LTAP' var = 'E001 - All' field = 'TOSTAT' guid = '663192E9D70C1EEE8CC06BC66AD581A3' opt = 'NE' )
+ ( screen_name = 'LTAP' var = 'E002 - All' field = 'LGNUM' guid = '663192E9D70C1EEE8CC06B0F98CD81A3' opt = 'EQ' )
+ ( screen_name = 'LTAP' var = 'E002 - All' field = 'MATNR' guid = '663192E9D70C1EEE8CD4E9389CB11403' opt = 'EQ' )
+ ( screen_name = 'LTAP' var = 'E002 - All' field = 'TOSTAT' guid = '663192E9D70C1EEE8CC06BC66AD581A3' opt = 'NE' )
+ ( screen_name = 'QUAN' var = 'E001 - ALL' field = 'LGNUM' guid = '663192E9D70C1EEE90CEE2FA658C51EE' opt = 'EQ' )
+ ( screen_name = 'QUAN' var = 'E001 - ALL' field = 'LGPLA' guid = '663192E9D70C1EEE90CEEF4750FD91EE' opt = 'EQ' )
+ ( screen_name = 'TO' var = 'E001 ' field = 'LGNUM' guid = '663192E9D70C1EEE8E87DE5FF8CC512A' opt = 'EQ' )
+ ( screen_name = 'TO' var = 'E001 ' field = 'PROCTY' guid = '663192E9D70C1EEE8E87DD8D1EB8C7F5' opt = 'EQ' )
+ ( screen_name = 'TO' var = 'E001 - All' field = 'LGNUM' guid = '663192E9D70C1EEE8E86552847635198' opt = 'EQ' ) ).
DATA var_val TYPE ty_t_var_val.
-
- LOOP AT var_vall_all INTO DATA(b) WHERE screen_name = mv_screen
- AND var = mv_variant.
+ LOOP AT var_vall_all INTO DATA(b) WHERE screen_name = mv_screen
+ AND var = mv_variant.
APPEND b TO var_val.
ENDLOOP.
LOOP AT mt_fields REFERENCE INTO DATA(field).
- CLEAR: field->t_filter.
- CLEAR: field->t_token.
+ CLEAR field->t_filter.
+ CLEAR field->t_token.
- LOOP AT var_val REFERENCE INTO DATA(val)
- WHERE field = field->field.
+ LOOP AT var_val REFERENCE INTO DATA(val)
+ WHERE field = field->field.
DATA(filter) = VALUE ty_s_filter_pop( key = val->guid
option = val->opt
@@ -255,99 +236,86 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
ENDMETHOD.
-
METHOD get_variants.
- mt_variants = VALUE #(
- ( screen_name = 'QUAN' var = 'E001 - ALL' descr = '123' )
- ( screen_name = 'TO' var = 'E001' descr = '123' )
- ( screen_name = 'TO' var = 'E001 - All' descr = '123' )
- ).
+ mt_variants = VALUE #( descr = '123'
+ ( screen_name = 'QUAN' var = 'E001 - ALL' )
+ ( screen_name = 'TO' var = 'E001' )
+ ( screen_name = 'TO' var = 'E001 - All' ) ).
ENDMETHOD.
METHOD on_event.
- varaint_page( ).
+ varaint_page( ).
ENDMETHOD.
-
METHOD on_init.
- mt_screens = VALUE #(
-( screen_name = 'INV' descr = '123' )
-( screen_name = 'LAGP' descr = '123' )
-( screen_name = 'PO' descr = '123' )
-( screen_name = 'QUAN' descr = '123' )
-( screen_name = 'TO' descr = '123' )
- ).
+ mt_screens = VALUE #( descr = '123'
+ ( screen_name = 'INV' )
+ ( screen_name = 'LAGP' )
+ ( screen_name = 'PO' )
+ ( screen_name = 'QUAN' )
+ ( screen_name = 'TO' ) ).
render_main( ).
- mt_mapping = VALUE #(
- ( n = `EQ` v = `={LOW}` )
- ( n = `LT` v = `<{LOW}` )
- ( n = `LE` v = `<={LOW}` )
- ( n = `GT` v = `>{LOW}` )
- ( n = `GE` v = `>={LOW}` )
- ( n = `CP` v = `*{LOW}*` )
- ( n = `BT` v = `{LOW}...{HIGH}` )
- ( n = `NE` v = `!(={LOW})` )
- ( n = `` v = `` )
+ mt_mapping = VALUE #( ( n = `EQ` v = `={LOW}` )
+ ( n = `LT` v = `<{LOW}` )
+ ( n = `LE` v = `<={LOW}` )
+ ( n = `GT` v = `>{LOW}` )
+ ( n = `GE` v = `>={LOW}` )
+ ( n = `CP` v = `*{LOW}*` )
+ ( n = `BT` v = `{LOW}...{HIGH}` )
+ ( n = `NE` v = `!(={LOW})` )
+ ( n = `` v = `` )
).
-
-
ENDMETHOD.
-
METHOD popup_copy_save.
mv_variant = mv_variant_copy.
mv_description = mv_description_copy.
-
-
ENDMETHOD.
-
METHOD popup_filter_ok.
READ TABLE mt_fields REFERENCE INTO DATA(lr_field)
- WITH KEY field = mv_activ_elemnt.
+ WITH KEY field = mv_activ_elemnt.
- IF sy-subrc = 0.
-
- DELETE mt_filter WHERE option IS INITIAL.
+ IF sy-subrc <> 0.
+ RETURN.
+ ENDIF.
- lr_field->t_filter = mt_filter.
+ DELETE mt_filter WHERE option IS INITIAL.
- CLEAR: lr_field->t_token.
+ lr_field->t_filter = mt_filter.
- set_token( CHANGING field = lr_field ).
+ CLEAR lr_field->t_token.
- client->popup_destroy( ).
+ set_token( CHANGING field = lr_field ).
- render_main( ).
+ client->popup_destroy( ).
- ENDIF.
+ render_main( ).
ENDMETHOD.
-
METHOD render_main.
-
IF mo_parent_view IS INITIAL.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = get_txt( '/SCWM/DE_TW_COND_CHECK_SELECT' )
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = get_txt( '/SCWM/DE_TW_COND_CHECK_SELECT' )
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
ELSE.
@@ -355,46 +323,38 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
ENDIF.
-
-
page->header_content(
)->get_parent( ).
DATA(grid) = page->grid( 'L6 M12 S12'
)->content( 'layout' ).
- grid->simple_form( get_txt( 'BU_DYNID' )
+ grid->simple_form( get_txt( 'BU_DYNID' )
)->content( 'form'
- )->label( text = get_txt( 'BU_DYNID' )
- )->combobox(
- change = client->_event( val = 'INPUT_SCREEN_CHANGE' )
- items = client->_bind_edit( mt_screens )
- selectedkey = client->_bind_edit( mv_screen )
- )->item(
- key = '{SCREEN_NAME}'
- text = '{SCREEN_NAME} - {DESCR}'
- )->get_parent( )->label( text = get_txt( 'DESCR_40' )
- )->input(
- value = client->_bind_edit( mv_screen_descr )
- showvaluehelp = abap_false
-* editable = abap_false
- enabled = abap_false ) .
-
-
- grid->simple_form( get_txt( '/SCWM/WB_VARIANT' )
+ )->label( text = get_txt( 'BU_DYNID' )
+ )->combobox( change = client->_event( val = 'INPUT_SCREEN_CHANGE' )
+ items = client->_bind_edit( mt_screens )
+ selectedkey = client->_bind_edit( mv_screen )
+ )->item( key = '{SCREEN_NAME}'
+ text = '{SCREEN_NAME} - {DESCR}'
+ )->get_parent( )->label( text = get_txt( 'DESCR_40' )
+ )->input( value = client->_bind_edit( mv_screen_descr )
+ showvaluehelp = abap_false
+* editable = abap_false
+ enabled = abap_false ).
+
+ grid->simple_form( get_txt( '/SCWM/WB_VARIANT' )
)->content( 'form'
- )->label( text = get_txt( '/SCWM/WB_VARIANT' )
- )->input(
- value = client->_bind_edit( mv_variant )
- showvaluehelp = abap_true
- valuehelprequest = client->_event( 'CALL_POPUP_VARIANT' )
- submit = client->_event( 'INPUT_VARIANT_CHANGE' )
- )->label( text = get_txt( 'DESCR_40' )
- )->input(
- value = client->_bind_edit( mv_description )
- showvaluehelp = abap_false ) .
-
- DATA(content) = grid->simple_form( get_txt( 'CLASSFEL' )
+ )->label( text = get_txt( '/SCWM/WB_VARIANT' )
+ )->input( value = client->_bind_edit( mv_variant )
+ showvaluehelp = abap_true
+ valuehelprequest = client->_event( 'CALL_POPUP_VARIANT' )
+ submit = client->_event( 'INPUT_VARIANT_CHANGE' )
+ )->label( text = get_txt( 'DESCR_40' )
+ )->input( value = client->_bind_edit( mv_description )
+ showvaluehelp = abap_false ).
+
+ DATA(content) = grid->simple_form( get_txt( 'CLASSFEL' )
)->content( 'form'
).
@@ -405,21 +365,19 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
DATA(scrtext) = get_txt( CONV #( lr_tab->field_doma ) ).
content->label( text = scrtext
- )->multi_input(
- tokens = client->_bind_local( lr_tab->t_token )
- showclearicon = abap_true
- id = lr_tab->field
- valuehelprequest = client->_event( val = 'CALL_POPUP_FILTER' t_arg = VALUE #( ( CONV #( lr_tab->field ) ) ) )
- )->item(
- key = `{KEY}`
- text = `{TEXT}`
+ )->multi_input( tokens = client->_bind_local( lr_tab->t_token )
+ showclearicon = abap_true
+ id = lr_tab->field
+ valuehelprequest = client->_event( val = 'CALL_POPUP_FILTER'
+ t_arg = VALUE #( ( CONV #( lr_tab->field ) ) ) )
+ )->item( key = `{KEY}`
+ text = `{TEXT}`
)->tokens(
- )->token(
- key = `{KEY}`
- text = `{TEXT}`
- visible = `{VISIBLE}`
- selected = `{SELKZ}`
- editable = `{EDITABLE}`
+ )->token( key = `{KEY}`
+ text = `{TEXT}`
+ visible = `{VISIBLE}`
+ selected = `{SELKZ}`
+ editable = `{EDITABLE}`
).
ENDLOOP.
@@ -428,22 +386,19 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
page->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = get_txt( '/SCWM/DE_HUDEL' )
- press = client->_event( 'BUTTON_DELETE' )
- type = 'Reject'
- icon = 'sap-icon://delete'
- enabled = mv_button_active
- )->button(
- text = get_txt( 'B_KOPIE' )
- press = client->_event( 'BUTTON_COPY' )
- type = 'Default'
- enabled = mv_button_active
- )->button(
- text = get_txt( '/SCWM/DE_LM_LOGSAVE' )
- press = client->_event( 'BUTTON_SAVE' )
- type = 'Success'
- enabled = mv_button_active ).
+ )->button( text = get_txt( '/SCWM/DE_HUDEL' )
+ press = client->_event( 'BUTTON_DELETE' )
+ type = 'Reject'
+ icon = 'sap-icon://delete'
+ enabled = mv_button_active
+ )->button( text = get_txt( 'B_KOPIE' )
+ press = client->_event( 'BUTTON_COPY' )
+ type = 'Default'
+ enabled = mv_button_active
+ )->button( text = get_txt( '/SCWM/DE_LM_LOGSAVE' )
+ press = client->_event( 'BUTTON_SAVE' )
+ type = 'Success'
+ enabled = mv_button_active ).
IF mo_parent_view IS INITIAL.
@@ -453,69 +408,64 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
ENDMETHOD.
-
METHOD render_popup_filter.
DATA(lo_popup) = z2ui5_cl_xml_view=>factory_popup( ).
- lo_popup = lo_popup->dialog(
- contentheight = `50%`
- contentwidth = `50%`
- title = get_txt_l( '/SCWM/DE_TW_COND_CHECK_COND' ) ).
+ lo_popup = lo_popup->dialog( contentheight = `50%`
+ contentwidth = `50%`
+ title = get_txt_l( '/SCWM/DE_TW_COND_CHECK_COND' ) ).
- DATA(vbox) = lo_popup->vbox( height = `100%` justifycontent = 'SpaceBetween' ).
+ DATA(vbox) = lo_popup->vbox( height = `100%`
+ justifycontent = 'SpaceBetween' ).
- DATA(item) = vbox->list(
- nodata = get_txt( '/SCWM/DE_IND_BIN_EMPTY' )
- items = client->_bind_edit( mt_filter )
- selectionchange = client->_event( 'SELCHANGE' )
+ DATA(item) = vbox->list( nodata = get_txt( '/SCWM/DE_IND_BIN_EMPTY' )
+ items = client->_bind_edit( mt_filter )
+ selectionchange = client->_event( 'SELCHANGE' )
)->custom_list_item( ).
DATA(grid) = item->grid( ).
- grid->combobox(
- selectedkey = `{OPTION}`
- items = client->_bind_edit( mt_mapping )
- )->item(
- key = '{N}'
- text = '{N}'
+ grid->combobox( selectedkey = `{OPTION}`
+ items = client->_bind_edit( mt_mapping )
+ )->item( key = '{N}'
+ text = '{N}'
)->get_parent(
)->input( value = `{LOW}`
- )->input( value = `{HIGH}` visible = `{= ${OPTION} === 'BT' }`
- )->button( icon = 'sap-icon://decline'
- type = `Transparent`
- press = client->_event( val = `POPUP_FILTER_DELETE`
- t_arg = VALUE #( ( `${KEY}` ) ) )
+ )->input( value = `{HIGH}`
+ visible = `{= ${OPTION} === 'BT' }`
+ )->button( icon = 'sap-icon://decline'
+ type = `Transparent`
+ press = client->_event( val = `POPUP_FILTER_DELETE`
+ t_arg = VALUE #( ( `${KEY}` ) ) )
).
lo_popup->footer( )->overflow_toolbar(
- )->button( text = get_txt( 'FC_DELALL' )
- icon = 'sap-icon://delete'
- type = `Transparent`
- press = client->_event( val = `POPUP_FILTER_DELETE_ALL` )
- )->button( text = get_txt( 'RSLPO_GUI_ADDPART' )
- icon = `sap-icon://add`
+ )->button( text = get_txt( 'FC_DELALL' )
+ icon = 'sap-icon://delete'
+ type = `Transparent`
+ press = client->_event( val = `POPUP_FILTER_DELETE_ALL` )
+ )->button( text = get_txt( 'RSLPO_GUI_ADDPART' )
+ icon = `sap-icon://add`
press = client->_event( val = `POPUP_FILTER_ADD` )
)->toolbar_spacer(
- )->button(
- text = get_txt( 'MSSRCF_ACTION' )
- press = client->_event( 'POPUP_FILTER_OK' )
- type = 'Emphasized'
+ )->button( text = get_txt( 'MSSRCF_ACTION' )
+ press = client->_event( 'POPUP_FILTER_OK' )
+ type = 'Emphasized'
).
client->popup_display( lo_popup->stringify( ) ).
ENDMETHOD.
-
METHOD render_popup_varaint.
DATA(popup) = z2ui5_cl_xml_view=>factory_popup( ).
- popup->dialog( title = get_txt( '/SCWM/WB_VARIANT' ) contentwidth = '30%'
- )->table(
- mode = 'SingleSelectLeft'
- items = client->_bind_edit( mt_variants_pop )
+ popup->dialog( title = get_txt( '/SCWM/WB_VARIANT' )
+ contentwidth = '30%'
+ )->table( mode = 'SingleSelectLeft'
+ items = client->_bind_edit( mt_variants_pop )
)->columns(
)->column( '20rem'
)->text( get_txt( '/SCWM/WB_VARIANT' ) )->get_parent(
@@ -531,53 +481,45 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
)->footer(
)->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = get_txt( 'MSSRCF_ACTION' )
- press = client->_event( 'POPUP_VARIANT_CLOSE' )
- type = 'Emphasized' ).
+ )->button( text = get_txt( 'MSSRCF_ACTION' )
+ press = client->_event( 'POPUP_VARIANT_CLOSE' )
+ type = 'Emphasized' ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD render_pop_copy.
DATA(lo_popup) = z2ui5_cl_xml_view=>factory_popup( ).
- lo_popup = lo_popup->dialog(
- contentheight = `50%`
- contentwidth = `50%`
- title = get_txt( '/SCWM/DE_COPY_NUMBER' ) ).
+ lo_popup = lo_popup->dialog( contentheight = `50%`
+ contentwidth = `50%`
+ title = get_txt( '/SCWM/DE_COPY_NUMBER' ) ).
- lo_popup->simple_form( get_txt( '/SCWM/WB_VARIANT' )
+ lo_popup->simple_form( get_txt( '/SCWM/WB_VARIANT' )
)->content( 'form'
)->label( text = get_txt( '/SCWM/WB_VARIANT' )
- )->input(
- value = client->_bind_edit( mv_variant_copy )
- showvaluehelp = abap_false
- )->label( text = get_txt( 'DESCR_40' )
- )->input(
- value = client->_bind_edit( mv_description_copy )
- showvaluehelp = abap_false ) .
+ )->input( value = client->_bind_edit( mv_variant_copy )
+ showvaluehelp = abap_false
+ )->label( text = get_txt( 'DESCR_40' )
+ )->input( value = client->_bind_edit( mv_description_copy )
+ showvaluehelp = abap_false ).
lo_popup->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = get_txt( 'XEXIT' )
- press = client->_event( 'POPUP_COPY_EXIT' )
- type = 'Reject'
- )->button(
- text = get_txt( '/SCWM/DE_LM_LOGSAVE' )
- press = client->_event( 'POPUP_COPY_SAVE' )
- type = 'Emphasized'
- enabled = `{= ${MV_VARIANT_COPY} !== "" }`
+ )->button( text = get_txt( 'XEXIT' )
+ press = client->_event( 'POPUP_COPY_EXIT' )
+ type = 'Reject'
+ )->button( text = get_txt( '/SCWM/DE_LM_LOGSAVE' )
+ press = client->_event( 'POPUP_COPY_SAVE' )
+ type = 'Emphasized'
+ enabled = `{= ${MV_VARIANT_COPY} !== "" }`
).
client->popup_display( lo_popup->stringify( ) ).
ENDMETHOD.
-
METHOD set_token.
LOOP AT field->t_filter REFERENCE INTO DATA(lr_filter).
@@ -586,16 +528,17 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
REPLACE `{LOW}` IN lv_value WITH lr_filter->low.
REPLACE `{HIGH}` IN lv_value WITH lr_filter->high.
- INSERT VALUE #( key = lv_value text = lv_value visible = abap_true editable = abap_false ) INTO TABLE field->t_token.
+ INSERT VALUE #( key = lv_value
+ text = lv_value
+ visible = abap_true
+ editable = abap_false ) INTO TABLE field->t_token.
ENDLOOP.
ENDMETHOD.
-
METHOD varaint_page.
-
CASE client->get( )-event.
WHEN `INPUT_SCREEN_CHANGE`.
@@ -604,8 +547,8 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
get_fields( ).
- CLEAR: mv_variant.
- CLEAR: mv_description.
+ CLEAR mv_variant.
+ CLEAR mv_description.
get_variants( ).
@@ -613,13 +556,13 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
WHEN `INPUT_VARIANT_CHANGE`.
- get_values( ).
+ get_values( ).
render_main( ).
WHEN `POPUP_FILTER_OK`.
- popup_filter_ok( ).
+ popup_filter_ok( ).
WHEN `POPUP_FILTER_ADD`.
@@ -647,12 +590,12 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
mv_activ_elemnt = VALUE #( arg[ 1 ] OPTIONAL ).
READ TABLE mt_fields REFERENCE INTO DATA(lr_field)
- WITH KEY field = mv_activ_elemnt.
+ WITH KEY field = mv_activ_elemnt.
" vorhanden werte übertragen
mt_filter = lr_field->t_filter.
- render_popup_filter( ).
+ render_popup_filter( ).
WHEN 'CALL_POPUP_VARIANT'.
@@ -669,7 +612,7 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
client->popup_destroy( ).
- get_values( ).
+ get_values( ).
render_main( ).
@@ -679,14 +622,13 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
WHEN 'BUTTON_SAVE'.
-
WHEN 'BUTTON_DELETE'.
render_main( ).
WHEN 'BUTTON_COPY'.
- render_pop_copy( ).
+ render_pop_copy( ).
render_main( ).
@@ -696,7 +638,7 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
WHEN 'POPUP_COPY_SAVE'.
- popup_copy_save( ).
+ popup_copy_save( ).
client->popup_destroy( ).
@@ -704,7 +646,6 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -722,7 +663,8 @@ CLASS z2ui5_cl_demo_app_130 IMPLEMENTATION.
mv_button_active = xsdbool( mv_screen IS NOT INITIAL AND mv_variant IS NOT INITIAL ).
- client->view_model_update( ).
+ client->view_model_update( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_131.clas.abap b/src/z2ui5_cl_demo_app_131.clas.abap
index 4e4183b1..a0065859 100644
--- a/src/z2ui5_cl_demo_app_131.clas.abap
+++ b/src/z2ui5_cl_demo_app_131.clas.abap
@@ -9,7 +9,7 @@ CLASS z2ui5_cl_demo_app_131 DEFINITION
BEGIN OF ty_s_t002,
id TYPE string,
count TYPE string,
- table type string,
+ table TYPE string,
class TYPE string,
END OF ty_s_t002.
TYPES ty_t_t002 TYPE STANDARD TABLE OF ty_s_t002 WITH DEFAULT KEY.
@@ -34,6 +34,7 @@ CLASS z2ui5_cl_demo_app_131 DEFINITION
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_131 IMPLEMENTATION.
METHOD on_event.
@@ -58,9 +59,9 @@ CLASS z2ui5_cl_demo_app_131 IMPLEMENTATION.
METHOD on_init.
- mt_t002 = VALUE #( ( id = '1' class = 'Z2UI5_CL_DEMO_APP_132' count = '12' )
- ( id = '2' class = 'Z2UI5_CL_DEMO_APP_132' count = '80' )
- ).
+ mt_t002 = VALUE #( class = 'Z2UI5_CL_DEMO_APP_132'
+ ( id = '1' count = '12' )
+ ( id = '2' count = '80' ) ).
mv_selectedkey = '1'.
@@ -81,7 +82,9 @@ CLASS z2ui5_cl_demo_app_131 IMPLEMENTATION.
)->items( ).
LOOP AT mt_t002 REFERENCE INTO DATA(line).
- lo_items->icon_tab_filter( text = line->class count = line->count key = line->id ).
+ lo_items->icon_tab_filter( text = line->class
+ count = line->count
+ key = line->id ).
lo_items->icon_tab_separator( ).
ENDLOOP.
@@ -107,7 +110,6 @@ CLASS z2ui5_cl_demo_app_131 IMPLEMENTATION.
METHOD render_sub_app.
-
READ TABLE mt_t002 REFERENCE INTO DATA(t002)
WITH KEY id = mv_selectedkey.
@@ -125,9 +127,8 @@ CLASS z2ui5_cl_demo_app_131 IMPLEMENTATION.
TRY.
CALL METHOD mo_app->('SET_APP_DATA')
- EXPORTING
- count = t002->count
- table = t002->table.
+ EXPORTING count = t002->count
+ table = t002->table.
render_main( ).
@@ -137,8 +138,7 @@ CLASS z2ui5_cl_demo_app_131 IMPLEMENTATION.
ENDIF.
CALL METHOD mo_app->('Z2UI5_IF_APP~MAIN')
- EXPORTING
- client = client.
+ EXPORTING client = client.
CATCH cx_root.
RETURN.
diff --git a/src/z2ui5_cl_demo_app_132.clas.abap b/src/z2ui5_cl_demo_app_132.clas.abap
index 86dca7a7..03325715 100644
--- a/src/z2ui5_cl_demo_app_132.clas.abap
+++ b/src/z2ui5_cl_demo_app_132.clas.abap
@@ -10,8 +10,9 @@ CLASS z2ui5_cl_demo_app_132 DEFINITION
DATA mv_perc TYPE string.
METHODS set_app_data
- IMPORTING !count TYPE string
- !table TYPE string.
+ IMPORTING
+ count TYPE string
+ table TYPE string.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
@@ -24,9 +25,11 @@ CLASS z2ui5_cl_demo_app_132 DEFINITION
PRIVATE SECTION.
METHODS get_comp
- RETURNING VALUE(result) TYPE abap_component_tab.
+ RETURNING
+ VALUE(result) TYPE abap_component_tab.
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_132 IMPLEMENTATION.
METHOD get_comp.
diff --git a/src/z2ui5_cl_demo_app_133.clas.abap b/src/z2ui5_cl_demo_app_133.clas.abap
index 54503d43..045f39e4 100644
--- a/src/z2ui5_cl_demo_app_133.clas.abap
+++ b/src/z2ui5_cl_demo_app_133.clas.abap
@@ -1,47 +1,45 @@
CLASS z2ui5_cl_demo_app_133 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
- DATA field_01 TYPE string.
- DATA field_02 TYPE string.
- DATA focus_id TYPE string.
- DATA selstart TYPE string.
- DATA selend TYPE string.
- DATA update_focus TYPE abap_bool.
+ DATA field_01 TYPE string.
+ DATA field_02 TYPE string.
+ DATA focus_id TYPE string.
+ DATA selstart TYPE string.
+ DATA selend TYPE string.
+ DATA update_focus TYPE abap_bool.
PROTECTED SECTION.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS init
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_133 IMPLEMENTATION.
-
METHOD display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
client->view_display( view->shell(
- )->page(
- title = 'abap2UI5 - Focus'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->_z2ui5( )->focus(
- focusid = client->_bind_edit( focus_id )
- selectionstart = client->_bind_edit( selstart )
- selectionend = client->_bind_edit( selend )
- setupdate = client->_bind_edit( update_focus )
- )->simple_form( title = 'Focus & Cursor' editable = abap_true
+ )->page( title = 'abap2UI5 - Focus'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->_z2ui5( )->focus( focusid = client->_bind_edit( focus_id )
+ selectionstart = client->_bind_edit( selstart )
+ selectionend = client->_bind_edit( selend )
+ setupdate = client->_bind_edit( update_focus )
+ )->simple_form( title = 'Focus & Cursor'
+ editable = abap_true
)->content( 'form'
)->title( 'Input'
)->label( 'Sel_Start'
@@ -49,16 +47,19 @@ CLASS z2ui5_cl_demo_app_133 IMPLEMENTATION.
)->label( 'Sel_End'
)->input( value = client->_bind_edit( selend )
)->label( 'field_01'
- )->input( value = client->_bind_edit( field_01 ) id = 'BUTTON01'
- )->button( text = 'focus here' press = client->_event( val = 'BUTTON01' )
+ )->input( value = client->_bind_edit( field_01 )
+ id = 'BUTTON01'
+ )->button( text = 'focus here'
+ press = client->_event( val = 'BUTTON01' )
)->label( `field_02`
- )->input( value = client->_bind_edit( field_02 ) id = 'BUTTON02'
- )->button( text = 'focus here' press = client->_event( val = 'BUTTON02' )
+ )->input( value = client->_bind_edit( field_02 )
+ id = 'BUTTON02'
+ )->button( text = 'focus here'
+ press = client->_event( val = 'BUTTON02' )
)->stringify( ) ).
ENDMETHOD.
-
METHOD init.
field_01 = `this is a text`.
@@ -69,7 +70,6 @@ CLASS z2ui5_cl_demo_app_133 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -90,4 +90,5 @@ CLASS z2ui5_cl_demo_app_133 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_134.clas.abap b/src/z2ui5_cl_demo_app_134.clas.abap
index 8297d098..478c83df 100644
--- a/src/z2ui5_cl_demo_app_134.clas.abap
+++ b/src/z2ui5_cl_demo_app_134.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_134 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -11,19 +10,20 @@ CLASS z2ui5_cl_demo_app_134 DEFINITION PUBLIC.
descr TYPE string,
info TYPE string,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
- DATA mv_scrollupdate TYPE abap_bool.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+
+ DATA mv_scrollupdate TYPE abap_bool.
DATA check_initialized TYPE abap_bool.
- DATA field_01 TYPE string.
- DATA field_02 TYPE string.
- DATA focus_id TYPE string.
- DATA selstart TYPE string.
- DATA selend TYPE string.
- DATA update_focus TYPE abap_bool.
+ DATA field_01 TYPE string.
+ DATA field_02 TYPE string.
+ DATA focus_id TYPE string.
+ DATA selstart TYPE string.
+ DATA selend TYPE string.
+ DATA update_focus TYPE abap_bool.
- DATA mt_scroll TYPE z2ui5_if_types=>ty_t_name_value.
+ DATA mt_scroll TYPE z2ui5_if_types=>ty_t_name_value.
PROTECTED SECTION.
METHODS display_view
@@ -38,31 +38,32 @@ CLASS z2ui5_cl_demo_app_134 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_134 IMPLEMENTATION.
-
METHOD display_view.
- DATA(ls_row) = VALUE ty_row( title = 'Peter' value = 'red' info = 'completed' descr = 'this is a description' ).
+ DATA(ls_row) = VALUE ty_row( title = 'Peter'
+ value = 'red'
+ info = 'completed'
+ descr = 'this is a description' ).
DO 100 TIMES.
INSERT ls_row INTO TABLE t_tab.
ENDDO.
DATA(view) = z2ui5_cl_xml_view=>factory( )->shell( ).
- DATA(page) = view->page(
- id = 'id_page'
- title = 'abap2ui5 - Scrolling (use Chrome to avoid incompatibilities)'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ DATA(page) = view->page( id = 'id_page'
+ title = 'abap2ui5 - Scrolling (use Chrome to avoid incompatibilities)'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
).
- page->_z2ui5( )->scrolling(
- setupdate = client->_bind_edit( mv_scrollupdate )
- items = client->_bind_edit( mt_scroll )
+ page->_z2ui5( )->scrolling( setupdate = client->_bind_edit( mv_scrollupdate )
+ items = client->_bind_edit( mt_scroll )
).
- DATA(tab) = page->table( sticky = 'ColumnHeaders,HeaderToolbar' headertext = 'Table with some entries' items = client->_bind( t_tab ) ).
+ DATA(tab) = page->table( sticky = 'ColumnHeaders,HeaderToolbar'
+ headertext = 'Table with some entries'
+ items = client->_bind( t_tab ) ).
tab->columns(
)->column( )->text( 'Title' )->get_parent(
@@ -77,17 +78,20 @@ CLASS z2ui5_cl_demo_app_134 IMPLEMENTATION.
)->text( '{DESCR}' ).
page->footer( )->overflow_toolbar(
- )->button( text = 'Scroll Top' press = client->_event( 'BUTTON_SCROLL_TOP' )
- )->button( text = 'Scroll 500 up' press = client->_event( 'BUTTON_SCROLL_UP' )
- )->button( text = 'Scroll 500 down' press = client->_event( 'BUTTON_SCROLL_DOWN' )
- )->button( text = 'Scroll Bottom' press = client->_event( 'BUTTON_SCROLL_BOTTOM' )
+ )->button( text = 'Scroll Top'
+ press = client->_event( 'BUTTON_SCROLL_TOP' )
+ )->button( text = 'Scroll 500 up'
+ press = client->_event( 'BUTTON_SCROLL_UP' )
+ )->button( text = 'Scroll 500 down'
+ press = client->_event( 'BUTTON_SCROLL_DOWN' )
+ )->button( text = 'Scroll Bottom'
+ press = client->_event( 'BUTTON_SCROLL_BOTTOM' )
).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD init.
field_01 = `this is a text`.
@@ -100,7 +104,6 @@ CLASS z2ui5_cl_demo_app_134 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -116,7 +119,8 @@ CLASS z2ui5_cl_demo_app_134 IMPLEMENTATION.
WHEN 'BUTTON_SCROLL_TOP'.
CLEAR mt_scroll.
- INSERT VALUE #( n = 'id_page' v = '0' ) INTO TABLE mt_scroll.
+ INSERT VALUE #( n = 'id_page'
+ v = '0' ) INTO TABLE mt_scroll.
mv_scrollupdate = abap_true.
client->view_model_update( ).
@@ -144,11 +148,13 @@ CLASS z2ui5_cl_demo_app_134 IMPLEMENTATION.
WHEN 'BUTTON_SCROLL_BOTTOM'.
CLEAR mt_scroll.
- INSERT VALUE #( n = 'id_page' v = '99999' ) INTO TABLE mt_scroll.
+ INSERT VALUE #( n = 'id_page'
+ v = '99999' ) INTO TABLE mt_scroll.
mv_scrollupdate = abap_true.
client->view_model_update( ).
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_135.clas.abap b/src/z2ui5_cl_demo_app_135.clas.abap
index 212e6b54..e2f817bf 100644
--- a/src/z2ui5_cl_demo_app_135.clas.abap
+++ b/src/z2ui5_cl_demo_app_135.clas.abap
@@ -1,17 +1,16 @@
CLASS z2ui5_cl_demo_app_135 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES if_serializable_object .
- INTERFACES z2ui5_if_app .
-
- DATA lock_counter TYPE i READ-ONLY .
- DATA check_initialized TYPE abap_bool READ-ONLY .
- DATA session_is_stateful TYPE abap_bool READ-ONLY .
- DATA session_text TYPE string READ-ONLY .
- DATA lock_text TYPE string READ-ONLY .
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
+
+ DATA lock_counter TYPE i READ-ONLY.
+ DATA check_initialized TYPE abap_bool READ-ONLY.
+ DATA session_is_stateful TYPE abap_bool READ-ONLY.
+ DATA session_text TYPE string READ-ONLY.
+ DATA lock_text TYPE string READ-ONLY.
DATA:
BEGIN OF error READ-ONLY,
text TYPE string,
@@ -19,8 +18,8 @@ CLASS z2ui5_cl_demo_app_135 DEFINITION
END OF error.
PROTECTED SECTION.
- PRIVATE SECTION.
+ PRIVATE SECTION.
METHODS initialize_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -39,23 +38,22 @@ CLASS z2ui5_cl_demo_app_135 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_135 IMPLEMENTATION.
METHOD initialize_view.
- set_session_stateful( client = client stateful = abap_true ).
+ set_session_stateful( client = client
+ stateful = abap_true ).
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell( )->page(
- title = `abap2UI5 - Sample: Sticky Session with locks - (ABAP Standard Only)`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ title = `abap2UI5 - Sample: Sticky Session with locks - (ABAP Standard Only)`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- page->message_strip(
- text = client->_bind( error-text )
- type = 'Error'
- visible = client->_bind( error-flag ) ).
+ page->message_strip( text = client->_bind( error-text )
+ type = 'Error'
+ visible = client->_bind( error-flag ) ).
DATA(vbox) = page->vbox( ).
@@ -63,60 +61,58 @@ CLASS z2ui5_cl_demo_app_135 IMPLEMENTATION.
hbox->info_label( text = client->_bind( session_text ) ).
- hbox->button(
- text = 'End session'
- press = client->_event( 'END_SESSION' ) ).
+ hbox->button( text = 'End session'
+ press = client->_event( 'END_SESSION' ) ).
- hbox->button(
- text = 'Start session again'
- press = client->_event( 'START_SESSION' ) ).
+ hbox->button( text = 'Start session again'
+ press = client->_event( 'START_SESSION' ) ).
hbox = vbox->hbox( alignitems = 'Center' ).
- hbox->label( text = 'press button to create lock entry (SM12) in backend session' class = 'sapUiTinyMarginEnd' ).
- hbox->button(
- text = 'Lock'
- press = client->_event( 'LOCK' )
- type = 'Emphasized' ).
+ hbox->label( text = 'press button to create lock entry (SM12) in backend session'
+ class = 'sapUiTinyMarginEnd' ).
+ hbox->button( text = 'Lock'
+ press = client->_event( 'LOCK' )
+ type = 'Emphasized' ).
hbox = vbox->hbox( ).
- hbox->button(
- text = 'Refresh lock counter'
- press = client->_event( 'REFRESH' ) ).
+ hbox->button( text = 'Refresh lock counter'
+ press = client->_event( 'REFRESH' ) ).
- hbox->button(
- text = 'Rollback Work'
- press = client->_event( 'ROLLBACK' ) ).
+ hbox->button( text = 'Rollback Work'
+ press = client->_event( 'ROLLBACK' ) ).
vbox->hbox( )->info_label( client->_bind( lock_text ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
- set_session_stateful( client = client stateful = abap_false ).
+ set_session_stateful( client = client
+ stateful = abap_false ).
client->nav_app_leave( ).
WHEN 'LOCK'.
lcl_locking=>acquire_lock( ).
client->message_toast_display( `Lock acquired. Press 'Refresh lock counter'` ).
client->view_model_update( ).
WHEN 'END_SESSION'.
- set_session_stateful( client = client stateful = abap_false ).
+ set_session_stateful( client = client
+ stateful = abap_false ).
WHEN 'START_SESSION'.
- set_session_stateful( client = client stateful = abap_true ).
+ set_session_stateful( client = client
+ stateful = abap_true ).
WHEN 'REFRESH'.
update_lock_counter( ).
client->view_model_update( ).
WHEN 'ROLLBACK'.
ROLLBACK WORK.
- client->message_toast_display( |ROLLBACK WORK done, { lock_counter } locks released. Press 'Refresh lock counter'| ).
+ client->message_toast_display(
+ |ROLLBACK WORK done, { lock_counter } locks released. Press 'Refresh lock counter'| ).
ENDCASE.
ENDMETHOD.
-
METHOD set_session_stateful.
client->set_session_stateful( stateful ).
session_is_stateful = stateful.
@@ -128,7 +124,6 @@ CLASS z2ui5_cl_demo_app_135 IMPLEMENTATION.
client->view_model_update( ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
TRY.
@@ -153,7 +148,6 @@ CLASS z2ui5_cl_demo_app_135 IMPLEMENTATION.
ENDTRY.
ENDMETHOD.
-
METHOD update_lock_counter.
lock_counter = lcl_locking=>get_lock_counter( ).
diff --git a/src/z2ui5_cl_demo_app_135.clas.locals_imp.abap b/src/z2ui5_cl_demo_app_135.clas.locals_imp.abap
index 8c10043b..2a2f0f3c 100644
--- a/src/z2ui5_cl_demo_app_135.clas.locals_imp.abap
+++ b/src/z2ui5_cl_demo_app_135.clas.locals_imp.abap
@@ -1,30 +1,29 @@
-CLASS lcl_locking DEFINITION CREATE PRIVATE FINAL.
+CLASS lcl_locking DEFINITION FINAL CREATE PRIVATE.
PUBLIC SECTION.
-
TYPES:
BEGIN OF ty_seqg3,
- gname TYPE c LENGTH 30, " Elementary Lock of Lock Entry (Table Name)
- garg TYPE c LENGTH 150, " Argument String (=Key Fields) of Lock Entry
- gmode TYPE c LENGTH 1, " Lock Mode (Shared/Exclusive) of a Lock Entry
- gusr TYPE c LENGTH 58, " Lock Owner, ID of Logical Unit of Work (LUW)
- gusrvb TYPE c LENGTH 58, " Lock Owner, ID of Logical Unit of Work (LUW) / Update Task
- guse TYPE int4, " Cumulative Counter for Lock Entry / Dialog
- gusevb TYPE int4, " Cumulative Counter for Lock Entry / Update Task
- gobj TYPE c LENGTH 16, " Name of Lock Object in the Lock Entry
- gclient TYPE c LENGTH 3, " Client in the lock entry
- guname TYPE c LENGTH 12, " User name in lock entry
- gtarg TYPE c LENGTH 50, " Argument String of Lock Entry (Table Key Fields)
- gtcode TYPE c LENGTH 20, " Transaction Code in the Lock Entry
- gbcktype TYPE c LENGTH 1, " Backup flag for lock entry
- gthost TYPE c LENGTH 32, " Host Name in the Lock Owner ID
- gtwp TYPE n LENGTH 2, " Work Process Number in Lock Owner ID
- gtsysnr TYPE n LENGTH 2, " SAP System Number in Lock Owner ID
- gtdate TYPE d, " Date within lock owner ID
- gttime TYPE t, " Time in Lock Owner ID
- gtusec TYPE n LENGTH 6, " Time/Microseconds Share in Lock Owner ID
- gtmark TYPE c LENGTH 1, " Selection Indicator of Lock Entry
- gusetxt TYPE n LENGTH 10, " Cumulative Counter for Lock Entry
- gusevbt TYPE n LENGTH 10, " Cumulative Counter for Lock Entry / Update Task
+ gname TYPE c LENGTH 30, " Elementary Lock of Lock Entry (Table Name)
+ garg TYPE c LENGTH 150, " Argument String (=Key Fields) of Lock Entry
+ gmode TYPE c LENGTH 1, " Lock Mode (Shared/Exclusive) of a Lock Entry
+ gusr TYPE c LENGTH 58, " Lock Owner, ID of Logical Unit of Work (LUW)
+ gusrvb TYPE c LENGTH 58, " Lock Owner, ID of Logical Unit of Work (LUW) / Update Task
+ guse TYPE int4, " Cumulative Counter for Lock Entry / Dialog
+ gusevb TYPE int4, " Cumulative Counter for Lock Entry / Update Task
+ gobj TYPE c LENGTH 16, " Name of Lock Object in the Lock Entry
+ gclient TYPE c LENGTH 3, " Client in the lock entry
+ guname TYPE c LENGTH 12, " User name in lock entry
+ gtarg TYPE c LENGTH 50, " Argument String of Lock Entry (Table Key Fields)
+ gtcode TYPE c LENGTH 20, " Transaction Code in the Lock Entry
+ gbcktype TYPE c LENGTH 1, " Backup flag for lock entry
+ gthost TYPE c LENGTH 32, " Host Name in the Lock Owner ID
+ gtwp TYPE n LENGTH 2, " Work Process Number in Lock Owner ID
+ gtsysnr TYPE n LENGTH 2, " SAP System Number in Lock Owner ID
+ gtdate TYPE d, " Date within lock owner ID
+ gttime TYPE t, " Time in Lock Owner ID
+ gtusec TYPE n LENGTH 6, " Time/Microseconds Share in Lock Owner ID
+ gtmark TYPE c LENGTH 1, " Selection Indicator of Lock Entry
+ gusetxt TYPE n LENGTH 10, " Cumulative Counter for Lock Entry
+ gusevbt TYPE n LENGTH 10, " Cumulative Counter for Lock Entry / Update Task
END OF ty_seqg3.
CLASS-METHODS acquire_lock.
@@ -34,50 +33,49 @@ CLASS lcl_locking DEFINITION CREATE PRIVATE FINAL.
VALUE(result) TYPE i.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
+
CLASS lcl_locking IMPLEMENTATION.
METHOD acquire_lock.
DATA(lv_fm) = 'ENQUEUE_E_TABLE'.
CALL FUNCTION lv_fm
- EXPORTING
- tabname = 'ZTEST'
- varkey = 'Z100'
- EXCEPTIONS
- foreign_lock = 1
- system_failure = 2
- OTHERS = 3.
+ EXPORTING tabname = 'ZTEST'
+ varkey = 'Z100'
+ EXCEPTIONS foreign_lock = 1
+ system_failure = 2
+ OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO DATA(error_text).
- RAISE EXCEPTION TYPE z2ui5_cx_util_error EXPORTING val = error_text.
+ RAISE EXCEPTION TYPE z2ui5_cx_util_error
+ EXPORTING val = error_text.
ENDIF.
ENDMETHOD.
-
METHOD get_lock_counter.
- DATA: enqueue_table TYPE STANDARD TABLE OF ty_seqg3.
+ DATA enqueue_table TYPE STANDARD TABLE OF ty_seqg3.
+
+ DATA argument TYPE c LENGTH 150.
- DATA argument TYPE c LENGTH 150.
argument = |ZTEST Z100*|.
DATA(lv_fm) = 'ENQUEUE_READ'.
CALL FUNCTION lv_fm
- EXPORTING
- garg = argument
- guname = sy-uname
- TABLES
- enq = enqueue_table
- EXCEPTIONS
- communication_failure = 1
- system_failure = 2
- OTHERS = 3.
+ EXPORTING garg = argument
+ guname = sy-uname
+ TABLES enq = enqueue_table
+ EXCEPTIONS communication_failure = 1
+ system_failure = 2
+ OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO DATA(error_text).
- RAISE EXCEPTION TYPE z2ui5_cx_util_error EXPORTING val = error_text.
+ RAISE EXCEPTION TYPE z2ui5_cx_util_error
+ EXPORTING val = error_text.
ENDIF.
result = VALUE #( enqueue_table[ 1 ]-gusevb OPTIONAL ).
diff --git a/src/z2ui5_cl_demo_app_136.clas.abap b/src/z2ui5_cl_demo_app_136.clas.abap
index e735e5f3..993771b0 100644
--- a/src/z2ui5_cl_demo_app_136.clas.abap
+++ b/src/z2ui5_cl_demo_app_136.clas.abap
@@ -1,18 +1,16 @@
CLASS z2ui5_cl_demo_app_136 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA mv_path TYPE string.
- DATA mv_value TYPE string.
- DATA mr_table TYPE REF TO data.
- DATA mv_check_edit TYPE abap_bool.
+ DATA mv_path TYPE string.
+ DATA mv_value TYPE string.
+ DATA mr_table TYPE REF TO data.
+ DATA mv_check_edit TYPE abap_bool.
DATA mv_check_download TYPE abap_bool.
PROTECTED SECTION.
-
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS ui5_on_event.
@@ -25,10 +23,8 @@ CLASS z2ui5_cl_demo_app_136 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_136 IMPLEMENTATION.
-
METHOD ui5_on_event.
TRY.
@@ -59,12 +55,12 @@ CLASS z2ui5_cl_demo_app_136 IMPLEMENTATION.
ENDCASE.
CATCH cx_root INTO DATA(x).
- client->message_box_display( text = x->get_text( ) type = `error` ).
+ client->message_box_display( text = x->get_text( )
+ type = `error` ).
ENDTRY.
ENDMETHOD.
-
METHOD ui5_view_init_display.
ui5_view_main_display( ).
@@ -80,14 +76,13 @@ CLASS z2ui5_cl_demo_app_136 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_view_main_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell( )->page(
- title = 'abap2UI5 - CSV to ABAP internal Table'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = 'abap2UI5 - CSV to ABAP internal Table'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
IF mr_table IS NOT INITIAL.
@@ -96,14 +91,15 @@ CLASS z2ui5_cl_demo_app_136 IMPLEMENTATION.
ASSIGN mr_table->* TO .
DATA(tab) = page->table(
- items = COND #( WHEN mv_check_edit = abap_true THEN client->_bind_edit( ) ELSE client->_bind_edit( ) )
+ items = COND #( WHEN mv_check_edit = abap_true
+ THEN client->_bind_edit( )
+ ELSE client->_bind_edit( ) )
)->header_toolbar(
)->overflow_toolbar(
)->title( 'CSV Content'
)->toolbar_spacer(
)->get_parent( )->get_parent( ).
-
DATA(lr_fields) = z2ui5_cl_util=>rtti_get_t_attri_by_any( ).
DATA(lo_cols) = tab->columns( ).
LOOP AT lr_fields REFERENCE INTO DATA(lr_col).
@@ -111,23 +107,21 @@ CLASS z2ui5_cl_demo_app_136 IMPLEMENTATION.
ENDLOOP.
DATA(lo_cells) = tab->items( )->column_list_item( )->cells( ).
LOOP AT lr_fields REFERENCE INTO lr_col.
- lo_cells->text( `{` && lr_col->name && `}` ).
+ lo_cells->text( |\{{ lr_col->name }\}| ).
ENDLOOP.
ENDIF.
DATA(footer) = page->footer( )->overflow_toolbar( ).
- footer->_z2ui5( )->file_uploader(
- value = client->_bind_edit( mv_value )
- path = client->_bind_edit( mv_path )
- placeholder = 'filepath here...'
- upload = client->_event( 'UPLOAD' ) ).
+ footer->_z2ui5( )->file_uploader( value = client->_bind_edit( mv_value )
+ path = client->_bind_edit( mv_path )
+ placeholder = 'filepath here...'
+ upload = client->_event( 'UPLOAD' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -145,4 +139,5 @@ CLASS z2ui5_cl_demo_app_136 IMPLEMENTATION.
ui5_on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_137.clas.abap b/src/z2ui5_cl_demo_app_137.clas.abap
index b28a798b..1bd86830 100644
--- a/src/z2ui5_cl_demo_app_137.clas.abap
+++ b/src/z2ui5_cl_demo_app_137.clas.abap
@@ -4,14 +4,15 @@ CLASS z2ui5_cl_demo_app_137 DEFINITION
PUBLIC SECTION.
INTERFACES z2ui5_if_app.
- DATA instance_counter TYPE i READ-ONLY.
- DATA check_initialized TYPE abap_bool READ-ONLY.
+
+ DATA instance_counter TYPE i READ-ONLY.
+ DATA check_initialized TYPE abap_bool READ-ONLY.
DATA session_is_stateful TYPE abap_bool READ-ONLY.
- DATA session_text TYPE string READ-ONLY.
+ DATA session_text TYPE string READ-ONLY.
PROTECTED SECTION.
- PRIVATE SECTION.
+ PRIVATE SECTION.
METHODS initialize_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -27,6 +28,7 @@ CLASS z2ui5_cl_demo_app_137 DEFINITION
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_137 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
@@ -45,33 +47,32 @@ CLASS z2ui5_cl_demo_app_137 IMPLEMENTATION.
ENDMETHOD.
METHOD initialize_view.
- set_session_stateful( client = client stateful = abap_true ).
+ set_session_stateful( client = client
+ stateful = abap_true ).
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell( )->page(
- title = `abap2UI5 - Sample: Sticky Session`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ title = `abap2UI5 - Sample: Sticky Session`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
DATA(vbox) = page->vbox( ).
vbox->info_label( text = client->_bind( session_text ) ).
DATA(hbox) = vbox->hbox( alignitems = 'Center' ).
- hbox->label( text = 'press button to increment counter in backend session' class = 'sapUiTinyMarginEnd' ).
- hbox->button(
- text = client->_bind( instance_counter )
- press = client->_event( 'INCREMENT' )
- type = 'Emphasized' ).
+ hbox->label( text = 'press button to increment counter in backend session'
+ class = 'sapUiTinyMarginEnd' ).
+ hbox->button( text = client->_bind( instance_counter )
+ press = client->_event( 'INCREMENT' )
+ type = 'Emphasized' ).
hbox = vbox->hbox( ).
- hbox->button(
- text = 'End session'
- press = client->_event( 'END_SESSION' ) ).
+ hbox->button( text = 'End session'
+ press = client->_event( 'END_SESSION' ) ).
- hbox->button(
- text = 'Start session again'
- press = client->_event( 'START_SESSION' ) ).
+ hbox->button( text = 'Start session again'
+ press = client->_event( 'START_SESSION' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
@@ -79,15 +80,18 @@ CLASS z2ui5_cl_demo_app_137 IMPLEMENTATION.
METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
- set_session_stateful( client = client stateful = abap_false ).
+ set_session_stateful( client = client
+ stateful = abap_false ).
client->nav_app_leave( ).
WHEN 'INCREMENT'.
instance_counter = lcl_static_container=>increment( ).
client->view_model_update( ).
WHEN 'END_SESSION'.
- set_session_stateful( client = client stateful = abap_false ).
+ set_session_stateful( client = client
+ stateful = abap_false ).
WHEN 'START_SESSION'.
- set_session_stateful( client = client stateful = abap_true ).
+ set_session_stateful( client = client
+ stateful = abap_true ).
ENDCASE.
ENDMETHOD.
@@ -101,4 +105,5 @@ CLASS z2ui5_cl_demo_app_137 IMPLEMENTATION.
ENDIF.
client->view_model_update( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_137.clas.locals_imp.abap b/src/z2ui5_cl_demo_app_137.clas.locals_imp.abap
index ba8345e0..14daa52f 100644
--- a/src/z2ui5_cl_demo_app_137.clas.locals_imp.abap
+++ b/src/z2ui5_cl_demo_app_137.clas.locals_imp.abap
@@ -1,16 +1,22 @@
-CLASS lcl_static_container DEFINITION CREATE PRIVATE FINAL.
+CLASS lcl_static_container DEFINITION FINAL CREATE PRIVATE.
PUBLIC SECTION.
CLASS-DATA counter TYPE i READ-ONLY.
+
CLASS-METHODS increment
RETURNING
VALUE(result) TYPE i.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
+
CLASS lcl_static_container IMPLEMENTATION.
+
METHOD increment.
counter = counter + 1.
result = counter.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_138.clas.abap b/src/z2ui5_cl_demo_app_138.clas.abap
index 810939b6..3d3d1d9b 100644
--- a/src/z2ui5_cl_demo_app_138.clas.abap
+++ b/src/z2ui5_cl_demo_app_138.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_138 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA:
@@ -28,43 +27,42 @@ CLASS z2ui5_cl_demo_app_138 DEFINITION PUBLIC.
END OF ms_data.
* DATA product TYPE string.
- DATA quantity TYPE string.
+ DATA quantity TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_138 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
- ms_data-ms_data2-ms_data2-ms_data2-ms_data2-ms_data2-ms_data2-val = 'tomato'.
+ ms_data-ms_data2-ms_data2-ms_data2-ms_data2-ms_data2-ms_data2-val = 'tomato'.
quantity = '500'.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- client->view_display( view->shell(
- )->page(
- title = 'abap2UI5 - First Example'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Form Title' editable = abap_true
- )->content( 'form'
- )->title( 'Input'
- )->label( 'quantity'
- )->input( client->_bind_edit( quantity )
- )->label( `product`
- )->input( client->_bind_edit( ms_data-ms_data2-ms_data2-ms_data2-ms_data2-ms_data2-ms_data2-val )
- )->button(
- text = 'post'
- press = client->_event( val = 'BUTTON_POST' )
- )->stringify( ) ).
+ client->view_display(
+ view->shell(
+)->page( title = 'abap2UI5 - First Example'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+)->simple_form( title = 'Form Title'
+ editable = abap_true
+ )->content( 'form'
+ )->title( 'Input'
+ )->label( 'quantity'
+ )->input( client->_bind_edit( quantity )
+ )->label( `product`
+ )->input( client->_bind_edit( ms_data-ms_data2-ms_data2-ms_data2-ms_data2-ms_data2-ms_data2-val )
+ )->button( text = 'post'
+ press = client->_event( val = 'BUTTON_POST' )
+)->stringify( ) ).
ENDIF.
@@ -79,4 +77,5 @@ CLASS z2ui5_cl_demo_app_138 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_139.clas.abap b/src/z2ui5_cl_demo_app_139.clas.abap
index 94add6c4..ae6d3a80 100644
--- a/src/z2ui5_cl_demo_app_139.clas.abap
+++ b/src/z2ui5_cl_demo_app_139.clas.abap
@@ -1,30 +1,29 @@
CLASS z2ui5_cl_demo_app_139 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA search TYPE string.
+ DATA search TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
+
METHODS display_view.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_139 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
me->client = client.
IF check_initialized = abap_false.
check_initialized = abap_true.
- search = client->get( )-s_config-search && `my_search_string`.
+ search = |{ client->get( )-s_config-search }my_search_string|.
display_view( ).
ENDIF.
@@ -48,11 +47,11 @@ CLASS z2ui5_cl_demo_app_139 IMPLEMENTATION.
DATA(tmp) = view->_z2ui5( )->history( client->_bind_edit( search )
)->shell(
- )->page(
- title = 'abap2UI5 - Change URL History'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Form Title' editable = abap_true
+ )->page( title = 'abap2UI5 - Change URL History'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->simple_form( title = 'Form Title'
+ editable = abap_true
)->content( 'form'
)->title( 'Input'
)->label( 'search'
diff --git a/src/z2ui5_cl_demo_app_140.clas.abap b/src/z2ui5_cl_demo_app_140.clas.abap
index 54ac8daf..2eef2485 100644
--- a/src/z2ui5_cl_demo_app_140.clas.abap
+++ b/src/z2ui5_cl_demo_app_140.clas.abap
@@ -1,37 +1,35 @@
CLASS z2ui5_cl_demo_app_140 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF s_combobox,
key TYPE string,
text TYPE string,
- END OF s_combobox .
- TYPES:
- ty_t_combo TYPE STANDARD TABLE OF s_combobox WITH EMPTY KEY .
-
- DATA client TYPE REF TO z2ui5_if_client .
- DATA check_initialized TYPE abap_bool .
- DATA: gt_multi TYPE ty_t_combo.
- DATA: gt_sel_multi TYPE ty_t_combo.
- DATA: gt_sel_multi2 TYPE string_table.
- METHODS ui5_on_init .
- METHODS ui5_on_event .
- METHODS ui5_view_main_display .
+ END OF s_combobox.
+ TYPES ty_t_combo TYPE STANDARD TABLE OF s_combobox WITH EMPTY KEY.
+
+ DATA client TYPE REF TO z2ui5_if_client.
+ DATA check_initialized TYPE abap_bool.
+ DATA gt_multi TYPE ty_t_combo.
+ DATA gt_sel_multi TYPE ty_t_combo.
+ DATA gt_sel_multi2 TYPE string_table.
+
+ METHODS ui5_on_init.
+ METHODS ui5_on_event.
+ METHODS ui5_view_main_display.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_140 IMPLEMENTATION.
-
* ---------------------------------------------------------------------------------------+
* | Instance Public Method ZCL_DEMO_MULTICOMBOBOX_UI5->UI5_ON_EVENT
* +-------------------------------------------------------------------------------------------------+
@@ -46,31 +44,29 @@ CLASS z2ui5_cl_demo_app_140 IMPLEMENTATION.
client->view_model_update( ).
ENDCASE.
CATCH cx_root INTO DATA(x).
- client->message_box_display( text = x->get_text( ) type = `error` ).
+ client->message_box_display( text = x->get_text( )
+ type = `error` ).
ENDTRY.
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Public Method ZCL_DEMO_MULTICOMBOBOX_UI5->UI5_ON_INIT
* +-------------------------------------------------------------------------------------------------+
* +--------------------------------------------------------------------------------------
METHOD ui5_on_init.
- gt_multi = VALUE ty_t_combo(
- ( key = 'A01' text = 'T1' )
- ( key = 'A02' text = 'T2' )
- ( key = 'A03' text = 'T3' )
- ( key = 'A04' text = 'T4' )
- ( key = 'A05' text = 'T5' )
+ gt_multi = VALUE ty_t_combo( ( key = 'A01' text = 'T1' )
+ ( key = 'A02' text = 'T2' )
+ ( key = 'A03' text = 'T3' )
+ ( key = 'A04' text = 'T4' )
+ ( key = 'A05' text = 'T5' )
).
- gt_sel_multi2 = value #( ( `A01` ) ).
+ gt_sel_multi2 = VALUE #( ( `A01` ) ).
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Public Method ZCL_DEMO_MULTICOMBOBOX_UI5->UI5_VIEW_MAIN_DISPLAY
* +-------------------------------------------------------------------------------------------------+
@@ -80,31 +76,28 @@ CLASS z2ui5_cl_demo_app_140 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Multi Combo Box'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->simple_form( title = 'Form Title' editable = abap_true
+ )->page( title = 'abap2UI5 - Multi Combo Box'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->simple_form( title = 'Form Title'
+ editable = abap_true
)->content( 'form'
)->multi_combobox(
-* name = 'Multi'
- name = 'MultiComboBox'
- selectedkeys = client->_bind_edit( gt_sel_multi2 )
-* selecteditems = client->_bind_edit( gt_sel_multi )
- items = client->_bind_edit( val = gt_multi )
- )->item(
- key = '{KEY}'
- text = '{TEXT}'
+* name = 'Multi'
+ name = 'MultiComboBox'
+ selectedkeys = client->_bind_edit( gt_sel_multi2 )
+* selecteditems = client->_bind_edit( gt_sel_multi )
+ items = client->_bind_edit( val = gt_multi )
+ )->item( key = '{KEY}'
+ text = '{TEXT}'
)->get_parent(
- )->button(
- text = 'post'
- press = client->_event( val = 'BUTTON_POST' ) ).
+ )->button( text = 'post'
+ press = client->_event( val = 'BUTTON_POST' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Public Method ZCL_DEMO_MULTICOMBOBOX_UI5->Z2UI5_IF_APP~MAIN
* +-------------------------------------------------------------------------------------------------+
@@ -121,5 +114,6 @@ CLASS z2ui5_cl_demo_app_140 IMPLEMENTATION.
ui5_view_main_display( ).
ui5_on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_141.clas.abap b/src/z2ui5_cl_demo_app_141.clas.abap
index 7a516b46..6612584a 100644
--- a/src/z2ui5_cl_demo_app_141.clas.abap
+++ b/src/z2ui5_cl_demo_app_141.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_141 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -15,9 +14,9 @@ CLASS z2ui5_cl_demo_app_141 DEFINITION PUBLIC.
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
- DATA mv_textarea TYPE string.
+ DATA mv_textarea TYPE string.
DATA mv_stretch_active TYPE abap_bool.
DATA:
@@ -28,25 +27,23 @@ CLASS z2ui5_cl_demo_app_141 DEFINITION PUBLIC.
combo_key TYPE string,
END OF ms_popup_input.
- DATA t_bapiret TYPE bapirettab.
+ DATA t_bapiret TYPE bapirettab.
DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
METHODS ui5_view_display.
METHODS ui5_popup_input.
METHODS ui5_handle_event.
METHODS ui5_init.
-
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_141 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_141 IMPLEMENTATION.
METHOD ui5_handle_event.
@@ -63,99 +60,91 @@ CLASS Z2UI5_CL_DEMO_APP_141 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_init.
t_bapiret = VALUE #(
- ( message = 'An empty Report field causes an empty XML Message to be sent' type = 'E' id = 'MSG1' number = '001' )
- ( message = 'Check was executed for wrong Scenario' type = 'E' id = 'MSG1' number = '002' )
- ( message = 'Request was handled without errors' type = 'S' id = 'MSG1' number = '003' )
- ( message = 'product activated' type = 'S' id = 'MSG4' number = '375' )
- ( message = 'check the input values' type = 'W' id = 'MSG2' number = '375' )
- ( message = 'product already in use' type = 'I' id = 'MSG2' number = '375' )
+ ( message = 'An empty Report field causes an empty XML Message to be sent' type = 'E' id = 'MSG1' number = '001' )
+ ( message = 'Check was executed for wrong Scenario' type = 'E' id = 'MSG1' number = '002' )
+ ( message = 'Request was handled without errors' type = 'S' id = 'MSG1' number = '003' )
+ ( message = 'product activated' type = 'S' id = 'MSG4' number = '375' )
+ ( message = 'check the input values' type = 'W' id = 'MSG2' number = '375' )
+ ( message = 'product already in use' type = 'I' id = 'MSG2' number = '375' )
).
ENDMETHOD.
-
METHOD ui5_popup_input.
DATA(popup) = z2ui5_cl_xml_view=>factory_popup( ).
- DATA(dialog) = popup->dialog(
- contentheight = '500px'
- contentwidth = '500px'
- title = 'Title' ).
-
- dialog->content(
- )->simple_form(
- )->label( text = 'Input1' id = 'lbl1'
- )->input( client->_bind_edit( ms_popup_input-value1 )
- )->label( 'Input2'
- )->input( client->_bind_edit( ms_popup_input-value2 )
- )->label( 'Checkbox'
- )->checkbox(
- selected = client->_bind_edit( ms_popup_input-check_is_active )
- text = 'this is a checkbox'
- enabled = abap_true
- )->get_parent( )->get_parent(
- )->footer( )->overflow_toolbar(
- )->toolbar_spacer(
- )->button(
- text = 'Cancel'
- press = client->_event( 'BUTTON_TEXTAREA_CANCEL' )
- )->button(
- text = 'Confirm'
- press = client->_event_client( client->cs_event-popup_close )
- type = 'Emphasized' ).
-
- dialog->_generic( name = `HTML` ns = `core` t_prop = VALUE #( ( n = `content` v = `` )
- ( n = `preferDOM` v = `true` )
- ) )->get_parent( ).
+ DATA(dialog) = popup->dialog( contentheight = '500px'
+ contentwidth = '500px'
+ title = 'Title' ).
+
+ dialog->content(
+ )->simple_form(
+ )->label( text = 'Input1'
+ id = 'lbl1'
+ )->input( client->_bind_edit( ms_popup_input-value1 )
+ )->label( 'Input2'
+ )->input( client->_bind_edit( ms_popup_input-value2 )
+ )->label( 'Checkbox'
+ )->checkbox( selected = client->_bind_edit( ms_popup_input-check_is_active )
+ text = 'this is a checkbox'
+ enabled = abap_true
+ )->get_parent( )->get_parent(
+ )->footer( )->overflow_toolbar(
+ )->toolbar_spacer(
+ )->button( text = 'Cancel'
+ press = client->_event( 'BUTTON_TEXTAREA_CANCEL' )
+ )->button( text = 'Confirm'
+ press = client->_event_client( client->cs_event-popup_close )
+ type = 'Emphasized' ).
+
+ dialog->_generic( name = `HTML`
+ ns = `core`
+ t_prop = VALUE #( ( n = `content` v = `` )
+ ( n = `preferDOM` v = `true` )
+ ) )->get_parent( ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_view_display.
- DATA(css) = `` &&
- `.lbl-color { color: red !important; font-size: 30px !important; }`.
-
- DATA(script) = `` &&
- `sap.z2ui5.setBlackColor = function() {` && |\n| &&
- ` var lbl = sap.ui.getCore().byId('popupId--lbl1');` && |\n| &&
- ` lbl.setText('changed from js');` && |\n| &&
- ` lbl.addStyleClass('lbl-color');` && |\n| &&
- `};`.
+ DATA(css) = || &&
+ |.lbl-color \{ color: red !important; font-size: 30px !important; \}|.
+ DATA(script) = || &&
+ |sap.z2ui5.setBlackColor = function() \{| && |\n| &&
+ | var lbl = sap.ui.getCore().byId('popupId--lbl1');| && |\n| &&
+ | lbl.setText('changed from js');| && |\n| &&
+ | lbl.addStyleClass('lbl-color');| && |\n| &&
+ |\};|.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `style` ns = `html` )->_cc_plain_xml( css )->get_parent( ).
- view->_generic( name = `script` ns = `html` )->_cc_plain_xml( script )->get_parent( ).
+ view->_generic( name = `style`
+ ns = `html` )->_cc_plain_xml( css )->get_parent( ).
+ view->_generic( name = `script`
+ ns = `html` )->_cc_plain_xml( script )->get_parent( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Popups'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Popups'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(grid) = page->grid( 'L8 M12 S12' )->content( 'layout' ).
-
grid->simple_form( 'Inputs' )->content( 'form'
)->label( '01'
- )->button(
- text = 'Popup Get Input Values'
- press = client->_event( 'POPUP_TO_INPUT' ) ).
-
+ )->button( text = 'Popup Get Input Values'
+ press = client->_event( 'POPUP_TO_INPUT' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -171,4 +160,5 @@ CLASS Z2UI5_CL_DEMO_APP_141 IMPLEMENTATION.
ui5_handle_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_143.clas.abap b/src/z2ui5_cl_demo_app_143.clas.abap
index 01e94d08..2c04f8b8 100644
--- a/src/z2ui5_cl_demo_app_143.clas.abap
+++ b/src/z2ui5_cl_demo_app_143.clas.abap
@@ -1,59 +1,57 @@
CLASS z2ui5_cl_demo_app_143 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF t_data,
field1 TYPE string,
field2 TYPE string,
field3 TYPE string,
- END OF t_data .
- TYPES: ty_t_data TYPE STANDARD TABLE OF t_data WITH EMPTY KEY.
+ END OF t_data.
+ TYPES ty_t_data TYPE STANDARD TABLE OF t_data WITH EMPTY KEY.
+
+ DATA gt_data TYPE ty_t_data.
+ DATA client TYPE REF TO z2ui5_if_client.
+ DATA check_initialized TYPE abap_bool.
- DATA: gt_data TYPE ty_t_data.
- DATA client TYPE REF TO z2ui5_if_client .
- DATA check_initialized TYPE abap_bool .
+ METHODS ui5_on_init.
+ METHODS ui5_on_event.
+ METHODS ui5_view_main_display.
- METHODS ui5_on_init .
- METHODS ui5_on_event .
- METHODS ui5_view_main_display .
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_143 IMPLEMENTATION.
-
METHOD ui5_on_event.
TRY.
DATA(ok_code) = client->get( )-event.
CASE ok_code.
- WHEN 'ROW_ACTION_ITEM_ADD' .
+ WHEN 'ROW_ACTION_ITEM_ADD'.
client->message_toast_display( 'Something' ).
client->view_model_update( ).
ENDCASE.
CATCH cx_root INTO DATA(x).
- client->message_box_display( text = x->get_text( ) type = `error` ).
+ client->message_box_display( text = x->get_text( )
+ type = `error` ).
ENDTRY.
ENDMETHOD.
METHOD ui5_on_init.
- gt_data = VALUE ty_t_data(
- ( field1 = '21' field2 = 'T1' field3 = 'TEXT1' )
- ( field1 = '22' field2 = 'T1' field3 = 'TEXT1' )
- ( field1 = '23' field2 = 'T2' field3 = 'TEXT1' )
- ( field1 = '24' field2 = 'T2' field3 = 'TEXT2' )
- ( field1 = '25' field2 = 'T3' field3 = 'TEXT2' )
+ gt_data = VALUE ty_t_data( ( field1 = '21' field2 = 'T1' field3 = 'TEXT1' )
+ ( field1 = '22' field2 = 'T1' field3 = 'TEXT1' )
+ ( field1 = '23' field2 = 'T2' field3 = 'TEXT1' )
+ ( field1 = '24' field2 = 'T2' field3 = 'TEXT2' )
+ ( field1 = '25' field2 = 'T3' field3 = 'TEXT2' )
).
ENDMETHOD.
@@ -61,12 +59,13 @@ CLASS z2ui5_cl_demo_app_143 IMPLEMENTATION.
METHOD ui5_view_main_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page1) = view->page( id = `page_main`
- title = 'Table Filters Reset after view Update'
- class = 'sapUiContentPadding' ).
+ DATA(page1) = view->page( id = `page_main`
+ title = 'Table Filters Reset after view Update'
+ class = 'sapUiContentPadding' ).
- DATA(page) = page1->dynamic_page( headerexpanded = abap_true headerpinned = abap_true ).
- page1->_z2ui5( )->uitableext( tableid = `Table1` ).
+ DATA(page) = page1->dynamic_page( headerexpanded = abap_true
+ headerpinned = abap_true ).
+ page1->_z2ui5( )->uitableext( tableid = `Table1` ).
DATA(header_title) = page->title( ns = 'f' )->get( )->dynamic_page_title( ).
header_title->heading( ns = 'f' )->hbox( )->title( `Table` ).
@@ -75,39 +74,42 @@ CLASS z2ui5_cl_demo_app_143 IMPLEMENTATION.
DATA(cont) = page->content( ns = 'f' ).
-
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(tab) = cont->vbox(
- )->ui_table( rows = client->_bind( val = gt_data ) id = 'Table1'
- editable = abap_false
- alternaterowcolors = abap_true
- enablecellfilter = abap_true
- rowactioncount = '1'
- visiblerowcount = '7'
- enablegrouping = abap_false
- fixedcolumncount = '1'
- selectionmode = 'None'
+ )->ui_table( rows = client->_bind( val = gt_data )
+ id = 'Table1'
+ editable = abap_false
+ alternaterowcolors = abap_true
+ enablecellfilter = abap_true
+ rowactioncount = '1'
+ visiblerowcount = '7'
+ enablegrouping = abap_false
+ fixedcolumncount = '1'
+ selectionmode = 'None'
)->ui_columns(
- )->ui_column( sortproperty = 'FIELD1'
+ )->ui_column( sortproperty = 'FIELD1'
filterproperty = 'FIELD1'
- autoresizable = 'true'
+ autoresizable = 'true'
)->text( text = `Field1`
)->ui_template( )->text( text = `{FIELD1}`
)->get_parent( )->get_parent(
- )->ui_column( sortproperty = 'FIELD2'
+ )->ui_column( sortproperty = 'FIELD2'
filterproperty = 'FIELD2'
- autoresizable = 'true'
+ autoresizable = 'true'
)->text( text = `Field2`
)->ui_template( )->text( text = `{FIELD2}`
)->get_parent( )->get_parent(
- )->ui_column( sortproperty = 'FIELD3'
+ )->ui_column( sortproperty = 'FIELD3'
filterproperty = 'FIELD3'
- autoresizable = 'true'
+ autoresizable = 'true'
)->text( text = `Field3`
)->ui_template( )->text( text = `{FIELD3}`
)->get_parent( )->get_parent( )->get_parent(
)->ui_row_action_template( )->ui_row_action(
- )->ui_row_action_item( icon = 'sap-icon://add' text = 'Add'
- press = client->_event( val = 'ROW_ACTION_ITEM_ADD' t_arg = VALUE #( ( `${MATNR}` ) ) )
+ )->ui_row_action_item( icon = 'sap-icon://add'
+ text = 'Add'
+ press = client->_event( val = 'ROW_ACTION_ITEM_ADD'
+ t_arg = VALUE #( ( `${MATNR}` ) ) )
).
client->view_display( view->stringify( ) ).
@@ -124,5 +126,6 @@ CLASS z2ui5_cl_demo_app_143 IMPLEMENTATION.
ui5_view_main_display( ).
ui5_on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_144.clas.abap b/src/z2ui5_cl_demo_app_144.clas.abap
index 269bd531..2a6c94d5 100644
--- a/src/z2ui5_cl_demo_app_144.clas.abap
+++ b/src/z2ui5_cl_demo_app_144.clas.abap
@@ -1,51 +1,51 @@
CLASS z2ui5_cl_demo_app_144 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_row,
title TYPE string,
value TYPE string,
- END OF ty_row .
+ END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY .
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
+
METHODS set_view.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_144 IMPLEMENTATION.
-
METHOD set_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Binding Cell Level'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Binding Cell Level'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
-
LOOP AT t_tab REFERENCE INTO DATA(lr_row).
DATA(lv_tabix) = sy-tabix.
- page->input( value = client->_bind_edit( val = lr_row->title tab = t_tab tab_index = lv_tabix ) ).
- page->input( value = client->_bind_edit( val = lr_row->value tab = t_tab tab_index = lv_tabix ) ).
+ page->input( value = client->_bind_edit( val = lr_row->title
+ tab = t_tab
+ tab_index = lv_tabix ) ).
+ page->input( value = client->_bind_edit( val = lr_row->value
+ tab = t_tab
+ tab_index = lv_tabix ) ).
ENDLOOP.
- DATA(tab) = page->table(
- items = client->_bind_edit( t_tab )
- mode = 'MultiSelect'
+ DATA(tab) = page->table( items = client->_bind_edit( t_tab )
+ mode = 'MultiSelect'
)->header_toolbar(
)->overflow_toolbar(
)->title( 'title of the table'
@@ -58,16 +58,23 @@ CLASS z2ui5_cl_demo_app_144 IMPLEMENTATION.
)->input( value = '{TITLE}'
)->input( value = '{VALUE}' ).
- page->input( value = client->_bind_edit( val = t_tab[ 1 ]-title tab = t_tab tab_index = 1 ) ).
- page->input( value = client->_bind_edit( val = t_tab[ 1 ]-value tab = t_tab tab_index = 1 ) ).
- page->input( value = client->_bind_edit( val = t_tab[ 2 ]-title tab = t_tab tab_index = 2 ) ).
- page->input( value = client->_bind_edit( val = t_tab[ 2 ]-value tab = t_tab tab_index = 2 ) ).
+ page->input( value = client->_bind_edit( val = t_tab[ 1 ]-title
+ tab = t_tab
+ tab_index = 1 ) ).
+ page->input( value = client->_bind_edit( val = t_tab[ 1 ]-value
+ tab = t_tab
+ tab_index = 1 ) ).
+ page->input( value = client->_bind_edit( val = t_tab[ 2 ]-title
+ tab = t_tab
+ tab_index = 2 ) ).
+ page->input( value = client->_bind_edit( val = t_tab[ 2 ]-value
+ tab = t_tab
+ tab_index = 2 ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -77,10 +84,10 @@ CLASS z2ui5_cl_demo_app_144 IMPLEMENTATION.
DO 1 TIMES.
t_tab = VALUE #( BASE t_tab
- ( title = 'entry 01' value = 'red' )
- ( title = 'entry 02' value = 'blue' ) ).
+ ( title = 'entry 01' value = 'red' )
+ ( title = 'entry 02' value = 'blue' ) ).
ENDDO.
- set_view( ).
+ set_view( ).
ENDIF.
CASE client->get( )-event.
@@ -92,4 +99,5 @@ CLASS z2ui5_cl_demo_app_144 IMPLEMENTATION.
client->view_model_update( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_149.clas.abap b/src/z2ui5_cl_demo_app_149.clas.abap
index bce7fa41..da25550f 100644
--- a/src/z2ui5_cl_demo_app_149.clas.abap
+++ b/src/z2ui5_cl_demo_app_149.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_149 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -11,18 +10,18 @@ CLASS z2ui5_cl_demo_app_149 DEFINITION PUBLIC.
METHODS ui5_callback.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_149 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_149 IMPLEMENTATION.
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lo_dummy) = CAST z2ui5_cl_pop_to_inform( lo_prev ).
client->message_box_display( `callback after popup to inform` ).
CATCH cx_root.
@@ -30,33 +29,30 @@ CLASS Z2UI5_CL_DEMO_APP_149 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup HTML'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup HTML'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_event.
CASE client->get( )-event.
WHEN 'POPUP'.
- DATA(lo_app) = z2ui5_cl_pop_html=>factory( `HTML Links ` && |\n| &&
- `HTML links are defined with the a tag:
` && |\n| &&
- |\n| &&
- `This is a link ` ).
+ DATA(lo_app) = z2ui5_cl_pop_html=>factory(
+ |HTML Links | && |\n| &&
+ |HTML links are defined with the a tag:
| && |\n| &&
+ |\n| &&
+ |This is a link | ).
client->nav_app_call( lo_app ).
WHEN 'BACK'.
@@ -66,7 +62,6 @@ CLASS Z2UI5_CL_DEMO_APP_149 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -80,4 +75,5 @@ CLASS Z2UI5_CL_DEMO_APP_149 IMPLEMENTATION.
ui5_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_150.clas.abap b/src/z2ui5_cl_demo_app_150.clas.abap
index 0e452627..102f98a4 100644
--- a/src/z2ui5_cl_demo_app_150.clas.abap
+++ b/src/z2ui5_cl_demo_app_150.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_150 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -11,13 +10,12 @@ CLASS z2ui5_cl_demo_app_150 DEFINITION PUBLIC.
METHODS ui5_callback.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_150 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_150 IMPLEMENTATION.
METHOD ui5_event.
@@ -37,9 +35,9 @@ CLASS Z2UI5_CL_DEMO_APP_150 IMPLEMENTATION.
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
DATA(lv_confirm_result) = CAST z2ui5_cl_pop_to_confirm( lo_prev )->result( ).
- client->message_box_display( `the result is ` && lv_confirm_result ).
+ client->message_box_display( |the result is { lv_confirm_result }| ).
CATCH cx_root.
ENDTRY.
@@ -49,19 +47,16 @@ CLASS Z2UI5_CL_DEMO_APP_150 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup To Confirm'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup To Confirm'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -75,4 +70,5 @@ CLASS Z2UI5_CL_DEMO_APP_150 IMPLEMENTATION.
ui5_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_151.clas.abap b/src/z2ui5_cl_demo_app_151.clas.abap
index 88d02760..9271ffc5 100644
--- a/src/z2ui5_cl_demo_app_151.clas.abap
+++ b/src/z2ui5_cl_demo_app_151.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_151 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -11,14 +10,13 @@ CLASS z2ui5_cl_demo_app_151 DEFINITION PUBLIC.
METHODS ui5_callback.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_151 IMPLEMENTATION.
-
METHOD ui5_event.
CASE client->get( )-event.
@@ -34,24 +32,20 @@ CLASS z2ui5_cl_demo_app_151 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup To Inform'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup To Inform'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -69,7 +63,8 @@ CLASS z2ui5_cl_demo_app_151 IMPLEMENTATION.
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lo_dummy) = CAST z2ui5_cl_pop_to_inform( lo_prev ).
client->message_box_display( `callback after popup to inform` ).
CATCH cx_root.
diff --git a/src/z2ui5_cl_demo_app_152.clas.abap b/src/z2ui5_cl_demo_app_152.clas.abap
index 819b6ef1..70ca24d0 100644
--- a/src/z2ui5_cl_demo_app_152.clas.abap
+++ b/src/z2ui5_cl_demo_app_152.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_152 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -13,48 +12,48 @@ CLASS z2ui5_cl_demo_app_152 DEFINITION PUBLIC.
value TYPE string,
descr TYPE string,
END OF ty_row.
- DATA mt_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+
+ DATA mt_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA mv_check_initialized TYPE abap_bool.
- DATA mv_multiselect TYPE abap_bool.
- DATA mv_preselect TYPE abap_bool.
+ DATA mv_multiselect TYPE abap_bool.
+ DATA mv_preselect TYPE abap_bool.
+
METHODS ui5_display.
METHODS ui5_event.
METHODS ui5_callback.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_152 IMPLEMENTATION.
-
METHOD ui5_event.
CASE client->get( )-event.
WHEN 'POPUP'.
- mt_tab = VALUE #( descr = 'this is a description'
- ( zzselkz = mv_preselect title = 'title_01' value = 'value_01' )
- ( zzselkz = mv_preselect title = 'title_02' value = 'value_02' )
- ( zzselkz = mv_preselect title = 'title_03' value = 'value_03' )
- ( zzselkz = mv_preselect title = 'title_04' value = 'value_04' )
- ( zzselkz = mv_preselect title = 'title_05' value = 'value_05' ) ).
-
- DATA(lo_app) = z2ui5_cl_pop_to_select=>factory(
- i_tab = mt_tab
- i_multiselect = mv_multiselect
- i_title = COND #(
- WHEN mv_multiselect = abap_true
- THEN `Multi select`
- ELSE `Single select` ) ).
+ mt_tab = VALUE #( descr = 'this is a description'
+ zzselkz = mv_preselect
+ ( title = 'title_01' value = 'value_01' )
+ ( title = 'title_02' value = 'value_02' )
+ ( title = 'title_03' value = 'value_03' )
+ ( title = 'title_04' value = 'value_04' )
+ ( title = 'title_05' value = 'value_05' ) ).
+
+ DATA(lo_app) = z2ui5_cl_pop_to_select=>factory( i_tab = mt_tab
+ i_multiselect = mv_multiselect
+ i_title = COND #(
+ WHEN mv_multiselect = abap_true
+ THEN `Multi select`
+ ELSE `Single select` ) ).
client->nav_app_call( lo_app ).
-
WHEN 'MULTISELECT_TOGGLE'.
mv_preselect = COND #( WHEN mv_multiselect = abap_false
@@ -70,32 +69,32 @@ CLASS z2ui5_cl_demo_app_152 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup To Select'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Popup To Select'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->hbox(
- )->text( text = 'Multiselect: ' class = 'sapUiTinyMargin'
- )->switch( state = client->_bind_edit( mv_multiselect ) change = client->_event( `MULTISELECT_TOGGLE` )
+ )->text( text = 'Multiselect: '
+ class = 'sapUiTinyMargin'
+ )->switch( state = client->_bind_edit( mv_multiselect )
+ change = client->_event( `MULTISELECT_TOGGLE` )
)->get_parent(
)->hbox(
- )->text( text = 'Preselect all entries: ' class = 'sapUiTinyMargin'
- )->switch( state = client->_bind_edit( mv_preselect ) enabled = client->_bind_edit( mv_multiselect )
+ )->text( text = 'Preselect all entries: '
+ class = 'sapUiTinyMargin'
+ )->switch( state = client->_bind_edit( mv_preselect )
+ enabled = client->_bind_edit( mv_multiselect )
)->get_parent(
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -117,7 +116,7 @@ CLASS z2ui5_cl_demo_app_152 IMPLEMENTATION.
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
DATA(ls_result) = CAST z2ui5_cl_pop_to_select( lo_prev )->result( ).
IF ls_result-check_confirmed = abap_false.
@@ -129,14 +128,13 @@ CLASS z2ui5_cl_demo_app_152 IMPLEMENTATION.
FIELD-SYMBOLS TYPE ty_row.
ASSIGN ls_result-row->* TO .
- client->message_box_display( `callback after popup to select: ` && -title ).
+ client->message_box_display( |callback after popup to select: { -title }| ).
ELSE.
ASSIGN ls_result-table->* TO FIELD-SYMBOL().
- client->nav_app_call( z2ui5_cl_pop_table=>factory(
- i_tab =
- i_title = 'Selected rows' ) ).
+ client->nav_app_call( z2ui5_cl_pop_table=>factory( i_tab =
+ i_title = 'Selected rows' ) ).
ENDIF.
diff --git a/src/z2ui5_cl_demo_app_153.clas.abap b/src/z2ui5_cl_demo_app_153.clas.abap
index 2f72ae79..3dcdb3a5 100644
--- a/src/z2ui5_cl_demo_app_153.clas.abap
+++ b/src/z2ui5_cl_demo_app_153.clas.abap
@@ -1,10 +1,10 @@
CLASS z2ui5_cl_demo_app_153 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
+
TYPES:
BEGIN OF ty_dataset2,
label TYPE string,
@@ -36,18 +36,18 @@ CLASS z2ui5_cl_demo_app_153 DEFINITION PUBLIC.
BEGIN OF ty_data,
labels TYPE string_table,
datasets TYPE ty_datasets,
- END OF ty_data .
+ END OF ty_data.
TYPES:
BEGIN OF ty_chart,
data TYPE ty_data,
- END OF ty_chart .
+ END OF ty_chart.
* DATA mt_string_table TYPE string_table.
* DATA mt_string_table2 TYPE string_table.
* DATA mv_value TYPE string.
* DATA mv_value2 TYPE string.
- DATA ms_struc TYPE ty_chart.
+ DATA ms_struc TYPE ty_chart.
DATA ms_struc2 TYPE ty_chart.
* DATA mv_long_long_long_long_value TYPE string.
@@ -55,31 +55,28 @@ CLASS z2ui5_cl_demo_app_153 DEFINITION PUBLIC.
METHODS ui5_event.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_153 IMPLEMENTATION.
-
METHOD ui5_display.
client->_bind_edit(
- val = ms_struc
- custom_mapper = z2ui5_cl_ajson_mapping=>create_camel_case( iv_first_json_upper = abap_false )
- custom_mapper_back = z2ui5_cl_ajson_mapping=>create_to_snake_case( )
+ val = ms_struc
+ custom_mapper = z2ui5_cl_ajson_mapping=>create_camel_case( iv_first_json_upper = abap_false )
+ custom_mapper_back = z2ui5_cl_ajson_mapping=>create_to_snake_case( )
).
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Binding'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Rountrip...'
- press = client->_event( 'POPUP' )
+ )->page( title = 'abap2UI5 - Binding'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Rountrip...'
+ press = client->_event( 'POPUP' )
* )->input( value = client->_bind_edit( mv_long_long_long_long_value ) width = `10%`
* )->input( value = client->_bind_edit( mv_long_long_long_long_value ) width = `10%`
).
@@ -88,7 +85,6 @@ CLASS z2ui5_cl_demo_app_153 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_event.
CASE client->get( )-event.
@@ -119,7 +115,6 @@ CLASS z2ui5_cl_demo_app_153 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
DATA ls_dataset TYPE ty_dataset.
@@ -131,14 +126,13 @@ CLASS z2ui5_cl_demo_app_153 IMPLEMENTATION.
ms_struc-data-labels = VALUE #( ( `Jan` ) ( `Feb` ) ( `Mar` ) ( `Apr` ) ( `May` ) ( `Jun` ) ).
CLEAR ls_dataset.
- ls_dataset-label = 'Fully Rounded'.
- ls_dataset-border_width = 2.
+ ls_dataset-label = 'Fully Rounded'.
+ ls_dataset-border_width = 2.
ls_dataset-border_radius = 200.
* ls_dataset-border_skipped = abap_true.
- ls_dataset-data = VALUE #( ( `1` ) ( `-12` ) ( `19` ) ( `3` ) ( `5` ) ( `-2` ) ( `3` ) ).
+ ls_dataset-data = VALUE #( ( `1` ) ( `-12` ) ( `19` ) ( `3` ) ( `5` ) ( `-2` ) ( `3` ) ).
-
- "new value in lvl2
+ " new value in lvl2
* ls_dataset-lvl2-border_skipped = '-'.
APPEND ls_dataset TO ms_struc-data-datasets.
@@ -166,4 +160,5 @@ CLASS z2ui5_cl_demo_app_153 IMPLEMENTATION.
ui5_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_154.clas.abap b/src/z2ui5_cl_demo_app_154.clas.abap
index 1de452fc..2ace5eeb 100644
--- a/src/z2ui5_cl_demo_app_154.clas.abap
+++ b/src/z2ui5_cl_demo_app_154.clas.abap
@@ -1,22 +1,21 @@
CLASS z2ui5_cl_demo_app_154 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
+
METHODS ui5_display.
METHODS ui5_event.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_154 IMPLEMENTATION.
-
METHOD ui5_event.
CASE client->get( )-event.
@@ -39,9 +38,9 @@ CLASS z2ui5_cl_demo_app_154 IMPLEMENTATION.
*
* client->nav_app_call( z2ui5_cl_pop_messages=>factory( lt_ballog ) ).
-
WHEN 'POPUP_EXCEPTION'.
TRY.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lv_dummy) = 1 / 0.
CATCH cx_root INTO DATA(lx).
ENDTRY.
@@ -55,31 +54,26 @@ CLASS z2ui5_cl_demo_app_154 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup Messages'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup BAPIRET'
- press = client->_event( 'POPUP_BAPIRET' )
+ )->page( title = 'abap2UI5 - Popup Messages'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup BAPIRET'
+ press = client->_event( 'POPUP_BAPIRET' )
* )->button(
-* text = 'Open Popup BALLOG'
-* press = client->_event( 'POPUP_BALLOG' )
- )->button(
- text = 'Open Popup Exception'
- press = client->_event( 'POPUP_EXCEPTION' )
+* text = 'Open Popup BALLOG'
+* press = client->_event( 'POPUP_BALLOG' )
+ )->button( text = 'Open Popup Exception'
+ press = client->_event( 'POPUP_EXCEPTION' )
).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
diff --git a/src/z2ui5_cl_demo_app_155.clas.abap b/src/z2ui5_cl_demo_app_155.clas.abap
index 38756721..38b8d8f9 100644
--- a/src/z2ui5_cl_demo_app_155.clas.abap
+++ b/src/z2ui5_cl_demo_app_155.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_155 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -11,14 +10,13 @@ CLASS z2ui5_cl_demo_app_155 DEFINITION PUBLIC.
METHODS ui5_callback.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_155 IMPLEMENTATION.
-
METHOD ui5_event.
CASE client->get( )-event.
@@ -34,24 +32,20 @@ CLASS z2ui5_cl_demo_app_155 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup To Text Edit'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup To Text Edit'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -69,9 +63,9 @@ CLASS z2ui5_cl_demo_app_155 IMPLEMENTATION.
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
DATA(lv_text) = CAST z2ui5_cl_pop_textedit( lo_prev )->result( )-text.
- client->message_box_display( `the result is ` && lv_text ).
+ client->message_box_display( |the result is { lv_text }| ).
CATCH cx_root.
ENDTRY.
diff --git a/src/z2ui5_cl_demo_app_156.clas.abap b/src/z2ui5_cl_demo_app_156.clas.abap
index 3eb3db0b..e77c618e 100644
--- a/src/z2ui5_cl_demo_app_156.clas.abap
+++ b/src/z2ui5_cl_demo_app_156.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_156 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -11,43 +10,38 @@ CLASS z2ui5_cl_demo_app_156 DEFINITION PUBLIC.
METHODS ui5_callback.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_156 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_156 IMPLEMENTATION.
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
DATA(lv_text) = CAST z2ui5_cl_pop_input_val( lo_prev )->result( )-value.
- client->message_box_display( `the input is ` && lv_text ).
+ client->message_box_display( |the input is { lv_text }| ).
CATCH cx_root.
ENDTRY.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup Input Value'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup Input Value'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_event.
CASE client->get( )-event.
@@ -63,7 +57,6 @@ CLASS Z2UI5_CL_DEMO_APP_156 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -77,4 +70,5 @@ CLASS Z2UI5_CL_DEMO_APP_156 IMPLEMENTATION.
ui5_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_157.clas.abap b/src/z2ui5_cl_demo_app_157.clas.abap
index 376c3df1..3e79e8d0 100644
--- a/src/z2ui5_cl_demo_app_157.clas.abap
+++ b/src/z2ui5_cl_demo_app_157.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_157 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -11,43 +10,38 @@ CLASS z2ui5_cl_demo_app_157 DEFINITION PUBLIC.
METHODS ui5_callback.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_157 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_157 IMPLEMENTATION.
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
DATA(lv_text) = CAST z2ui5_cl_pop_file_ul( lo_prev )->result( )-value.
- client->message_box_display( `the input is ` && lv_text ).
+ client->message_box_display( |the input is { lv_text }| ).
CATCH cx_root.
ENDTRY.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup File Upload'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup File Upload'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_event.
CASE client->get( )-event.
@@ -63,7 +57,6 @@ CLASS Z2UI5_CL_DEMO_APP_157 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -77,4 +70,5 @@ CLASS Z2UI5_CL_DEMO_APP_157 IMPLEMENTATION.
ui5_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_158.clas.abap b/src/z2ui5_cl_demo_app_158.clas.abap
index 04962915..375239ec 100644
--- a/src/z2ui5_cl_demo_app_158.clas.abap
+++ b/src/z2ui5_cl_demo_app_158.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_158 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -9,47 +8,48 @@ CLASS z2ui5_cl_demo_app_158 DEFINITION PUBLIC.
METHODS ui5_display.
METHODS ui5_event.
METHODS ui5_callback.
+
METHODS get_example_pdf
RETURNING
VALUE(result) TYPE string.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_158 IMPLEMENTATION.
-
METHOD get_example_pdf.
- result = `JVBERi0xLjMNCiXi48/TDQoNCjEgMCBvYmoNCjw8DQovVHlwZSAvQ2F0YWxvZw0KL091dGxpbmVzIDIgMCBSDQovUGFnZXMgMyAwIFINCj4+DQplbmRvYmoNCg0KMiAwIG9iag0KPDwNCi9UeXBlIC9PdXRsaW5lcw0KL0NvdW50IDANCj4+DQplbmRvYmoNCg0KMyAwIG9iag0KPDwNCi9UeXBlIC9QYWdlcw0KL0NvdW5` &&
- `0IDINCi9LaWRzIFsgNCAwIFIgNiAwIFIgXSANCj4+DQplbmRvYmoNCg0KNCAwIG9iag0KPDwNCi9UeXBlIC9QYWdlDQovUGFyZW50IDMgMCBSDQovUmVzb3VyY2VzIDw8DQovRm9udCA8PA0KL0YxIDkgMCBSIA0KPj4NCi9Qcm9jU2V0IDggMCBSDQo+Pg0KL01lZGlhQm94IFswIDAgNjEyLjAwMDAgNzkyLjAwMDBdDQovQ29udGV` &&
- `udHMgNSAwIFINCj4+DQplbmRvYmoNCg0KNSAwIG9iag0KPDwgL0xlbmd0aCAxMDc0ID4+DQpzdHJlYW0NCjIgSg0KQlQNCjAgMCAwIHJnDQovRjEgMDAyNyBUZg0KNTcuMzc1MCA3MjIuMjgwMCBUZA0KKCBBIF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AwMCB| &&
+ |uDQowMDAwMDAwMTQ3IDAwMDAwIG4NCjAwMDAwMDAyMjIgMDAwMDAgbg0KMDAwMDAwMDM5MCAwMDAwMCBuDQowMDAwMDAxNTIyIDAwMDAwIG4NCjAwMDAwMDE2OTAgMDAwMDAgbg0KMDAwMDAwMjQyMyAwMDAwMCBuDQowMDAwMDAyNDU2IDAwMDAwIG4NCjAwMDAwMDI1NzQgMDAwMDAgbg0KDQp0cmFpbGVyDQo8PA0KL1NpemUgMTE| &&
+ |NCi9Sb290IDEgMCBSDQovSW5mbyAxMCAwIFINCj4+DQoNCnN0YXJ0eHJlZg0KMjcxNA0KJSVFT0YNCg==|.
+
+ result = |data:application/pdf;base64,{ result }|.
ENDMETHOD.
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lv_text) = CAST z2ui5_cl_pop_pdf( lo_prev )->result( )-text.
client->message_box_display( `pdf viewer closed` ).
CATCH cx_root.
@@ -57,30 +57,26 @@ CLASS z2ui5_cl_demo_app_158 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup Display PDF'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup Display PDF'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_event.
CASE client->get( )-event.
WHEN 'POPUP'.
- data(lv_pdf) = get_example_pdf( ).
+ DATA(lv_pdf) = get_example_pdf( ).
DATA(lo_app) = z2ui5_cl_pop_pdf=>factory( lv_pdf ).
client->nav_app_call( lo_app ).
@@ -91,7 +87,6 @@ CLASS z2ui5_cl_demo_app_158 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -105,4 +100,5 @@ CLASS z2ui5_cl_demo_app_158 IMPLEMENTATION.
ui5_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_159.clas.abap b/src/z2ui5_cl_demo_app_159.clas.abap
index b74e7065..e9b58184 100644
--- a/src/z2ui5_cl_demo_app_159.clas.abap
+++ b/src/z2ui5_cl_demo_app_159.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_159 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -9,48 +8,48 @@ CLASS z2ui5_cl_demo_app_159 DEFINITION PUBLIC.
METHODS ui5_display.
METHODS ui5_event.
METHODS ui5_callback.
+
METHODS get_example_pdf
RETURNING
VALUE(result) TYPE string.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_159 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_159 IMPLEMENTATION.
METHOD get_example_pdf.
- result = `JVBERi0xLjMNCiXi48/TDQoNCjEgMCBvYmoNCjw8DQovVHlwZSAvQ2F0YWxvZw0KL091dGxpbmVzIDIgMCBSDQovUGFnZXMgMyAwIFINCj4+DQplbmRvYmoNCg0KMiAwIG9iag0KPDwNCi9UeXBlIC9PdXRsaW5lcw0KL0NvdW50IDANCj4+DQplbmRvYmoNCg0KMyAwIG9iag0KPDwNCi9UeXBlIC9QYWdlcw0KL0NvdW5` &&
- `0IDINCi9LaWRzIFsgNCAwIFIgNiAwIFIgXSANCj4+DQplbmRvYmoNCg0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L0hlbHZldGljYQ0KL0VuY29kaW5nIC9XaW5BbnNpRW5jb2RpbmcNCj4+DQplbmRvYmoNCg0KMTAgMCBvYmoNCjw8DQovQ3JlYXRvciA| &&
+ |oUmF2ZSBcKGh0dHA6Ly93d3cubmV2cm9uYS5jb20vcmF2ZVwpKQ0KL1Byb2R1Y2VyIChOZXZyb25hIERlc2lnbnMpDQovQ3JlYXRpb25EYXRlIChEOjIwMDYwMzAxMDcyODI2KQ0KPj4NCmVuZG9iag0KDQp4cmVmDQowIDExDQowMDAwMDAwMDAwIDY1NTM1IGYNCjAwMDAwMDAwMTkgMDAwMDAgbg0KMDAwMDAwMDA5MyAwMDAwMCB| &&
+ |uDQowMDAwMDAwMTQ3IDAwMDAwIG4NCjAwMDAwMDAyMjIgMDAwMDAgbg0KMDAwMDAwMDM5MCAwMDAwMCBuDQowMDAwMDAxNTIyIDAwMDAwIG4NCjAwMDAwMDE2OTAgMDAwMDAgbg0KMDAwMDAwMjQyMyAwMDAwMCBuDQowMDAwMDAyNDU2IDAwMDAwIG4NCjAwMDAwMDI1NzQgMDAwMDAgbg0KDQp0cmFpbGVyDQo8PA0KL1NpemUgMTE| &&
+ |NCi9Sb290IDEgMCBSDQovSW5mbyAxMCAwIFINCj4+DQoNCnN0YXJ0eHJlZg0KMjcxNA0KJSVFT0YNCg==|.
+
+ result = |data:application/pdf;base64,{ result }|.
ENDMETHOD.
-
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lv_text) = CAST z2ui5_cl_pop_pdf( lo_prev )->result( )-text.
client->message_box_display( `pdf viewer closed` ).
CATCH cx_root.
@@ -58,30 +57,26 @@ CLASS Z2UI5_CL_DEMO_APP_159 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup Display PDF'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup Display PDF'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_event.
CASE client->get( )-event.
WHEN 'POPUP'.
- data(lv_pdf) = get_example_pdf( ).
+ DATA(lv_pdf) = get_example_pdf( ).
DATA(lo_app) = z2ui5_cl_pop_pdf=>factory( lv_pdf ).
client->nav_app_call( lo_app ).
@@ -92,7 +87,6 @@ CLASS Z2UI5_CL_DEMO_APP_159 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -106,4 +100,5 @@ CLASS Z2UI5_CL_DEMO_APP_159 IMPLEMENTATION.
ui5_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_160.clas.abap b/src/z2ui5_cl_demo_app_160.clas.abap
index e0a550f2..eb8e3c9c 100644
--- a/src/z2ui5_cl_demo_app_160.clas.abap
+++ b/src/z2ui5_cl_demo_app_160.clas.abap
@@ -1,11 +1,9 @@
CLASS z2ui5_cl_demo_app_160 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF s_output,
@@ -15,37 +13,36 @@ CLASS z2ui5_cl_demo_app_160 DEFINITION
description TYPE c LENGTH 50,
is_total TYPE i,
pl_total TYPE i,
- per_cent_total TYPE p LENGTH 2 DECIMALS 1,
+ per_cent_total TYPE p LENGTH 2 DECIMALS 1,
is_01_prev TYPE i,
pl_01 TYPE i,
- per_cent_01 TYPE p LENGTH 2 DECIMALS 1,
+ per_cent_01 TYPE p LENGTH 2 DECIMALS 1,
is_02_prev TYPE i,
- pl_02 TYPE p LENGTH 2 DECIMALS 1,
- per_cent_02 TYPE p LENGTH 2 DECIMALS 1,
+ pl_02 TYPE p LENGTH 2 DECIMALS 1,
+ per_cent_02 TYPE p LENGTH 2 DECIMALS 1,
is_03_prev TYPE i,
pl_03 TYPE i,
- per_cent_03 TYPE p LENGTH 2 DECIMALS 1,
+ per_cent_03 TYPE p LENGTH 2 DECIMALS 1,
is_q01_prev TYPE i,
pl_q01 TYPE i,
- per_cent_q01 TYPE p LENGTH 2 DECIMALS 1,
+ per_cent_q01 TYPE p LENGTH 2 DECIMALS 1,
is_q02_prev TYPE i,
pl_q02 TYPE i,
- per_cent_q02 TYPE p LENGTH 2 DECIMALS 1,
+ per_cent_q02 TYPE p LENGTH 2 DECIMALS 1,
is_q03_prev TYPE i,
pl_q03 TYPE i,
- per_cent_q03 TYPE p LENGTH 2 DECIMALS 1,
+ per_cent_q03 TYPE p LENGTH 2 DECIMALS 1,
is_q04_prev TYPE i,
pl_q04 TYPE i,
- per_cent_q04 TYPE p LENGTH 2 DECIMALS 1,
- END OF s_output .
+ per_cent_q04 TYPE p LENGTH 2 DECIMALS 1,
+ END OF s_output.
- DATA check_initialized TYPE abap_bool .
- DATA mt_output TYPE STANDARD TABLE OF s_output.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA check_initialized TYPE abap_bool.
+ DATA mt_output TYPE STANDARD TABLE OF s_output.
+ DATA client TYPE REF TO z2ui5_if_client.
PROTECTED SECTION.
-
- METHODS load_output_table .
+ METHODS load_output_table.
METHODS on_event.
METHODS render_main_screen.
@@ -53,23 +50,21 @@ CLASS z2ui5_cl_demo_app_160 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_160 IMPLEMENTATION.
-
METHOD load_output_table.
DATA ls_output TYPE s_output.
+
CLEAR mt_output.
DO 10 TIMES.
- ls_output-index = sy-index.
- ls_output-set_sk = 'Test'.
- ls_output-matnr = '1234567'.
+ ls_output-index = sy-index.
+ ls_output-set_sk = 'Test'.
+ ls_output-matnr = '1234567'.
ls_output-description = 'Test'.
- ls_output-pl_01 = 0.
- ls_output-pl_02 = 0.
-
+ ls_output-pl_01 = 0.
+ ls_output-pl_02 = 0.
APPEND ls_output TO mt_output.
@@ -77,10 +72,9 @@ CLASS z2ui5_cl_demo_app_160 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
- DATA: lt_event_arguments TYPE string_table.
+ DATA lt_event_arguments TYPE string_table.
CASE client->get( )-event.
@@ -90,6 +84,7 @@ CLASS z2ui5_cl_demo_app_160 IMPLEMENTATION.
DATA(lv_id_event) = lt_event_arguments[ 1 ].
DATA(lv_tab_index) = lt_event_arguments[ 2 ].
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(ls_row_submit) = mt_output[ lv_tab_index ].
DATA(lv_id_parent) = lt_event_arguments[ 3 ].
@@ -105,70 +100,165 @@ CLASS z2ui5_cl_demo_app_160 IMPLEMENTATION.
ENDMETHOD.
-
METHOD render_main_screen.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Event on cell level'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Event on cell level'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->header_content(
)->link(
-
)->get_parent( ).
* DATA(page) = view->page( title = 'Test App' enablescrolling = abap_false class = 'sapUiResponsivePadding--header sapUiResponsivePadding--content sapUiResponsivePadding--footer' ).
- DATA(table) = page->flex_box( height = '85vh' )->ui_table( alternaterowcolors = 'true' visiblerowcountmode = 'Auto' fixedrowcount = '1' selectionmode = 'None' rows = client->_bind_edit( val = mt_output
-* compress_mode = z2ui5_if_client=>cs_compress_mode-none
+ DATA(table) = page->flex_box( height = '85vh' )->ui_table( alternaterowcolors = 'true'
+ visiblerowcountmode = 'Auto'
+ fixedrowcount = '1'
+ selectionmode = 'None'
+ rows = client->_bind_edit( val = mt_output
+* compress_mode = z2ui5_if_client=>cs_compress_mode-none
) ).
DATA(columns) = table->ui_columns( ).
- columns->ui_column( width = '5.2rem' sortproperty = 'SET_SK' filterproperty = 'SET_SK' )->text( text = 'Column 1' )->ui_template( )->text( text = `{SET_SK}` ).
- columns->ui_column( width = '5rem' sortproperty = 'MATNR' filterproperty = 'MATNR' )->text( text = 'Column 2' )->ui_template( )->text( text = `{MATNR}` ).
- columns->ui_column( width = '20rem' sortproperty = 'DESCRIPTION' filterproperty = 'DESCRIPTION' )->text( text = 'Column 3' )->ui_template( )->text( text = `{DESCRIPTION}` ).
- columns->ui_column( width = '5rem' sortproperty = 'IS_TOTAL' filterproperty = 'IS_TOTAL' )->text( text = 'Column 4' )->ui_template( )->text( text = `{IS_TOTAL}` ).
-
- columns->ui_column( width = '5rem' sortproperty = 'PL_TOTAL' filterproperty = 'PL_TOTAL' )->text( text = 'Column 5' )->ui_template( )->input(
- value = `{PL_TOTAL}` submit = client->_event( val = 'PL_TOTAL_CHANGE' t_arg = VALUE #(
- ( `${$source>/id}` )
- ( `${INDEX}` )
+ columns->ui_column( width = '5.2rem'
+ sortproperty = 'SET_SK'
+ filterproperty = 'SET_SK' )->text( text = 'Column 1' )->ui_template( )->text(
+ text = `{SET_SK}` ).
+ columns->ui_column( width = '5rem'
+ sortproperty = 'MATNR'
+ filterproperty = 'MATNR' )->text( text = 'Column 2' )->ui_template( )->text( text = `{MATNR}` ).
+ columns->ui_column( width = '20rem'
+ sortproperty = 'DESCRIPTION'
+ filterproperty = 'DESCRIPTION' )->text( text = 'Column 3' )->ui_template( )->text(
+ text = `{DESCRIPTION}` ).
+ columns->ui_column( width = '5rem'
+ sortproperty = 'IS_TOTAL'
+ filterproperty = 'IS_TOTAL' )->text( text = 'Column 4' )->ui_template( )->text(
+ text = `{IS_TOTAL}` ).
+
+ columns->ui_column( width = '5rem'
+ sortproperty = 'PL_TOTAL'
+ filterproperty = 'PL_TOTAL' )->text( text = 'Column 5' )->ui_template( )->input(
+ value = `{PL_TOTAL}`
+ submit = client->_event( val = 'PL_TOTAL_CHANGE'
+ t_arg = VALUE #( ( `${$source>/id}` )
+ ( `${INDEX}` )
* ( `$source.oParent.sId` )
- ( `$event.oSource.oParent.sId` )
- ) ) editable = abap_true type = 'Number' ).
-
- columns->ui_column( width = '4rem' sortproperty = 'per_cent_total' filterproperty = 'per_cent_total' )->text( text = 'Column 6' )->ui_template( )->text( text = `{per_cent_total} %` ).
-
- columns->ui_column( width = '5rem' sortproperty = 'IS_01_PREV' filterproperty = 'IS_01_PREV' )->text( text = 'Column 7' )->ui_template( )->text( text = `{IS_01_PREV}` ).
- columns->ui_column( width = '5rem' sortproperty = 'PL_01' filterproperty = 'PL_01' )->text( text = 'Column 8' )->ui_template( )->input( value = `{PL_01}` editable = abap_true type = 'Number' ).
- columns->ui_column( width = '4rem' sortproperty = 'per_cent_01' filterproperty = 'per_cent_01' )->text( text = 'Column 9' )->ui_template( )->text( text = `{per_cent_01} %` ).
-
- columns->ui_column( width = '5rem' sortproperty = 'IS_02_PREV' filterproperty = 'IS_02_PREV' )->text( text = 'Column 10' )->ui_template( )->text( text = `{IS_02_PREV}` ).
- columns->ui_column( width = '5rem' sortproperty = 'PL_02' filterproperty = 'PL_02' )->text( text = 'Column 11' )->ui_template( )->input( value = `{PL_02}` editable = abap_true type = 'Number' ).
- columns->ui_column( width = '4rem' sortproperty = 'per_cent_02' filterproperty = 'per_cent_02' )->text( text = 'Column 12' )->ui_template( )->text( text = `{per_cent_02} %` ).
-
- columns->ui_column( width = '5rem' sortproperty = 'IS_03_PREV' filterproperty = 'IS_03_PREV' )->text( text = 'Column 13' )->ui_template( )->text( text = `{IS_03_PREV}` ).
- columns->ui_column( width = '5rem' sortproperty = 'PL_03' filterproperty = 'PL_03' )->text( text = 'Column 14' )->ui_template( )->input( value = `{PL_03}` editable = abap_true type = 'Number' ).
- columns->ui_column( width = '4rem' sortproperty = 'per_cent_03' filterproperty = 'per_cent_03' )->text( text = 'Column 15' )->ui_template( )->text( text = `{per_cent_03} %` ).
-
- columns->ui_column( width = '5rem' sortproperty = 'IS_Q01_PREV' filterproperty = 'IS_Q01_PREV' )->text( text = 'Column 16' )->ui_template( )->text( text = `{IS_Q01_PREV}` ).
- columns->ui_column( width = '5rem' sortproperty = 'PL_Q01' filterproperty = 'PL_Q01' )->text( text = 'Column 17' )->ui_template( )->text( text = `{PL_Q01}` ). "Nicht editierbar, da im Detail geplant
- columns->ui_column( width = '4rem' sortproperty = 'per_cent_q01' filterproperty = 'per_cent_q01' )->text( text = 'Column 18' )->ui_template( )->text( text = `{per_cent_q01} %` ).
-
- columns->ui_column( width = '5rem' sortproperty = 'IS_Q02_PREV' filterproperty = 'IS_Q02_PREV' )->text( text = 'Column 19' )->ui_template( )->text( text = `{IS_Q02_PREV}` ).
- columns->ui_column( width = '5rem' sortproperty = 'PL_Q02' filterproperty = 'PL_Q02' )->text( text = 'Column 20' )->ui_template( )->input( value = `{PL_Q02}` editable = abap_true type = 'Number' ).
- columns->ui_column( width = '4rem' sortproperty = 'per_cent_q02' filterproperty = 'per_cent_q02' )->text( text = 'Column 21' )->ui_template( )->text( text = `{per_cent_q02} %` ).
-
- columns->ui_column( width = '5rem' sortproperty = 'IS_Q03_PREV' filterproperty = 'IS_Q03_PREV' )->text( text = 'Column 22' )->ui_template( )->text( text = `{IS_Q03_PREV}` ).
- columns->ui_column( width = '5rem' sortproperty = 'PL_Q03' filterproperty = 'PL_Q03' )->text( text = 'Column 23' )->ui_template( )->input( value = `{PL_Q03}` editable = abap_true type = 'Number' ).
- columns->ui_column( width = '4rem' sortproperty = 'per_cent_q03' filterproperty = 'per_cent_q03' )->text( text = 'Column 24' )->ui_template( )->text( text = `{per_cent_q03} %` ).
-
- columns->ui_column( width = '5rem' sortproperty = 'IS_Q04_PREV' filterproperty = 'IS_Q04_PREV' )->text( text = 'Column 25' )->ui_template( )->text( text = `{IS_Q04_PREV}` ).
- columns->ui_column( width = '5rem' sortproperty = 'PL_Q04' filterproperty = 'PL_Q04' )->text( text = 'Column 26' )->ui_template( )->input( value = `{PL_Q04}` editable = abap_true type = 'Number' ).
- columns->ui_column( width = '4rem' sortproperty = 'per_cent_q04' filterproperty = 'per_cent_q04' )->text( text = 'Column 27' )->ui_template( )->text( text = `{per_cent_q04} %` ).
+ ( `$event.oSource.oParent.sId` )
+) )
+ editable = abap_true
+ type = 'Number' ).
+
+ columns->ui_column( width = '4rem'
+ sortproperty = 'per_cent_total'
+ filterproperty = 'per_cent_total' )->text( text = 'Column 6' )->ui_template( )->text(
+ text = `{per_cent_total} %` ).
+
+ columns->ui_column( width = '5rem'
+ sortproperty = 'IS_01_PREV'
+ filterproperty = 'IS_01_PREV' )->text( text = 'Column 7' )->ui_template( )->text(
+ text = `{IS_01_PREV}` ).
+ columns->ui_column( width = '5rem'
+ sortproperty = 'PL_01'
+ filterproperty = 'PL_01' )->text( text = 'Column 8' )->ui_template( )->input(
+ value = `{PL_01}`
+ editable = abap_true
+ type = 'Number' ).
+ columns->ui_column( width = '4rem'
+ sortproperty = 'per_cent_01'
+ filterproperty = 'per_cent_01' )->text( text = 'Column 9' )->ui_template( )->text(
+ text = `{per_cent_01} %` ).
+
+ columns->ui_column( width = '5rem'
+ sortproperty = 'IS_02_PREV'
+ filterproperty = 'IS_02_PREV' )->text( text = 'Column 10' )->ui_template( )->text(
+ text = `{IS_02_PREV}` ).
+ columns->ui_column( width = '5rem'
+ sortproperty = 'PL_02'
+ filterproperty = 'PL_02' )->text( text = 'Column 11' )->ui_template( )->input(
+ value = `{PL_02}`
+ editable = abap_true
+ type = 'Number' ).
+ columns->ui_column( width = '4rem'
+ sortproperty = 'per_cent_02'
+ filterproperty = 'per_cent_02' )->text( text = 'Column 12' )->ui_template( )->text(
+ text = `{per_cent_02} %` ).
+
+ columns->ui_column( width = '5rem'
+ sortproperty = 'IS_03_PREV'
+ filterproperty = 'IS_03_PREV' )->text( text = 'Column 13' )->ui_template( )->text(
+ text = `{IS_03_PREV}` ).
+ columns->ui_column( width = '5rem'
+ sortproperty = 'PL_03'
+ filterproperty = 'PL_03' )->text( text = 'Column 14' )->ui_template( )->input(
+ value = `{PL_03}`
+ editable = abap_true
+ type = 'Number' ).
+ columns->ui_column( width = '4rem'
+ sortproperty = 'per_cent_03'
+ filterproperty = 'per_cent_03' )->text( text = 'Column 15' )->ui_template( )->text(
+ text = `{per_cent_03} %` ).
+
+ columns->ui_column( width = '5rem'
+ sortproperty = 'IS_Q01_PREV'
+ filterproperty = 'IS_Q01_PREV' )->text( text = 'Column 16' )->ui_template( )->text(
+ text = `{IS_Q01_PREV}` ).
+ columns->ui_column( width = '5rem'
+ sortproperty = 'PL_Q01'
+ filterproperty = 'PL_Q01' )->text( text = 'Column 17' )->ui_template( )->text(
+ text = `{PL_Q01}` ). " Nicht editierbar, da im Detail geplant
+ columns->ui_column( width = '4rem'
+ sortproperty = 'per_cent_q01'
+ filterproperty = 'per_cent_q01' )->text( text = 'Column 18' )->ui_template( )->text(
+ text = `{per_cent_q01} %` ).
+
+ columns->ui_column( width = '5rem'
+ sortproperty = 'IS_Q02_PREV'
+ filterproperty = 'IS_Q02_PREV' )->text( text = 'Column 19' )->ui_template( )->text(
+ text = `{IS_Q02_PREV}` ).
+ columns->ui_column( width = '5rem'
+ sortproperty = 'PL_Q02'
+ filterproperty = 'PL_Q02' )->text( text = 'Column 20' )->ui_template( )->input(
+ value = `{PL_Q02}`
+ editable = abap_true
+ type = 'Number' ).
+ columns->ui_column( width = '4rem'
+ sortproperty = 'per_cent_q02'
+ filterproperty = 'per_cent_q02' )->text( text = 'Column 21' )->ui_template( )->text(
+ text = `{per_cent_q02} %` ).
+
+ columns->ui_column( width = '5rem'
+ sortproperty = 'IS_Q03_PREV'
+ filterproperty = 'IS_Q03_PREV' )->text( text = 'Column 22' )->ui_template( )->text(
+ text = `{IS_Q03_PREV}` ).
+ columns->ui_column( width = '5rem'
+ sortproperty = 'PL_Q03'
+ filterproperty = 'PL_Q03' )->text( text = 'Column 23' )->ui_template( )->input(
+ value = `{PL_Q03}`
+ editable = abap_true
+ type = 'Number' ).
+ columns->ui_column( width = '4rem'
+ sortproperty = 'per_cent_q03'
+ filterproperty = 'per_cent_q03' )->text( text = 'Column 24' )->ui_template( )->text(
+ text = `{per_cent_q03} %` ).
+
+ columns->ui_column( width = '5rem'
+ sortproperty = 'IS_Q04_PREV'
+ filterproperty = 'IS_Q04_PREV' )->text( text = 'Column 25' )->ui_template( )->text(
+ text = `{IS_Q04_PREV}` ).
+ columns->ui_column( width = '5rem'
+ sortproperty = 'PL_Q04'
+ filterproperty = 'PL_Q04' )->text( text = 'Column 26' )->ui_template( )->input(
+ value = `{PL_Q04}`
+ editable = abap_true
+ type = 'Number' ).
+ columns->ui_column( width = '4rem'
+ sortproperty = 'per_cent_q04'
+ filterproperty = 'per_cent_q04' )->text( text = 'Column 27' )->ui_template( )->text(
+ text = `{per_cent_q04} %` ).
client->view_display( view->stringify( ) ).
@@ -182,11 +272,12 @@ CLASS z2ui5_cl_demo_app_160 IMPLEMENTATION.
check_initialized = abap_true.
load_output_table( ).
- render_main_screen( ).
+ render_main_screen( ).
RETURN.
ENDIF.
- on_event( ).
+ on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_161.clas.abap b/src/z2ui5_cl_demo_app_161.clas.abap
index 8a9c3dec..c4f5e7d7 100644
--- a/src/z2ui5_cl_demo_app_161.clas.abap
+++ b/src/z2ui5_cl_demo_app_161.clas.abap
@@ -1,86 +1,78 @@
CLASS z2ui5_cl_demo_app_161 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
+ DATA client TYPE REF TO z2ui5_if_client.
- INTERFACES z2ui5_if_app .
+ METHODS ui5_display.
+ METHODS ui5_event.
+ METHODS simple_popup1.
+ METHODS simple_popup2.
- DATA client TYPE REF TO z2ui5_if_client .
-
- METHODS ui5_display .
- METHODS ui5_event .
- METHODS simple_popup1 .
- METHODS simple_popup2 .
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_161 IMPLEMENTATION.
-
METHOD simple_popup1.
DATA(popup) = z2ui5_cl_xml_view=>factory_popup( ).
- DATA(dialog) = popup->dialog(
- afterclose = client->_event( 'BTN_OK_1ND' )
+ DATA(dialog) = popup->dialog( afterclose = client->_event( 'BTN_OK_1ND' )
)->content( ).
- DATA(content) = dialog->button( text = `Open 2nd popup` press = client->_event( 'GOTO_2ND' ) ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(content) = dialog->button( text = `Open 2nd popup`
+ press = client->_event( 'GOTO_2ND' ) ).
dialog->get_parent( )->buttons(
- )->button(
- text = 'OK'
- press = client->_event( 'BTN_OK_1ND' )
- type = 'Emphasized' ).
+ )->button( text = 'OK'
+ press = client->_event( 'BTN_OK_1ND' )
+ type = 'Emphasized' ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD simple_popup2.
DATA(popup) = z2ui5_cl_xml_view=>factory_popup( ).
- DATA(dialog) = popup->dialog(
- afterclose = client->_event( 'BTN_OK_2ND' )
+ DATA(dialog) = popup->dialog( afterclose = client->_event( 'BTN_OK_2ND' )
)->content( ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(content) = dialog->label( text = 'this is a second popup' ).
dialog->get_parent( )->buttons(
- )->button(
- text = 'GOTO 1ST POPUP'
- press = client->_event( 'BTN_OK_2ND' )
- type = 'Emphasized' ).
+ )->button( text = 'GOTO 1ST POPUP'
+ press = client->_event( 'BTN_OK_2ND' )
+ type = 'Emphasized' ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup To Popup'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup To Popup'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_event.
CASE client->get( )-event.
@@ -88,11 +80,11 @@ CLASS z2ui5_cl_demo_app_161 IMPLEMENTATION.
simple_popup2( ).
WHEN 'BTN_OK_2ND'.
- client->popup_destroy( ).
+ client->popup_destroy( ).
simple_popup1( ).
WHEN 'BTN_OK_1ND'.
- client->popup_destroy( ).
+ client->popup_destroy( ).
WHEN 'POPUP'.
simple_popup1( ).
@@ -104,7 +96,6 @@ CLASS z2ui5_cl_demo_app_161 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -117,4 +108,5 @@ CLASS z2ui5_cl_demo_app_161 IMPLEMENTATION.
ui5_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_162.clas.abap b/src/z2ui5_cl_demo_app_162.clas.abap
index 74586596..baf1fbc0 100644
--- a/src/z2ui5_cl_demo_app_162.clas.abap
+++ b/src/z2ui5_cl_demo_app_162.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_162 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -15,12 +14,13 @@ CLASS z2ui5_cl_demo_app_162 DEFINITION PUBLIC.
END OF ty_s_tab.
TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
- DATA mt_table TYPE ty_t_table.
+ DATA mt_table TYPE ty_t_table.
DATA mt_filter TYPE z2ui5_cl_util=>ty_t_filter_multi.
PROTECTED SECTION.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA mv_check_initialized TYPE abap_bool.
+
METHODS on_event.
METHODS view_display.
METHODS set_data.
@@ -31,7 +31,6 @@ ENDCLASS.
CLASS z2ui5_cl_demo_app_162 IMPLEMENTATION.
-
METHOD on_event.
CASE client->get( )-event.
@@ -49,47 +48,47 @@ CLASS z2ui5_cl_demo_app_162 IMPLEMENTATION.
ENDMETHOD.
-
METHOD set_data.
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'sofa' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'computer' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'oven' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ).
-
- z2ui5_cl_util=>filter_itab(
- EXPORTING
- filter = mt_filter
- CHANGING
- val = mt_table
+ mt_table = VALUE #( create_date = `01.01.2023`
+ create_by = `Peter`
+ storage_location = `AREA_001`
+ quantity = 400
+ ( product = 'table' )
+ ( product = 'chair' )
+ ( product = 'sofa' )
+ ( product = 'computer' )
+ ( product = 'oven' )
+ ( product = 'table2' ) ).
+
+ z2ui5_cl_util=>filter_itab( EXPORTING filter = mt_filter
+ CHANGING val = mt_table
).
ENDMETHOD.
-
METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view = view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Select-Options'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ view = view->shell( )->page( id = `page_main`
+ title = 'abap2UI5 - Select-Options'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(vbox) = view->vbox( ).
- DATA(tab) = vbox->table(
- items = client->_bind( val = mt_table )
+ DATA(tab) = vbox->table( items = client->_bind( val = mt_table )
)->header_toolbar(
)->overflow_toolbar(
)->toolbar_spacer(
- )->button( text = `Filter` press = client->_event( `PREVIEW_FILTER` ) icon = `sap-icon://filter`
- )->button( text = `Go` press = client->_event( `BUTTON_START` ) type = `Emphasized`
+ )->button( text = `Filter`
+ press = client->_event( `PREVIEW_FILTER` )
+ icon = `sap-icon://filter`
+ )->button( text = `Go`
+ press = client->_event( `BUTTON_START` )
+ type = `Emphasized`
)->get_parent( )->get_parent( ).
DATA(lo_columns) = tab->columns( ).
@@ -110,7 +109,6 @@ CLASS z2ui5_cl_demo_app_162 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -141,4 +139,5 @@ CLASS z2ui5_cl_demo_app_162 IMPLEMENTATION.
ENDIF.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_163.clas.abap b/src/z2ui5_cl_demo_app_163.clas.abap
index d7d4c78a..76a634a7 100644
--- a/src/z2ui5_cl_demo_app_163.clas.abap
+++ b/src/z2ui5_cl_demo_app_163.clas.abap
@@ -1,15 +1,14 @@
-class Z2UI5_CL_DEMO_APP_163 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_163 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
-
-
- interfaces Z2UI5_IF_APP .
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
PROTECTED SECTION.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA mv_check_initialized TYPE abap_bool.
+
METHODS on_event.
METHODS view_display.
METHODS view_action_sheet.
@@ -19,11 +18,9 @@ public section.
ENDCLASS.
+CLASS z2ui5_cl_demo_app_163 IMPLEMENTATION.
-CLASS Z2UI5_CL_DEMO_APP_163 IMPLEMENTATION.
-
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
@@ -35,47 +32,62 @@ CLASS Z2UI5_CL_DEMO_APP_163 IMPLEMENTATION.
ENDMETHOD.
-
METHOD view_action_sheet.
DATA(action_sheet_view) = z2ui5_cl_xml_view=>factory_popup( ).
- action_sheet_view->_generic_property( VALUE #( n = `core:require` v = `{ MessageToast: 'sap/m/MessageToast' }` ) ).
-
- action_sheet_view->action_sheet( placement = `Botton` showcancelbutton = abap_true title = `Choose Your Action`
- )->button( text = `Accept` icon = `sap-icon://accept` press = `MessageToast.show('selected action is ' + ${$source>/text})`
- )->button( text = `Reject` icon = `sap-icon://decline` press = `MessageToast.show('selected action is ' + ${$source>/text})`
- )->button( text = `Email` icon = `sap-icon://email` press = `MessageToast.show('selected action is ' + ${$source>/text})`
- )->button( text = `Forward` icon = `sap-icon://forward` press = `MessageToast.show('selected action is ' + ${$source>/text})`
- )->button( text = `Delete` icon = `sap-icon://delete` press = `MessageToast.show('selected action is ' + ${$source>/text})`
- )->button( text = `Other` press = `MessageToast.show('selected action is ' + ${$source>/text})`
+ action_sheet_view->_generic_property( VALUE #( n = `core:require`
+ v = `{ MessageToast: 'sap/m/MessageToast' }` ) ).
+
+ action_sheet_view->action_sheet( placement = `Botton`
+ showcancelbutton = abap_true
+ title = `Choose Your Action`
+ )->button( text = `Accept`
+ icon = `sap-icon://accept`
+ press = `MessageToast.show('selected action is ' + ${$source>/text})`
+ )->button( text = `Reject`
+ icon = `sap-icon://decline`
+ press = `MessageToast.show('selected action is ' + ${$source>/text})`
+ )->button( text = `Email`
+ icon = `sap-icon://email`
+ press = `MessageToast.show('selected action is ' + ${$source>/text})`
+ )->button( text = `Forward`
+ icon = `sap-icon://forward`
+ press = `MessageToast.show('selected action is ' + ${$source>/text})`
+ )->button( text = `Delete`
+ icon = `sap-icon://delete`
+ press = `MessageToast.show('selected action is ' + ${$source>/text})`
+ )->button( text = `Other`
+ press = `MessageToast.show('selected action is ' + ${$source>/text})`
).
- client->popover_display( xml = action_sheet_view->stringify( ) by_id = `actionSheet` ).
+ client->popover_display( xml = action_sheet_view->stringify( )
+ by_id = `actionSheet` ).
ENDMETHOD.
-
- METHOD VIEW_DISPLAY.
+ METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view = view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Action Sheet'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ view = view->shell( )->page( id = `page_main`
+ title = 'abap2UI5 - Action Sheet'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(vbox) = view->vbox( ).
- vbox->button( text = 'Open Action Sheet' press = client->_event( 'OPEN_ACTION_SHEET' ) id = `actionSheet` class = `sapUiSmallMargin` ).
+ vbox->button( text = 'Open Action Sheet'
+ press = client->_event( 'OPEN_ACTION_SHEET' )
+ id = `actionSheet`
+ class = `sapUiSmallMargin` ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -85,7 +97,8 @@ CLASS Z2UI5_CL_DEMO_APP_163 IMPLEMENTATION.
RETURN.
ENDIF.
- on_event( ).
+ on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_164.clas.abap b/src/z2ui5_cl_demo_app_164.clas.abap
index 2d0c286a..f085c699 100644
--- a/src/z2ui5_cl_demo_app_164.clas.abap
+++ b/src/z2ui5_cl_demo_app_164.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_164 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -18,8 +17,9 @@ CLASS z2ui5_cl_demo_app_164 DEFINITION PUBLIC.
DATA mt_table TYPE ty_t_table.
PROTECTED SECTION.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA mv_check_initialized TYPE abap_bool.
+
METHODS on_event.
METHODS view_display.
METHODS set_data.
@@ -28,10 +28,8 @@ CLASS z2ui5_cl_demo_app_164 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_164 IMPLEMENTATION.
-
METHOD on_event.
CASE client->get( )-event.
@@ -45,41 +43,42 @@ CLASS z2ui5_cl_demo_app_164 IMPLEMENTATION.
ENDMETHOD.
-
METHOD set_data.
- "replace this with a db select here...
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'sofa' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'computer' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'oven' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ).
+ " replace this with a db select here...
+ mt_table = VALUE #( create_date = `01.01.2023`
+ create_by = `Peter`
+ storage_location = `AREA_001`
+ quantity = 400
+ ( product = 'table' )
+ ( product = 'chair' )
+ ( product = 'sofa' )
+ ( product = 'computer' )
+ ( product = 'oven' )
+ ( product = 'table2' ) ).
ENDMETHOD.
-
METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view = view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Popup Display Table'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ view = view->shell( )->page( id = `page_main`
+ title = 'abap2UI5 - Popup Display Table'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
DATA(vbox) = view->vbox( ).
- DATA(tab) = vbox->table(
- items = client->_bind( val = mt_table )
+ DATA(tab) = vbox->table( items = client->_bind( val = mt_table )
)->header_toolbar(
)->overflow_toolbar(
)->toolbar_spacer(
* )->button( text = `Filter` press = client->_event( `PREVIEW_FILTER` ) icon = `sap-icon://filter`
- )->button( text = `Display Popup` press = client->_event( `BUTTON_START` ) type = `Emphasized`
+ )->button( text = `Display Popup`
+ press = client->_event( `BUTTON_START` )
+ type = `Emphasized`
)->get_parent( )->get_parent( ).
DATA(lo_columns) = tab->columns( ).
@@ -100,7 +99,6 @@ CLASS z2ui5_cl_demo_app_164 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -114,6 +112,7 @@ CLASS z2ui5_cl_demo_app_164 IMPLEMENTATION.
IF client->get( )-check_on_navigated = abap_true.
TRY.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lo_popup_table) = CAST z2ui5_cl_pop_table( client->get_app( client->get( )-s_draft-id_prev_app ) ).
set_data( ).
client->view_model_update( ).
@@ -127,4 +126,5 @@ CLASS z2ui5_cl_demo_app_164 IMPLEMENTATION.
ENDIF.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_166.clas.abap b/src/z2ui5_cl_demo_app_166.clas.abap
index 80efae49..50d9b2d9 100644
--- a/src/z2ui5_cl_demo_app_166.clas.abap
+++ b/src/z2ui5_cl_demo_app_166.clas.abap
@@ -1,9 +1,8 @@
CLASS z2ui5_cl_demo_app_166 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -19,35 +18,34 @@ CLASS z2ui5_cl_demo_app_166 DEFINITION
value TYPE string,
value2 TYPE string,
END OF ty_struc.
+
DATA ms_struc TYPE ty_struc.
- DATA:
- BEGIN OF ms_struc2.
- INCLUDE TYPE ty_struc.
- INCLUDE TYPE ty_struc_incl.
- DATA END OF ms_struc2.
+ DATA BEGIN OF ms_struc2.
+ INCLUDE TYPE ty_struc.
+ INCLUDE TYPE ty_struc_incl.
+ DATA END OF ms_struc2.
DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
+
METHODS set_view.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_166 IMPLEMENTATION.
-
METHOD set_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Binding Structure Level'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Binding Structure Level'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->input( client->_bind_edit( val = ms_struc-title ) ).
page->input( client->_bind_edit( val = ms_struc-value ) ).
@@ -65,7 +63,6 @@ CLASS z2ui5_cl_demo_app_166 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -77,15 +74,14 @@ CLASS z2ui5_cl_demo_app_166 IMPLEMENTATION.
ms_struc-value = `val01`.
ms_struc-value2 = `val02`.
+ ms_struc2-title = `title`.
+ ms_struc2-value = `val01`.
+ ms_struc2-value2 = `val02`.
+ ms_struc2-incl_title = `title_incl`.
+ ms_struc2-incl_value = `val01_incl`.
+ ms_struc2-incl_value2 = `val02_incl`.
- ms_struc2-title = `title`.
- ms_struc2-value = `val01`.
- ms_struc2-value2 = `val02`.
- ms_struc2-incl_title = `title_incl`.
- ms_struc2-incl_value = `val01_incl`.
- ms_struc2-incl_value2 = `val02_incl`.
-
- set_view( ).
+ set_view( ).
ENDIF.
CASE client->get( )-event.
@@ -96,4 +92,5 @@ CLASS z2ui5_cl_demo_app_166 IMPLEMENTATION.
client->view_model_update( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_167.clas.abap b/src/z2ui5_cl_demo_app_167.clas.abap
index 36da8bb5..8d6c4cb8 100644
--- a/src/z2ui5_cl_demo_app_167.clas.abap
+++ b/src/z2ui5_cl_demo_app_167.clas.abap
@@ -1,18 +1,19 @@
CLASS z2ui5_cl_demo_app_167 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA mv_value TYPE string.
+ DATA mv_value TYPE string.
DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
+
METHODS set_view.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
@@ -23,39 +24,40 @@ CLASS z2ui5_cl_demo_app_167 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Event with add Information and t_arg'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Event with add Information and t_arg'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- page->link( text = 'More Infos..' target = '_blank'
- href = `https://sapui5.hana.ondemand.com/sdk/#/topic/b0fb4de7364f4bcbb053a99aa645affe` ).
+ page->link( text = 'More Infos..'
+ target = '_blank'
+ href = `https://sapui5.hana.ondemand.com/sdk/#/topic/b0fb4de7364f4bcbb053a99aa645affe` ).
- page->button( text = `EVENT_FIX_VAL` press = client->_event( val = `EVENT_FIX_VAL` t_arg = VALUE #(
- ( `FIX_VAL` ) ) ) ).
+ page->button( text = `EVENT_FIX_VAL`
+ press = client->_event( val = `EVENT_FIX_VAL`
+ t_arg = VALUE #( ( `FIX_VAL` ) ) ) ).
page->input( client->_bind_Edit( mv_value ) ).
- page->button( text = `EVENT_MODEL_VALUE` press = client->_event( val = `EVENT_MODEL_VALUE` t_arg = VALUE #(
- ( `$` && client->_bind_edit( mv_value ) ) ) ) ).
+ page->button( text = `EVENT_MODEL_VALUE`
+ press = client->_event( val = `EVENT_MODEL_VALUE`
+ t_arg = VALUE #( ( |${ client->_bind_edit( mv_value ) }| ) ) ) ).
+ page->button( text = `SOURCE_PROPERTY_TEXT`
+ press = client->_event( val = `SOURCE_PROPERTY_TEXT`
+ t_arg = VALUE #( ( `${$source>/text}` ) ) ) ).
- page->button( text = `SOURCE_PROPERTY_TEXT` press = client->_event( val = `SOURCE_PROPERTY_TEXT` t_arg = VALUE #(
- ( `${$source>/text}` ) ) ) ).
+ page->input( description = `make an input and press enter - `
+ submit = client->_event( val = `EVENT_PROPERTY_VALUE`
+ t_arg = VALUE #( ( `${$parameters>/value}` ) ) ) ).
- page->input(
- description = `make an input and press enter - `
- submit = client->_event( val = `EVENT_PROPERTY_VALUE` t_arg = VALUE #(
- ( `${$parameters>/value}` ) ) ) ).
-
- page->button( text = `PARENT_PROPERTY_ID` press = client->_event( val = `PARENT_PROPERTY_ID` t_arg = VALUE #(
- ( `$event.oSource.oParent.sId` ) ) ) ).
+ page->button( text = `PARENT_PROPERTY_ID`
+ press = client->_event( val = `PARENT_PROPERTY_ID`
+ t_arg = VALUE #( ( `$event.oSource.oParent.sId` ) ) ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -63,13 +65,13 @@ CLASS z2ui5_cl_demo_app_167 IMPLEMENTATION.
IF check_initialized = abap_false.
check_initialized = abap_true.
mv_value = `my value`.
- set_view( ).
+ set_view( ).
ENDIF.
DATA(lt_arg) = client->get( )-t_event_arg.
CASE client->get( )-event.
- WHEN `EVENT_FIX_VAL` OR `EVENT_MODEL_VALUE` or 'SOURCE_PROPERTY_TEXT' or 'EVENT_PROPERTY_VALUE' or 'PARENT_PROPERTY_ID'.
- client->message_box_display( `backend event :` && lt_arg[ 1 ] ).
+ WHEN `EVENT_FIX_VAL` OR `EVENT_MODEL_VALUE` OR 'SOURCE_PROPERTY_TEXT' OR 'EVENT_PROPERTY_VALUE' OR 'PARENT_PROPERTY_ID'.
+ client->message_box_display( |backend event :{ lt_arg[ 1 ] }| ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -79,4 +81,5 @@ CLASS z2ui5_cl_demo_app_167 IMPLEMENTATION.
client->view_model_update( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_168.clas.abap b/src/z2ui5_cl_demo_app_168.clas.abap
index fce2cdee..84960347 100644
--- a/src/z2ui5_cl_demo_app_168.clas.abap
+++ b/src/z2ui5_cl_demo_app_168.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_168 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA client TYPE REF TO z2ui5_if_client.
@@ -19,14 +18,12 @@ CLASS z2ui5_cl_demo_app_168 DEFINITION PUBLIC.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_168 IMPLEMENTATION.
-
METHOD ui5_callback.
TRY.
- DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
+ DATA(lo_prev) = client->get_app( client->get( )-s_draft-id_prev_app ).
IF CAST z2ui5_cl_pop_file_dl( lo_prev )->result( ).
client->message_box_display( `the input is downloaded` ).
ENDIF.
@@ -35,24 +32,20 @@ CLASS z2ui5_cl_demo_app_168 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup File Download'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup File Download'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_event.
CASE client->get( )-event.
@@ -68,7 +61,6 @@ CLASS z2ui5_cl_demo_app_168 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
diff --git a/src/z2ui5_cl_demo_app_169.clas.abap b/src/z2ui5_cl_demo_app_169.clas.abap
index 3f71ddae..59063fdd 100644
--- a/src/z2ui5_cl_demo_app_169.clas.abap
+++ b/src/z2ui5_cl_demo_app_169.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_169 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -16,12 +15,13 @@ CLASS z2ui5_cl_demo_app_169 DEFINITION PUBLIC.
checkbox TYPE abap_bool,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_editable_active TYPE abap_bool.
- DATA check_initialized TYPE abap_bool.
+ DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
+
METHODS set_view.
PRIVATE SECTION.
@@ -34,22 +34,19 @@ CLASS z2ui5_cl_demo_app_169 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - JSON Export ITAB'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true
+ )->page( title = 'abap2UI5 - JSON Export ITAB'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true
).
- DATA(tab) = page->table(
- items = client->_bind_edit( t_tab )
+ DATA(tab) = page->table( items = client->_bind_edit( t_tab )
)->header_toolbar(
)->overflow_toolbar(
)->title( 'title of the table'
)->toolbar_spacer(
- )->button(
- icon = 'sap-icon://download'
- text = `JSON Export`
- press = client->_event( 'EXPORT' )
+ )->button( icon = 'sap-icon://download'
+ text = `JSON Export`
+ press = client->_event( 'EXPORT' )
)->get_parent( )->get_parent( ).
tab->columns(
@@ -73,7 +70,6 @@ CLASS z2ui5_cl_demo_app_169 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -91,11 +87,10 @@ CLASS z2ui5_cl_demo_app_169 IMPLEMENTATION.
( )
).
- set_view( ).
+ set_view( ).
ENDIF.
-
CASE client->get( )-event.
WHEN 'EXPORT'.
@@ -107,4 +102,5 @@ CLASS z2ui5_cl_demo_app_169 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_170.clas.abap b/src/z2ui5_cl_demo_app_170.clas.abap
index d7e473d6..773ab311 100644
--- a/src/z2ui5_cl_demo_app_170.clas.abap
+++ b/src/z2ui5_cl_demo_app_170.clas.abap
@@ -1,117 +1,118 @@
CLASS z2ui5_cl_demo_app_170 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app .
+ DATA client TYPE REF TO z2ui5_if_client.
+ DATA mv_selected_key TYPE string.
- DATA client TYPE REF TO z2ui5_if_client .
- DATA mv_selected_key TYPE string .
-
- METHODS ui5_display .
- METHODS ui5_event .
- METHODS simple_popup1 .
+ METHODS ui5_display.
+ METHODS ui5_event.
+ METHODS simple_popup1.
METHODS simple_popup2.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_170 IMPLEMENTATION.
-
METHOD simple_popup1.
DATA(popup) = z2ui5_cl_xml_view=>factory_popup( ).
- DATA(dialog) = popup->dialog( stretch = abap_true
- afterclose = client->_event( 'BTN_OK_1ND' )
+ DATA(dialog) = popup->dialog( stretch = abap_true
+ afterclose = client->_event( 'BTN_OK_1ND' )
)->content( ).
- DATA(content) = dialog->icon_tab_bar( selectedkey = client->_bind_edit( mv_selected_key )
- select = client->_event_client( val = `POPUP_NAV_CONTAINER_TO` t_arg = VALUE #( ( `NavCon` ) ( `${$parameters>/selectedKey}` ) ) )
- headermode = `Inline`
- expanded = abap_true
- expandable = abap_false
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(content) = dialog->icon_tab_bar(
+ selectedkey = client->_bind_edit( mv_selected_key )
+ select = client->_event_client( val = `POPUP_NAV_CONTAINER_TO`
+ t_arg = VALUE #( ( `NavCon` ) ( `${$parameters>/selectedKey}` ) ) )
+ headermode = `Inline`
+ expanded = abap_true
+ expandable = abap_false
)->items(
- )->icon_tab_filter( key = `page1` text = `Home` )->get_parent(
- )->icon_tab_filter( key = `page2` text = `Applications` )->get_parent(
- )->icon_tab_filter( key = `page3` text = `Users and Groups`
+ )->icon_tab_filter( key = `page1`
+ text = `Home` )->get_parent(
+ )->icon_tab_filter( key = `page2`
+ text = `Applications` )->get_parent(
+ )->icon_tab_filter( key = `page3`
+ text = `Users and Groups`
)->items(
- )->icon_tab_filter( key = `page11` text = `User 1` )->get_parent(
- )->icon_tab_filter( key = `page32` text = `User 2` )->get_parent(
- )->icon_tab_filter( key = `page33` text = `User 3`
+ )->icon_tab_filter( key = `page11`
+ text = `User 1` )->get_parent(
+ )->icon_tab_filter( key = `page32`
+ text = `User 2` )->get_parent(
+ )->icon_tab_filter( key = `page33`
+ text = `User 3`
)->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->content( )->vbox( height = `100%`
- )->nav_container( id = `NavCon` initialpage = `page1` defaulttransitionname = `flip` height = '400px'
+ )->nav_container( id = `NavCon`
+ initialpage = `page1`
+ defaulttransitionname = `flip`
+ height = '400px'
)->pages(
- )->page(
- title = 'first page'
- id = `page1`
+ )->page( title = 'first page'
+ id = `page1`
)->get_parent(
- )->page(
- title = 'second page'
- id = `page2`
+ )->page( title = 'second page'
+ id = `page2`
)->get_parent(
- )->page(
- title = 'third page'
- id = `page3`
+ )->page( title = 'third page'
+ id = `page3`
).
dialog->get_parent( )->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'OK'
- press = client->_event( 'BTN_OK_1ND' )
- type = 'Emphasized' ).
+ )->button( text = 'OK'
+ press = client->_event( 'BTN_OK_1ND' )
+ type = 'Emphasized' ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD simple_popup2.
DATA(popup) = z2ui5_cl_xml_view=>factory_popup( ).
- DATA(dialog) = popup->dialog(
- afterclose = client->_event( 'BTN_OK_2ND' )
+ DATA(dialog) = popup->dialog( afterclose = client->_event( 'BTN_OK_2ND' )
)->content( ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(content) = dialog->label( text = 'this is a second popup' ).
dialog->get_parent( )->footer( )->overflow_toolbar(
)->toolbar_spacer(
- )->button(
- text = 'GOTO 1ST POPUP'
- press = client->_event( 'BTN_OK_2ND' )
- type = 'Emphasized' ).
+ )->button( text = 'GOTO 1ST POPUP'
+ press = client->_event( 'BTN_OK_2ND' )
+ type = 'Emphasized' ).
client->popup_display( popup->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell(
- )->page(
- title = 'abap2UI5 - Popup To Popup'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) ).
+ )->page( title = 'abap2UI5 - Popup To Popup'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_event.
CASE client->get( )-event.
@@ -119,11 +120,11 @@ CLASS z2ui5_cl_demo_app_170 IMPLEMENTATION.
simple_popup2( ).
WHEN 'BTN_OK_2ND'.
- client->popup_destroy( ).
+ client->popup_destroy( ).
simple_popup1( ).
WHEN 'BTN_OK_1ND'.
- client->popup_destroy( ).
+ client->popup_destroy( ).
WHEN 'POPUP'.
simple_popup1( ).
@@ -135,7 +136,6 @@ CLASS z2ui5_cl_demo_app_170 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -148,4 +148,5 @@ CLASS z2ui5_cl_demo_app_170 IMPLEMENTATION.
ui5_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_171.clas.abap b/src/z2ui5_cl_demo_app_171.clas.abap
index 113d3efd..ff0a4176 100644
--- a/src/z2ui5_cl_demo_app_171.clas.abap
+++ b/src/z2ui5_cl_demo_app_171.clas.abap
@@ -5,31 +5,33 @@ CLASS z2ui5_cl_demo_app_171 DEFINITION PUBLIC.
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_171 IMPLEMENTATION.
+
METHOD z2ui5_if_app~main.
TRY.
- "first app start,
+ " first app start,
IF client->check_on_init( ).
- "init values here..
+ " init values here..
RETURN.
ENDIF.
-
- "callback after previous app.
+ " callback after previous app.
IF client->check_on_navigated( ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lo_app_prev) = client->get_app_prev( ).
- "read attributes of previous app here...
+ " read attributes of previous app here...
RETURN.
ENDIF.
-
- "handle events..
+ " handle events..
CASE client->get( )-event.
WHEN 'OK'.
- data(lt_arg) = client->get_event_arg( ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(lt_arg) = client->get_event_arg( ).
"...
WHEN 'CANCEL'.
@@ -37,9 +39,10 @@ CLASS z2ui5_cl_demo_app_171 IMPLEMENTATION.
ENDCASE.
- "error handling here..
+ " error handling here..
CATCH cx_root INTO DATA(lx).
client->message_box_display( lx ).
ENDTRY.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_172.clas.abap b/src/z2ui5_cl_demo_app_172.clas.abap
index 2041f8fc..5ee65540 100644
--- a/src/z2ui5_cl_demo_app_172.clas.abap
+++ b/src/z2ui5_cl_demo_app_172.clas.abap
@@ -1,11 +1,9 @@
CLASS z2ui5_cl_demo_app_172 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_output,
@@ -13,33 +11,33 @@ CLASS z2ui5_cl_demo_app_172 DEFINITION
text TYPE c LENGTH 30,
link TYPE c LENGTH 30,
currency TYPE p LENGTH 13 DECIMALS 2,
- percent1 TYPE p LENGTH 3 DECIMALS 2,
+ percent1 TYPE p LENGTH 3 DECIMALS 2,
input1 TYPE i,
input2 TYPE i,
input3 TYPE i,
bool TYPE abap_bool,
waers TYPE waers,
- END OF ty_output .
+ END OF ty_output.
+
+ DATA check_initialized TYPE abap_bool.
+ DATA output TYPE STANDARD TABLE OF ty_output.
+ DATA client TYPE REF TO z2ui5_if_client.
- DATA check_initialized TYPE abap_bool .
- DATA output TYPE STANDARD TABLE OF ty_output.
- DATA client TYPE REF TO z2ui5_if_client.
PROTECTED SECTION.
+ METHODS load_output_table.
+ METHODS on_event.
+ METHODS render_main_screen.
- METHODS load_output_table .
- METHODS on_event .
- METHODS render_main_screen .
METHODS calculate_sum
IMPORTING
- !i_column TYPE string .
+ i_column TYPE string.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_172 IMPLEMENTATION.
-
* ---------------------------------------------------------------------------------------+
* | Instance Protected Method Z2UI5_CL_DEMO_APP_160->LOAD_OUTPUT_TABLE
* +-------------------------------------------------------------------------------------------------+
@@ -47,21 +45,22 @@ CLASS z2ui5_cl_demo_app_172 IMPLEMENTATION.
METHOD load_output_table.
DATA ls_output TYPE ty_output.
+
CLEAR output.
DO 11 TIMES.
- ls_output-index = sy-index.
- ls_output-text = 'Text'.
- ls_output-link = 'Link'.
+ ls_output-index = sy-index.
+ ls_output-text = 'Text'.
+ ls_output-link = 'Link'.
ls_output-currency = '123.45'.
- ls_output-waers = 'EUR'.
+ ls_output-waers = 'EUR'.
IF sy-index = 1.
- ls_output-bool = abap_false.
+ ls_output-bool = abap_false.
ls_output-percent1 = '100.00'.
ELSE.
- ls_output-bool = abap_true.
+ ls_output-bool = abap_true.
ls_output-percent1 = '10.00'.
ENDIF.
@@ -69,20 +68,19 @@ CLASS z2ui5_cl_demo_app_172 IMPLEMENTATION.
ENDDO.
- "Calculate percentages of the total line from user input
+ " Calculate percentages of the total line from user input
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Protected Method Z2UI5_CL_DEMO_APP_160->ON_EVENT
* +-------------------------------------------------------------------------------------------------+
* +--------------------------------------------------------------------------------------
METHOD on_event.
- DATA: lt_event_arguments TYPE string_table,
- lv_tab_index TYPE string,
- lv_message TYPE string.
+ DATA lt_event_arguments TYPE string_table.
+ DATA lv_tab_index TYPE string.
+ DATA lv_message TYPE string.
lt_event_arguments = client->get( )-t_event_arg.
@@ -102,14 +100,16 @@ CLASS z2ui5_cl_demo_app_172 IMPLEMENTATION.
WHEN 'INPUT_CHANGE'.
-
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lv_id_event) = lt_event_arguments[ 1 ].
lv_tab_index = lt_event_arguments[ 2 ].
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(ls_row_submit) = output[ lv_tab_index ].
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lv_id_parent) = lt_event_arguments[ 3 ].
DATA(lv_column) = lt_event_arguments[ 4 ].
- me->calculate_sum( lv_column ).
+ calculate_sum( lv_column ).
WHEN 'BACK'.
@@ -122,7 +122,6 @@ CLASS z2ui5_cl_demo_app_172 IMPLEMENTATION.
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Protected Method Z2UI5_CL_DEMO_APP_160->RENDER_MAIN_SCREEN
* +-------------------------------------------------------------------------------------------------+
@@ -132,68 +131,96 @@ CLASS z2ui5_cl_demo_app_172 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- id = `page`
- title = 'abap2UI5 - Demo ui.table'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( id = `page`
+ title = 'abap2UI5 - Demo ui.table'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->header_content(
)->link(
)->get_parent( ).
- page->_generic( name = `script` ns = `html` )->_cc_plain_xml( `sap.z2ui5.afterBE = () => { setTimeout( () => { let input = document.activeElement.childNodes[0].childNodes[0].childNodes[0].childNodes[0]; input.focus( ); input.select(); } , 100 ); }`
+ page->_generic( name = `script`
+ ns = `html` )->_cc_plain_xml(
+ `sap.z2ui5.afterBE = () => { setTimeout( () => { let input = document.activeElement.childNodes[0].childNodes[0].childNodes[0].childNodes[0]; input.focus( ); input.select(); } , 100 ); }`
).
- DATA(table) = page->ui_table( id = `tab` alternaterowcolors = 'true' visiblerowcountmode = 'Auto'
- fixedrowcount = '1' selectionmode = 'None' rows = client->_bind_edit( val = output ) ).
+ DATA(table) = page->ui_table( id = `tab`
+ alternaterowcolors = 'true'
+ visiblerowcountmode = 'Auto'
+ fixedrowcount = '1'
+ selectionmode = 'None'
+ rows = client->_bind_edit( val = output ) ).
DATA(columns) = table->ui_columns( ).
- columns->ui_column( width = '8rem' sortproperty = 'TEXT' filterproperty = 'TEXT' )->text( text = 'Text Column' )->ui_template( )->text( text = `{TEXT}` ).
- columns->ui_column( width = '8rem' sortproperty = 'LINK' filterproperty = 'LINK' )->text( text = 'Link Column' )->ui_template( )->link( text = `{LINK}`
- press = client->_event( val = 'LINK_CLICK' t_arg = VALUE #( ( `${INDEX}`) ) ) ).
- columns->ui_column( width = '8rem' sortproperty = 'CURRENCY' filterproperty = 'CURRENCY' )->text( text = 'Currency Column' )->ui_template( )->text(
- text = `{ parts: [ 'CURRENCY', 'WAERS'], type: 'sap.ui.model.type.Currency', formatOptions: { currencyCode: false } }` ).
- "Formatting of currency is language dependant, f.e. add the parameter &sap-language=DE o your URL to move the euro sign behind the number
-
- columns->ui_column( width = '8rem' sortproperty = 'PERCENT1' filterproperty = 'PERCENT1' )->text( text = 'Percentage' )->ui_template( )->text( text = `{PERCENT1} %` ).
-
- columns->ui_column( width = '8rem' sortproperty = 'INPUT1' filterproperty = 'INPUT1' )->text( text = 'Input Column' )->ui_template( )->input(
- value = `{INPUT1}` enabled = `{BOOL}` change = client->_event( val = 'INPUT_CHANGE' t_arg = VALUE #(
- ( `${$source>/id}` ) "Access the id of the HTML element
- ( `${INDEX}` ) "Access the value of the index column of the row where the user made a change
- ( `$event.oSource.oParent.sId` ) "Access the id of the parent element
- ( `INPUT1` ) "Pass the column name as simple string to the event
- ) ) editable = abap_true type = 'Number' ).
-
- columns->ui_column( width = '8rem' sortproperty = 'INPUT2' filterproperty = 'INPUT2' )->text( text = 'Input Column'
+ columns->ui_column( width = '8rem'
+ sortproperty = 'TEXT'
+ filterproperty = 'TEXT' )->text( text = 'Text Column' )->ui_template( )->text(
+ text = `{TEXT}` ).
+ columns->ui_column( width = '8rem'
+ sortproperty = 'LINK'
+ filterproperty = 'LINK' )->text( text = 'Link Column' )->ui_template( )->link(
+ text = `{LINK}`
+ press = client->_event( val = 'LINK_CLICK'
+ t_arg = VALUE #( ( `${INDEX}` ) ) ) ).
+ columns->ui_column( width = '8rem'
+ sortproperty = 'CURRENCY'
+ filterproperty = 'CURRENCY' )->text( text = 'Currency Column' )->ui_template( )->text(
+ text = `{ parts: [ 'CURRENCY', 'WAERS'], type: 'sap.ui.model.type.Currency', formatOptions: { currencyCode: false } }` ).
+ " Formatting of currency is language dependent, f.e. add the parameter &sap-language=DE o your URL to move the euro sign behind the number
+
+ columns->ui_column( width = '8rem'
+ sortproperty = 'PERCENT1'
+ filterproperty = 'PERCENT1' )->text( text = 'Percentage' )->ui_template( )->text(
+ text = `{PERCENT1} %` ).
+
+ columns->ui_column( width = '8rem'
+ sortproperty = 'INPUT1'
+ filterproperty = 'INPUT1' )->text( text = 'Input Column' )->ui_template( )->input(
+ value = `{INPUT1}`
+ enabled = `{BOOL}`
+ change = client->_event( val = 'INPUT_CHANGE'
+ t_arg = VALUE #( ( `${$source>/id}` ) " Access the id of the HTML element
+ ( `${INDEX}` ) " Access the value of the index column of the row where the user made a change
+ ( `$event.oSource.oParent.sId` ) " Access the id of the parent element
+ ( `INPUT1` ) " Pass the column name as simple string to the event
+) )
+ editable = abap_true
+ type = 'Number' ).
+
+ columns->ui_column( width = '8rem'
+ sortproperty = 'INPUT2'
+ filterproperty = 'INPUT2' )->text( text = 'Input Column'
)->ui_template(
- )->input(
- value = `{INPUT2}`
- enabled = `{BOOL}`
- change = client->_event( val = 'INPUT_CHANGE'
- t_arg = VALUE #(
- ( `${$source>/id}` )
- ( `${INDEX}` )
- ( `$event.oSource.oParent.sId` )
- ( `INPUT2` )
- ) )
- submit = client->_event( val = 'INPUT_SUBMIT' )
- editable = abap_true
- type = 'Number' ).
-
- columns->ui_column( width = '8rem' sortproperty = 'INPUT3' filterproperty = 'INPUT3' )->text( text = 'Input Column' )->ui_template( )->input(
- value = `{INPUT3}` enabled = `{BOOL}` change = client->_event( val = 'INPUT_CHANGE' t_arg = VALUE #(
- ( `${$source>/id}` )
- ( `${INDEX}` )
- ( `$event.oSource.oParent.sId` )
- ( `INPUT3` )
- ) ) editable = abap_true type = 'Number' ).
+ )->input( value = `{INPUT2}`
+ enabled = `{BOOL}`
+ change = client->_event( val = 'INPUT_CHANGE'
+ t_arg = VALUE #( ( `${$source>/id}` )
+ ( `${INDEX}` )
+ ( `$event.oSource.oParent.sId` )
+ ( `INPUT2` )
+ ) )
+ submit = client->_event( val = 'INPUT_SUBMIT' )
+ editable = abap_true
+ type = 'Number' ).
+
+ columns->ui_column( width = '8rem'
+ sortproperty = 'INPUT3'
+ filterproperty = 'INPUT3' )->text( text = 'Input Column' )->ui_template( )->input(
+ value = `{INPUT3}`
+ enabled = `{BOOL}`
+ change = client->_event( val = 'INPUT_CHANGE'
+ t_arg = VALUE #( ( `${$source>/id}` )
+ ( `${INDEX}` )
+ ( `$event.oSource.oParent.sId` )
+ ( `INPUT3` )
+) )
+ editable = abap_true
+ type = 'Number' ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Public Method Z2UI5_CL_DEMO_APP_160->Z2UI5_IF_APP~MAIN
* +-------------------------------------------------------------------------------------------------+
@@ -207,15 +234,14 @@ CLASS z2ui5_cl_demo_app_172 IMPLEMENTATION.
check_initialized = abap_true.
load_output_table( ).
- render_main_screen( ).
+ render_main_screen( ).
RETURN.
ENDIF.
- on_event( ).
+ on_event( ).
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Protected Method Z2UI5_CL_DEMO_APP_160->CALCULATE_SUM
* +-------------------------------------------------------------------------------------------------+
@@ -223,22 +249,22 @@ CLASS z2ui5_cl_demo_app_172 IMPLEMENTATION.
* +--------------------------------------------------------------------------------------
METHOD calculate_sum.
- DATA: lv_sum TYPE i.
+ DATA lv_sum TYPE i.
- FIELD-SYMBOLS: LIKE LINE OF output,
- TYPE any.
+ FIELD-SYMBOLS LIKE LINE OF output.
+ FIELD-SYMBOLS TYPE any.
LOOP AT output ASSIGNING WHERE index > 1.
- ASSIGN COMPONENT i_column OF STRUCTURE TO .
+ ASSIGN COMPONENT i_column OF STRUCTURE TO .
lv_sum = lv_sum + .
ENDLOOP.
- READ TABLE output INDEX 1 ASSIGNING .
- ASSIGN COMPONENT i_column OF STRUCTURE TO .
+ ASSIGN output[ 1 ] TO .
+ ASSIGN COMPONENT i_column OF STRUCTURE TO .
= lv_sum.
-
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_173.clas.abap b/src/z2ui5_cl_demo_app_173.clas.abap
index 9bc43acc..692b166e 100644
--- a/src/z2ui5_cl_demo_app_173.clas.abap
+++ b/src/z2ui5_cl_demo_app_173.clas.abap
@@ -1,9 +1,8 @@
CLASS z2ui5_cl_demo_app_173 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -22,63 +21,64 @@ CLASS z2ui5_cl_demo_app_173 DEFINITION
END OF ty_s_layout,
ty_t_layout TYPE STANDARD TABLE OF ty_s_layout WITH EMPTY KEY.
- DATA mv_flag TYPE abap_bool. " VALUE abap_true.
+ DATA mv_flag TYPE abap_bool. " VALUE abap_true.
DATA mv_initialized TYPE abap_bool.
- DATA mt_layout TYPE ty_t_layout.
- DATA mt_data TYPE ty_t_data.
+ DATA mt_layout TYPE ty_t_layout.
+ DATA mt_data TYPE ty_t_data.
METHODS view_display.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_173 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_173 IMPLEMENTATION.
METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view = view->shell( )->page( id = `page_main` class = `sapUiContentPadding`
- title = 'abap2UI5 - Sample Templating I'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ view = view->shell( )->page( id = `page_main`
+ class = `sapUiContentPadding`
+ title = 'abap2UI5 - Sample Templating I'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
view->table( items = client->_bind( mt_data )
)->columns(
- )->template_repeat( list = `{template>/MT_LAYOUT}` var = `L0`
- )->column( mergeduplicates = `{L0>MERGE}` visible = `{L0>VISIBLE}` )->text( text = `{L0>FNAME}` )->get_parent(
+ )->template_repeat( list = `{template>/MT_LAYOUT}`
+ var = `L0`
+ )->column( mergeduplicates = `{L0>MERGE}`
+ visible = `{L0>VISIBLE}` )->text( text = `{L0>FNAME}` )->get_parent(
)->get_parent( )->get_parent(
)->items(
)->column_list_item(
)->cells(
- )->template_repeat( list = `{template>/MT_LAYOUT}` var = `L1`
+ )->template_repeat( list = `{template>/MT_LAYOUT}`
+ var = `L1`
)->object_identifier( text = `{= '{' + ${L1>FNAME} + '}' }` ).
-
view->label( text = `IF Template (with re-rendering)` ).
- view->switch( state = client->_bind_edit( mv_flag ) change = client->_event( `CHANGE_FLAG` ) ).
+ view->switch( state = client->_bind_edit( mv_flag )
+ change = client->_event( `CHANGE_FLAG` ) ).
view = view->vbox( ).
view->template_if( test = `{template>/XX/MV_FLAG}`
)->template_then(
- )->icon( src = `sap-icon://accept` color = `green` )->get_parent(
+ )->icon( src = `sap-icon://accept`
+ color = `green` )->get_parent(
)->template_else(
- )->icon( src = `sap-icon://decline` color = `red`
+ )->icon( src = `sap-icon://decline`
+ color = `red`
).
-
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -88,13 +88,14 @@ CLASS Z2UI5_CL_DEMO_APP_173 IMPLEMENTATION.
client->_bind( mt_layout ).
- mt_data = VALUE #( ( name = 'Theo' date = '01.01.2000' age = '5' )
- ( name = 'Lore' date = '01.01.2000' age = '1' ) ).
-
- mt_layout = VALUE #( ( fname = 'NAME' merge = 'false' visible = 'true' )
- ( fname = 'DATE' merge = 'false' visible = 'true' )
- ( fname = 'AGE' merge = 'false' visible = 'false' ) ).
+ mt_data = VALUE #( date = '01.01.2000'
+ ( name = 'Theo' age = '5' )
+ ( name = 'Lore' age = '1' ) ).
+ mt_layout = VALUE #( merge = 'false'
+ ( fname = 'NAME' visible = 'true' )
+ ( fname = 'DATE' visible = 'true' )
+ ( fname = 'AGE' visible = 'false' ) ).
view_display( ).
@@ -110,6 +111,6 @@ CLASS Z2UI5_CL_DEMO_APP_173 IMPLEMENTATION.
RETURN.
ENDCASE.
-
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_174.clas.abap b/src/z2ui5_cl_demo_app_174.clas.abap
index 14b5947c..47a4b4d2 100644
--- a/src/z2ui5_cl_demo_app_174.clas.abap
+++ b/src/z2ui5_cl_demo_app_174.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_174 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -13,41 +12,41 @@ CLASS z2ui5_cl_demo_app_174 DEFINITION PUBLIC.
END OF ty_row.
TYPES ty_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
- DATA mt_tab TYPE ty_tab.
+ DATA mt_tab TYPE ty_tab.
DATA mv_multiselect TYPE abap_bool.
- DATA mv_preselect TYPE abap_bool.
+ DATA mv_preselect TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
IF client->check_on_init( ).
- client->view_display(
- z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Popup To Select'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = client->check_app_prev_stack( )
- )->hbox(
- )->text( text = 'Multiselect: ' class = 'sapUiTinyMargin'
- )->switch( state = client->_bind_edit( mv_multiselect ) change = client->_event( `MULTISELECT_TOGGLE` )
- )->get_parent(
- )->hbox(
- )->text( text = 'Preselect all entries: ' class = 'sapUiTinyMargin'
- )->switch( state = client->_bind_edit( mv_preselect ) enabled = client->_bind_edit( mv_multiselect )
- )->get_parent(
- )->button(
- text = 'Open Popup...'
- press = client->_event( 'POPUP' ) )->stringify( )
+ client->view_display( z2ui5_cl_xml_view=>factory( )->shell(
+ )->page( title = 'abap2UI5 - Popup To Select'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = client->check_app_prev_stack( )
+ )->hbox(
+ )->text( text = 'Multiselect: '
+ class = 'sapUiTinyMargin'
+ )->switch( state = client->_bind_edit( mv_multiselect )
+ change = client->_event( `MULTISELECT_TOGGLE` )
+ )->get_parent(
+ )->hbox(
+ )->text( text = 'Preselect all entries: '
+ class = 'sapUiTinyMargin'
+ )->switch( state = client->_bind_edit( mv_preselect )
+ enabled = client->_bind_edit( mv_multiselect )
+ )->get_parent(
+ )->button( text = 'Open Popup...'
+ press = client->_event( 'POPUP' ) )->stringify( )
).
RETURN.
@@ -56,18 +55,18 @@ CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION.
CASE client->get( )-event.
WHEN 'POPUP'.
- mt_tab = VALUE #( descr = 'this is a description'
- ( zzselkz = mv_preselect title = 'title_01' value = 'value_01' )
- ( zzselkz = mv_preselect title = 'title_02' value = 'value_02' )
- ( zzselkz = mv_preselect title = 'title_03' value = 'value_03' )
- ( zzselkz = mv_preselect title = 'title_04' value = 'value_04' )
- ( zzselkz = mv_preselect title = 'title_05' value = 'value_05' ) ).
-
- client->nav_app_call( z2ui5_cl_pop_to_select=>factory(
- i_tab = mt_tab
- i_multiselect = mv_multiselect
- i_event_confirmed = 'POPUP_CONFIRMED'
- i_event_canceled = 'POPUP_CANCEL'
+ mt_tab = VALUE #( descr = 'this is a description'
+ zzselkz = mv_preselect
+ ( title = 'title_01' value = 'value_01' )
+ ( title = 'title_02' value = 'value_02' )
+ ( title = 'title_03' value = 'value_03' )
+ ( title = 'title_04' value = 'value_04' )
+ ( title = 'title_05' value = 'value_05' ) ).
+
+ client->nav_app_call( z2ui5_cl_pop_to_select=>factory( i_tab = mt_tab
+ i_multiselect = mv_multiselect
+ i_event_confirmed = 'POPUP_CONFIRMED'
+ i_event_canceled = 'POPUP_CANCEL'
) ).
WHEN 'POPUP_CANCELED'.
@@ -78,9 +77,10 @@ CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION.
ASSIGN lr->* TO FIELD-SYMBOL().
DATA(lt3) = CONV ty_tab( ).
IF mv_multiselect = abap_false.
- client->message_box_display( `callback after popup to select: ` && lt3[ 1 ]-title ).
+ client->message_box_display( |callback after popup to select: { lt3[ 1 ]-title }| ).
ELSE.
- client->nav_app_call( z2ui5_cl_pop_table=>factory( i_tab = lt3 i_title = 'Selected rows' ) ).
+ client->nav_app_call( z2ui5_cl_pop_table=>factory( i_tab = lt3
+ i_title = 'Selected rows' ) ).
ENDIF.
WHEN 'MULTISELECT_TOGGLE'.
@@ -95,4 +95,5 @@ CLASS z2ui5_cl_demo_app_174 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_175.clas.abap b/src/z2ui5_cl_demo_app_175.clas.abap
index 5faab019..966caa50 100644
--- a/src/z2ui5_cl_demo_app_175.clas.abap
+++ b/src/z2ui5_cl_demo_app_175.clas.abap
@@ -1,23 +1,21 @@
CLASS z2ui5_cl_demo_app_175 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
PROTECTED SECTION.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
PRIVATE SECTION.
ENDCLASS.
CLASS z2ui5_cl_demo_app_175 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
display_view( client ).
@@ -33,24 +31,26 @@ CLASS z2ui5_cl_demo_app_175 IMPLEMENTATION.
DATA(lr_view) = z2ui5_cl_xml_view=>factory( ).
- lr_view = lr_view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Demo Wizard Control'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ lr_view = lr_view->shell( )->page(
+ id = `page_main`
+ title = 'abap2UI5 - Demo Wizard Control'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
DATA(lr_wizard) = lr_view->wizard( ).
- DATA(lr_wiz_step1) = lr_wizard->wizard_step( title = 'Step1' validated = abap_true ).
+ DATA(lr_wiz_step1) = lr_wizard->wizard_step( title = 'Step1'
+ validated = abap_true ).
lr_wiz_step1->message_strip( text = 'STEP1' ).
- DATA(lr_wiz_step2) = lr_wizard->wizard_step( title = 'Step2'
- validated = abap_true ).
+ DATA(lr_wiz_step2) = lr_wizard->wizard_step( title = 'Step2'
+ validated = abap_true ).
lr_wiz_step2->message_strip( text = 'STEP2' ).
- DATA(lr_wiz_step3) = lr_wizard->wizard_step( title = 'Step3'
- validated = abap_true ).
+ DATA(lr_wiz_step3) = lr_wizard->wizard_step( title = 'Step3'
+ validated = abap_true ).
lr_wiz_step3->message_strip( text = 'STEP3' ).
- DATA(lr_wiz_step4) = lr_wizard->wizard_step( title = 'Step4'
- validated = abap_true ).
+ DATA(lr_wiz_step4) = lr_wizard->wizard_step( title = 'Step4'
+ validated = abap_true ).
lr_wiz_step4->message_strip( text = 'STEP4' ).
diff --git a/src/z2ui5_cl_demo_app_176.clas.abap b/src/z2ui5_cl_demo_app_176.clas.abap
index f982a655..194a13ed 100644
--- a/src/z2ui5_cl_demo_app_176.clas.abap
+++ b/src/z2ui5_cl_demo_app_176.clas.abap
@@ -1,7 +1,6 @@
CLASS z2ui5_cl_demo_app_176 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -27,66 +26,71 @@ CLASS z2ui5_cl_demo_app_176 DEFINITION PUBLIC.
METHODS main_view
IMPORTING
i_client TYPE REF TO z2ui5_if_client.
+
METHODS nest_view
IMPORTING
i_client TYPE REF TO z2ui5_if_client.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_176 IMPLEMENTATION.
-
METHOD main_view.
DATA(lo_view) = z2ui5_cl_xml_view=>factory( ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(page) = lo_view->shell(
- )->page(
- title = `Main View`
- id = `test`
- navbuttonpress = i_client->_event( 'BACK' )
- shownavbutton = xsdbool( i_client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = `Main View`
+ id = `test`
+ navbuttonpress = i_client->_event( 'BACK' )
+ shownavbutton = xsdbool( i_client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
i_client->view_display( lo_view->stringify( ) ).
ENDMETHOD.
-
METHOD nest_view.
i_client->_bind( mt_layout ).
- mt_data = VALUE #( ( name = 'Theo' date = '01.01.2000' age = '5' )
- ( name = 'Lore' date = '01.01.2000' age = '1' ) ).
+ mt_data = VALUE #( date = '01.01.2000'
+ ( name = 'Theo' age = '5' )
+ ( name = 'Lore' age = '1' ) ).
- mt_layout = VALUE #( ( fname = 'NAME' merge = 'false' visible = 'true' binding = '{NAME}' )
- ( fname = 'DATE' merge = 'false' visible = 'true' binding = '{DATE}' )
- ( fname = 'AGE' merge = 'false' visible = 'false' binding = '{AGE}' ) ).
+ mt_layout = VALUE #( merge = 'false'
+ ( fname = 'NAME' visible = 'true' binding = '{NAME}' )
+ ( fname = 'DATE' visible = 'true' binding = '{DATE}' )
+ ( fname = 'AGE' visible = 'false' binding = '{AGE}' ) ).
DATA(lo_view_nested) = z2ui5_cl_xml_view=>factory( ).
lo_view_nested->shell( )->page( `Nested View`
)->table( items = i_client->_bind( mt_data )
)->columns(
- )->template_repeat( list = `{template>/MT_LAYOUT}` var = `LO`
- )->column( mergeduplicates = `{LO>MERGE}` visible = `{LO>VISIBLE}` )->get_parent(
+ )->template_repeat( list = `{template>/MT_LAYOUT}`
+ var = `LO`
+ )->column( mergeduplicates = `{LO>MERGE}`
+ visible = `{LO>VISIBLE}` )->get_parent(
)->get_parent( )->get_parent(
)->items(
)->column_list_item(
)->cells(
- )->template_repeat( list = `{template>/MT_LAYOUT}` var = `LO2`
+ )->template_repeat( list = `{template>/MT_LAYOUT}`
+ var = `LO2`
)->object_identifier( text = `{= '{' + ${LO2>FNAME} + '}' }` ).
- i_client->nest_view_display( val = lo_view_nested->stringify( ) id = `test` method_insert = 'addContent' ).
+ i_client->nest_view_display( val = lo_view_nested->stringify( )
+ id = `test`
+ method_insert = 'addContent' ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
CASE client->get( )-event.
@@ -99,4 +103,5 @@ CLASS z2ui5_cl_demo_app_176 IMPLEMENTATION.
nest_view( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_177.clas.abap b/src/z2ui5_cl_demo_app_177.clas.abap
index 207cde3e..23afab63 100644
--- a/src/z2ui5_cl_demo_app_177.clas.abap
+++ b/src/z2ui5_cl_demo_app_177.clas.abap
@@ -1,44 +1,44 @@
CLASS z2ui5_cl_demo_app_177 DEFINITION PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_row,
- count TYPE i,
- value TYPE string,
- descr TYPE string,
- icon TYPE string,
- info TYPE string,
- checkbox TYPE abap_bool,
- percentage(5) TYPE p DECIMALS 2,
- valuecolor TYPE string,
+ count TYPE i,
+ value TYPE string,
+ descr TYPE string,
+ icon TYPE string,
+ info TYPE string,
+ checkbox TYPE abap_bool,
+ percentage TYPE p LENGTH 5 DECIMALS 2,
+ valuecolor TYPE string,
END OF ty_row.
- DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
DATA check_initialized TYPE abap_bool.
- DATA check_ui5 TYPE abap_bool.
- DATA mv_key TYPE string.
+ DATA check_ui5 TYPE abap_bool.
+ DATA mv_key TYPE string.
+
METHODS refresh_data.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
CLASS z2ui5_cl_demo_app_177 IMPLEMENTATION.
-
METHOD refresh_data.
DO 50 TIMES.
DATA ls_row TYPE ty_row.
- ls_row-count = sy-index.
- ls_row-value = 'red'.
+ ls_row-count = sy-index.
+ ls_row-value = 'red'.
* info = COND #( WHEN sy-index < 50 THEN 'completed' ELSE 'uncompleted' )
- ls_row-descr = 'this is a description'.
- ls_row-checkbox = abap_true.
+ ls_row-descr = 'this is a description'.
+ ls_row-checkbox = abap_true.
* percentage = COND #( WHEN sy-index <= 100 THEN sy-index ELSE '100' )
ls_row-valuecolor = `Good`.
INSERT ls_row INTO TABLE t_tab.
@@ -46,7 +46,6 @@ CLASS z2ui5_cl_demo_app_177 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -108,75 +107,64 @@ CLASS z2ui5_cl_demo_app_177 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Scroll Container with Table and Toolbar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Scroll Container with Table and Toolbar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- DATA(tab) = page->scroll_container( height = '70%' vertical = abap_true
- )->table(
- growing = abap_true
- growingthreshold = '20'
- growingscrolltoload = abap_true
- items = client->_bind_edit( t_tab )
- sticky = 'ColumnHeaders,HeaderToolbar' ).
+ DATA(tab) = page->scroll_container( height = '70%'
+ vertical = abap_true
+ )->table( growing = abap_true
+ growingthreshold = '20'
+ growingscrolltoload = abap_true
+ items = client->_bind_edit( t_tab )
+ sticky = 'ColumnHeaders,HeaderToolbar' ).
tab->header_toolbar(
)->overflow_toolbar(
)->title( 'title of the table'
- )->button(
- text = 'letf side button'
- icon = 'sap-icon://account'
- press = client->_event( 'BUTTON_SORT' )
+ )->button( text = 'letf side button'
+ icon = 'sap-icon://account'
+ press = client->_event( 'BUTTON_SORT' )
)->segmented_button( selected_key = mv_key
)->items(
- )->segmented_button_item(
- key = 'BLUE'
- icon = 'sap-icon://accept'
- text = 'blue'
- )->segmented_button_item(
- key = 'GREEN'
- icon = 'sap-icon://add-favorite'
- text = 'green'
+ )->segmented_button_item( key = 'BLUE'
+ icon = 'sap-icon://accept'
+ text = 'blue'
+ )->segmented_button_item( key = 'GREEN'
+ icon = 'sap-icon://add-favorite'
+ text = 'green'
)->get_parent( )->get_parent(
)->toolbar_spacer(
- )->generic_tag(
- arialabelledby = 'genericTagLabel'
- text = 'Project Cost'
- design = 'StatusIconHidden'
- status = 'Error'
- class = 'sapUiSmallMarginBottom'
- )->object_number(
- state = 'Error'
- emphasized = 'false'
- number = '3.5M'
- unit = 'EUR'
+ )->generic_tag( arialabelledby = 'genericTagLabel'
+ text = 'Project Cost'
+ design = 'StatusIconHidden'
+ status = 'Error'
+ class = 'sapUiSmallMarginBottom'
+ )->object_number( state = 'Error'
+ emphasized = 'false'
+ number = '3.5M'
+ unit = 'EUR'
)->get_parent(
)->toolbar_spacer(
- )->overflow_toolbar_toggle_button(
- icon = 'sap-icon://sort-descending'
- press = client->_event( 'SORT_DESCENDING' )
- )->overflow_toolbar_toggle_button(
- icon = 'sap-icon://sort-ascending'
- press = client->_event( 'SORT_ASCENDING' )
-
- )->overflow_toolbar_menu_button(
- text = `Export`
- type = `Transparent`
- tooltip = `Export`
- defaultaction = client->_event( 'MENU_DEFAULT' )
- icon = `sap-icon://share`
- buttonmode = `Split`
+ )->overflow_toolbar_toggle_button( icon = 'sap-icon://sort-descending'
+ press = client->_event( 'SORT_DESCENDING' )
+ )->overflow_toolbar_toggle_button( icon = 'sap-icon://sort-ascending'
+ press = client->_event( 'SORT_ASCENDING' )
+
+ )->overflow_toolbar_menu_button( text = `Export`
+ type = `Transparent`
+ tooltip = `Export`
+ defaultaction = client->_event( 'MENU_DEFAULT' )
+ icon = `sap-icon://share`
+ buttonmode = `Split`
)->_generic( `menu` )->_generic( `Menu`
- )->menu_item(
- press = client->_event( 'MENU_01' )
- text = `Export as PDF`
- icon = `sap-icon://pdf-attachment`
- )->menu_item(
- press = client->_event( 'MENU_02' )
- text = `Export to Excel`
- icon = `sap-icon://excel-attachment`
+ )->menu_item( press = client->_event( 'MENU_01' )
+ text = `Export as PDF`
+ icon = `sap-icon://pdf-attachment`
+ )->menu_item( press = client->_event( 'MENU_02' )
+ text = `Export to Excel`
+ icon = `sap-icon://excel-attachment`
).
tab->columns(
@@ -197,11 +185,16 @@ CLASS z2ui5_cl_demo_app_177 IMPLEMENTATION.
)->text( '{VALUE}'
)->text( '{INFO}'
)->text( '{DESCR}'
- )->checkbox( selected = '{CHECKBOX}' enabled = abap_false
+ )->checkbox( selected = '{CHECKBOX}'
+ enabled = abap_false
)->text( '{COUNT}'
- )->radial_micro_chart( size = `Responsive` height = `35px` percentage = `{PERCENTAGE}` valuecolor = `{VALUECOLOR}` ).
+ )->radial_micro_chart( size = `Responsive`
+ height = `35px`
+ percentage = `{PERCENTAGE}`
+ valuecolor = `{VALUECOLOR}` ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_178.clas.abap b/src/z2ui5_cl_demo_app_178.clas.abap
index 48ae9987..5f8b0c2e 100644
--- a/src/z2ui5_cl_demo_app_178.clas.abap
+++ b/src/z2ui5_cl_demo_app_178.clas.abap
@@ -1,43 +1,40 @@
CLASS z2ui5_cl_demo_app_178 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_prodh_node_level3,
is_selected TYPE abap_bool,
text TYPE string,
prodh TYPE string,
- END OF ty_prodh_node_level3 .
+ END OF ty_prodh_node_level3.
TYPES:
BEGIN OF ty_prodh_node_level2,
is_selected TYPE abap_bool,
text TYPE string,
prodh TYPE string,
nodes TYPE STANDARD TABLE OF ty_prodh_node_level3 WITH DEFAULT KEY,
- END OF ty_prodh_node_level2 .
+ END OF ty_prodh_node_level2.
TYPES:
BEGIN OF ty_prodh_node_level1,
is_selected TYPE abap_bool,
text TYPE string,
prodh TYPE string,
nodes TYPE STANDARD TABLE OF ty_prodh_node_level2 WITH DEFAULT KEY,
- END OF ty_prodh_node_level1 .
- TYPES:
- ty_prodh_nodes TYPE STANDARD TABLE OF ty_prodh_node_level1 WITH DEFAULT KEY .
+ END OF ty_prodh_node_level1.
+ TYPES ty_prodh_nodes TYPE STANDARD TABLE OF ty_prodh_node_level1 WITH DEFAULT KEY.
- DATA prodh_nodes TYPE ty_prodh_nodes .
- DATA is_initialized TYPE abap_bool .
+ DATA prodh_nodes TYPE ty_prodh_nodes.
+ DATA is_initialized TYPE abap_bool.
- METHODS ui5_display_view .
- PROTECTED SECTION.
+ METHODS ui5_display_view.
+ PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
+
METHODS ui5_initialize.
METHODS ui5_display_popup_tree_select.
@@ -45,87 +42,88 @@ CLASS z2ui5_cl_demo_app_178 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_178 IMPLEMENTATION.
-
METHOD ui5_display_popup_tree_select.
DATA(dialog) = z2ui5_cl_xml_view=>factory_popup(
- )->dialog( title = 'Choose Product here...' contentheight = '50%' contentwidth = '50%' beforeopen = `setState()` beforeclose = `saveState()` ).
-
- dialog->tree(
- id = `tree`
- mode = 'SingleSelectMaster'
- items = client->_bind_edit( prodh_nodes )
+ )->dialog( title = 'Choose Product here...'
+ contentheight = '50%'
+ contentwidth = '50%'
+ beforeopen = `setState()`
+ beforeclose = `saveState()` ).
+
+ dialog->tree( id = `tree`
+ mode = 'SingleSelectMaster'
+ items = client->_bind_edit( prodh_nodes )
)->items(
- )->standard_tree_item( selected = '{IS_SELECTED}' title = '{TEXT}' ).
+ )->standard_tree_item( selected = '{IS_SELECTED}'
+ title = '{TEXT}' ).
dialog->buttons(
)->button( text = 'Continue'
- icon = `sap-icon://accept`
- type = `Accept`
- press = client->_event( 'CONTINUE' )
+ icon = `sap-icon://accept`
+ type = `Accept`
+ press = client->_event( 'CONTINUE' )
)->button( text = 'Cancel'
- icon = `sap-icon://decline`
- type = `Reject`
- press = client->_event( 'CANCEL' ) ).
-
+ icon = `sap-icon://decline`
+ type = `Reject`
+ press = client->_event( 'CANCEL' ) ).
client->popup_display( dialog->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_display_view.
- DATA(lv_save_state_js) = `function saveState() {` && |\n| &&
- ` var treeTable = sap.z2ui5.oViewPopup.Fragment.byId("popupId","tree");` && |\n| &&
- ` sap.z2ui5.treeState = treeTable.getBinding('items').getCurrentTreeState();` && |\n| &&
- ` }; `.
- DATA(lv_reset_state_js) = `function setState() { ` && |\n| &&
- ` var treeTable = sap.z2ui5.oViewPopup.Fragment.byId("popupId","tree");` && |\n| &&
- ` if( sap.z2ui5.treeState == undefined ) {` && |\n| &&
- ` sap.z2ui5.treeState = treeTable.getBinding('items').getCurrentTreeState();` && |\n| &&
- ` } else {` && |\n| &&
- ` treeTable.getBinding("items").setTreeState(sap.z2ui5.treeState);` && |\n| &&
- ` treeTable.getBinding("items").refresh();` && |\n| &&
- ` };` && |\n| &&
- `};`.
+ DATA(lv_save_state_js) = |function saveState() \{| && |\n| &&
+ | var treeTable = sap.z2ui5.oViewPopup.Fragment.byId("popupId","tree");| && |\n| &&
+ | sap.z2ui5.treeState = treeTable.getBinding('items').getCurrentTreeState();| && |\n| &&
+ | \}; |.
+ DATA(lv_reset_state_js) = |function setState() \{ | && |\n| &&
+ | var treeTable = sap.z2ui5.oViewPopup.Fragment.byId("popupId","tree");| && |\n| &&
+ | if( sap.z2ui5.treeState == undefined ) \{| && |\n| &&
+ | sap.z2ui5.treeState = treeTable.getBinding('items').getCurrentTreeState();| && |\n| &&
+ | \} else \{| && |\n| &&
+ | treeTable.getBinding("items").setTreeState(sap.z2ui5.treeState);| && |\n| &&
+ | treeTable.getBinding("items").refresh();| && |\n| &&
+ | \};| && |\n| &&
+ |\};|.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( ns = `html` name = `script` )->_cc_plain_xml( lv_save_state_js ).
- view->_generic( ns = `html` name = `script` )->_cc_plain_xml( lv_reset_state_js ).
+ view->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( lv_save_state_js ).
+ view->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( lv_reset_state_js ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Tree - Open & Close Popup to see the control keeping expanded'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = abap_true ).
+ )->page( title = 'abap2UI5 - Tree - Open & Close Popup to see the control keeping expanded'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = abap_true ).
- client->view_display( page->button( text = 'Open Popup here...' press = client->_event( 'POPUP_TREE' ) )->stringify( ) ).
+ client->view_display( page->button( text = 'Open Popup here...'
+ press = client->_event( 'POPUP_TREE' ) )->stringify( ) ).
ENDMETHOD.
-
METHOD ui5_initialize.
prodh_nodes =
- VALUE #( ( text = 'Machines'
+ VALUE #( ( text = 'Machines'
prodh = '00100'
- nodes = VALUE #( ( text = 'Pumps'
+ nodes = VALUE #( ( text = 'Pumps'
prodh = '0010000100'
- nodes = VALUE #( ( text = 'Pump 001'
+ nodes = VALUE #( ( text = 'Pump 001'
prodh = '001000010000000100' )
- ( text = 'Pump 002'
+ ( text = 'Pump 002'
prodh = '001000010000000105' )
)
) )
)
- ( text = 'Paints'
+ ( text = 'Paints'
prodh = '00110'
- nodes = VALUE #( ( text = 'Gloss paints'
+ nodes = VALUE #( ( text = 'Gloss paints'
prodh = '0011000105'
- nodes = VALUE #( ( text = 'Paint 001'
+ nodes = VALUE #( ( text = 'Paint 001'
prodh = '001100010500000100' )
- ( text = 'Paint 002'
+ ( text = 'Paint 002'
prodh = '001100010500000105' )
)
) )
@@ -133,7 +131,6 @@ CLASS z2ui5_cl_demo_app_178 IMPLEMENTATION.
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -161,4 +158,5 @@ CLASS z2ui5_cl_demo_app_178 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_179.clas.abap b/src/z2ui5_cl_demo_app_179.clas.abap
index 2e2a6b8a..622fadc7 100644
--- a/src/z2ui5_cl_demo_app_179.clas.abap
+++ b/src/z2ui5_cl_demo_app_179.clas.abap
@@ -1,10 +1,9 @@
CLASS z2ui5_cl_demo_app_179 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-*https://github.com/abap2UI5/abap2UI5/issues/988#issuecomment-1978738754
+ " https://github.com/abap2UI5/abap2UI5/issues/988#issuecomment-1978738754
INTERFACES z2ui5_if_app.
@@ -23,241 +22,225 @@ CLASS z2ui5_cl_demo_app_179 DEFINITION
StartTime TYPE string,
EndTime TYPE string,
END OF ty_s_data.
+
DATA mt_data TYPE STANDARD TABLE OF ty_s_data WITH EMPTY KEY.
PROTECTED SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
+ DATA check_initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client .
- DATA check_initialized TYPE abap_bool .
-
- METHODS set_view .
- METHODS z2ui5_on_event .
- METHODS set_mock_data .
+ METHODS set_view.
+ METHODS z2ui5_on_event.
+ METHODS set_mock_data.
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_179 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_179 IMPLEMENTATION.
METHOD set_mock_data.
-
- DATA(lv_mock) = `[` && |\n| &&
- ` {` && |\n| &&
- ` "ObjectID": "rls-0-1",` && |\n| &&
- ` "RelationID": "rls-0",` && |\n| &&
- ` "ParentObjectID": "object-0-1-1",` && |\n| &&
- ` "PredecTaskID": "object-0-1-1",` && |\n| &&
- ` "SuccTaskID": "object-0-1-2",` && |\n| &&
- ` "RelationType": "StartToFinish",` && |\n| &&
- ` "shapeTypeStart":"VerticalRectangle",` && |\n| &&
- ` "shapeTypeEnd":"Diamond",` && |\n| &&
- ` "StartTime":"2018-11-01T09:00:00",` && |\n| &&
- ` "EndTime":"2018-11-27T09:00:00"` && |\n| &&
- ` },` && |\n| &&
+ DATA(lv_mock) = |[| && |\n| &&
+ | \{| && |\n| &&
+ | "ObjectID": "rls-0-1",| && |\n| &&
+ | "RelationID": "rls-0",| && |\n| &&
+ | "ParentObjectID": "object-0-1-1",| && |\n| &&
+ | "PredecTaskID": "object-0-1-1",| && |\n| &&
+ | "SuccTaskID": "object-0-1-2",| && |\n| &&
+ | "RelationType": "StartToFinish",| && |\n| &&
+ | "shapeTypeStart":"VerticalRectangle",| && |\n| &&
+ | "shapeTypeEnd":"Diamond",| && |\n| &&
+ | "StartTime":"2018-11-01T09:00:00",| && |\n| &&
+ | "EndTime":"2018-11-27T09:00:00"| && |\n| &&
+ | \},| && |\n| &&
|\n| &&
- ` {` && |\n| &&
- ` "ObjectID": "rls-1-1",` && |\n| &&
- ` "RelationID": "rls-1",` && |\n| &&
- ` "ParentObjectID": "object-0-2-2",` && |\n| &&
- ` "PredecTaskID": "object-0-2-2",` && |\n| &&
- ` "SuccTaskID": "object-0-2-3",` && |\n| &&
- ` "RelationType": "FinishToFinish",` && |\n| &&
- ` "shapeTypeStart":"Square",` && |\n| &&
- ` "shapeTypeEnd":"Diamond",` && |\n| &&
- ` "StartTime":"2018-11-01T09:00:00",` && |\n| &&
- ` "EndTime":"2018-11-27T09:00:00"` && |\n| &&
- ` }, ` && |\n| &&
+ | \{| && |\n| &&
+ | "ObjectID": "rls-1-1",| && |\n| &&
+ | "RelationID": "rls-1",| && |\n| &&
+ | "ParentObjectID": "object-0-2-2",| && |\n| &&
+ | "PredecTaskID": "object-0-2-2",| && |\n| &&
+ | "SuccTaskID": "object-0-2-3",| && |\n| &&
+ | "RelationType": "FinishToFinish",| && |\n| &&
+ | "shapeTypeStart":"Square",| && |\n| &&
+ | "shapeTypeEnd":"Diamond",| && |\n| &&
+ | "StartTime":"2018-11-01T09:00:00",| && |\n| &&
+ | "EndTime":"2018-11-27T09:00:00"| && |\n| &&
+ | \}, | && |\n| &&
|\n| &&
- ` {` && |\n| &&
- ` "ObjectID": "rls-2-1",` && |\n| &&
- ` "RelationID": "rls-2",` && |\n| &&
- ` "ParentObjectID": "object-0-2-1",` && |\n| &&
- ` "PredecTaskID": "object-0-2-1",` && |\n| &&
- ` "SuccTaskID": "object-0-2-4",` && |\n| &&
- ` "RelationType": "StartToStart",` && |\n| &&
- ` "enableCurvedEdge":true,` && |\n| &&
- ` "StartTime":"2018-11-01T09:00:00",` && |\n| &&
- ` "EndTime":"2018-11-27T09:00:00"` && |\n| &&
- ` ` && |\n| &&
- ` },` && |\n| &&
- ` {` && |\n| &&
- ` "ObjectID": "rls-3-1",` && |\n| &&
- ` "RelationID": "rls-3",` && |\n| &&
- ` "ParentObjectID": "object-0-2-1",` && |\n| &&
- ` "PredecTaskID": "object-0-2-1",` && |\n| &&
- ` "SuccTaskID": "object-0-2-3",` && |\n| &&
- ` "RelationType": "FinishToFinish",` && |\n| &&
- ` "shapeTypeStart":"Diamond",` && |\n| &&
- ` "shapeTypeEnd":"Circle",` && |\n| &&
- ` "StartTime":"2018-11-01T09:00:00",` && |\n| &&
- ` "EndTime":"2018-11-27T09:00:00"` && |\n| &&
- ` },` && |\n| &&
- ` ` && |\n| &&
- ` {` && |\n| &&
- ` "ObjectID": "rls-4-1",` && |\n| &&
- ` "RelationID": "rls-4",` && |\n| &&
- ` "ParentObjectID": "object-0-1",` && |\n| &&
- ` "PredecTaskID": "object-0-1",` && |\n| &&
- ` "SuccTaskID": "object-0-2",` && |\n| &&
- ` "RelationType": "StartToFinish",` && |\n| &&
- ` "shapeTypeStart":"Circle",` && |\n| &&
- ` "shapeTypeEnd":"Diamond",` && |\n| &&
- ` "startShapeColor":"white",` && |\n| &&
- ` "endShapeColor":"green",` && |\n| &&
- ` "selectedStartShapeColor":"blue",` && |\n| &&
- ` "selectedEndShapeColor":"yellow",` && |\n| &&
- ` "enableCurvedEdge":true,` && |\n| &&
- ` "StartTime":"2018-11-01T09:00:00",` && |\n| &&
- ` "EndTime":"2018-11-27T09:00:00"` && |\n| &&
- ` },` && |\n| &&
- ` {` && |\n| &&
- ` "ObjectID": "rls-5-1",` && |\n| &&
- ` "RelationID": "rls-5",` && |\n| &&
- ` "ParentObjectID": "object-0-2-4",` && |\n| &&
- ` "PredecTaskID": "object-0-2-4",` && |\n| &&
- ` "SuccTaskID": "object-0-2-5",` && |\n| &&
- ` "RelationType": "FinishToStart",` && |\n| &&
- ` "lShapeForTypeFS":false,` && |\n| &&
- ` "StartTime":"2018-11-01T09:00:00",` && |\n| &&
- ` "EndTime":"2018-11-27T09:00:00"` && |\n| &&
- ` },` && |\n| &&
- ` {` && |\n| &&
- ` "ObjectID": "rls-6-1",` && |\n| &&
- ` "RelationID": "rls-6",` && |\n| &&
- ` "ParentObjectID": "object-0-3",` && |\n| &&
- ` "PredecTaskID": "object-0-3",` && |\n| &&
- ` "SuccTaskID": "object-0-3-1",` && |\n| &&
- ` "RelationType": "FinishToStart",` && |\n| &&
- ` "StartTime":"2018-11-01T09:00:00",` && |\n| &&
- ` "EndTime":"2018-11-27T09:00:00"` && |\n| &&
- ` }` && |\n| &&
- `]`.
-
- z2ui5_cl_util=>json_parse(
- EXPORTING
- val = lv_mock
- CHANGING
- data = mt_data ).
+ | \{| && |\n| &&
+ | "ObjectID": "rls-2-1",| && |\n| &&
+ | "RelationID": "rls-2",| && |\n| &&
+ | "ParentObjectID": "object-0-2-1",| && |\n| &&
+ | "PredecTaskID": "object-0-2-1",| && |\n| &&
+ | "SuccTaskID": "object-0-2-4",| && |\n| &&
+ | "RelationType": "StartToStart",| && |\n| &&
+ | "enableCurvedEdge":true,| && |\n| &&
+ | "StartTime":"2018-11-01T09:00:00",| && |\n| &&
+ | "EndTime":"2018-11-27T09:00:00"| && |\n| &&
+ | | && |\n| &&
+ | \},| && |\n| &&
+ | \{| && |\n| &&
+ | "ObjectID": "rls-3-1",| && |\n| &&
+ | "RelationID": "rls-3",| && |\n| &&
+ | "ParentObjectID": "object-0-2-1",| && |\n| &&
+ | "PredecTaskID": "object-0-2-1",| && |\n| &&
+ | "SuccTaskID": "object-0-2-3",| && |\n| &&
+ | "RelationType": "FinishToFinish",| && |\n| &&
+ | "shapeTypeStart":"Diamond",| && |\n| &&
+ | "shapeTypeEnd":"Circle",| && |\n| &&
+ | "StartTime":"2018-11-01T09:00:00",| && |\n| &&
+ | "EndTime":"2018-11-27T09:00:00"| && |\n| &&
+ | \},| && |\n| &&
+ | | && |\n| &&
+ | \{| && |\n| &&
+ | "ObjectID": "rls-4-1",| && |\n| &&
+ | "RelationID": "rls-4",| && |\n| &&
+ | "ParentObjectID": "object-0-1",| && |\n| &&
+ | "PredecTaskID": "object-0-1",| && |\n| &&
+ | "SuccTaskID": "object-0-2",| && |\n| &&
+ | "RelationType": "StartToFinish",| && |\n| &&
+ | "shapeTypeStart":"Circle",| && |\n| &&
+ | "shapeTypeEnd":"Diamond",| && |\n| &&
+ | "startShapeColor":"white",| && |\n| &&
+ | "endShapeColor":"green",| && |\n| &&
+ | "selectedStartShapeColor":"blue",| && |\n| &&
+ | "selectedEndShapeColor":"yellow",| && |\n| &&
+ | "enableCurvedEdge":true,| && |\n| &&
+ | "StartTime":"2018-11-01T09:00:00",| && |\n| &&
+ | "EndTime":"2018-11-27T09:00:00"| && |\n| &&
+ | \},| && |\n| &&
+ | \{| && |\n| &&
+ | "ObjectID": "rls-5-1",| && |\n| &&
+ | "RelationID": "rls-5",| && |\n| &&
+ | "ParentObjectID": "object-0-2-4",| && |\n| &&
+ | "PredecTaskID": "object-0-2-4",| && |\n| &&
+ | "SuccTaskID": "object-0-2-5",| && |\n| &&
+ | "RelationType": "FinishToStart",| && |\n| &&
+ | "lShapeForTypeFS":false,| && |\n| &&
+ | "StartTime":"2018-11-01T09:00:00",| && |\n| &&
+ | "EndTime":"2018-11-27T09:00:00"| && |\n| &&
+ | \},| && |\n| &&
+ | \{| && |\n| &&
+ | "ObjectID": "rls-6-1",| && |\n| &&
+ | "RelationID": "rls-6",| && |\n| &&
+ | "ParentObjectID": "object-0-3",| && |\n| &&
+ | "PredecTaskID": "object-0-3",| && |\n| &&
+ | "SuccTaskID": "object-0-3-1",| && |\n| &&
+ | "RelationType": "FinishToStart",| && |\n| &&
+ | "StartTime":"2018-11-01T09:00:00",| && |\n| &&
+ | "EndTime":"2018-11-27T09:00:00"| && |\n| &&
+ | \}| && |\n| &&
+ |]|.
+
+ z2ui5_cl_util=>json_parse( EXPORTING val = lv_mock
+ CHANGING data = mt_data ).
ENDMETHOD.
-
METHOD set_view.
-
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic_property( VALUE #( n = `core:require` v = `{Helper:'z2ui5/Util'}` ) ).
+ view->_generic_property( VALUE #( n = `core:require`
+ v = `{Helper:'z2ui5/Util'}` ) ).
- DATA(page) = view->page( id = `page_main`
- title = 'abap2UI5 - Gantt'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- class = 'sapUiContentPadding' ).
+ DATA(page) = view->page( id = `page_main`
+ title = 'abap2UI5 - Gantt'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ class = 'sapUiContentPadding' ).
DATA(cont) = page->scroll_container(
-* height =
-* width =
-* vertical =
- horizontal = abap_true
-* id =
-* focusable =
-* visible =
+* height =
+* width =
+* vertical =
+ horizontal = abap_true
+* id =
+* focusable =
+* visible =
).
- DATA(tool) = cont->container_toolbar(
- EXPORTING
- showsearchbutton = abap_true
- showdisplaytypebutton = abap_true
- showlegendbutton = abap_true
- showsettingbutton = abap_true
- showtimezoomcontrol = abap_true
-* findbuttonpress = client->_event( val = 'FIRE' )
-* stepcountofslider =
-* zoomcontroltype =
-* zoomlevel = client->_bind_edit( zoomlevel )
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(tool) = cont->container_toolbar( showsearchbutton = abap_true
+ showdisplaytypebutton = abap_true
+ showlegendbutton = abap_true
+ showsettingbutton = abap_true
+ showtimezoomcontrol = abap_true
+* findbuttonpress = client->_event( val = 'FIRE' )
+* stepcountofslider =
+* zoomcontroltype =
+* zoomlevel = client->_bind_edit( zoomlevel )
* RECEIVING
-* result =
+* result =
).
-
- DATA(gantt_container) = cont->gantt_chart_container( ).
+ DATA(gantt_container) = cont->gantt_chart_container( ).
* gantt_charts
- DATA(gantt) = gantt_container->gantt_chart_with_table(
- id = `gantt`
- shapeselectionmode = `Single`
- isconnectordetailsvisible = abap_true
+ DATA(gantt) = gantt_container->gantt_chart_with_table( id = `gantt`
+ shapeselectionmode = `Single`
+ isconnectordetailsvisible = abap_true
).
- DATA(table) = gantt->gantt_table( )->tree_table(
- rows = `{path: '` && client->_bind( val = mt_data path = abap_true ) &&
- `', parameters: {` && |\r\n| &&
- ` operationMode: 'Server',` && |\r\n| &&
- ` numberOfExpandedLevels: 2,` && |\r\n| &&
- ` treeAnnotationProperties: {` && |\r\n| &&
- ` hierarchyNodeFor: 'OBJECTID',` && |\r\n| &&
- ` hierarchyParentNodeFor: 'PARENTOBJECTID',` && |\r\n| &&
- ` hierarchyLevelFor: 'HierarchyNodeLevel',` && |\r\n| &&
- ` hierarchyDrillStateFor: 'DrillDownState',` && |\r\n| &&
- ` hierarchyNodeDescendantCountFor: 'Magnitude'` && |\r\n| &&
- ` },` && |\r\n| &&
- ` expand: 'Relationships'` && |\r\n| &&
- ` }` && |\r\n| &&
- `}`
+ DATA(table) = gantt->gantt_table( )->tree_table(
+ rows = |\{path: '{ client->_bind( val = mt_data
+ path = abap_true ) }| &&
+ |', parameters: \{| && |\r\n| &&
+ | operationMode: 'Server',| && |\r\n| &&
+ | numberOfExpandedLevels: 2,| && |\r\n| &&
+ | treeAnnotationProperties: \{| && |\r\n| &&
+ | hierarchyNodeFor: 'OBJECTID',| && |\r\n| &&
+ | hierarchyParentNodeFor: 'PARENTOBJECTID',| && |\r\n| &&
+ | hierarchyLevelFor: 'HierarchyNodeLevel',| && |\r\n| &&
+ | hierarchyDrillStateFor: 'DrillDownState',| && |\r\n| &&
+ | hierarchyNodeDescendantCountFor: 'Magnitude'| && |\r\n| &&
+ | \},| && |\r\n| &&
+ | expand: 'Relationships'| && |\r\n| &&
+ | \}| && |\r\n| &&
+ |\}|
).
-
-
-
* DATA(gantt_row_template) = table->tree_columns(
* )->tree_column( label = 'Col 1' )->tree_template( )->text( text = `{TEXT}` )->get_parent( )->get_parent( )->get_parent(
** )->tree_column( label = 'Col 1' template = 'text' )->get_parent( )->get_parent(
* )->row_settings_template(
* ).
- DATA(row_settings) = table->row_settings_template( )->gantt_row_settings( rowid = `{OBJECTID}`
-* shapes1 = `{path: 'TASK', templateShareable:false}`
-* shapes2 = `{path: 'SUBTASK', templateShareable:false}`
- relationships = `{path:'Relationships', templateShareable: 'true'}`
+ DATA(row_settings) = table->row_settings_template( )->gantt_row_settings(
+ rowid = `{OBJECTID}`
+* shapes1 = `{path: 'TASK', templateShareable:false}`
+* shapes2 = `{path: 'SUBTASK', templateShareable:false}`
+ relationships = `{path:'Relationships', templateShareable: 'true'}`
).
DATA(shapes) = row_settings->shapes1( ).
- shapes->base_rectangle(
- shapeid = `{OBJECTID}`
- time = `{= Helper.DateCreateObject(${STARTTIME}) }`
- endtime = `{= Helper.DateCreateObject(${ENDTIME}) }`
- height = `19`
- title = `{OBJECTNAME}`
- connectable = abap_true
- horizontaltextalignment = `Start`
+ shapes->base_rectangle( shapeid = `{OBJECTID}`
+ time = `{= Helper.DateCreateObject(${STARTTIME}) }`
+ endtime = `{= Helper.DateCreateObject(${ENDTIME}) }`
+ height = `19`
+ title = `{OBJECTNAME}`
+ connectable = abap_true
+ horizontaltextalignment = `Start`
).
DATA(relas) = row_settings->relationships( ).
- relas->relationship(
- shapeid = `{RELATIONID}`
- type = `{RELATIONTYPE}`
- successor = `{SUCCTASKID}`
- predecessor = `{PREDECTASKID}`
+ relas->relationship( shapeid = `{RELATIONID}`
+ type = `{RELATIONTYPE}`
+ successor = `{SUCCTASKID}`
+ predecessor = `{PREDECTASKID}`
).
-
DATA(columns) = table->ui_columns( ).
- DATA(column) = columns->ui_column(
- id = 'OBJECTNAME' ).
-
- column->ui_custom_data( )->core_custom_data(
- key = 'exportTableColumnConfig'
- value = '{"columnKey": "OBJECTNAME",' && |\r\n| &&
- ' "leadingProperty":"OBJECTNAME",' && |\r\n| &&
- ' "dataType": "string",' && |\r\n| &&
- ' "hierarchyNodeLevel": "HierarchyNodeLevel",' && |\r\n| &&
- ' "wrap": true}'
+ DATA(column) = columns->ui_column( id = 'OBJECTNAME' ).
+
+ column->ui_custom_data( )->core_custom_data( key = 'exportTableColumnConfig'
+ value = |\{"columnKey": "OBJECTNAME",| && |\r\n| &&
+ | "leadingProperty":"OBJECTNAME",| && |\r\n| &&
+ | "dataType": "string",| && |\r\n| &&
+ | "hierarchyNodeLevel": "HierarchyNodeLevel",| && |\r\n| &&
+ | "wrap": true\}|
).
column->text( text = `Object Name` ).
@@ -266,15 +249,16 @@ CLASS Z2UI5_CL_DEMO_APP_179 IMPLEMENTATION.
gantt->axis_time_strategy(
)->proportion_zoom_strategy(
)->total_horizon(
- )->time_horizon( starttime = `20181101000000` endtime = `20181131000000` )->get_parent( )->get_parent(
+ )->time_horizon( starttime = `20181101000000`
+ endtime = `20181131000000` )->get_parent( )->get_parent(
)->visible_horizon(
- )->time_horizon( starttime = `20181101000000` endtime = `20181131000000` ).
+ )->time_horizon( starttime = `20181101000000`
+ endtime = `20181131000000` ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -290,7 +274,6 @@ CLASS Z2UI5_CL_DEMO_APP_179 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_on_event.
CASE client->get( )-event.
@@ -299,4 +282,5 @@ CLASS Z2UI5_CL_DEMO_APP_179 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_180.clas.abap b/src/z2ui5_cl_demo_app_180.clas.abap
index 21c3033a..e6837aaa 100644
--- a/src/z2ui5_cl_demo_app_180.clas.abap
+++ b/src/z2ui5_cl_demo_app_180.clas.abap
@@ -1,29 +1,24 @@
CLASS z2ui5_cl_demo_app_180 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
DATA mv_initialized TYPE abap_bool.
- DATA mv_url TYPE string.
+ DATA mv_url TYPE string.
METHODS on_event.
METHODS view_display.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_180 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_180 IMPLEMENTATION.
METHOD on_event.
@@ -38,7 +33,8 @@ CLASS Z2UI5_CL_DEMO_APP_180 IMPLEMENTATION.
mv_url = `https://www.google.com`.
client->view_model_update( ).
- client->follow_up_action( val = client->_event_client( val = client->cs_event-open_new_tab t_arg = VALUE #( ( mv_url ) ) ) ).
+ client->follow_up_action( val = client->_event_client( val = client->cs_event-open_new_tab
+ t_arg = VALUE #( ( mv_url ) ) ) ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -48,31 +44,32 @@ CLASS Z2UI5_CL_DEMO_APP_180 IMPLEMENTATION.
ENDMETHOD.
-
METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `script` ns = `html` )->_cc_plain_xml( `sap.z2ui5.afterBE = () => { alert("afterBE triggered !!"); }` ).
+ view->_generic( name = `script`
+ ns = `html` )->_cc_plain_xml( `sap.z2ui5.afterBE = () => { alert("afterBE triggered !!"); }` ).
DATA(page) = view->shell( )->page(
- title = `Client->FOLLOW_UP_ACTION use cases`
- class = `sapUiContentPadding`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ title = `Client->FOLLOW_UP_ACTION use cases`
+ class = `sapUiContentPadding`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
page = page->vbox( ).
- page->button( text = `call frontend event from backend event` press = client->_event( `CALL_EF` ) ).
- page->label( text = `MV_URL was set AFTER backend event and model update to:` ).
- page->label( text = client->_bind_edit( mv_url ) ).
+ page->button( text = `call frontend event from backend event`
+ press = client->_event( `CALL_EF` ) ).
+ page->label( text = `MV_URL was set AFTER backend event and model update to:` ).
+ page->label( text = client->_bind_edit( mv_url ) ).
page->get_parent( )->hbox( class = `sapUiSmallMargin` ).
- page->button( text = `call custom JS from EB` press = client->_event( 'CUSTOM_JS_FROM_EB' ) ).
+ page->button( text = `call custom JS from EB`
+ press = client->_event( 'CUSTOM_JS_FROM_EB' ) ).
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -87,4 +84,5 @@ CLASS Z2UI5_CL_DEMO_APP_180 IMPLEMENTATION.
on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_181.clas.abap b/src/z2ui5_cl_demo_app_181.clas.abap
index fe3d3bff..95ba10bf 100644
--- a/src/z2ui5_cl_demo_app_181.clas.abap
+++ b/src/z2ui5_cl_demo_app_181.clas.abap
@@ -1,14 +1,12 @@
CLASS z2ui5_cl_demo_app_181 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
-
- INTERFACES z2ui5_if_app .
-
- DATA mv_initialized TYPE abap_bool .
- DATA mv_url TYPE string .
+ DATA mv_initialized TYPE abap_bool.
+ DATA mv_url TYPE string.
TYPES:
BEGIN OF ty_cities,
@@ -29,20 +27,17 @@ CLASS z2ui5_cl_demo_app_181 DEFINITION
TYPES t_product_items TYPE STANDARD TABLE OF ty_product_items WITH DEFAULT KEY.
+ METHODS on_event.
+ METHODS view_display.
- METHODS on_event .
- METHODS view_display .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_181 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_181 IMPLEMENTATION.
METHOD on_event.
@@ -57,82 +52,108 @@ CLASS Z2UI5_CL_DEMO_APP_181 IMPLEMENTATION.
ENDMETHOD.
-
METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- data(page) = view->shell( )->page(
- title = `Cards Demo`
- class = `sapUiContentPadding`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ DATA(page) = view->shell( )->page(
+ title = `Cards Demo`
+ class = `sapUiContentPadding`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- DATA(card_1) = page->card( width = `300px` class = `sapUiMediumMargin`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(card_1) = page->card( width = `300px`
+ class = `sapUiMediumMargin`
)->header( ns = `f`
- )->card_header( title = `Buy bus ticket on-line`
+ )->card_header( title = `Buy bus ticket on-line`
subtitle = `Buy a single-ride ticket for a date`
- iconsrc = `sap-icon://bus-public-transport`
+ iconsrc = `sap-icon://bus-public-transport`
)->get_parent( )->get_parent(
)->content( ns = `f`
- )->vbox( height = `110px`
- class = `sapUiSmallMargin`
+ )->vbox( height = `110px`
+ class = `sapUiSmallMargin`
justifycontent = `SpaceBetween`
)->hbox( justifycontent = `SpaceBetween`
- )->combobox( width = `120px`
- placeholder = `From City`
- items = `{path:'` && client->_bind_local( val = VALUE t_cities( ( text = `Berlin` key = `BR` )
- ( text = `London` key = `LN` )
- ( text = `Madrid` key = `MD` )
- ( text = `Prague` key = `PR` )
- ( text = `Paris` key = `PS` )
- ( text = `Sofia` key = `SF` )
- ( text = `Vienna` key = `VN` )
- ) path = abap_true ) && `', sorter: { path: 'TEXT' } }`
- )->get( )->item( key = `{KEY}` text = `{TEXT}` )->get_parent(
- )->combobox( width = `120px`
- placeholder = `To City`
- items = `{path:'` && client->_bind_local( val = VALUE t_cities( ( text = `Berlin` key = `BR` )
- ( text = `London` key = `LN` )
- ( text = `Madrid` key = `MD` )
- ( text = `Prague` key = `PR` )
- ( text = `Paris` key = `PS` )
- ( text = `Sofia` key = `SF` )
- ( text = `Vienna` key = `VN` )
- ) path = abap_true ) && `', sorter: { path: 'TEXT' } }`
- )->get( )->item( key = `{KEY}` text = `{TEXT}` )->get_parent(
+ )->combobox(
+ width = `120px`
+ placeholder = `From City`
+ items = |\{path:'{ client->_bind_local(
+ val = VALUE t_cities( ( text = `Berlin` key = `BR` )
+ ( text = `London` key = `LN` )
+ ( text = `Madrid` key = `MD` )
+ ( text = `Prague` key = `PR` )
+ ( text = `Paris` key = `PS` )
+ ( text = `Sofia` key = `SF` )
+ ( text = `Vienna` key = `VN` )
+ )
+ path = abap_true ) }', sorter: \{ path: 'TEXT' \} \}|
+ )->get( )->item( key = `{KEY}`
+ text = `{TEXT}` )->get_parent(
+ )->combobox(
+ width = `120px`
+ placeholder = `To City`
+ items = |\{path:'{ client->_bind_local(
+ val = VALUE t_cities( ( text = `Berlin` key = `BR` )
+ ( text = `London` key = `LN` )
+ ( text = `Madrid` key = `MD` )
+ ( text = `Prague` key = `PR` )
+ ( text = `Paris` key = `PS` )
+ ( text = `Sofia` key = `SF` )
+ ( text = `Vienna` key = `VN` )
+ )
+ path = abap_true ) }', sorter: \{ path: 'TEXT' \} \}|
+ )->get( )->item( key = `{KEY}`
+ text = `{TEXT}` )->get_parent(
)->get_parent(
- )->hbox( rendertype = `Bare` justifycontent = `SpaceBetween`
- )->date_picker( width = `200px`
+ )->hbox( rendertype = `Bare`
+ justifycontent = `SpaceBetween`
+ )->date_picker( width = `200px`
placeholder = `Choose Date ...`
- )->button( text = `Book`
- type = `Emphasized`
+ )->button( text = `Book`
+ type = `Emphasized`
press = client->_event( `BOOK` )
class = `sapUiTinyMarginBegin` ).
-
- DATA(card_2) = page->card( width = `300px` class = `sapUiMediumMargin`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(card_2) = page->card( width = `300px`
+ class = `sapUiMediumMargin`
)->header( ns = `f`
- )->card_header( title = `Project Cloud Transformation`
+ )->card_header( title = `Project Cloud Transformation`
subtitle = `Revenue per Product | EUR`
)->get_parent( )->get_parent(
)->content( ns = `f`
- )->list( class = `sapUiSmallMarginBottom`
+ )->list( class = `sapUiSmallMarginBottom`
showseparators = `None`
- items = client->_bind_local( VALUE t_product_items( ( title = `Notebook HT` subtitle = `ID23452256-D44` revenue = `27.25K EUR` status = `success` status_schema = `Success` )
- ( title = `Notebook XT` subtitle = `ID27852256-D47` revenue = `7.35K EUR` status = `exceeded` status_schema = `Error` )
- ( title = `Notebook ST` subtitle = `ID123555587-I05` revenue = `22.89K EUR` status = `warning` status_schema = `Warning` )
-
- ) )
+ items = client->_bind_local(
+ VALUE t_product_items( ( title = `Notebook HT`
+ subtitle = `ID23452256-D44`
+ revenue = `27.25K EUR`
+ status = `success`
+ status_schema = `Success` )
+ ( title = `Notebook XT`
+ subtitle = `ID27852256-D47`
+ revenue = `7.35K EUR`
+ status = `exceeded`
+ status_schema = `Error` )
+ ( title = `Notebook ST`
+ subtitle = `ID123555587-I05`
+ revenue = `22.89K EUR`
+ status = `warning`
+ status_schema = `Warning` )
+
+ ) )
)->custom_list_item(
- )->hbox( alignitems = `Center` justifycontent = `SpaceBetween`
+ )->hbox( alignitems = `Center`
+ justifycontent = `SpaceBetween`
)->vbox( class = `sapUiSmallMarginBegin sapUiSmallMarginTopBottom`
- )->title( text = `{TITLE}` titlestyle = `H3`
+ )->title( text = `{TITLE}`
+ titlestyle = `H3`
)->text( text = `{SUBTITLE}`
)->get_parent(
)->object_status( class = `sapUiTinyMargin sapUiSmallMarginEnd`
- text = `{REVENUE}`
+ text = `{REVENUE}`
state = `{STATUS_SCHEMA}`
).
@@ -140,7 +161,6 @@ CLASS Z2UI5_CL_DEMO_APP_181 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -155,4 +175,5 @@ CLASS Z2UI5_CL_DEMO_APP_181 IMPLEMENTATION.
on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_182.clas.abap b/src/z2ui5_cl_demo_app_182.clas.abap
index 5ae72802..8d10cbba 100644
--- a/src/z2ui5_cl_demo_app_182.clas.abap
+++ b/src/z2ui5_cl_demo_app_182.clas.abap
@@ -1,17 +1,15 @@
CLASS z2ui5_cl_demo_app_182 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES: BEGIN OF t_attributes3,
label TYPE i,
value TYPE string,
END OF t_attributes3.
- TYPES: tt_attributes3 TYPE STANDARD TABLE OF t_attributes3 WITH DEFAULT KEY.
+ TYPES tt_attributes3 TYPE STANDARD TABLE OF t_attributes3 WITH DEFAULT KEY.
TYPES: BEGIN OF t_nodes2,
id TYPE string,
title TYPE string,
@@ -28,62 +26,67 @@ CLASS z2ui5_cl_demo_app_182 DEFINITION
from TYPE string,
to TYPE string,
END OF t_lines4.
- TYPES: tt_nodes2 TYPE STANDARD TABLE OF t_nodes2 WITH DEFAULT KEY.
- TYPES: tt_lines4 TYPE STANDARD TABLE OF t_lines4 WITH DEFAULT KEY.
+ TYPES tt_nodes2 TYPE STANDARD TABLE OF t_nodes2 WITH DEFAULT KEY.
+ TYPES tt_lines4 TYPE STANDARD TABLE OF t_lines4 WITH DEFAULT KEY.
TYPES: BEGIN OF t_json1,
nodes TYPE tt_nodes2,
lines TYPE tt_lines4,
END OF t_json1.
- DATA mv_initialized TYPE abap_bool .
- DATA mt_data TYPE t_json1 .
+ DATA mv_initialized TYPE abap_bool.
+ DATA mt_data TYPE t_json1.
+
+ METHODS on_event.
+ METHODS view_display.
- METHODS on_event .
- METHODS view_display .
METHODS detail_popover
IMPORTING
- id TYPE string
+ id TYPE string
node TYPE t_nodes2.
- PROTECTED SECTION.
+ PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_182 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_182 IMPLEMENTATION.
METHOD detail_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(qv) = view->quick_view( placement = `Left`
- )->quick_view_page(
- header = `Employee`
- title = node-title
+ )->quick_view_page( header = `Employee`
+ title = node-title
description = node-position
- )->get( )->quick_view_page_avatar( )->avatar( src = node-src displayshape = `Square` )->get_parent(
+ )->get( )->quick_view_page_avatar( )->avatar( src = node-src
+ displayshape = `Square` )->get_parent(
)->quick_view_group( heading = `Contact Detail`
- )->quick_view_group_element( label = `Location` value = node-location )->get_parent(
- )->quick_view_group_element( label = `Mobile` value = node-phone type = `phone` )->get_parent(
- )->quick_view_group_element( label = `Email` value = node-email type = `email` emailsubject = `Contact` && node-id ).
+ )->quick_view_group_element( label = `Location`
+ value = node-location )->get_parent(
+ )->quick_view_group_element( label = `Mobile`
+ value = node-phone
+ type = `phone` )->get_parent(
+ )->quick_view_group_element( label = `Email`
+ value = node-email
+ type = `email`
+ emailsubject = |Contact{ node-id }| ).
IF node-team IS NOT INITIAL.
qv = qv->get_parent( )->get_parent(
)->quick_view_group( heading = `Team`
- )->quick_view_group_element( label = `Size` value = CONV string( node-team ) ).
+ )->quick_view_group_element( label = `Size`
+ value = CONV string( node-team ) ).
ENDIF.
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -95,7 +98,8 @@ CLASS Z2UI5_CL_DEMO_APP_182 IMPLEMENTATION.
READ TABLE mt_data-nodes INTO DATA(ls_node) WITH KEY id = lt_arg[ 2 ].
- detail_popover( id = lt_arg[ 1 ] node = ls_node ).
+ detail_popover( id = lt_arg[ 1 ]
+ node = ls_node ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -104,39 +108,40 @@ CLASS Z2UI5_CL_DEMO_APP_182 IMPLEMENTATION.
ENDMETHOD.
-
METHOD view_display.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- DATA(page) = view->page(
- title = 'abap2UI5 - Network Graph - Org Tree'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ DATA(page) = view->page( title = 'abap2UI5 - Network Graph - Org Tree'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(graph) = page->network_graph( enablewheelzoom = abap_false
- orientation = `TopBottom`
- nodes = client->_bind( mt_data-nodes )
- lines = client->_bind( mt_data-lines )
- layout = `Layered`
- searchsuggest = `suggest`
- search = `search`
- id = `graph`
- )->get( )->layout_algorithm( )->layered_layout( mergeedges = abap_true nodeplacement = `Simple` nodespacing = `40`
+ orientation = `TopBottom`
+ nodes = client->_bind( mt_data-nodes )
+ lines = client->_bind( mt_data-lines )
+ layout = `Layered`
+ searchsuggest = `suggest`
+ search = `search`
+ id = `graph`
+ )->get( )->layout_algorithm( )->layered_layout( mergeedges = abap_true
+ nodeplacement = `Simple`
+ nodespacing = `40`
)->get_parent(
)->get_parent(
)->nodes( ns = `networkgraph`
- )->node( icon = `sap-icon://action-settings`
- key = `{ID}`
- description = `{TITLE}`
- title = `{TITLE}`
- width = `90`
- collapsed = `{COLLAPSED}`
- attributes = `{ATTRIBUTES}`
- showactionlinksbutton = abap_false
- showdetailbutton = abap_false
- descriptionlinesize = `0`
- shape = `Box`
+ )->node( icon = `sap-icon://action-settings`
+ key = `{ID}`
+ description = `{TITLE}`
+ title = `{TITLE}`
+ width = `90`
+ collapsed = `{COLLAPSED}`
+ attributes = `{ATTRIBUTES}`
+ showactionlinksbutton = abap_false
+ showdetailbutton = abap_false
+ descriptionlinesize = `0`
+ shape = `Box`
* )->get( )->custom_data( ns = `networkgraph` )->core_custom_data( key = `supervisor` value = `{SUPERVISOR}`
* )->core_custom_data( key = `team` value = `{TEAM}`
* )->core_custom_data( key = `location` value = `{LOCATION}`
@@ -147,38 +152,40 @@ CLASS Z2UI5_CL_DEMO_APP_182 IMPLEMENTATION.
* )->get_parent(
* )->get( )->get_parent( )->get_parent( )->attributes( ns = `networkgraph`
)->get( )->attributes( ns = `networkgraph`
- )->element_attribute( label = `{LABEL}` value = `{VALUE}`
+ )->element_attribute( label = `{LABEL}`
+ value = `{VALUE}`
)->get_parent(
)->get_parent(
)->get( )->get_parent( )->get_parent( )->action_buttons(
- )->action_button( "id = `{ID}`
- position = `Left`
- title = `Detail`
- icon = `sap-icon://employee`
- press = client->_event( val = `DETAIL_POPOVER` t_arg = VALUE #( ( `${$source>/id}` )
- ( `${ID}` )
+ )->action_button( " id = `{ID}`
+ position = `Left`
+ title = `Detail`
+ icon = `sap-icon://employee`
+ press = client->_event( val = `DETAIL_POPOVER`
+ t_arg = VALUE #( ( `${$source>/id}` )
+ ( `${ID}` )
* ( `${TEAM}` )
* ( `${LOCATION}` )
* ( `${POSITION}` )
* ( `${EMAIL}` )
* ( `${PHONE}` )
- ) )
+ ) )
)->get_parent(
)->get_parent(
- )->get( )->get_parent( )->get_parent( )->_generic( ns = `networkgraph` name = `image`
- )->node_image( src = `{SRC}`
- width = `80`
+ )->get( )->get_parent( )->get_parent( )->_generic( ns = `networkgraph`
+ name = `image`
+ )->node_image( src = `{SRC}`
+ width = `80`
height = `100`
)->get_parent(
)->get_parent(
)->get_parent(
)->get_parent(
)->lines(
- )->line( from = `{FROM}`
- to = `{TO}`
+ )->line( from = `{FROM}`
+ to = `{TO}`
arroworientation = `None`
- press = client->_event( `LINE_PRESS` )
-
+ press = client->_event( `LINE_PRESS` )
).
@@ -186,7 +193,6 @@ CLASS Z2UI5_CL_DEMO_APP_182 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -194,62 +200,64 @@ CLASS Z2UI5_CL_DEMO_APP_182 IMPLEMENTATION.
IF mv_initialized = abap_false.
mv_initialized = abap_true.
- mt_data = VALUE #( nodes = VALUE #( ( id = `Dinter`
- title = `Sophie Dinter`
- src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/female_IngallsB.jpg`
- attributes = VALUE #( ( label = 35 value = `` ) )
- team = 13
- location = `Walldorf`
- position = `lobal Solutions Manager`
- email = `sophie.dinter@example.com`
- phone = `+000 423 230 000`
- )
- ( id = `Ninsei`
- title = `Yamasaki Ninsei`
- src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/male_GordonR.jpg`
- attributes = VALUE #( ( label = 9 value = `` ) )
- supervisor = `Dinter`
- team = 9
- location = `Walldorf`
- position = `Lead Markets Manage`
- email = `yamasaki.ninsei@example.com`
- phone = `+000 423 230 002`
- )
- ( id = `Mills`
- title = `Henry Mills`
- src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/male_MillerM.jpg`
- attributes = VALUE #( ( label = 4 value = `` ) )
- supervisor = `Ninsei`
- team = 4
- location = `Praha`
- position = `Sales Manager`
- email = `henry.mills@example.com`
- phone = `+000 423 232 003`
- )
- ( id = `Polak`
- title = `Adam Polak`
- src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/male_PlatteR.jpg`
- supervisor = `Mills`
- location = `Praha`
- position = `Marketing Specialist`
- email = `adam.polak@example.com`
- phone = `+000 423 232 004`
- )
- ( id = `Sykorova`
- title = `Vlasta Sykorova`
- src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/female_SpringS.jpg`
- supervisor = `Mills`
- location = `Praha`
- position = `Human Assurance Officer`
- email = `vlasta.sykorova@example.com`
- phone = `+000 423 232 005`
- )
- )
- lines = VALUE #( ( from = `Dinter` to = `Ninsei` )
- ( from = `Ninsei` to = `Mills` )
- ( from = `Mills` to = `Polak` )
- ( from = `Mills` to = `Sykorova` )
- ) ).
+ mt_data = VALUE #(
+ nodes = VALUE #(
+ ( id = `Dinter`
+ title = `Sophie Dinter`
+ src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/female_IngallsB.jpg`
+ attributes = VALUE #( ( label = 35 value = `` ) )
+ team = 13
+ location = `Walldorf`
+ position = `lobal Solutions Manager`
+ email = `sophie.dinter@example.com`
+ phone = `+000 423 230 000`
+ )
+ ( id = `Ninsei`
+ title = `Yamasaki Ninsei`
+ src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/male_GordonR.jpg`
+ attributes = VALUE #( ( label = 9 value = `` ) )
+ supervisor = `Dinter`
+ team = 9
+ location = `Walldorf`
+ position = `Lead Markets Manage`
+ email = `yamasaki.ninsei@example.com`
+ phone = `+000 423 230 002`
+ )
+ ( id = `Mills`
+ title = `Henry Mills`
+ src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/male_MillerM.jpg`
+ attributes = VALUE #( ( label = 4 value = `` ) )
+ supervisor = `Ninsei`
+ team = 4
+ location = `Praha`
+ position = `Sales Manager`
+ email = `henry.mills@example.com`
+ phone = `+000 423 232 003`
+ )
+ ( id = `Polak`
+ title = `Adam Polak`
+ src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/male_PlatteR.jpg`
+ supervisor = `Mills`
+ location = `Praha`
+ position = `Marketing Specialist`
+ email = `adam.polak@example.com`
+ phone = `+000 423 232 004`
+ )
+ ( id = `Sykorova`
+ title = `Vlasta Sykorova`
+ src = `https://ui5.sap.com/test-resources/sap/suite/ui/commons/demokit/images/people/female_SpringS.jpg`
+ supervisor = `Mills`
+ location = `Praha`
+ position = `Human Assurance Officer`
+ email = `vlasta.sykorova@example.com`
+ phone = `+000 423 232 005`
+ )
+ )
+ lines = VALUE #( ( from = `Dinter` to = `Ninsei` )
+ ( from = `Ninsei` to = `Mills` )
+ ( from = `Mills` to = `Polak` )
+ ( from = `Mills` to = `Sykorova` )
+ ) ).
view_display( ).
@@ -258,4 +266,5 @@ CLASS Z2UI5_CL_DEMO_APP_182 IMPLEMENTATION.
on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_183.clas.abap b/src/z2ui5_cl_demo_app_183.clas.abap
index 42681dac..454b269b 100644
--- a/src/z2ui5_cl_demo_app_183.clas.abap
+++ b/src/z2ui5_cl_demo_app_183.clas.abap
@@ -1,49 +1,47 @@
CLASS z2ui5_cl_demo_app_183 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_row,
- count TYPE i,
- value TYPE string,
- descr TYPE string,
- icon TYPE string,
- info TYPE string,
- checkbox TYPE abap_bool,
- percentage(5) TYPE p DECIMALS 2,
- valuecolor TYPE string,
- END OF ty_row .
-
- DATA:
- t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY .
- DATA check_initialized TYPE abap_bool .
- DATA check_ui5 TYPE abap_bool .
- DATA mv_key TYPE string .
- data sortorder type string value `None`.
-
- METHODS refresh_data .
+ count TYPE i,
+ value TYPE string,
+ descr TYPE string,
+ icon TYPE string,
+ info TYPE string,
+ checkbox TYPE abap_bool,
+ percentage TYPE p LENGTH 5 DECIMALS 2,
+ valuecolor TYPE string,
+ END OF ty_row.
+
+ DATA t_tab TYPE STANDARD TABLE OF ty_row WITH EMPTY KEY.
+ DATA check_initialized TYPE abap_bool.
+ DATA check_ui5 TYPE abap_bool.
+ DATA mv_key TYPE string.
+ DATA sortorder TYPE string VALUE `None`.
+
+ METHODS refresh_data.
+
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_183 IMPLEMENTATION.
-
METHOD refresh_data.
DO 100 TIMES.
DATA ls_row TYPE ty_row.
- ls_row-count = sy-index.
- ls_row-value = 'red'.
+ ls_row-count = sy-index.
+ ls_row-value = 'red'.
* info = COND #( WHEN sy-index < 50 THEN 'completed' ELSE 'uncompleted' )
- ls_row-descr = 'this is a description'.
- ls_row-checkbox = abap_true.
+ ls_row-descr = 'this is a description'.
+ ls_row-checkbox = abap_true.
* percentage = COND #( WHEN sy-index <= 100 THEN sy-index ELSE '100' )
ls_row-valuecolor = `Good`.
INSERT ls_row INTO TABLE t_tab.
@@ -51,7 +49,6 @@ CLASS z2ui5_cl_demo_app_183 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -62,6 +59,7 @@ CLASS z2ui5_cl_demo_app_183 IMPLEMENTATION.
CASE client->get( )-event.
WHEN 'GET_OPENED_COL'.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lt_arg) = client->get( )-t_event_arg.
RETURN.
@@ -85,50 +83,46 @@ CLASS z2ui5_cl_demo_app_183 IMPLEMENTATION.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - table with column menu (press a column header)'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - table with column menu (press a column header)'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- DATA(tab) = page->scroll_container( height = '70%' vertical = abap_true
- )->table(
- growing = abap_true
- growingthreshold = '20'
- growingscrolltoload = abap_true
- items = client->_bind_edit( t_tab )
- sticky = 'ColumnHeaders,HeaderToolbar' ).
+ DATA(tab) = page->scroll_container( height = '70%'
+ vertical = abap_true
+ )->table( growing = abap_true
+ growingthreshold = '20'
+ growingscrolltoload = abap_true
+ items = client->_bind_edit( t_tab )
+ sticky = 'ColumnHeaders,HeaderToolbar' ).
tab->header_toolbar(
)->toolbar(
)->title( 'title of the table'
- )->button(
- text = 'letf side button'
- icon = 'sap-icon://account'
- press = client->_event( 'BUTTON_SORT' )
+ )->button( text = 'letf side button'
+ icon = 'sap-icon://account'
+ press = client->_event( 'BUTTON_SORT' )
)->segmented_button( selected_key = mv_key
)->items(
- )->segmented_button_item(
- key = 'BLUE'
- icon = 'sap-icon://accept'
- text = 'blue'
- )->segmented_button_item(
- key = 'GREEN'
- icon = 'sap-icon://add-favorite'
- text = 'green'
+ )->segmented_button_item( key = 'BLUE'
+ icon = 'sap-icon://accept'
+ text = 'blue'
+ )->segmented_button_item( key = 'GREEN'
+ icon = 'sap-icon://add-favorite'
+ text = 'green'
)->get_parent( )->get_parent(
)->toolbar_spacer(
- )->button(
- icon = 'sap-icon://sort-descending'
- press = client->_event( 'SORT_DESCENDING' )
- )->button(
- icon = 'sap-icon://sort-ascending'
- press = client->_event( 'SORT_ASCENDING' )
+ )->button( icon = 'sap-icon://sort-descending'
+ press = client->_event( 'SORT_DESCENDING' )
+ )->button( icon = 'sap-icon://sort-ascending'
+ press = client->_event( 'SORT_ASCENDING' )
).
-* column menu
+ " column menu
tab->dependents(
- )->column_menu( id = `menu` beforeopen = client->_event( val = `GET_OPENED_COL` t_arg = VALUE #( ( `$event.mParameters.openBy.getId()` ) ) )
+ )->column_menu( id = `menu`
+ beforeopen = client->_event( val = `GET_OPENED_COL`
+ t_arg = VALUE #( ( `$event.mParameters.openBy.getId()` ) ) )
* )->column_menu_quick_sort( change = client->_event( val = 'ONSORT' t_arg = VALUE #( ( `${$parameters>/item.getKey}` ) ) )
* )->column_menu_quick_sort( change = client->_event( val = 'ONSORT' t_arg = VALUE #( ( `$event` ) ) )
)->column_menu_quick_sort( change = client->_event( 'ONSORT' )
@@ -140,35 +134,51 @@ CLASS z2ui5_cl_demo_app_183 IMPLEMENTATION.
)->column_menu_quick_group_item(
)->get_parent( )->get_parent( )->get_parent(
)->items( ns = `columnmenu`
- )->column_menu_action_item( icon = `sap-icon://sort` label = `Sort` press = client->_event( 'ONSORTACTIONITEM' ) )->get_parent(
- )->column_menu_action_item( icon = `sap-icon://group-2` label = `Group` press = client->_event( 'ONSGROUPACTIONITEM' ) )->get_parent(
- )->column_menu_action_item( icon = `sap-icon://filter` label = `Filter` press = client->_event( 'ONSFILTERACTIONITEM' ) )->get_parent(
- )->column_menu_action_item( icon = `sap-icon://table-column` label = `Columns` press = client->_event( 'ONSCOLUMNSACTIONITEM' )
+ )->column_menu_action_item( icon = `sap-icon://sort`
+ label = `Sort`
+ press = client->_event( 'ONSORTACTIONITEM' ) )->get_parent(
+ )->column_menu_action_item( icon = `sap-icon://group-2`
+ label = `Group`
+ press = client->_event( 'ONSGROUPACTIONITEM' ) )->get_parent(
+ )->column_menu_action_item( icon = `sap-icon://filter`
+ label = `Filter`
+ press = client->_event( 'ONSFILTERACTIONITEM' ) )->get_parent(
+ )->column_menu_action_item( icon = `sap-icon://table-column`
+ label = `Columns`
+ press = client->_event( 'ONSCOLUMNSACTIONITEM' )
).
tab->columns(
- )->column( headermenu = `menu` id = `color_col`
+ )->column( headermenu = `menu`
+ id = `color_col`
)->text( 'Color' )->get_parent(
- )->column( headermenu = `menu` id = `info_col`
+ )->column( headermenu = `menu`
+ id = `info_col`
)->text( 'Info' )->get_parent(
- )->column( headermenu = `menu` id = `description_col`
+ )->column( headermenu = `menu`
+ id = `description_col`
)->text( 'Description' )->get_parent(
- )->column( headermenu = `menu` id = `checkbox_col`
+ )->column( headermenu = `menu`
+ id = `checkbox_col`
)->text( 'Checkbox' )->get_parent(
- )->column( headermenu = `menu` id = `counter_col`
+ )->column( headermenu = `menu`
+ id = `counter_col`
)->text( 'Counter' )->get_parent(
- )->column( headermenu = `menu` id = `chart_col`
+ )->column( headermenu = `menu`
+ id = `chart_col`
)->text( 'Radial Micro Chart' ).
tab->items( )->column_list_item( )->cells(
)->text( '{VALUE}'
)->text( '{INFO}'
)->text( '{DESCR}'
- )->checkbox( selected = '{CHECKBOX}' enabled = abap_false
+ )->checkbox( selected = '{CHECKBOX}'
+ enabled = abap_false
)->text( '{COUNT}'
).
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_184.clas.abap b/src/z2ui5_cl_demo_app_184.clas.abap
index 8be0254d..f910958f 100644
--- a/src/z2ui5_cl_demo_app_184.clas.abap
+++ b/src/z2ui5_cl_demo_app_184.clas.abap
@@ -17,8 +17,8 @@ CLASS z2ui5_cl_demo_app_184 DEFINITION
METHODS set_app_data
IMPORTING
- !count TYPE string
- !table TYPE string.
+ count TYPE string
+ table TYPE string.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
@@ -38,6 +38,7 @@ CLASS z2ui5_cl_demo_app_184 DEFINITION
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_184 IMPLEMENTATION.
METHOD on_event.
@@ -66,9 +67,9 @@ CLASS z2ui5_cl_demo_app_184 IMPLEMENTATION.
FIELD-SYMBOLS TYPE data.
ASSIGN mt_table->* TO .
- DATA(table) = page->table( growing = 'true'
- width = 'auto'
- items = client->_bind( )
+ DATA(table) = page->table( growing = 'true'
+ width = 'auto'
+ items = client->_bind( )
* headertext = mv_table
).
@@ -86,7 +87,7 @@ CLASS z2ui5_cl_demo_app_184 IMPLEMENTATION.
)->cells( ).
LOOP AT mt_comp INTO comp.
- cells->object_identifier( text = '{' && comp-name && '}' ).
+ cells->object_identifier( text = |\{{ comp-name }\}| ).
ENDLOOP.
IF mo_parent_view IS INITIAL.
@@ -114,6 +115,8 @@ CLASS z2ui5_cl_demo_app_184 IMPLEMENTATION.
ENDMETHOD.
METHOD set_app_data.
+ " TODO: parameter COUNT is never used (ABAP cleaner)
+
mv_table = table.
ENDMETHOD.
diff --git a/src/z2ui5_cl_demo_app_185.clas.abap b/src/z2ui5_cl_demo_app_185.clas.abap
index fc8f1aea..3936bcba 100644
--- a/src/z2ui5_cl_demo_app_185.clas.abap
+++ b/src/z2ui5_cl_demo_app_185.clas.abap
@@ -2,23 +2,22 @@ CLASS z2ui5_cl_demo_app_185 DEFINITION
PUBLIC
CREATE PUBLIC.
-PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app.
-
- TYPES:
- BEGIN OF ty_s_t002,
- id TYPE string,
- count TYPE string,
- table TYPE string,
- class TYPE string,
- END OF ty_s_t002.
- TYPES ty_t_t002 TYPE STANDARD TABLE OF ty_s_t002 WITH DEFAULT KEY.
-
- DATA mv_selectedkey TYPE string.
- DATA mv_selectedkey_tmp TYPE string.
- DATA mt_t002 TYPE ty_t_t002.
- DATA mo_app TYPE REF TO object.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
+
+ TYPES:
+ BEGIN OF ty_s_t002,
+ id TYPE string,
+ count TYPE string,
+ table TYPE string,
+ class TYPE string,
+ END OF ty_s_t002.
+ TYPES ty_t_t002 TYPE STANDARD TABLE OF ty_s_t002 WITH DEFAULT KEY.
+
+ DATA mv_selectedkey TYPE string.
+ DATA mv_selectedkey_tmp TYPE string.
+ DATA mt_t002 TYPE ty_t_t002.
+ DATA mo_app TYPE REF TO object.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
@@ -35,9 +34,7 @@ PUBLIC SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_185 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_185 IMPLEMENTATION.
METHOD on_event.
@@ -59,18 +56,16 @@ CLASS Z2UI5_CL_DEMO_APP_185 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_init.
- mt_t002 = VALUE #( ( id = '1' class = 'Z2UI5_CL_DEMO_APP_184' count = '10' table = 'Z2UI5_T001')
- ( id = '2' class = 'Z2UI5_CL_DEMO_APP_184' count = '12' table = 'Z2UI5_T002')
- ).
+ mt_t002 = VALUE #( class = 'Z2UI5_CL_DEMO_APP_184'
+ ( id = '1' count = '10' table = 'Z2UI5_T001' )
+ ( id = '2' count = '12' table = 'Z2UI5_T002' ) ).
mv_selectedkey = '1'.
ENDMETHOD.
-
METHOD render_main.
DATA(view) = z2ui5_cl_xml_view=>factory( )->shell( ).
@@ -86,7 +81,9 @@ CLASS Z2UI5_CL_DEMO_APP_185 IMPLEMENTATION.
)->items( ).
LOOP AT mt_t002 REFERENCE INTO DATA(line).
- lo_items->icon_tab_filter( text = line->class count = line->count key = line->id ).
+ lo_items->icon_tab_filter( text = line->class
+ count = line->count
+ key = line->id ).
lo_items->icon_tab_separator( ).
ENDLOOP.
@@ -94,10 +91,8 @@ CLASS Z2UI5_CL_DEMO_APP_185 IMPLEMENTATION.
ENDMETHOD.
-
METHOD render_sub_app.
-
READ TABLE mt_t002 REFERENCE INTO DATA(t002)
WITH KEY id = mv_selectedkey.
@@ -115,9 +110,8 @@ CLASS Z2UI5_CL_DEMO_APP_185 IMPLEMENTATION.
TRY.
CALL METHOD mo_app->('SET_APP_DATA')
- EXPORTING
- count = t002->count
- table = t002->table.
+ EXPORTING count = t002->count
+ table = t002->table.
render_main( ).
@@ -127,8 +121,7 @@ CLASS Z2UI5_CL_DEMO_APP_185 IMPLEMENTATION.
ENDIF.
CALL METHOD mo_app->('Z2UI5_IF_APP~MAIN')
- EXPORTING
- client = client.
+ EXPORTING client = client.
CATCH cx_root.
RETURN.
@@ -154,7 +147,6 @@ CLASS Z2UI5_CL_DEMO_APP_185 IMPLEMENTATION.
ENDIF.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -170,4 +162,5 @@ CLASS Z2UI5_CL_DEMO_APP_185 IMPLEMENTATION.
render_sub_app( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_186.clas.abap b/src/z2ui5_cl_demo_app_186.clas.abap
index c92d3827..b1f3a0ce 100644
--- a/src/z2ui5_cl_demo_app_186.clas.abap
+++ b/src/z2ui5_cl_demo_app_186.clas.abap
@@ -1,51 +1,46 @@
-class Z2UI5_CL_DEMO_APP_186 definition
- public
- final
- create public .
+CLASS z2ui5_cl_demo_app_186 DEFINITION
+ PUBLIC FINAL
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
+ DATA is_initialized TYPE abap_bool.
+ DATA file_content_64 TYPE string.
+ DATA file_name TYPE string.
+ DATA mime_type TYPE string.
- interfaces Z2UI5_IF_APP .
-
- data IS_INITIALIZED type BOOLEAN .
- data FILE_CONTENT_64 type STRING .
- data FILE_NAME type STRING .
- data MIME_TYPE type STRING .
PROTECTED SECTION.
- PRIVATE SECTION.
- DATA client TYPE REF TO z2ui5_if_client .
+ PRIVATE SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
- METHODS initialize .
- METHODS on_event .
- METHODS render_screen .
+ METHODS initialize.
+ METHODS on_event.
+ METHODS render_screen.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_186 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_186 IMPLEMENTATION.
METHOD initialize.
file_name = 'Default_File_Name.jpg'.
mime_type = 'text/plain'.
- file_content_64 = `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAApgAAA` &&
- `KYB3X3/OAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANCSURBVEiJtZZPbBtFFMZ/M7ubXdtdb1xSFyeilBapySVU8h8OoFaooFSqiihIVIp` &&
- `QBKci6KEg9Q6H9kovIHoCIVQJJCKE1ENFjnAgcaSGC6rEnxBwA04Tx43t2FnvDAfjkNibxgHxnWb2e/u992bee7tCa00YFsffekFY+nUzFtjW0LrvjRXrCDIAaPLlW` &&
- `0nHL0SsZtVoaF98mLrx3pdhOqLtYPHChahZcYYO7KvPFxvRl5XPp1sN3adWiD1ZAqD6XYK1b/dvE5IWryTt2udLFedwc1+9kLp+vbbpoDh+6TklxBeAi9TL0taeWpd` &&
- `mZzQDry0AcO+jQ12RyohqqoYoo8RDwJrU+qXkjWtfi8Xxt58BdQuwQs9qC/afLwCw8tnQbqYAPsgxE1S6F3EAIXux2oQFKm0ihMsOF71dHYx+f3NND68ghCu1YIoeP` &&
- `PQN1pGRABkJ6Bus96CutRZMydTl+TvuiRW1m3n0eDl0vRPcEysqdXn+jsQPsrHMquGeXEaY4Yk4wxWcY5V/9scqOMOVUFthatyTy8QyqwZ+kDURKoMWxNKr2EeqVKc` &&
- `TNOajqKoBgOE28U4tdQl5p5bwCw7BWquaZSzAPlwjlithJtp3pTImSqQRrb2Z8PHGigD4RZuNX6JYj6wj7O4TFLbCO/Mn/m8R+h6rYSUb3ekokRY6f/YukArN979jc` &&
- `W+V/S8g0eT/N3VN3kTqWbQ428m9/8k0P/1aIhF36PccEl6EhOcAUCrXKZXXWS3XKd2vc/TRBG9O5ELC17MmWubD2nKhUKZa26Ba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4Yk4wxWcY5V/9scqOMOVUFthatyTy8QyqwZ+kDURKoMWxNKr2EeqVKc| &&
+ |TNOajqKoBgOE28U4tdQl5p5bwCw7BWquaZSzAPlwjlithJtp3pTImSqQRrb2Z8PHGigD4RZuNX6JYj6wj7O4TFLbCO/Mn/m8R+h6rYSUb3ekokRY6f/YukArN979jc| &&
+ |W+V/S8g0eT/N3VN3kTqWbQ428m9/8k0P/1aIhF36PccEl6EhOcAUCrXKZXXWS3XKd2vc/TRBG9O5ELC17MmWubD2nKhUKZa26Ba2+D3P+4/MNCFwg59oWVeYhkzgN/| &&
+ |JDR8deKBoD7Y+ljEjGZ0sosXVTvbc6RHirr2reNy1OXd6pJsQ+gqjk8VWFYmHrwBzW/n+uMPFiRwHB2I7ih8ciHFxIkd/3Omk5tCDV1t+2nNu5sxxpDFNx+huNhVT3| &&
+ |/zMDz8usXC3ddaHBj1GHj/As08fwTS7Kt1HBTmyN29vdwAw+/wbwLVOJ3uAD1wi/dUH7Qei66PfyuRj4Ik9is+hglfbkbfR3cnZm7chlUWLdwmprtCohX4HUtlOcQj| &&
+ |LYCu+fzGJH2QRKvP3UNz8bWk1qMxjGTOMThZ3kvgLI5AzFfo379UAAAAASUVORK5CYII=|.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -56,8 +51,8 @@ CLASS Z2UI5_CL_DEMO_APP_186 IMPLEMENTATION.
* DATA(lv_func) = `sap.z2ui5downloadFile(` && `"` && file_content_64 && `","` && file_name && `"` && `)`.
* DATA(lv_func) = `sap.z2ui5downloadFile(` && file_content_64 && `,` && file_name && `)`.
- client->follow_up_action( val = client->_event_client( val = client->cs_event-download_b64_file t_arg = VALUE #( ( file_content_64 ) ( file_name ) ) ) ).
-
+ client->follow_up_action( val = client->_event_client( val = client->cs_event-download_b64_file
+ t_arg = VALUE #( ( file_content_64 ) ( file_name ) ) ) ).
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -66,36 +61,41 @@ CLASS Z2UI5_CL_DEMO_APP_186 IMPLEMENTATION.
ENDMETHOD.
-
METHOD render_screen.
- DATA lv_script TYPE string.
-
-
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(page) = view->shell(
- )->page(
- showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
- title = 'abap2UI5 - Download Base64 File'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
+ title = 'abap2UI5 - Download Base64 File'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- page->flex_box( width = `100%` height = `600px` alignitems = `Center` justifycontent = `SpaceAround`
+ page->flex_box( width = `100%`
+ height = `600px`
+ alignitems = `Center`
+ justifycontent = `SpaceAround`
)->vbox( )->text( text = `Base64 String:`
- )->text_area( value = client->_bind_edit( file_content_64 ) rows = `20` width = `800px` wrapping = abap_true
+ )->text_area( value = client->_bind_edit( file_content_64 )
+ rows = `20`
+ width = `800px`
+ wrapping = abap_true
)->get_parent(
- )->vbox( justifycontent = `Center` alignitems = `Center`
+ )->vbox( justifycontent = `Center`
+ alignitems = `Center`
)->text( text = `fill filename:`
- )->input( value = client->_bind_edit( file_name ) class = `sapUiLargeMarginBottom` width = `15rem`
- )->button( type = 'Emphasized' text = 'Open Download Popup' press = client->_event( 'BUTTON_DOWNLOAD' ) ).
+ )->input( value = client->_bind_edit( file_name )
+ class = `sapUiLargeMarginBottom`
+ width = `15rem`
+ )->button( type = 'Emphasized'
+ text = 'Open Download Popup'
+ press = client->_event( 'BUTTON_DOWNLOAD' ) ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -111,4 +111,5 @@ CLASS Z2UI5_CL_DEMO_APP_186 IMPLEMENTATION.
on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_187.clas.abap b/src/z2ui5_cl_demo_app_187.clas.abap
index 658a4c83..af21ffca 100644
--- a/src/z2ui5_cl_demo_app_187.clas.abap
+++ b/src/z2ui5_cl_demo_app_187.clas.abap
@@ -5,27 +5,23 @@ CLASS z2ui5_cl_demo_app_187 DEFINITION PUBLIC.
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_187 IMPLEMENTATION.
METHOD z2ui5_if_app~main.
-
IF client->check_on_init( ).
client->view_display( z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Popup To Confirm'
- navbuttonpress = client->_event( val = 'BACK' )
- shownavbutton = client->check_app_prev_stack( )
- )->button(
- text = 'SY'
- press = client->_event( 'SY' )
- )->button(
- text = 'BAPIRET'
- press = client->_event( 'BAPIRET' )
- )->button(
- text = 'CX_ROOT'
- press = client->_event( 'CX_ROOT' )
+ )->page( title = 'abap2UI5 - Popup To Confirm'
+ navbuttonpress = client->_event( val = 'BACK' )
+ shownavbutton = client->check_app_prev_stack( )
+ )->button( text = 'SY'
+ press = client->_event( 'SY' )
+ )->button( text = 'BAPIRET'
+ press = client->_event( 'BAPIRET' )
+ )->button( text = 'CX_ROOT'
+ press = client->_event( 'CX_ROOT' )
)->stringify( ) ).
RETURN.
@@ -34,7 +30,7 @@ CLASS z2ui5_cl_demo_app_187 IMPLEMENTATION.
CASE client->get( )-event.
WHEN 'SY'.
- MESSAGE ID 'NET' TYPE 'E' NUMBER '001' INTO DATA(lv_dummy).
+ MESSAGE ID 'NET' TYPE 'E' NUMBER '001' INTO DATA(lv_dummy) ##NEEDED.
client->message_box_display( sy ).
WHEN 'BAPIRET'.
@@ -43,11 +39,13 @@ CLASS z2ui5_cl_demo_app_187 IMPLEMENTATION.
* CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* IMPORTING
* return = ls_msg.
- ls_msg = VALUE #( id = 'NET' number = '001' ).
+ ls_msg = VALUE #( id = 'NET'
+ number = '001' ).
client->message_box_display( ls_msg ).
WHEN 'CX_ROOT'.
TRY.
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(lv_val) = 1 / 0.
CATCH cx_root INTO DATA(lx).
client->message_box_display( lx ).
@@ -59,4 +57,5 @@ CLASS z2ui5_cl_demo_app_187 IMPLEMENTATION.
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_189.clas.abap b/src/z2ui5_cl_demo_app_189.clas.abap
index 33a63567..b7e3fa2d 100644
--- a/src/z2ui5_cl_demo_app_189.clas.abap
+++ b/src/z2ui5_cl_demo_app_189.clas.abap
@@ -1,21 +1,18 @@
CLASS z2ui5_cl_demo_app_189 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
- INTERFACES:
- z2ui5_if_app.
+ INTERFACES z2ui5_if_app.
- DATA:
- one TYPE string,
- two TYPE string,
- three TYPE string,
- focus_field TYPE string.
+ DATA one TYPE string.
+ DATA two TYPE string.
+ DATA three TYPE string.
+ DATA focus_field TYPE string.
PRIVATE SECTION.
DATA initialized TYPE abap_bool.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
METHODS render.
METHODS dispatch.
@@ -40,21 +37,24 @@ CLASS z2ui5_cl_demo_app_189 IMPLEMENTATION.
ENDMETHOD.
-
METHOD render.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Focus II'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Focus II'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
page->simple_form(
)->content( ns = 'form'
- )->label( 'One (Press Enter)' )->input( id = 'IdOne' value = client->_bind_edit( one ) submit = client->_event( 'one_enter' )
- )->label( 'Two' )->input( id = 'IdTwo' value = client->_bind_edit( two ) submit = client->_event( 'two_enter' )
- )->label( 'Three' )->input( id = 'IdThree' value = client->_bind_edit( three )
+ )->label( 'One (Press Enter)' )->input( id = 'IdOne'
+ value = client->_bind_edit( one )
+ submit = client->_event( 'one_enter' )
+ )->label( 'Two' )->input( id = 'IdTwo'
+ value = client->_bind_edit( two )
+ submit = client->_event( 'two_enter' )
+ )->label( 'Three' )->input( id = 'IdThree'
+ value = client->_bind_edit( three )
).
page->_z2ui5( )->focus( focusid = client->_bind( focus_field ) ).
@@ -63,7 +63,6 @@ CLASS z2ui5_cl_demo_app_189 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -71,11 +70,12 @@ CLASS z2ui5_cl_demo_app_189 IMPLEMENTATION.
IF initialized = abap_false.
initialized = abap_true.
focus_field = 'IdOne'.
- render( ).
+ render( ).
ENDIF.
dispatch( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_190.clas.abap b/src/z2ui5_cl_demo_app_190.clas.abap
index 87796b95..4073138d 100644
--- a/src/z2ui5_cl_demo_app_190.clas.abap
+++ b/src/z2ui5_cl_demo_app_190.clas.abap
@@ -16,8 +16,9 @@ CLASS z2ui5_cl_demo_app_190 DEFINITION
DATA ms_fixval TYPE REF TO data.
METHODS set_app_data
- IMPORTING !count TYPE string
- !table TYPE string.
+ IMPORTING
+ count TYPE string
+ table TYPE string.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
@@ -32,17 +33,17 @@ CLASS z2ui5_cl_demo_app_190 DEFINITION
METHODS get_data.
METHODS get_comp
- RETURNING VALUE(result) TYPE abap_component_tab.
+ RETURNING
+ VALUE(result) TYPE abap_component_tab.
METHODS get_fixval.
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_190 IMPLEMENTATION.
METHOD on_event.
- FIELD-SYMBOLS TYPE any.
-
CASE client->get( )-event.
WHEN 'BACK'.
@@ -88,7 +89,7 @@ CLASS z2ui5_cl_demo_app_190 IMPLEMENTATION.
)->cells( ).
LOOP AT mt_comp INTO comp.
- cells->object_identifier( text = '{' && comp-name && '}' ).
+ cells->object_identifier( text = |\{{ comp-name }\}| ).
ENDLOOP.
page->footer( )->overflow_toolbar(
diff --git a/src/z2ui5_cl_demo_app_191.clas.abap b/src/z2ui5_cl_demo_app_191.clas.abap
index a71fab0b..c8a02e88 100644
--- a/src/z2ui5_cl_demo_app_191.clas.abap
+++ b/src/z2ui5_cl_demo_app_191.clas.abap
@@ -2,23 +2,22 @@ CLASS z2ui5_cl_demo_app_191 DEFINITION
PUBLIC
CREATE PUBLIC.
-PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app.
-
- TYPES:
- BEGIN OF ty_s_t002,
- id TYPE string,
- count TYPE string,
- table TYPE string,
- class TYPE string,
- END OF ty_s_t002.
- TYPES ty_t_t002 TYPE STANDARD TABLE OF ty_s_t002 WITH DEFAULT KEY.
-
- DATA mv_selectedkey TYPE string.
- DATA mv_selectedkey_tmp TYPE string.
- DATA mt_t002 TYPE ty_t_t002.
- DATA mo_app TYPE REF TO object.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
+
+ TYPES:
+ BEGIN OF ty_s_t002,
+ id TYPE string,
+ count TYPE string,
+ table TYPE string,
+ class TYPE string,
+ END OF ty_s_t002.
+ TYPES ty_t_t002 TYPE STANDARD TABLE OF ty_s_t002 WITH DEFAULT KEY.
+
+ DATA mv_selectedkey TYPE string.
+ DATA mv_selectedkey_tmp TYPE string.
+ DATA mt_t002 TYPE ty_t_t002.
+ DATA mo_app TYPE REF TO object.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
@@ -35,9 +34,7 @@ PUBLIC SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_191 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_191 IMPLEMENTATION.
METHOD on_event.
@@ -59,20 +56,18 @@ CLASS Z2UI5_CL_DEMO_APP_191 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_init.
- mt_t002 = VALUE #( ( id = '1' class = 'Z2UI5_CL_DEMO_APP_190' count = '10' table = 'Z2UI5_T001')
- ( id = '2' class = 'Z2UI5_CL_DEMO_APP_190' count = '20' table = 'Z2UI5_T002')
- ( id = '3' class = 'Z2UI5_CL_DEMO_APP_190' count = '30' table = 'Z2UI5_TOOL_T_001')
- ( id = '4' class = 'Z2UI5_CL_DEMO_APP_190' count = '40' table = 'Z2UI5_TOOL_T_002')
- ).
+ mt_t002 = VALUE #( class = 'Z2UI5_CL_DEMO_APP_190'
+ ( id = '1' count = '10' table = 'Z2UI5_T001' )
+ ( id = '2' count = '20' table = 'Z2UI5_T002' )
+ ( id = '3' count = '30' table = 'Z2UI5_TOOL_T_001' )
+ ( id = '4' count = '40' table = 'Z2UI5_TOOL_T_002' ) ).
mv_selectedkey = '1'.
ENDMETHOD.
-
METHOD render_main.
DATA(view) = z2ui5_cl_xml_view=>factory( )->shell( ).
@@ -88,7 +83,9 @@ CLASS Z2UI5_CL_DEMO_APP_191 IMPLEMENTATION.
)->items( ).
LOOP AT mt_t002 REFERENCE INTO DATA(line).
- lo_items->icon_tab_filter( text = line->class count = line->count key = line->id ).
+ lo_items->icon_tab_filter( text = line->class
+ count = line->count
+ key = line->id ).
lo_items->icon_tab_separator( ).
ENDLOOP.
@@ -96,10 +93,8 @@ CLASS Z2UI5_CL_DEMO_APP_191 IMPLEMENTATION.
ENDMETHOD.
-
METHOD render_sub_app.
-
READ TABLE mt_t002 REFERENCE INTO DATA(t002)
WITH KEY id = mv_selectedkey.
@@ -117,9 +112,8 @@ CLASS Z2UI5_CL_DEMO_APP_191 IMPLEMENTATION.
TRY.
CALL METHOD mo_app->('SET_APP_DATA')
- EXPORTING
- count = t002->count
- table = t002->table.
+ EXPORTING count = t002->count
+ table = t002->table.
render_main( ).
@@ -129,8 +123,7 @@ CLASS Z2UI5_CL_DEMO_APP_191 IMPLEMENTATION.
ENDIF.
CALL METHOD mo_app->('Z2UI5_IF_APP~MAIN')
- EXPORTING
- client = client.
+ EXPORTING client = client.
CATCH cx_root.
RETURN.
@@ -156,7 +149,6 @@ CLASS Z2UI5_CL_DEMO_APP_191 IMPLEMENTATION.
ENDIF.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -172,4 +164,5 @@ CLASS Z2UI5_CL_DEMO_APP_191 IMPLEMENTATION.
render_sub_app( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_192.clas.abap b/src/z2ui5_cl_demo_app_192.clas.abap
index 6e80c256..abfccdcf 100644
--- a/src/z2ui5_cl_demo_app_192.clas.abap
+++ b/src/z2ui5_cl_demo_app_192.clas.abap
@@ -45,6 +45,7 @@ CLASS z2ui5_cl_demo_app_192 DEFINITION PUBLIC.
PRIVATE SECTION.
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_192 IMPLEMENTATION.
METHOD ui5_event.
@@ -113,7 +114,6 @@ CLASS z2ui5_cl_demo_app_192 IMPLEMENTATION.
ENDMETHOD.
-
METHOD xml_parse.
LOOP AT mt_new_data2 INTO DATA(lo_data).
@@ -122,7 +122,6 @@ CLASS z2ui5_cl_demo_app_192 IMPLEMENTATION.
ENDMETHOD.
-
METHOD xml_stringify.
LOOP AT mt_new_data2 INTO DATA(lo_data).
diff --git a/src/z2ui5_cl_demo_app_192.clas.locals_imp.abap b/src/z2ui5_cl_demo_app_192.clas.locals_imp.abap
index 6ba7b134..abef18fa 100644
--- a/src/z2ui5_cl_demo_app_192.clas.locals_imp.abap
+++ b/src/z2ui5_cl_demo_app_192.clas.locals_imp.abap
@@ -1,10 +1,9 @@
*"* use this source file for the definition and implementation of
*"* local helper classes, interface definitions and type
*"* declarations
-class lcl_merged_data DEFINITION.
-
-PUBLIC SECTION.
+CLASS lcl_merged_data DEFINITION.
+ PUBLIC SECTION.
TYPES: BEGIN OF ty_s_key_value,
fname TYPE char30,
value TYPE string,
@@ -19,5 +18,4 @@ PUBLIC SECTION.
t_keyva TYPE ty_t_key_values,
END OF ty_s_merged_data.
-
-endclass.
+ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_193.clas.abap b/src/z2ui5_cl_demo_app_193.clas.abap
index c8568d82..c0774100 100644
--- a/src/z2ui5_cl_demo_app_193.clas.abap
+++ b/src/z2ui5_cl_demo_app_193.clas.abap
@@ -12,25 +12,24 @@ CLASS z2ui5_cl_demo_app_193 DEFINITION PUBLIC.
END OF ty_s_key_value,
ty_t_key_values TYPE STANDARD TABLE OF ty_s_key_value WITH EMPTY KEY.
- DATA mt_kopf TYPE REF TO data.
- DATA mt_pos TYPE REF TO data.
- DATA mt_keyva TYPE ty_t_key_values.
+ DATA mt_kopf TYPE REF TO data.
+ DATA mt_pos TYPE REF TO data.
+ DATA mt_keyva TYPE ty_t_key_values.
- DATA mt_kopf_xml TYPE string.
- DATA mt_pos_xml TYPE string.
+ DATA mt_kopf_xml TYPE string.
+ DATA mt_pos_xml TYPE string.
METHODS xml_parse.
METHODS xml_stringify.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_193 IMPLEMENTATION.
-
METHOD xml_parse.
IF mt_pos_xml IS NOT INITIAL.
@@ -45,20 +44,20 @@ CLASS z2ui5_cl_demo_app_193 IMPLEMENTATION.
ENDMETHOD.
-
METHOD xml_stringify.
- ASSIGN mt_kopf->* TO FIELD-SYMBOL().
+ ASSIGN mt_kopf->* TO FIELD-SYMBOL().
IF sy-subrc = 0.
mt_kopf_xml = z2ui5_cl_util=>xml_srtti_stringify( ).
CLEAR mt_kopf.
ENDIF.
- ASSIGN mt_pos->* TO FIELD-SYMBOL().
+ ASSIGN mt_pos->* TO FIELD-SYMBOL().
IF sy-subrc = 0.
mt_pos_xml = z2ui5_cl_util=>xml_srtti_stringify( ).
CLEAR mt_pos.
ENDIF.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_193.clas.locals_imp.abap b/src/z2ui5_cl_demo_app_193.clas.locals_imp.abap
index 6ba7b134..abef18fa 100644
--- a/src/z2ui5_cl_demo_app_193.clas.locals_imp.abap
+++ b/src/z2ui5_cl_demo_app_193.clas.locals_imp.abap
@@ -1,10 +1,9 @@
*"* use this source file for the definition and implementation of
*"* local helper classes, interface definitions and type
*"* declarations
-class lcl_merged_data DEFINITION.
-
-PUBLIC SECTION.
+CLASS lcl_merged_data DEFINITION.
+ PUBLIC SECTION.
TYPES: BEGIN OF ty_s_key_value,
fname TYPE char30,
value TYPE string,
@@ -19,5 +18,4 @@ PUBLIC SECTION.
t_keyva TYPE ty_t_key_values,
END OF ty_s_merged_data.
-
-endclass.
+ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_194.clas.abap b/src/z2ui5_cl_demo_app_194.clas.abap
index 66105d4b..be59e68a 100644
--- a/src/z2ui5_cl_demo_app_194.clas.abap
+++ b/src/z2ui5_cl_demo_app_194.clas.abap
@@ -16,8 +16,9 @@ CLASS z2ui5_cl_demo_app_194 DEFINITION
DATA ms_fixval TYPE REF TO data.
METHODS set_app_data
- IMPORTING !count TYPE string
- !table TYPE string.
+ IMPORTING
+ count TYPE string
+ table TYPE string.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
@@ -32,11 +33,13 @@ CLASS z2ui5_cl_demo_app_194 DEFINITION
METHODS get_data.
METHODS get_comp
- RETURNING VALUE(result) TYPE abap_component_tab.
+ RETURNING
+ VALUE(result) TYPE abap_component_tab.
METHODS get_fixval.
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_194 IMPLEMENTATION.
METHOD on_event.
@@ -104,7 +107,7 @@ CLASS z2ui5_cl_demo_app_194 IMPLEMENTATION.
)->cells( ).
LOOP AT mt_comp INTO comp.
- cells->object_identifier( text = '{' && comp-name && '}' ).
+ cells->object_identifier( text = |\{{ comp-name }\}| ).
ENDLOOP.
page->footer( )->overflow_toolbar(
diff --git a/src/z2ui5_cl_demo_app_195.clas.abap b/src/z2ui5_cl_demo_app_195.clas.abap
index ac4bb8e0..850a2511 100644
--- a/src/z2ui5_cl_demo_app_195.clas.abap
+++ b/src/z2ui5_cl_demo_app_195.clas.abap
@@ -2,23 +2,22 @@ CLASS z2ui5_cl_demo_app_195 DEFINITION
PUBLIC
CREATE PUBLIC.
-PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app.
-
- TYPES:
- BEGIN OF ty_s_t002,
- id TYPE string,
- count TYPE string,
- table TYPE string,
- class TYPE string,
- END OF ty_s_t002.
- TYPES ty_t_t002 TYPE STANDARD TABLE OF ty_s_t002 WITH DEFAULT KEY.
-
- DATA mv_selectedkey TYPE string.
- DATA mv_selectedkey_tmp TYPE string.
- DATA mt_t002 TYPE ty_t_t002.
- DATA mo_app TYPE REF TO object.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
+
+ TYPES:
+ BEGIN OF ty_s_t002,
+ id TYPE string,
+ count TYPE string,
+ table TYPE string,
+ class TYPE string,
+ END OF ty_s_t002.
+ TYPES ty_t_t002 TYPE STANDARD TABLE OF ty_s_t002 WITH DEFAULT KEY.
+
+ DATA mv_selectedkey TYPE string.
+ DATA mv_selectedkey_tmp TYPE string.
+ DATA mt_t002 TYPE ty_t_t002.
+ DATA mo_app TYPE REF TO object.
PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
@@ -35,9 +34,7 @@ PUBLIC SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_195 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_195 IMPLEMENTATION.
METHOD on_event.
@@ -59,20 +56,18 @@ CLASS Z2UI5_CL_DEMO_APP_195 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_init.
- mt_t002 = VALUE #( ( id = '1' class = 'Z2UI5_CL_DEMO_APP_194' count = '10' table = 'Z2UI5_T001')
- ( id = '2' class = 'Z2UI5_CL_DEMO_APP_194' count = '20' table = 'Z2UI5_T002')
- ( id = '3' class = 'Z2UI5_CL_DEMO_APP_194' count = '30' table = 'Z2UI5_TOOL_T_001')
- ( id = '4' class = 'Z2UI5_CL_DEMO_APP_194' count = '40' table = 'Z2UI5_TOOL_T_002')
- ).
+ mt_t002 = VALUE #( class = 'Z2UI5_CL_DEMO_APP_194'
+ ( id = '1' count = '10' table = 'Z2UI5_T001' )
+ ( id = '2' count = '20' table = 'Z2UI5_T002' )
+ ( id = '3' count = '30' table = 'Z2UI5_TOOL_T_001' )
+ ( id = '4' count = '40' table = 'Z2UI5_TOOL_T_002' ) ).
mv_selectedkey = '1'.
ENDMETHOD.
-
METHOD render_main.
DATA(view) = z2ui5_cl_xml_view=>factory( )->shell( ).
@@ -88,7 +83,9 @@ CLASS Z2UI5_CL_DEMO_APP_195 IMPLEMENTATION.
)->items( ).
LOOP AT mt_t002 REFERENCE INTO DATA(line).
- lo_items->icon_tab_filter( text = line->class count = line->count key = line->id ).
+ lo_items->icon_tab_filter( text = line->class
+ count = line->count
+ key = line->id ).
lo_items->icon_tab_separator( ).
ENDLOOP.
@@ -96,10 +93,8 @@ CLASS Z2UI5_CL_DEMO_APP_195 IMPLEMENTATION.
ENDMETHOD.
-
METHOD render_sub_app.
-
READ TABLE mt_t002 REFERENCE INTO DATA(t002)
WITH KEY id = mv_selectedkey.
@@ -117,9 +112,8 @@ CLASS Z2UI5_CL_DEMO_APP_195 IMPLEMENTATION.
TRY.
CALL METHOD mo_app->('SET_APP_DATA')
- EXPORTING
- count = t002->count
- table = t002->table.
+ EXPORTING count = t002->count
+ table = t002->table.
render_main( ).
@@ -129,8 +123,7 @@ CLASS Z2UI5_CL_DEMO_APP_195 IMPLEMENTATION.
ENDIF.
CALL METHOD mo_app->('Z2UI5_IF_APP~MAIN')
- EXPORTING
- client = client.
+ EXPORTING client = client.
CATCH cx_root.
RETURN.
@@ -156,7 +149,6 @@ CLASS Z2UI5_CL_DEMO_APP_195 IMPLEMENTATION.
ENDIF.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -172,4 +164,5 @@ CLASS Z2UI5_CL_DEMO_APP_195 IMPLEMENTATION.
render_sub_app( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_196.clas.abap b/src/z2ui5_cl_demo_app_196.clas.abap
index 131c3fa9..cd445d09 100644
--- a/src/z2ui5_cl_demo_app_196.clas.abap
+++ b/src/z2ui5_cl_demo_app_196.clas.abap
@@ -1,113 +1,107 @@
CLASS z2ui5_cl_demo_app_196 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- INTERFACES if_serializable_object .
- INTERFACES z2ui5_if_app .
-
- DATA is_initialized TYPE boolean .
- DATA mv_slider_value TYPE i .
+ DATA is_initialized TYPE abap_bool.
+ DATA mv_slider_value TYPE i.
TYPES: BEGIN OF ty_shape,
- id TYPE string,
- END OF ty_shape.
+ id TYPE string,
+ END OF ty_shape.
DATA mt_shapes TYPE TABLE OF ty_shape.
PROTECTED SECTION.
- PRIVATE SECTION.
- DATA client TYPE REF TO z2ui5_if_client .
+ PRIVATE SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
- METHODS initialize .
- METHODS on_event .
- METHODS render_screen .
+ METHODS initialize.
+ METHODS on_event.
+ METHODS render_screen.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_196 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_196 IMPLEMENTATION.
METHOD initialize.
mv_slider_value = 0.
- mt_shapes = VALUE #(
- ( id = `arrow_down` )
- ( id = `arrow_left` )
- ( id = `arrow_right` )
- ( id = `arrow_up` )
- ( id = `attention_1` )
- ( id = `attention_2` )
- ( id = `building` )
- ( id = `bulb` )
- ( id = `bull` )
- ( id = `calendar` )
- ( id = `car` )
- ( id = `cart` )
- ( id = `cereals` )
- ( id = `circle` )
- ( id = `clock` )
- ( id = `cloud` )
- ( id = `conveyor` )
- ( id = `desk` )
- ( id = `document` )
- ( id = `documents` )
- ( id = `dollar` )
- ( id = `donut` )
- ( id = `drop` )
- ( id = `envelope` )
- ( id = `euro` )
- ( id = `factory` )
- ( id = `female` )
- ( id = `fish` )
- ( id = `flag` )
- ( id = `folder_1` )
- ( id = `folder_2` )
- ( id = `gear` )
- ( id = `heart` )
- ( id = `honey` )
- ( id = `house` )
- ( id = `information` )
- ( id = `letter` )
- ( id = `lung` )
- ( id = `machine` )
- ( id = `male` )
- ( id = `pen` )
- ( id = `person` )
- ( id = `pin` )
- ( id = `plane` )
- ( id = `printer` )
- ( id = `progress` )
- ( id = `question` )
- ( id = `robot` )
- ( id = `sandclock` )
- ( id = `speed` )
- ( id = `stomach` )
- ( id = `success` )
- ( id = `tank_diesel` )
- ( id = `tank_lpg` )
- ( id = `thermo` )
- ( id = `tool` )
- ( id = `transfusion` )
- ( id = `travel` )
- ( id = `turnip` )
- ( id = `vehicle_construction` )
- ( id = `vehicle_tank` )
- ( id = `vehicle_tractor` )
- ( id = `vehicle_truck_1` )
- ( id = `vehicle_truck_2` )
- ( id = `vehicle_truck_3` )
- ( id = `warehouse` )
+ mt_shapes = VALUE #( ( id = `arrow_down` )
+ ( id = `arrow_left` )
+ ( id = `arrow_right` )
+ ( id = `arrow_up` )
+ ( id = `attention_1` )
+ ( id = `attention_2` )
+ ( id = `building` )
+ ( id = `bulb` )
+ ( id = `bull` )
+ ( id = `calendar` )
+ ( id = `car` )
+ ( id = `cart` )
+ ( id = `cereals` )
+ ( id = `circle` )
+ ( id = `clock` )
+ ( id = `cloud` )
+ ( id = `conveyor` )
+ ( id = `desk` )
+ ( id = `document` )
+ ( id = `documents` )
+ ( id = `dollar` )
+ ( id = `donut` )
+ ( id = `drop` )
+ ( id = `envelope` )
+ ( id = `euro` )
+ ( id = `factory` )
+ ( id = `female` )
+ ( id = `fish` )
+ ( id = `flag` )
+ ( id = `folder_1` )
+ ( id = `folder_2` )
+ ( id = `gear` )
+ ( id = `heart` )
+ ( id = `honey` )
+ ( id = `house` )
+ ( id = `information` )
+ ( id = `letter` )
+ ( id = `lung` )
+ ( id = `machine` )
+ ( id = `male` )
+ ( id = `pen` )
+ ( id = `person` )
+ ( id = `pin` )
+ ( id = `plane` )
+ ( id = `printer` )
+ ( id = `progress` )
+ ( id = `question` )
+ ( id = `robot` )
+ ( id = `sandclock` )
+ ( id = `speed` )
+ ( id = `stomach` )
+ ( id = `success` )
+ ( id = `tank_diesel` )
+ ( id = `tank_lpg` )
+ ( id = `thermo` )
+ ( id = `tool` )
+ ( id = `transfusion` )
+ ( id = `travel` )
+ ( id = `turnip` )
+ ( id = `vehicle_construction` )
+ ( id = `vehicle_tank` )
+ ( id = `vehicle_tractor` )
+ ( id = `vehicle_truck_1` )
+ ( id = `vehicle_truck_2` )
+ ( id = `vehicle_truck_3` )
+ ( id = `warehouse` )
).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -119,55 +113,59 @@ CLASS Z2UI5_CL_DEMO_APP_196 IMPLEMENTATION.
ENDMETHOD.
-
METHOD render_screen.
- DATA lv_script TYPE string.
-
-
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( ns = `html` name = `style` )->_cc_plain_xml( `.SICursorStyle:hover {` &&
- ` cursor: pointer;` &&
- `}` &&
- `.SIBorderStyle {` &&
- ` border: 1px solid #cccccc;` &&
- `}` &&
- `.SIPanelStyle .sapMPanelContent{` &&
- ` overflow: visible;` &&
- `}` ).
+ view->_generic( ns = `html`
+ name = `style` )->_cc_plain_xml( |.SICursorStyle:hover \{| &&
+ | cursor: pointer;| &&
+ |\}| &&
+ |.SIBorderStyle \{| &&
+ | border: 1px solid #cccccc;| &&
+ |\}| &&
+ |.SIPanelStyle .sapMPanelContent\{| &&
+ | overflow: visible;| &&
+ |\}| ).
DATA(page) = view->shell(
- )->page(
- showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
- title = 'abap2UI5 - Status Indicators Library'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( showheader = xsdbool( abap_false = client->get( )-check_launchpad_active )
+ title = 'abap2UI5 - Status Indicators Library'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
).
- DATA(panel) = page->panel( class = `sapUiResponsiveMargin SIPanelStyle` width = `95%` ).
+ DATA(panel) = page->panel( class = `sapUiResponsiveMargin SIPanelStyle`
+ width = `95%` ).
panel->text( text = `Use the slider for adjusting the fill` ).
- panel->slider( class = `sapUiLargeMarginBottom` enabletickmarks = abap_true
- value = client->_bind_edit( mv_slider_value ) )->get(
+ panel->slider( class = `sapUiLargeMarginBottom`
+ enabletickmarks = abap_true
+ value = client->_bind_edit( mv_slider_value ) )->get(
)->responsive_scale( tickmarksbetweenlabels = `10` ).
- DATA(fb) = panel->flex_box( wrap = `Wrap` items = client->_bind( mt_shapes ) ).
+ DATA(fb) = panel->flex_box( wrap = `Wrap`
+ items = client->_bind( mt_shapes ) ).
fb->items(
- )->flex_box( direction = `Column` class = `sapUiTinyMargin SIBorderStyle`
+ )->flex_box( direction = `Column`
+ class = `sapUiTinyMargin SIBorderStyle`
)->items(
- )->status_indicator( value = client->_bind_edit( mv_slider_value ) width = `120px` height = `120px` class = `sapUiTinyMargin SICursorStyle`
+ )->status_indicator( value = client->_bind_edit( mv_slider_value )
+ width = `120px`
+ height = `120px`
+ class = `sapUiTinyMargin SICursorStyle`
)->property_thresholds(
- )->property_threshold( fillcolor = `Error` tovalue = `25` )->get_parent(
- )->property_threshold( fillcolor = `Critical` tovalue = `60` )->get_parent(
- )->property_threshold( fillcolor = `Good` tovalue = `100` )->get_parent(
+ )->property_threshold( fillcolor = `Error`
+ tovalue = `25` )->get_parent(
+ )->property_threshold( fillcolor = `Critical`
+ tovalue = `60` )->get_parent(
+ )->property_threshold( fillcolor = `Good`
+ tovalue = `100` )->get_parent(
)->get_parent(
)->shape_group(
)->library_shape( shapeid = `{ID}` ).
-
client->view_display( view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -183,4 +181,5 @@ CLASS Z2UI5_CL_DEMO_APP_196 IMPLEMENTATION.
on_event( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_197.clas.abap b/src/z2ui5_cl_demo_app_197.clas.abap
index 14dc6512..ed508e41 100644
--- a/src/z2ui5_cl_demo_app_197.clas.abap
+++ b/src/z2ui5_cl_demo_app_197.clas.abap
@@ -1,10 +1,9 @@
CLASS z2ui5_cl_demo_app_197 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_s_tab,
@@ -14,47 +13,54 @@ CLASS z2ui5_cl_demo_app_197 DEFINITION
create_by TYPE string,
storage_location TYPE string,
quantity TYPE i,
- END OF ty_s_tab .
- TYPES:
- ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY .
+ END OF ty_s_tab.
+ TYPES ty_t_table TYPE STANDARD TABLE OF ty_s_tab WITH EMPTY KEY.
- DATA mt_table TYPE ty_t_table .
- DATA mt_table_full TYPE ty_t_table .
- DATA mt_table_products TYPE ty_t_table .
- DATA check_initialized TYPE abap_bool .
- DATA client TYPE REF TO z2ui5_if_client .
- DATA mv_check_popover TYPE abap_bool .
- DATA mv_product TYPE string .
+ DATA mt_table TYPE ty_t_table.
+ DATA mt_table_full TYPE ty_t_table.
+ DATA mt_table_products TYPE ty_t_table.
+ DATA check_initialized TYPE abap_bool.
+ DATA client TYPE REF TO z2ui5_if_client.
+ DATA mv_check_popover TYPE abap_bool.
+ DATA mv_product TYPE string.
- METHODS z2ui5_set_data .
- METHODS z2ui5_display_view .
+ METHODS z2ui5_set_data.
+ METHODS z2ui5_display_view.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_197 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_197 IMPLEMENTATION.
METHOD z2ui5_display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( )->shell( ).
- DATA(page) = view->page( id = `page_main`
- title = 'abap2UI5 - List Report Features'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(facet) = page->facet_filter( id = `idFacetFilter` type = `Light` showpersonalization = abap_true showreset = abap_true reset = client->_event( val = `RESET` )
- )->facet_filter_list( title = `Products` mode = `MultiSelect` items = client->_bind( mt_table_products ) listclose = client->_event( val = `FILTER`
-* t_arg = VALUE #( ( `${$parameters>/selectedAll}` ) ) )
-* t_arg = VALUE #( ( `$event.mParameters` ) ) )
- t_arg = VALUE #( ( `$event.mParameters.selectedItems` ) ) )
+ DATA(page) = view->page( id = `page_main`
+ title = 'abap2UI5 - List Report Features'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(facet) = page->facet_filter( id = `idFacetFilter`
+ type = `Light`
+ showpersonalization = abap_true
+ showreset = abap_true
+ reset = client->_event( val = `RESET` )
+ )->facet_filter_list( title = `Products`
+ mode = `MultiSelect`
+ items = client->_bind( mt_table_products )
+ listclose = client->_event( val = `FILTER`
+* t_arg = VALUE #( ( `${$parameters>/selectedAll}` ) ) )
+* t_arg = VALUE #( ( `$event.mParameters` ) ) )
+ t_arg = VALUE #( ( `$event.mParameters.selectedItems` ) ) )
)->facet_filter_item( text = `{PRODUCT}` ).
- DATA(tab) = page->table( id = `tab` items = client->_bind_edit( val = mt_table ) ).
+ DATA(tab) = page->table( id = `tab`
+ items = client->_bind_edit( val = mt_table ) ).
DATA(lo_columns) = tab->columns( ).
lo_columns->column( )->text( text = `Product` ).
@@ -63,8 +69,10 @@ CLASS Z2UI5_CL_DEMO_APP_197 IMPLEMENTATION.
lo_columns->column( )->text( text = `Location` ).
lo_columns->column( )->text( text = `Quantity` ).
- DATA(lo_cells) = tab->items( )->column_list_item( ).
- lo_cells->link( id = `link` text = '{PRODUCT}' press = client->_event( val = `POPOVER_DETAIL` ) ).
+ DATA(lo_cells) = tab->items( )->column_list_item( ).
+ lo_cells->link( id = `link`
+ text = '{PRODUCT}'
+ press = client->_event( val = `POPOVER_DETAIL` ) ).
lo_cells->text( `{CREATE_DATE}` ).
lo_cells->text( `{CREATE_BY}` ).
lo_cells->text( `{STORAGE_LOCATION}` ).
@@ -74,7 +82,6 @@ CLASS Z2UI5_CL_DEMO_APP_197 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -102,9 +109,11 @@ CLASS Z2UI5_CL_DEMO_APP_197 IMPLEMENTATION.
DATA(l_members) = lo_json->members( '/' ).
LOOP AT l_members INTO DATA(l_member).
- DATA(lv_val) = lo_json->get( '/' && l_member && '/mProperties/text' ).
+ DATA(lv_val) = lo_json->get( |/{ l_member }/mProperties/text| ).
- APPEND VALUE #( sign = 'I' option = 'EQ' low = lv_val ) TO lt_range.
+ APPEND VALUE #( sign = 'I'
+ option = 'EQ'
+ low = lv_val ) TO lt_range.
ENDLOOP.
@@ -128,59 +137,57 @@ CLASS Z2UI5_CL_DEMO_APP_197 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
- mt_table = VALUE #(
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ( product = 'table' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 )
- ( product = 'chair' create_date = `01.01.2022` create_by = `James` storage_location = `AREA_001` quantity = 123 )
- ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` storage_location = `AREA_001` quantity = 700 )
- ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` storage_location = `AREA_001` quantity = 200 )
- ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` storage_location = `AREA_001` quantity = 90 )
- ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` storage_location = `AREA_001` quantity = 110 )
- ).
+ mt_table = VALUE #( storage_location = `AREA_001`
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 )
+ ( product = 'table' create_date = `01.01.2023` create_by = `Peter` quantity = 400 )
+ ( product = 'chair' create_date = `01.01.2022` create_by = `James` quantity = 123 )
+ ( product = 'sofa' create_date = `01.05.2021` create_by = `Simone` quantity = 700 )
+ ( product = 'computer' create_date = `27.01.2023` create_by = `Theo` quantity = 200 )
+ ( product = 'printer' create_date = `01.01.2023` create_by = `Hannah` quantity = 90 )
+ ( product = 'table2' create_date = `01.01.2023` create_by = `Julia` quantity = 110 ) ).
SORT mt_table BY product.
mt_table_full = mt_table.
@@ -190,4 +197,5 @@ CLASS Z2UI5_CL_DEMO_APP_197 IMPLEMENTATION.
DELETE ADJACENT DUPLICATES FROM mt_table_products COMPARING product.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_199.clas.abap b/src/z2ui5_cl_demo_app_199.clas.abap
index 78abd22d..b02c22ad 100644
--- a/src/z2ui5_cl_demo_app_199.clas.abap
+++ b/src/z2ui5_cl_demo_app_199.clas.abap
@@ -23,6 +23,7 @@ CLASS z2ui5_cl_demo_app_199 DEFINITION
ENDCLASS.
+
CLASS z2ui5_cl_demo_app_199 IMPLEMENTATION.
METHOD on_event.
@@ -76,7 +77,7 @@ CLASS z2ui5_cl_demo_app_199 IMPLEMENTATION.
)->cells( ).
LOOP AT mt_comp INTO comp.
- cells->object_identifier( text = '{' && comp-name && '}' ).
+ cells->object_identifier( text = |\{{ comp-name }\}| ).
ENDLOOP.
page->button( text = 'Clear'
@@ -99,7 +100,8 @@ CLASS z2ui5_cl_demo_app_199 IMPLEMENTATION.
FIELD-SYMBOLS TYPE STANDARD TABLE.
ASSIGN mt_table->* TO .
IF mv_counter <> lines( ) AND mv_counter IS NOT INITIAL.
- client->message_box_display( text = 'Frontend Lines <> Backend!' type = 'error' ).
+ client->message_box_display( text = 'Frontend Lines <> Backend!'
+ type = 'error' ).
ENDIF.
on_event( ).
@@ -129,6 +131,7 @@ CLASS z2ui5_cl_demo_app_199 IMPLEMENTATION.
METHOD add_data.
FIELD-SYMBOLS TYPE STANDARD TABLE.
+
ASSIGN mt_table->* TO .
APPEND LINES OF TO .
diff --git a/src/z2ui5_cl_demo_app_201.clas.abap b/src/z2ui5_cl_demo_app_201.clas.abap
index 533b5948..fc313648 100644
--- a/src/z2ui5_cl_demo_app_201.clas.abap
+++ b/src/z2ui5_cl_demo_app_201.clas.abap
@@ -1,28 +1,25 @@
-class Z2UI5_CL_DEMO_APP_201 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_201 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
-
- types:
- BEGIN OF ty_s_currency,
+ TYPES:
+ BEGIN OF ty_s_currency,
language TYPE string,
currency TYPE string,
currencyname TYPE string,
currencyshortname TYPE string,
- END OF ty_s_currency .
+ END OF ty_s_currency.
- data:
- mt_suggestion_out TYPE STANDARD TABLE OF ty_s_currency .
- data:
- mt_suggestion TYPE STANDARD TABLE OF ty_s_currency .
- data INPUT type STRING .
- PROTECTED SECTION.
+ DATA mt_suggestion_out TYPE STANDARD TABLE OF ty_s_currency.
+ DATA mt_suggestion TYPE STANDARD TABLE OF ty_s_currency.
+ DATA input TYPE string.
- DATA client TYPE REF TO z2ui5_if_client.
+ PROTECTED SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
METHODS z2ui5_on_event.
@@ -33,15 +30,13 @@ public section.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_201 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_201 IMPLEMENTATION.
* ---------------------------------------------------------------------------------------+
* | Instance Protected Method Z2UI5_CL_DEMO_APP_201->SET_DATA
* +-------------------------------------------------------------------------------------------------+
* +--------------------------------------------------------------------------------------
- METHOD SET_DATA.
+ METHOD set_data.
TYPES:
BEGIN OF ty_s_currency,
@@ -52,247 +47,246 @@ CLASS Z2UI5_CL_DEMO_APP_201 IMPLEMENTATION.
END OF ty_s_currency.
mt_suggestion = VALUE #(
-( language = 'E' currency = 'ADP' currencyname = 'Andorran Peseta --> (Old --> EUR)' currencyshortname = 'Peseta' )
-( language = 'E' currency = 'AED' currencyname = 'United Arab Emirates Dirham' currencyshortname = 'Dirham' )
-( language = 'E' currency = 'AFA' currencyname = 'Afghani (Old)' currencyshortname = 'Afghani' )
-( language = 'E' currency = 'AFN' currencyname = 'Afghani' currencyshortname = 'Afghani' )
-( language = 'E' currency = 'ALL' currencyname = 'Albanian Lek' currencyshortname = 'Lek' )
-( language = 'E' currency = 'AMD' currencyname = 'Armenian Dram' currencyshortname = 'Dram' )
-( language = 'E' currency = 'ANG' currencyname = 'West Indian Guilder' currencyshortname = 'W.Ind.Guilder' )
-( language = 'E' currency = 'AOA' currencyname = 'Angolanische Kwanza' currencyshortname = 'Kwansa' )
-( language = 'E' currency = 'AON' currencyname = 'Angolan New Kwanza (Old)' currencyshortname = 'New Kwanza' )
-( language = 'E' currency = 'AOR' currencyname = 'Angolan Kwanza Reajustado (Old)' currencyshortname = 'Kwanza Reajust.' )
-( language = 'E' currency = 'ARS' currencyname = 'Argentine Peso' currencyshortname = 'Arg. Peso' )
-( language = 'E' currency = 'ATS' currencyname = 'Austrian Schilling (Old --> EUR)' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'AUD' currencyname = 'Australian Dollar' currencyshortname = 'Austr. Dollar' )
-( language = 'E' currency = 'AWG' currencyname = 'Aruban Florin' currencyshortname = 'Aruban Florin' )
-( language = 'E' currency = 'AZM' currencyname = 'Azerbaijani Manat (Old)' currencyshortname = 'Manat' )
-( language = 'E' currency = 'AZN' currencyname = 'Azerbaijani Manat' currencyshortname = 'Manat' )
-( language = 'E' currency = 'BAM' currencyname = 'Bosnia and Herzegovina Convertible Mark' currencyshortname = 'Convert. Mark' )
-( language = 'E' currency = 'BBD' currencyname = 'Barbados Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'BDT' currencyname = 'Bangladesh Taka' currencyshortname = 'Taka' )
-( language = 'E' currency = 'BEF' currencyname = 'Belgian Franc (Old --> EUR)' currencyshortname = 'Belgian Franc' )
-( language = 'E' currency = 'BGN' currencyname = 'Bulgarian Lev' currencyshortname = 'Lev' )
-( language = 'E' currency = 'BHD' currencyname = 'Bahraini Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'BIF' currencyname = 'Burundi Franc' currencyshortname = 'Burundi Franc' )
-( language = 'E' currency = 'BMD' currencyname = 'Bermudan Dollar' currencyshortname = 'Bermudan Dollar' )
-( language = 'E' currency = 'BND' currencyname = 'Brunei Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'BOB' currencyname = 'Boliviano' currencyshortname = 'Boliviano' )
-( language = 'E' currency = 'BRL' currencyname = 'Brazilian Real' currencyshortname = 'Real' )
-( language = 'E' currency = 'BSD' currencyname = 'Bahaman Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'BTN' currencyname = 'Bhutan Ngultrum' currencyshortname = 'Ngultrum' )
-( language = 'E' currency = 'BWP' currencyname = 'Botswana Pula' currencyshortname = 'Pula' )
-( language = 'E' currency = 'BYB' currencyname = 'Belarusian Ruble (Old)' currencyshortname = 'Belarus. Ruble' )
-( language = 'E' currency = 'BYN' currencyname = 'Belarusian Ruble (New)' currencyshortname = 'Bela. Ruble N.' )
-( language = 'E' currency = 'BYR' currencyname = 'Belarusian Ruble' currencyshortname = 'Ruble' )
-( language = 'E' currency = 'BZD' currencyname = 'Belize Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'CAD' currencyname = 'Canadian Dollar' currencyshortname = 'Canadian Dollar' )
-( language = 'E' currency = 'CDF' currencyname = 'Congolese Franc' currencyshortname = 'test data' )
-( language = 'E' currency = 'CFP' currencyname = 'French Franc (Pacific Islands)' currencyshortname = 'Fr. Franc (Pac)' )
-( language = 'E' currency = 'CHF' currencyname = 'Swiss Franc' currencyshortname = 'Swiss Franc' )
-( language = 'E' currency = 'CLP' currencyname = 'Chilean Peso' currencyshortname = 'Peso' )
-( language = 'E' currency = 'CNY' currencyname = 'Chinese Renminbi' currencyshortname = 'Renminbi' )
-( language = 'E' currency = 'COP' currencyname = 'Colombian Peso' currencyshortname = 'Peso' )
-( language = 'E' currency = 'CRC' currencyname = 'Costa Rica Colon' currencyshortname = 'Cost.Rica Colon' )
-( language = 'E' currency = 'CSD' currencyname = 'Serbian Dinar (Old)' currencyshortname = 'Serbian Dinar' )
-( language = 'E' currency = 'CUC' currencyname = 'Peso Convertible' currencyshortname = 'Peso Convertib.' )
-( language = 'E' currency = 'CUP' currencyname = 'Cuban Peso' currencyshortname = 'Cuban Peso' )
-( language = 'E' currency = 'CVE' currencyname = 'Cape Verde Escudo' currencyshortname = 'Escudo' )
-( language = 'E' currency = 'CYP' currencyname = 'Cyprus Pound (Old --> EUR)' currencyshortname = 'Cyprus Pound' )
-( language = 'E' currency = 'CZK' currencyname = 'Czech Krona' currencyshortname = 'Krona' )
-( language = 'E' currency = 'DEM' currencyname = 'German Mark (Old --> EUR)' currencyshortname = 'German Mark' )
-( language = 'E' currency = 'DEM3' currencyname = '(Internal) German Mark (3 dec.places)' currencyshortname = '(Int.) DEM 3 DP' )
-( language = 'E' currency = 'DJF' currencyname = 'Djibouti Franc' currencyshortname = 'Djibouti Franc' )
-( language = 'E' currency = 'DKK' currencyname = 'Danish Krone' currencyshortname = 'Danish Krone' )
-( language = 'E' currency = 'DOP' currencyname = 'Dominican Peso' currencyshortname = 'Dominican Peso' )
-( language = 'E' currency = 'DZD' currencyname = 'Algerian Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'ECS' currencyname = 'Ecuadorian Sucre (Old --> USD)' currencyshortname = 'Sucre' )
-( language = 'E' currency = 'EEK' currencyname = 'Estonian Krone (Old --> EUR)' currencyshortname = 'Krona' )
-( language = 'E' currency = 'EGP' currencyname = 'Egyptian Pound' currencyshortname = 'Pound' )
-( language = 'E' currency = 'ERN' currencyname = 'Eritrean Nafka' currencyshortname = 'Nakfa' )
-( language = 'E' currency = 'ESP' currencyname = 'Spanish Peseta (Old --> EUR)' currencyshortname = 'Peseta' )
-( language = 'E' currency = 'ETB' currencyname = 'Ethiopian Birr' currencyshortname = 'Birr' )
-( language = 'E' currency = 'EUR' currencyname = 'European Euro' currencyshortname = 'Euro' )
-( language = 'E' currency = 'FIM' currencyname = 'Finnish Markka (Old --> EUR)' currencyshortname = 'Finnish markka' )
-( language = 'E' currency = 'FJD' currencyname = 'Fiji Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'FKP' currencyname = 'Falkland Pound' currencyshortname = 'Falkland Pound' )
-( language = 'E' currency = 'FRF' currencyname = 'French Franc (Old --> EUR)' currencyshortname = 'French Franc' )
-( language = 'E' currency = 'GBP' currencyname = 'British Pound' currencyshortname = 'Pound sterling' )
-( language = 'E' currency = 'GEL' currencyname = 'Georgian Lari' currencyshortname = 'Lari' )
-( language = 'E' currency = 'GHC' currencyname = 'Ghanaian Cedi (Old)' currencyshortname = 'Cedi' )
-( language = 'E' currency = 'GHS' currencyname = 'Ghanian Cedi' currencyshortname = 'Cedi' )
-( language = 'E' currency = 'GIP' currencyname = 'Gibraltar Pound' currencyshortname = 'Gibraltar Pound' )
-( language = 'E' currency = 'GMD' currencyname = 'Gambian Dalasi' currencyshortname = 'Dalasi' )
-( language = 'E' currency = 'GNF' currencyname = 'Guinean Franc' currencyshortname = 'Franc' )
-( language = 'E' currency = 'GRD' currencyname = 'Greek Drachma (Old --> EUR)' currencyshortname = 'Drachma' )
-( language = 'E' currency = 'GTQ' currencyname = 'Guatemalan Quetzal' currencyshortname = 'Quetzal' )
-( language = 'E' currency = 'GWP' currencyname = 'Guinea Peso (Old --> SHP)' currencyshortname = 'Guinea Peso' )
-( language = 'E' currency = 'GYD' currencyname = 'Guyana Dollar' currencyshortname = 'Guyana Dollar' )
-( language = 'E' currency = 'HKD' currencyname = 'Hong Kong Dollar' currencyshortname = 'H.K.Dollar' )
-( language = 'E' currency = 'HNL' currencyname = 'Honduran Lempira' currencyshortname = 'Lempira' )
-( language = 'E' currency = 'HRK' currencyname = 'Croatian Kuna' currencyshortname = 'Kuna' )
-( language = 'E' currency = 'HTG' currencyname = 'Haitian Gourde' currencyshortname = 'Gourde' )
-( language = 'E' currency = 'HUF' currencyname = 'Hungarian Forint' currencyshortname = 'Forint' )
-( language = 'E' currency = 'IDR' currencyname = 'Indonesian Rupiah' currencyshortname = 'Rupiah' )
-( language = 'E' currency = 'IEP' currencyname = 'Irish Punt (Old --> EUR)' currencyshortname = 'Irish Punt' )
-( language = 'E' currency = 'ILS' currencyname = 'Israeli Scheckel' currencyshortname = 'Scheckel' )
-( language = 'E' currency = 'INR' currencyname = 'Indian Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'IQD' currencyname = 'Iraqui Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'IRR' currencyname = 'Iranian Rial' currencyshortname = 'Rial' )
-( language = 'E' currency = 'ISK' currencyname = 'Iceland Krona' currencyshortname = 'Krona' )
-( language = 'E' currency = 'ITL' currencyname = 'Italian Lira (Old --> EUR)' currencyshortname = 'Lire' )
-( language = 'E' currency = 'JMD' currencyname = 'Jamaican Dollar' currencyshortname = 'Jamaican Dollar' )
-( language = 'E' currency = 'JOD' currencyname = 'Jordanian Dinar' currencyshortname = 'Jordanian Dinar' )
-( language = 'E' currency = 'JPY' currencyname = 'Japanese Yen' currencyshortname = 'Yen' )
-( language = 'E' currency = 'KES' currencyname = 'Kenyan Shilling' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'KGS' currencyname = 'Kyrgyzstan Som' currencyshortname = 'Som' )
-( language = 'E' currency = 'KHR' currencyname = 'Cambodian Riel' currencyshortname = 'Riel' )
-( language = 'E' currency = 'KMF' currencyname = 'Comoros Franc' currencyshortname = 'Comoros Franc' )
-( language = 'E' currency = 'KPW' currencyname = 'North Korean Won' currencyshortname = 'N. Korean Won' )
-( language = 'E' currency = 'KRW' currencyname = 'South Korean Won' currencyshortname = 'S.Korean Won' )
-( language = 'E' currency = 'KWD' currencyname = 'Kuwaiti Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'KYD' currencyname = 'Cayman Dollar' currencyshortname = 'Cayman Dollar' )
-( language = 'E' currency = 'KZT' currencyname = 'Kazakstanian Tenge' currencyshortname = 'Tenge' )
-( language = 'E' currency = 'LAK' currencyname = 'Laotian Kip' currencyshortname = 'Kip' )
-( language = 'E' currency = 'LBP' currencyname = 'Lebanese Pound' currencyshortname = 'Lebanese Pound' )
-( language = 'E' currency = 'LKR' currencyname = 'Sri Lankan Rupee' currencyshortname = 'Sri Lanka Rupee' )
-( language = 'E' currency = 'LRD' currencyname = 'Liberian Dollar' currencyshortname = 'Liberian Dollar' )
-( language = 'E' currency = 'LSL' currencyname = 'Lesotho Loti' currencyshortname = 'Loti' )
-( language = 'E' currency = 'LTL' currencyname = 'Lithuanian Lita' currencyshortname = 'Lita' )
-( language = 'E' currency = 'LUF' currencyname = 'Luxembourg Franc (Old --> EUR)' currencyshortname = 'Lux. Franc' )
-( language = 'E' currency = 'LVL' currencyname = 'Latvian Lat' currencyshortname = 'Lat' )
-( language = 'E' currency = 'LYD' currencyname = 'Libyan Dinar' currencyshortname = 'Libyan Dinar' )
-( language = 'E' currency = 'MAD' currencyname = 'Moroccan Dirham' currencyshortname = 'Dirham' )
-( language = 'E' currency = 'MDL' currencyname = 'Moldavian Leu' currencyshortname = 'Leu' )
-( language = 'E' currency = 'MGA' currencyname = 'Madagascan Ariary' currencyshortname = 'Madagasc.Ariary' )
-( language = 'E' currency = 'MGF' currencyname = 'Madagascan Franc (Old' currencyshortname = 'Madagascan Fr.' )
-( language = 'E' currency = 'MKD' currencyname = 'Macedonian Denar' currencyshortname = 'Maced. Denar' )
-( language = 'E' currency = 'MMK' currencyname = 'Myanmar Kyat' currencyshortname = 'Kyat' )
-( language = 'E' currency = 'MNT' currencyname = 'Mongolian Tugrik' currencyshortname = 'Tugrik' )
-( language = 'E' currency = 'MOP' currencyname = 'Macao Pataca' currencyshortname = 'Pataca' )
-( language = 'E' currency = 'MRO' currencyname = 'Mauritanian Ouguiya' currencyshortname = 'Ouguiya' )
-( language = 'E' currency = 'MTL' currencyname = 'Maltese Lira (Old --> EUR)' currencyshortname = 'Lira' )
-( language = 'E' currency = 'MUR' currencyname = 'Mauritian Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'MVR' currencyname = 'Maldive Rufiyaa' currencyshortname = 'Rufiyaa' )
-( language = 'E' currency = 'MWK' currencyname = 'Malawi Kwacha' currencyshortname = 'Malawi Kwacha' )
-( language = 'E' currency = 'MXN' currencyname = 'Mexican Pesos' currencyshortname = 'Peso' )
-( language = 'E' currency = 'MYR' currencyname = 'Malaysian Ringgit' currencyshortname = 'Ringgit' )
-( language = 'E' currency = 'MZM' currencyname = 'Mozambique Metical (Old)' currencyshortname = 'Metical' )
-( language = 'E' currency = 'MZN' currencyname = 'Mozambique Metical' currencyshortname = 'Metical' )
-( language = 'E' currency = 'NAD' currencyname = 'Namibian Dollar' currencyshortname = 'Namibian Dollar' )
-( language = 'E' currency = 'NGN' currencyname = 'Nigerian Naira' currencyshortname = 'Naira' )
-( language = 'E' currency = 'NIO' currencyname = 'Nicaraguan Cordoba Oro' currencyshortname = 'Cordoba Oro' )
-( language = 'E' currency = 'NLG' currencyname = 'Dutch Guilder (Old --> EUR)' currencyshortname = 'Guilder' )
-( language = 'E' currency = 'NOK' currencyname = 'Norwegian Krone' currencyshortname = 'Norwegian Krone' )
-( language = 'E' currency = 'NPR' currencyname = 'Nepalese Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'NZD' currencyname = 'New Zealand Dollars' currencyshortname = 'N.Zeal.Dollars' )
-( language = 'E' currency = 'OMR' currencyname = 'Omani Rial' currencyshortname = 'Omani Rial' )
-( language = 'E' currency = 'PAB' currencyname = 'Panamanian Balboa' currencyshortname = 'Balboa' )
-( language = 'E' currency = 'PEN' currencyname = 'Peruvian New Sol' currencyshortname = 'New Sol' )
-( language = 'E' currency = 'PGK' currencyname = 'Papua New Guinea Kina' currencyshortname = 'Kina' )
-( language = 'E' currency = 'PHP' currencyname = 'Philippine Peso' currencyshortname = 'Peso' )
-( language = 'E' currency = 'PKR' currencyname = 'Pakistani Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'PLN' currencyname = 'Polish Zloty (new)' currencyshortname = 'Zloty' )
-( language = 'E' currency = 'PTE' currencyname = 'Portuguese Escudo (Old --> EUR)' currencyshortname = 'Escudo' )
-( language = 'E' currency = 'PYG' currencyname = 'Paraguayan Guarani' currencyshortname = 'Guarani' )
-( language = 'E' currency = 'QAR' currencyname = 'Qatar Rial' currencyshortname = 'Rial' )
-( language = 'E' currency = 'RMB' currencyname = 'Chinese Yuan Renminbi' currencyshortname = 'Yuan Renminbi' )
-( language = 'E' currency = 'ROL' currencyname = 'Romanian Leu (Old)' currencyshortname = 'Leu (Old)' )
-( language = 'E' currency = 'RON' currencyname = 'Romanian Leu' currencyshortname = 'Leu' )
-( language = 'E' currency = 'RSD' currencyname = 'Serbian Dinar' currencyshortname = 'Serbian Dinar' )
-( language = 'E' currency = 'RUB' currencyname = 'Russian Ruble' currencyshortname = 'Ruble' )
-( language = 'E' currency = 'RWF' currencyname = 'Rwandan Franc' currencyshortname = 'Franc' )
-( language = 'E' currency = 'SAR' currencyname = 'Saudi Riyal' currencyshortname = 'Rial' )
-( language = 'E' currency = 'SBD' currencyname = 'Solomon Islands Dollar' currencyshortname = 'Sol.Isl.Dollar' )
-( language = 'E' currency = 'SCR' currencyname = 'Seychelles Rupee' currencyshortname = 'Rupee' )
-( language = 'E' currency = 'SDD' currencyname = 'Sudanese Dinar (Old)' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'SDG' currencyname = 'Sudanese Pound' currencyshortname = 'Pound' )
-( language = 'E' currency = 'SDP' currencyname = 'Sudanese Pound (until 1992)' currencyshortname = 'Pound' )
-( language = 'E' currency = 'SEK' currencyname = 'Swedish Krona' currencyshortname = 'Swedish Krona' )
-( language = 'E' currency = 'SGD' currencyname = 'Singapore Dollar' currencyshortname = 'Sing.Dollar' )
-( language = 'E' currency = 'SHP' currencyname = 'St.Helena Pound' currencyshortname = 'St.Helena Pound' )
-( language = 'E' currency = 'SIT' currencyname = 'Slovenian Tolar (Old --> EUR)' currencyshortname = 'Tolar' )
-( language = 'E' currency = 'SKK' currencyname = 'Slovakian Krona (Old --> EUR)' currencyshortname = 'Krona' )
-( language = 'E' currency = 'SLL' currencyname = 'Sierra Leone Leone' currencyshortname = 'Leone' )
-( language = 'E' currency = 'SOS' currencyname = 'Somalian Shilling' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'SRD' currencyname = 'Surinam Dollar' currencyshortname = 'Surinam Doillar' )
-( language = 'E' currency = 'SRG' currencyname = 'Surinam Guilder (Old)' currencyshortname = 'Surinam Guilder' )
-( language = 'E' currency = 'SSP' currencyname = 'South Sudanese Pound' currencyshortname = 'Pound' )
-( language = 'E' currency = 'STD' currencyname = 'Sao Tome / Principe Dobra' currencyshortname = 'Dobra' )
-( language = 'E' currency = 'SVC' currencyname = 'El Salvador Colon' currencyshortname = 'Colon' )
-( language = 'E' currency = 'SYP' currencyname = 'Syrian Pound' currencyshortname = 'Syrian Pound' )
-( language = 'E' currency = 'SZL' currencyname = 'Swaziland Lilangeni' currencyshortname = 'Lilangeni' )
-( language = 'E' currency = 'THB' currencyname = 'Thailand Baht' currencyshortname = 'Baht' )
-( language = 'E' currency = 'TJR' currencyname = 'Tajikistani Ruble (Old)' currencyshortname = 'Ruble' )
-( language = 'E' currency = 'TJS' currencyname = 'Tajikistani Somoni' currencyshortname = 'Somoni' )
-( language = 'E' currency = 'TMM' currencyname = 'Turkmenistani Manat (Old)' currencyshortname = 'Manat (Old)' )
-( language = 'E' currency = 'TMT' currencyname = 'Turkmenistani Manat' currencyshortname = 'Manat' )
-( language = 'E' currency = 'TND' currencyname = 'Tunisian Dinar' currencyshortname = 'Dinar' )
-( language = 'E' currency = 'TOP' currencyname = 'Tongan Pa''anga' currencyshortname = 'Pa''anga' )
-( language = 'E' currency = 'TPE' currencyname = 'Timor Escudo --> USD' currencyshortname = 'Timor Escudo' )
-( language = 'E' currency = 'TRL' currencyname = 'Turkish Lira (Old)' currencyshortname = 'Lira (Old)' )
-( language = 'E' currency = 'TRY' currencyname = 'Turkish Lira' currencyshortname = 'Lira' )
-( language = 'E' currency = 'TTD' currencyname = 'Trinidad and Tobago Dollar' currencyshortname = 'T.+ T. Dollar' )
-( language = 'E' currency = 'TWD' currencyname = 'New Taiwan Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'TZS' currencyname = 'Tanzanian Shilling' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'UAH' currencyname = 'Ukraine Hryvnia' currencyshortname = 'Hryvnia' )
-( language = 'E' currency = 'UGX' currencyname = 'Ugandan Shilling' currencyshortname = 'Shilling' )
-( language = 'E' currency = 'USD' currencyname = 'United States Dollar' currencyshortname = 'US Dollar' )
-( language = 'E' currency = 'USDN' currencyname = '(Internal) United States Dollar (5 Dec.)' currencyshortname = 'US Dollar' )
-( language = 'E' currency = 'UYU' currencyname = 'Uruguayan Peso' currencyshortname = 'Peso' )
-( language = 'E' currency = 'UZS' currencyname = 'Uzbekistan Som' currencyshortname = 'Total' )
-( language = 'E' currency = 'VEB' currencyname = 'Venezuelan Bolivar (Old)' currencyshortname = 'Bolivar (Old)' )
-( language = 'E' currency = 'VEF' currencyname = 'Venezuelan Bolivar' currencyshortname = 'Bolivar' )
-( language = 'E' currency = 'VND' currencyname = 'Vietnamese Dong' currencyshortname = 'Dong' )
-( language = 'E' currency = 'VUV' currencyname = 'Vanuatu Vatu' currencyshortname = 'Vatu' )
-( language = 'E' currency = 'WST' currencyname = 'Samoan Tala' currencyshortname = 'Tala' )
-( language = 'E' currency = 'XAF' currencyname = 'Gabon CFA Franc BEAC' currencyshortname = 'CFA Franc BEAC' )
-( language = 'E' currency = 'XCD' currencyname = 'East Carribean Dollar' currencyshortname = 'Dollar' )
-( language = 'E' currency = 'XEU' currencyname = 'European Currency Unit (E.C.U.)' currencyshortname = 'E.C.U.' )
-( language = 'E' currency = 'XOF' currencyname = 'Benin CFA Franc BCEAO' currencyshortname = 'CFA Franc BCEAO' )
-( language = 'E' currency = 'XPF' currencyname = 'CFP Franc' currencyshortname = 'Franc' )
-( language = 'E' currency = 'YER' currencyname = 'Yemeni Ryal' currencyshortname = 'Yemeni Ryal' )
-( language = 'E' currency = 'YUM' currencyname = 'New Yugoslavian Dinar (Old)' currencyshortname = 'New Dinar' )
-( language = 'E' currency = 'ZAR' currencyname = 'South African Rand' currencyshortname = 'Rand' )
-( language = 'E' currency = 'ZMK' currencyname = 'Zambian Kwacha (Old)' currencyshortname = 'Kwacha' )
-( language = 'E' currency = 'ZMW' currencyname = 'Zambian Kwacha (New)' currencyshortname = 'Kwacha' )
-( language = 'E' currency = 'ZRN' currencyname = 'Zaire (Old)' currencyshortname = 'Zaire' )
-( language = 'E' currency = 'ZWD' currencyname = 'Zimbabwean Dollar (Old)' currencyshortname = 'Zimbabwe Dollar' )
-( language = 'E' currency = 'ZWL' currencyname = 'Zimbabwean Dollar (New)' currencyshortname = 'Zimbabwe Dollar' )
-( language = 'E' currency = 'ZWN' currencyname = 'Zimbabwean Dollar (Old)' currencyshortname = 'Zimbabwe Dollar' )
-( language = 'E' currency = 'ZWR' currencyname = 'Zimbabwean Dollar (Old)' currencyshortname = 'Zimbabwe Dollar' )
- ).
+ Language = 'E'
+ ( Currency = 'ADP' CurrencyName = 'Andorran Peseta --> (Old --> EUR)' CurrencyShortName = 'Peseta' )
+ ( Currency = 'AED' CurrencyName = 'United Arab Emirates Dirham' CurrencyShortName = 'Dirham' )
+ ( Currency = 'AFA' CurrencyName = 'Afghani (Old)' CurrencyShortName = 'Afghani' )
+ ( Currency = 'AFN' CurrencyName = 'Afghani' CurrencyShortName = 'Afghani' )
+ ( Currency = 'ALL' CurrencyName = 'Albanian Lek' CurrencyShortName = 'Lek' )
+ ( Currency = 'AMD' CurrencyName = 'Armenian Dram' CurrencyShortName = 'Dram' )
+ ( Currency = 'ANG' CurrencyName = 'West Indian Guilder' CurrencyShortName = 'W.Ind.Guilder' )
+ ( Currency = 'AOA' CurrencyName = 'Angolanische Kwanza' CurrencyShortName = 'Kwansa' )
+ ( Currency = 'AON' CurrencyName = 'Angolan New Kwanza (Old)' CurrencyShortName = 'New Kwanza' )
+ ( Currency = 'AOR' CurrencyName = 'Angolan Kwanza Reajustado (Old)' CurrencyShortName = 'Kwanza Reajust.' )
+ ( Currency = 'ARS' CurrencyName = 'Argentine Peso' CurrencyShortName = 'Arg. Peso' )
+ ( Currency = 'ATS' CurrencyName = 'Austrian Schilling (Old --> EUR)' CurrencyShortName = 'Shilling' )
+ ( Currency = 'AUD' CurrencyName = 'Australian Dollar' CurrencyShortName = 'Austr. Dollar' )
+ ( Currency = 'AWG' CurrencyName = 'Aruban Florin' CurrencyShortName = 'Aruban Florin' )
+ ( Currency = 'AZM' CurrencyName = 'Azerbaijani Manat (Old)' CurrencyShortName = 'Manat' )
+ ( Currency = 'AZN' CurrencyName = 'Azerbaijani Manat' CurrencyShortName = 'Manat' )
+ ( Currency = 'BAM' CurrencyName = 'Bosnia and Herzegovina Convertible Mark' CurrencyShortName = 'Convert. Mark' )
+ ( Currency = 'BBD' CurrencyName = 'Barbados Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'BDT' CurrencyName = 'Bangladesh Taka' CurrencyShortName = 'Taka' )
+ ( Currency = 'BEF' CurrencyName = 'Belgian Franc (Old --> EUR)' CurrencyShortName = 'Belgian Franc' )
+ ( Currency = 'BGN' CurrencyName = 'Bulgarian Lev' CurrencyShortName = 'Lev' )
+ ( Currency = 'BHD' CurrencyName = 'Bahraini Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'BIF' CurrencyName = 'Burundi Franc' CurrencyShortName = 'Burundi Franc' )
+ ( Currency = 'BMD' CurrencyName = 'Bermudan Dollar' CurrencyShortName = 'Bermudan Dollar' )
+ ( Currency = 'BND' CurrencyName = 'Brunei Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'BOB' CurrencyName = 'Boliviano' CurrencyShortName = 'Boliviano' )
+ ( Currency = 'BRL' CurrencyName = 'Brazilian Real' CurrencyShortName = 'Real' )
+ ( Currency = 'BSD' CurrencyName = 'Bahaman Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'BTN' CurrencyName = 'Bhutan Ngultrum' CurrencyShortName = 'Ngultrum' )
+ ( Currency = 'BWP' CurrencyName = 'Botswana Pula' CurrencyShortName = 'Pula' )
+ ( Currency = 'BYB' CurrencyName = 'Belarusian Ruble (Old)' CurrencyShortName = 'Belarus. Ruble' )
+ ( Currency = 'BYN' CurrencyName = 'Belarusian Ruble (New)' CurrencyShortName = 'Bela. Ruble N.' )
+ ( Currency = 'BYR' CurrencyName = 'Belarusian Ruble' CurrencyShortName = 'Ruble' )
+ ( Currency = 'BZD' CurrencyName = 'Belize Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'CAD' CurrencyName = 'Canadian Dollar' CurrencyShortName = 'Canadian Dollar' )
+ ( Currency = 'CDF' CurrencyName = 'Congolese Franc' CurrencyShortName = 'test data' )
+ ( Currency = 'CFP' CurrencyName = 'French Franc (Pacific Islands)' CurrencyShortName = 'Fr. Franc (Pac)' )
+ ( Currency = 'CHF' CurrencyName = 'Swiss Franc' CurrencyShortName = 'Swiss Franc' )
+ ( Currency = 'CLP' CurrencyName = 'Chilean Peso' CurrencyShortName = 'Peso' )
+ ( Currency = 'CNY' CurrencyName = 'Chinese Renminbi' CurrencyShortName = 'Renminbi' )
+ ( Currency = 'COP' CurrencyName = 'Colombian Peso' CurrencyShortName = 'Peso' )
+ ( Currency = 'CRC' CurrencyName = 'Costa Rica Colon' CurrencyShortName = 'Cost.Rica Colon' )
+ ( Currency = 'CSD' CurrencyName = 'Serbian Dinar (Old)' CurrencyShortName = 'Serbian Dinar' )
+ ( Currency = 'CUC' CurrencyName = 'Peso Convertible' CurrencyShortName = 'Peso Convertib.' )
+ ( Currency = 'CUP' CurrencyName = 'Cuban Peso' CurrencyShortName = 'Cuban Peso' )
+ ( Currency = 'CVE' CurrencyName = 'Cape Verde Escudo' CurrencyShortName = 'Escudo' )
+ ( Currency = 'CYP' CurrencyName = 'Cyprus Pound (Old --> EUR)' CurrencyShortName = 'Cyprus Pound' )
+ ( Currency = 'CZK' CurrencyName = 'Czech Krona' CurrencyShortName = 'Krona' )
+ ( Currency = 'DEM' CurrencyName = 'German Mark (Old --> EUR)' CurrencyShortName = 'German Mark' )
+ ( Currency = 'DEM3' CurrencyName = '(Internal) German Mark (3 dec.places)' CurrencyShortName = '(Int.) DEM 3 DP' )
+ ( Currency = 'DJF' CurrencyName = 'Djibouti Franc' CurrencyShortName = 'Djibouti Franc' )
+ ( Currency = 'DKK' CurrencyName = 'Danish Krone' CurrencyShortName = 'Danish Krone' )
+ ( Currency = 'DOP' CurrencyName = 'Dominican Peso' CurrencyShortName = 'Dominican Peso' )
+ ( Currency = 'DZD' CurrencyName = 'Algerian Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'ECS' CurrencyName = 'Ecuadorian Sucre (Old --> USD)' CurrencyShortName = 'Sucre' )
+ ( Currency = 'EEK' CurrencyName = 'Estonian Krone (Old --> EUR)' CurrencyShortName = 'Krona' )
+ ( Currency = 'EGP' CurrencyName = 'Egyptian Pound' CurrencyShortName = 'Pound' )
+ ( Currency = 'ERN' CurrencyName = 'Eritrean Nafka' CurrencyShortName = 'Nakfa' )
+ ( Currency = 'ESP' CurrencyName = 'Spanish Peseta (Old --> EUR)' CurrencyShortName = 'Peseta' )
+ ( Currency = 'ETB' CurrencyName = 'Ethiopian Birr' CurrencyShortName = 'Birr' )
+ ( Currency = 'EUR' CurrencyName = 'European Euro' CurrencyShortName = 'Euro' )
+ ( Currency = 'FIM' CurrencyName = 'Finnish Markka (Old --> EUR)' CurrencyShortName = 'Finnish markka' )
+ ( Currency = 'FJD' CurrencyName = 'Fiji Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'FKP' CurrencyName = 'Falkland Pound' CurrencyShortName = 'Falkland Pound' )
+ ( Currency = 'FRF' CurrencyName = 'French Franc (Old --> EUR)' CurrencyShortName = 'French Franc' )
+ ( Currency = 'GBP' CurrencyName = 'British Pound' CurrencyShortName = 'Pound sterling' )
+ ( Currency = 'GEL' CurrencyName = 'Georgian Lari' CurrencyShortName = 'Lari' )
+ ( Currency = 'GHC' CurrencyName = 'Ghanaian Cedi (Old)' CurrencyShortName = 'Cedi' )
+ ( Currency = 'GHS' CurrencyName = 'Ghanian Cedi' CurrencyShortName = 'Cedi' )
+ ( Currency = 'GIP' CurrencyName = 'Gibraltar Pound' CurrencyShortName = 'Gibraltar Pound' )
+ ( Currency = 'GMD' CurrencyName = 'Gambian Dalasi' CurrencyShortName = 'Dalasi' )
+ ( Currency = 'GNF' CurrencyName = 'Guinean Franc' CurrencyShortName = 'Franc' )
+ ( Currency = 'GRD' CurrencyName = 'Greek Drachma (Old --> EUR)' CurrencyShortName = 'Drachma' )
+ ( Currency = 'GTQ' CurrencyName = 'Guatemalan Quetzal' CurrencyShortName = 'Quetzal' )
+ ( Currency = 'GWP' CurrencyName = 'Guinea Peso (Old --> SHP)' CurrencyShortName = 'Guinea Peso' )
+ ( Currency = 'GYD' CurrencyName = 'Guyana Dollar' CurrencyShortName = 'Guyana Dollar' )
+ ( Currency = 'HKD' CurrencyName = 'Hong Kong Dollar' CurrencyShortName = 'H.K.Dollar' )
+ ( Currency = 'HNL' CurrencyName = 'Honduran Lempira' CurrencyShortName = 'Lempira' )
+ ( Currency = 'HRK' CurrencyName = 'Croatian Kuna' CurrencyShortName = 'Kuna' )
+ ( Currency = 'HTG' CurrencyName = 'Haitian Gourde' CurrencyShortName = 'Gourde' )
+ ( Currency = 'HUF' CurrencyName = 'Hungarian Forint' CurrencyShortName = 'Forint' )
+ ( Currency = 'IDR' CurrencyName = 'Indonesian Rupiah' CurrencyShortName = 'Rupiah' )
+ ( Currency = 'IEP' CurrencyName = 'Irish Punt (Old --> EUR)' CurrencyShortName = 'Irish Punt' )
+ ( Currency = 'ILS' CurrencyName = 'Israeli Scheckel' CurrencyShortName = 'Scheckel' )
+ ( Currency = 'INR' CurrencyName = 'Indian Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'IQD' CurrencyName = 'Iraqui Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'IRR' CurrencyName = 'Iranian Rial' CurrencyShortName = 'Rial' )
+ ( Currency = 'ISK' CurrencyName = 'Iceland Krona' CurrencyShortName = 'Krona' )
+ ( Currency = 'ITL' CurrencyName = 'Italian Lira (Old --> EUR)' CurrencyShortName = 'Lire' )
+ ( Currency = 'JMD' CurrencyName = 'Jamaican Dollar' CurrencyShortName = 'Jamaican Dollar' )
+ ( Currency = 'JOD' CurrencyName = 'Jordanian Dinar' CurrencyShortName = 'Jordanian Dinar' )
+ ( Currency = 'JPY' CurrencyName = 'Japanese Yen' CurrencyShortName = 'Yen' )
+ ( Currency = 'KES' CurrencyName = 'Kenyan Shilling' CurrencyShortName = 'Shilling' )
+ ( Currency = 'KGS' CurrencyName = 'Kyrgyzstan Som' CurrencyShortName = 'Som' )
+ ( Currency = 'KHR' CurrencyName = 'Cambodian Riel' CurrencyShortName = 'Riel' )
+ ( Currency = 'KMF' CurrencyName = 'Comoros Franc' CurrencyShortName = 'Comoros Franc' )
+ ( Currency = 'KPW' CurrencyName = 'North Korean Won' CurrencyShortName = 'N. Korean Won' )
+ ( Currency = 'KRW' CurrencyName = 'South Korean Won' CurrencyShortName = 'S.Korean Won' )
+ ( Currency = 'KWD' CurrencyName = 'Kuwaiti Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'KYD' CurrencyName = 'Cayman Dollar' CurrencyShortName = 'Cayman Dollar' )
+ ( Currency = 'KZT' CurrencyName = 'Kazakstanian Tenge' CurrencyShortName = 'Tenge' )
+ ( Currency = 'LAK' CurrencyName = 'Laotian Kip' CurrencyShortName = 'Kip' )
+ ( Currency = 'LBP' CurrencyName = 'Lebanese Pound' CurrencyShortName = 'Lebanese Pound' )
+ ( Currency = 'LKR' CurrencyName = 'Sri Lankan Rupee' CurrencyShortName = 'Sri Lanka Rupee' )
+ ( Currency = 'LRD' CurrencyName = 'Liberian Dollar' CurrencyShortName = 'Liberian Dollar' )
+ ( Currency = 'LSL' CurrencyName = 'Lesotho Loti' CurrencyShortName = 'Loti' )
+ ( Currency = 'LTL' CurrencyName = 'Lithuanian Lita' CurrencyShortName = 'Lita' )
+ ( Currency = 'LUF' CurrencyName = 'Luxembourg Franc (Old --> EUR)' CurrencyShortName = 'Lux. Franc' )
+ ( Currency = 'LVL' CurrencyName = 'Latvian Lat' CurrencyShortName = 'Lat' )
+ ( Currency = 'LYD' CurrencyName = 'Libyan Dinar' CurrencyShortName = 'Libyan Dinar' )
+ ( Currency = 'MAD' CurrencyName = 'Moroccan Dirham' CurrencyShortName = 'Dirham' )
+ ( Currency = 'MDL' CurrencyName = 'Moldavian Leu' CurrencyShortName = 'Leu' )
+ ( Currency = 'MGA' CurrencyName = 'Madagascan Ariary' CurrencyShortName = 'Madagasc.Ariary' )
+ ( Currency = 'MGF' CurrencyName = 'Madagascan Franc (Old' CurrencyShortName = 'Madagascan Fr.' )
+ ( Currency = 'MKD' CurrencyName = 'Macedonian Denar' CurrencyShortName = 'Maced. Denar' )
+ ( Currency = 'MMK' CurrencyName = 'Myanmar Kyat' CurrencyShortName = 'Kyat' )
+ ( Currency = 'MNT' CurrencyName = 'Mongolian Tugrik' CurrencyShortName = 'Tugrik' )
+ ( Currency = 'MOP' CurrencyName = 'Macao Pataca' CurrencyShortName = 'Pataca' )
+ ( Currency = 'MRO' CurrencyName = 'Mauritanian Ouguiya' CurrencyShortName = 'Ouguiya' )
+ ( Currency = 'MTL' CurrencyName = 'Maltese Lira (Old --> EUR)' CurrencyShortName = 'Lira' )
+ ( Currency = 'MUR' CurrencyName = 'Mauritian Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'MVR' CurrencyName = 'Maldive Rufiyaa' CurrencyShortName = 'Rufiyaa' )
+ ( Currency = 'MWK' CurrencyName = 'Malawi Kwacha' CurrencyShortName = 'Malawi Kwacha' )
+ ( Currency = 'MXN' CurrencyName = 'Mexican Pesos' CurrencyShortName = 'Peso' )
+ ( Currency = 'MYR' CurrencyName = 'Malaysian Ringgit' CurrencyShortName = 'Ringgit' )
+ ( Currency = 'MZM' CurrencyName = 'Mozambique Metical (Old)' CurrencyShortName = 'Metical' )
+ ( Currency = 'MZN' CurrencyName = 'Mozambique Metical' CurrencyShortName = 'Metical' )
+ ( Currency = 'NAD' CurrencyName = 'Namibian Dollar' CurrencyShortName = 'Namibian Dollar' )
+ ( Currency = 'NGN' CurrencyName = 'Nigerian Naira' CurrencyShortName = 'Naira' )
+ ( Currency = 'NIO' CurrencyName = 'Nicaraguan Cordoba Oro' CurrencyShortName = 'Cordoba Oro' )
+ ( Currency = 'NLG' CurrencyName = 'Dutch Guilder (Old --> EUR)' CurrencyShortName = 'Guilder' )
+ ( Currency = 'NOK' CurrencyName = 'Norwegian Krone' CurrencyShortName = 'Norwegian Krone' )
+ ( Currency = 'NPR' CurrencyName = 'Nepalese Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'NZD' CurrencyName = 'New Zealand Dollars' CurrencyShortName = 'N.Zeal.Dollars' )
+ ( Currency = 'OMR' CurrencyName = 'Omani Rial' CurrencyShortName = 'Omani Rial' )
+ ( Currency = 'PAB' CurrencyName = 'Panamanian Balboa' CurrencyShortName = 'Balboa' )
+ ( Currency = 'PEN' CurrencyName = 'Peruvian New Sol' CurrencyShortName = 'New Sol' )
+ ( Currency = 'PGK' CurrencyName = 'Papua New Guinea Kina' CurrencyShortName = 'Kina' )
+ ( Currency = 'PHP' CurrencyName = 'Philippine Peso' CurrencyShortName = 'Peso' )
+ ( Currency = 'PKR' CurrencyName = 'Pakistani Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'PLN' CurrencyName = 'Polish Zloty (new)' CurrencyShortName = 'Zloty' )
+ ( Currency = 'PTE' CurrencyName = 'Portuguese Escudo (Old --> EUR)' CurrencyShortName = 'Escudo' )
+ ( Currency = 'PYG' CurrencyName = 'Paraguayan Guarani' CurrencyShortName = 'Guarani' )
+ ( Currency = 'QAR' CurrencyName = 'Qatar Rial' CurrencyShortName = 'Rial' )
+ ( Currency = 'RMB' CurrencyName = 'Chinese Yuan Renminbi' CurrencyShortName = 'Yuan Renminbi' )
+ ( Currency = 'ROL' CurrencyName = 'Romanian Leu (Old)' CurrencyShortName = 'Leu (Old)' )
+ ( Currency = 'RON' CurrencyName = 'Romanian Leu' CurrencyShortName = 'Leu' )
+ ( Currency = 'RSD' CurrencyName = 'Serbian Dinar' CurrencyShortName = 'Serbian Dinar' )
+ ( Currency = 'RUB' CurrencyName = 'Russian Ruble' CurrencyShortName = 'Ruble' )
+ ( Currency = 'RWF' CurrencyName = 'Rwandan Franc' CurrencyShortName = 'Franc' )
+ ( Currency = 'SAR' CurrencyName = 'Saudi Riyal' CurrencyShortName = 'Rial' )
+ ( Currency = 'SBD' CurrencyName = 'Solomon Islands Dollar' CurrencyShortName = 'Sol.Isl.Dollar' )
+ ( Currency = 'SCR' CurrencyName = 'Seychelles Rupee' CurrencyShortName = 'Rupee' )
+ ( Currency = 'SDD' CurrencyName = 'Sudanese Dinar (Old)' CurrencyShortName = 'Dinar' )
+ ( Currency = 'SDG' CurrencyName = 'Sudanese Pound' CurrencyShortName = 'Pound' )
+ ( Currency = 'SDP' CurrencyName = 'Sudanese Pound (until 1992)' CurrencyShortName = 'Pound' )
+ ( Currency = 'SEK' CurrencyName = 'Swedish Krona' CurrencyShortName = 'Swedish Krona' )
+ ( Currency = 'SGD' CurrencyName = 'Singapore Dollar' CurrencyShortName = 'Sing.Dollar' )
+ ( Currency = 'SHP' CurrencyName = 'St.Helena Pound' CurrencyShortName = 'St.Helena Pound' )
+ ( Currency = 'SIT' CurrencyName = 'Slovenian Tolar (Old --> EUR)' CurrencyShortName = 'Tolar' )
+ ( Currency = 'SKK' CurrencyName = 'Slovakian Krona (Old --> EUR)' CurrencyShortName = 'Krona' )
+ ( Currency = 'SLL' CurrencyName = 'Sierra Leone Leone' CurrencyShortName = 'Leone' )
+ ( Currency = 'SOS' CurrencyName = 'Somalian Shilling' CurrencyShortName = 'Shilling' )
+ ( Currency = 'SRD' CurrencyName = 'Surinam Dollar' CurrencyShortName = 'Surinam Doillar' )
+ ( Currency = 'SRG' CurrencyName = 'Surinam Guilder (Old)' CurrencyShortName = 'Surinam Guilder' )
+ ( Currency = 'SSP' CurrencyName = 'South Sudanese Pound' CurrencyShortName = 'Pound' )
+ ( Currency = 'STD' CurrencyName = 'Sao Tome / Principe Dobra' CurrencyShortName = 'Dobra' )
+ ( Currency = 'SVC' CurrencyName = 'El Salvador Colon' CurrencyShortName = 'Colon' )
+ ( Currency = 'SYP' CurrencyName = 'Syrian Pound' CurrencyShortName = 'Syrian Pound' )
+ ( Currency = 'SZL' CurrencyName = 'Swaziland Lilangeni' CurrencyShortName = 'Lilangeni' )
+ ( Currency = 'THB' CurrencyName = 'Thailand Baht' CurrencyShortName = 'Baht' )
+ ( Currency = 'TJR' CurrencyName = 'Tajikistani Ruble (Old)' CurrencyShortName = 'Ruble' )
+ ( Currency = 'TJS' CurrencyName = 'Tajikistani Somoni' CurrencyShortName = 'Somoni' )
+ ( Currency = 'TMM' CurrencyName = 'Turkmenistani Manat (Old)' CurrencyShortName = 'Manat (Old)' )
+ ( Currency = 'TMT' CurrencyName = 'Turkmenistani Manat' CurrencyShortName = 'Manat' )
+ ( Currency = 'TND' CurrencyName = 'Tunisian Dinar' CurrencyShortName = 'Dinar' )
+ ( Currency = 'TOP' CurrencyName = 'Tongan Pa''anga' CurrencyShortName = 'Pa''anga' )
+ ( Currency = 'TPE' CurrencyName = 'Timor Escudo --> USD' CurrencyShortName = 'Timor Escudo' )
+ ( Currency = 'TRL' CurrencyName = 'Turkish Lira (Old)' CurrencyShortName = 'Lira (Old)' )
+ ( Currency = 'TRY' CurrencyName = 'Turkish Lira' CurrencyShortName = 'Lira' )
+ ( Currency = 'TTD' CurrencyName = 'Trinidad and Tobago Dollar' CurrencyShortName = 'T.+ T. Dollar' )
+ ( Currency = 'TWD' CurrencyName = 'New Taiwan Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'TZS' CurrencyName = 'Tanzanian Shilling' CurrencyShortName = 'Shilling' )
+ ( Currency = 'UAH' CurrencyName = 'Ukraine Hryvnia' CurrencyShortName = 'Hryvnia' )
+ ( Currency = 'UGX' CurrencyName = 'Ugandan Shilling' CurrencyShortName = 'Shilling' )
+ ( Currency = 'USD' CurrencyName = 'United States Dollar' CurrencyShortName = 'US Dollar' )
+ ( Currency = 'USDN' CurrencyName = '(Internal) United States Dollar (5 Dec.)' CurrencyShortName = 'US Dollar' )
+ ( Currency = 'UYU' CurrencyName = 'Uruguayan Peso' CurrencyShortName = 'Peso' )
+ ( Currency = 'UZS' CurrencyName = 'Uzbekistan Som' CurrencyShortName = 'Total' )
+ ( Currency = 'VEB' CurrencyName = 'Venezuelan Bolivar (Old)' CurrencyShortName = 'Bolivar (Old)' )
+ ( Currency = 'VEF' CurrencyName = 'Venezuelan Bolivar' CurrencyShortName = 'Bolivar' )
+ ( Currency = 'VND' CurrencyName = 'Vietnamese Dong' CurrencyShortName = 'Dong' )
+ ( Currency = 'VUV' CurrencyName = 'Vanuatu Vatu' CurrencyShortName = 'Vatu' )
+ ( Currency = 'WST' CurrencyName = 'Samoan Tala' CurrencyShortName = 'Tala' )
+ ( Currency = 'XAF' CurrencyName = 'Gabon CFA Franc BEAC' CurrencyShortName = 'CFA Franc BEAC' )
+ ( Currency = 'XCD' CurrencyName = 'East Carribean Dollar' CurrencyShortName = 'Dollar' )
+ ( Currency = 'XEU' CurrencyName = 'European Currency Unit (E.C.U.)' CurrencyShortName = 'E.C.U.' )
+ ( Currency = 'XOF' CurrencyName = 'Benin CFA Franc BCEAO' CurrencyShortName = 'CFA Franc BCEAO' )
+ ( Currency = 'XPF' CurrencyName = 'CFP Franc' CurrencyShortName = 'Franc' )
+ ( Currency = 'YER' CurrencyName = 'Yemeni Ryal' CurrencyShortName = 'Yemeni Ryal' )
+ ( Currency = 'YUM' CurrencyName = 'New Yugoslavian Dinar (Old)' CurrencyShortName = 'New Dinar' )
+ ( Currency = 'ZAR' CurrencyName = 'South African Rand' CurrencyShortName = 'Rand' )
+ ( Currency = 'ZMK' CurrencyName = 'Zambian Kwacha (Old)' CurrencyShortName = 'Kwacha' )
+ ( Currency = 'ZMW' CurrencyName = 'Zambian Kwacha (New)' CurrencyShortName = 'Kwacha' )
+ ( Currency = 'ZRN' CurrencyName = 'Zaire (Old)' CurrencyShortName = 'Zaire' )
+ ( Currency = 'ZWD' CurrencyName = 'Zimbabwean Dollar (Old)' CurrencyShortName = 'Zimbabwe Dollar' )
+ ( Currency = 'ZWL' CurrencyName = 'Zimbabwean Dollar (New)' CurrencyShortName = 'Zimbabwe Dollar' )
+ ( Currency = 'ZWN' CurrencyName = 'Zimbabwean Dollar (Old)' CurrencyShortName = 'Zimbabwe Dollar' )
+ ( Currency = 'ZWR' CurrencyName = 'Zimbabwean Dollar (Old)' CurrencyShortName = 'Zimbabwe Dollar' ) ).
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Public Method Z2UI5_CL_DEMO_APP_201->Z2UI5_IF_APP~MAIN
* +-------------------------------------------------------------------------------------------------+
* | [--->] CLIENT TYPE REF TO Z2UI5_IF_CLIENT
* +--------------------------------------------------------------------------------------
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
IF check_initialized = abap_false.
-* ---------- This script will skip the frontend suggestion filtering ------------------------------
- DATA(lv_script) = ` debugger;` && |\n| &&
- `function setInputFIlter(){` && |\n| &&
- ` var inp = sap.z2ui5.oView.byId('suggInput');` && |\n| &&
- ` inp.setFilterFunction(function(sValue, oItem){` && |\n| &&
- ` return true;` && |\n| &&
- ` });` && |\n| &&
- `}`.
-
+ " ---------- This script will skip the frontend suggestion filtering ------------------------------
+ DATA(lv_script) = | debugger;| && |\n| &&
+ |function setInputFIlter()\{| && |\n| &&
+ | var inp = sap.z2ui5.oView.byId('suggInput');| && |\n| &&
+ | inp.setFilterFunction(function(sValue, oItem)\{| && |\n| &&
+ | return true;| && |\n| &&
+ | \});| && |\n| &&
+ |\}|.
check_initialized = abap_true.
set_data( ).
client->view_display( z2ui5_cl_xml_view=>factory(
- )->_z2ui5( )->timer( client->_event( `START` )
- )->_generic( ns = `html` name = `script` )->_cc_plain_xml( lv_script
+ )->_z2ui5( )->timer( client->_event( `START` )
+ )->_generic( ns = `html`
+ name = `script` )->_cc_plain_xml( lv_script
)->stringify( ) ).
ENDIF.
@@ -303,12 +297,11 @@ CLASS Z2UI5_CL_DEMO_APP_201 IMPLEMENTATION.
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Protected Method Z2UI5_CL_DEMO_APP_201->Z2UI5_ON_EVENT
* +-------------------------------------------------------------------------------------------------+
* +--------------------------------------------------------------------------------------
- METHOD Z2UI5_ON_EVENT.
+ METHOD z2ui5_on_event.
CASE client->get( )-event.
WHEN 'START'.
@@ -316,11 +309,11 @@ CLASS Z2UI5_CL_DEMO_APP_201 IMPLEMENTATION.
WHEN 'ON_SUGGEST'.
DATA lt_range TYPE RANGE OF string.
- lt_range = VALUE #( ( sign = 'I' option = 'CP' low = `*` && input && `*` ) ).
+ lt_range = VALUE #( ( sign = 'I' option = 'CP' low = |*{ input }*| ) ).
CLEAR mt_suggestion_out.
LOOP AT mt_suggestion INTO DATA(ls_sugg)
- WHERE currencyname IN lt_range.
+ WHERE CurrencyName IN lt_range.
INSERT ls_sugg INTO TABLE mt_suggestion_out.
ENDLOOP.
@@ -339,18 +332,16 @@ CLASS Z2UI5_CL_DEMO_APP_201 IMPLEMENTATION.
ENDMETHOD.
-
* ---------------------------------------------------------------------------------------+
* | Instance Protected Method Z2UI5_CL_DEMO_APP_201->Z2UI5_VIEW_DISPLAY
* +-------------------------------------------------------------------------------------------------+
* +--------------------------------------------------------------------------------------
- METHOD Z2UI5_VIEW_DISPLAY.
+ METHOD z2ui5_view_display.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell( )->page(
- title = 'abap2UI5 - Live Suggestion Event'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
+ title = 'abap2UI5 - Live Suggestion Event'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
DATA(grid) = page->grid( 'L6 M12 S12'
)->content( 'layout' ).
@@ -358,15 +349,14 @@ CLASS Z2UI5_CL_DEMO_APP_201 IMPLEMENTATION.
DATA(input) = grid->simple_form( 'Input'
)->content( 'form'
)->label( 'Input with value help'
- )->input(
- id = `suggInput`
- value = client->_bind_edit( input )
- suggest = client->_event( 'ON_SUGGEST' )
- showtablesuggestionvaluehelp = abap_false
- suggestionrows = client->_bind( mt_suggestion_out )
- showsuggestion = abap_true
- valueliveupdate = abap_true
- autocomplete = abap_false
+ )->input( id = `suggInput`
+ value = client->_bind_edit( input )
+ suggest = client->_event( 'ON_SUGGEST' )
+ showtablesuggestionvaluehelp = abap_false
+ suggestionrows = client->_bind( mt_suggestion_out )
+ showsuggestion = abap_true
+ valueliveupdate = abap_true
+ autocomplete = abap_false
)->get( ).
input->suggestion_columns(
@@ -378,9 +368,11 @@ CLASS Z2UI5_CL_DEMO_APP_201 IMPLEMENTATION.
)->label( text = '{CURRENCYNAME}'
)->label( text = '{CURRENCY}' ).
- page->_generic( name = `script` ns = `html` )->_cc_plain_xml( `setInputFIlter()` ).
+ page->_generic( name = `script`
+ ns = `html` )->_cc_plain_xml( `setInputFIlter()` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_202.clas.abap b/src/z2ui5_cl_demo_app_202.clas.abap
index 679d556e..fe2a6904 100644
--- a/src/z2ui5_cl_demo_app_202.clas.abap
+++ b/src/z2ui5_cl_demo_app_202.clas.abap
@@ -1,91 +1,90 @@
-class Z2UI5_CL_DEMO_APP_202 definition
- public
- final
- create public .
+CLASS z2ui5_cl_demo_app_202 DEFINITION
+ PUBLIC FINAL
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA av_next TYPE string VALUE 'Step22' ##NO_TEXT.
+ DATA av_init TYPE abap_bool.
- data AV_NEXT type STRING value 'Step22' ##NO_TEXT.
- data AV_INIT type ABAP_BOOL .
PROTECTED SECTION.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
PRIVATE SECTION.
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_202 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_202 IMPLEMENTATION.
METHOD display_view.
DATA(lr_view) = z2ui5_cl_xml_view=>factory( ).
- lr_view->_generic( name = `script` ns = `html` )->_cc_plain_xml( `sap.z2ui5.decideNextStep = (stepId, nextStepId) => {debugger;` && |\n| &&
- ` var wiz = sap.z2ui5.oView.byId('wiz');` && |\n| &&
- ` wiz.discardProgress(sap.z2ui5.oView.byId(stepId));` && |\n| &&
- ` var step = sap.z2ui5.oView.byId(stepId);` && |\n| &&
- ` var nextStep = sap.z2ui5.oView.byId(nextStepId);` && |\n| &&
- ` step.setNextStep(nextStep);` && |\n| &&
- `}` ).
-
- lr_view = lr_view->shell( )->page( id = `page_main`
- title = 'abap2UI5 - Demo Wizard Control'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(lr_wizard) = lr_view->wizard( id = `wiz` enablebranching = abap_true ).
- DATA(lr_wiz_step1) = lr_wizard->wizard_step( title = 'STEP1' validated = abap_true nextstep = 'STEP2' ).
+ lr_view->_generic( name = `script`
+ ns = `html` )->_cc_plain_xml(
+ |sap.z2ui5.decideNextStep = (stepId, nextStepId) => \{debugger;| && |\n| &&
+ | var wiz = sap.z2ui5.oView.byId('wiz');| && |\n| &&
+ | wiz.discardProgress(sap.z2ui5.oView.byId(stepId));| && |\n| &&
+ | var step = sap.z2ui5.oView.byId(stepId);| && |\n| &&
+ | var nextStep = sap.z2ui5.oView.byId(nextStepId);| && |\n| &&
+ | step.setNextStep(nextStep);| && |\n| &&
+ |\}| ).
+
+ lr_view = lr_view->shell( )->page(
+ id = `page_main`
+ title = 'abap2UI5 - Demo Wizard Control'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(lr_wizard) = lr_view->wizard( id = `wiz`
+ enablebranching = abap_true ).
+ DATA(lr_wiz_step1) = lr_wizard->wizard_step( title = 'STEP1'
+ validated = abap_true
+ nextstep = 'STEP2' ).
lr_wiz_step1->message_strip( text = 'STEP1' ).
-
- DATA(lr_wiz_step2) = lr_wizard->wizard_step( id = 'STEP2'
- title = `STEP2`
- validated = abap_true
+ DATA(lr_wiz_step2) = lr_wizard->wizard_step( id = 'STEP2'
+ title = `STEP2`
+ validated = abap_true
subsequentSteps = 'STEP22, STEP23'
).
lr_wiz_step2->message_strip( text = `STEP2` ).
lr_wiz_step2->button(
* EXPORTING
- text = `Press Step 2.2`
- press = client->_event('STEP22' ) ).
+ text = `Press Step 2.2`
+ press = client->_event( 'STEP22' ) ).
lr_wiz_step2->button(
* EXPORTING
- text = `Press Step 2.3`
- press = client->_event( `STEP23` ) ).
-
+ text = `Press Step 2.3`
+ press = client->_event( `STEP23` ) ).
- DATA(lr_wiz_step22) = lr_wizard->wizard_step( id = `STEP22`
- title = `STEP2.2`
- validated = abap_true ).
+ DATA(lr_wiz_step22) = lr_wizard->wizard_step( id = `STEP22`
+ title = `STEP2.2`
+ validated = abap_true ).
lr_wiz_step22->message_strip( text = 'STEP22' ).
-
- DATA(lr_wiz_step23) = lr_wizard->wizard_step( id = `STEP23`
- title = `STEP2.3`
- validated = abap_true ).
+ DATA(lr_wiz_step23) = lr_wizard->wizard_step( id = `STEP23`
+ title = `STEP2.3`
+ validated = abap_true ).
lr_wiz_step23->message_strip( text = 'STEP23' ).
-
- DATA(lr_wiz_step3) = lr_wizard->wizard_step( title = `STEP3`
- validated = abap_true ).
+ DATA(lr_wiz_step3) = lr_wizard->wizard_step( title = `STEP3`
+ validated = abap_true ).
lr_wiz_step3->message_strip( text = 'STEP3' ).
-*
+ "
client->view_display( lr_view->stringify( ) ).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF av_init = abap_false.
@@ -94,7 +93,6 @@ CLASS Z2UI5_CL_DEMO_APP_202 IMPLEMENTATION.
RETURN.
ENDIF.
-
CASE client->get( )-event.
WHEN 'BACK'.
client->nav_app_leave( ).
@@ -109,4 +107,5 @@ CLASS Z2UI5_CL_DEMO_APP_202 IMPLEMENTATION.
ENDCASE.
client->view_model_update( ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_205.clas.abap b/src/z2ui5_cl_demo_app_205.clas.abap
index 95a5c78d..8bf1ad32 100644
--- a/src/z2ui5_cl_demo_app_205.clas.abap
+++ b/src/z2ui5_cl_demo_app_205.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_205 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_205 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,90 +21,132 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_205 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Flex Box - Basic Alignment`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Flex Box - Basic Alignment`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(layout) = page->vbox(
)->panel( headertext = `Upper left`
- )->flex_box( height = `100px`
- alignItems = `Start`
+ )->flex_box( height = `100px`
+ alignItems = `Start`
justifyContent = `Start`
- )->button( text = `1` type = `Emphasized` class = `sapUiSmallMarginEnd`
- )->button( text = `2` type = `Reject` class = `sapUiSmallMarginEnd`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Upper center`
- )->flex_box( height = `100px`
- alignItems = `Start`
+ )->flex_box( height = `100px`
+ alignItems = `Start`
justifyContent = `Center`
- )->button( text = `1` type = `Emphasized` class = `sapUiSmallMarginEnd`
- )->button( text = `2` type = `Reject` class = `sapUiSmallMarginEnd`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Upper right`
- )->flex_box( height = `100px`
- alignItems = `Start`
+ )->flex_box( height = `100px`
+ alignItems = `Start`
justifyContent = `End`
- )->button( text = `1` type = `Emphasized` class = `sapUiSmallMarginEnd`
- )->button( text = `2` type = `Reject` class = `sapUiSmallMarginEnd`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Middle left`
- )->flex_box( height = `100px`
- alignItems = `Center`
+ )->flex_box( height = `100px`
+ alignItems = `Center`
justifyContent = `Start`
- )->button( text = `1` type = `Emphasized` class = `sapUiSmallMarginEnd`
- )->button( text = `2` type = `Reject` class = `sapUiSmallMarginEnd`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Middle center`
- )->flex_box( height = `100px`
- alignItems = `Center`
+ )->flex_box( height = `100px`
+ alignItems = `Center`
justifyContent = `Center`
- )->button( text = `1` type = `Emphasized` class = `sapUiSmallMarginEnd`
- )->button( text = `2` type = `Reject` class = `sapUiSmallMarginEnd`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Middle right`
- )->flex_box( height = `100px`
- alignItems = `Center`
+ )->flex_box( height = `100px`
+ alignItems = `Center`
justifyContent = `End`
- )->button( text = `1` type = `Emphasized` class = `sapUiSmallMarginEnd`
- )->button( text = `2` type = `Reject` class = `sapUiSmallMarginEnd`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Lower left`
- )->flex_box( height = `100px`
- alignItems = `End`
+ )->flex_box( height = `100px`
+ alignItems = `End`
justifyContent = `Start`
- )->button( text = `1` type = `Emphasized` class = `sapUiSmallMarginEnd`
- )->button( text = `2` type = `Reject` class = `sapUiSmallMarginEnd`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Lower center`
- )->flex_box( height = `100px`
- alignItems = `End`
+ )->flex_box( height = `100px`
+ alignItems = `End`
justifyContent = `Center`
- )->button( text = `1` type = `Emphasized` class = `sapUiSmallMarginEnd`
- )->button( text = `2` type = `Reject` class = `sapUiSmallMarginEnd`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Lower right`
- )->flex_box( height = `100px`
- alignItems = `End`
+ )->flex_box( height = `100px`
+ alignItems = `End`
justifyContent = `End`
- )->button( text = `1` type = `Emphasized` class = `sapUiSmallMarginEnd`
- )->button( text = `2` type = `Reject` class = `sapUiSmallMarginEnd`
- )->button( text = `3` type = `Accept`
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd`
+ )->button( text = `3`
+ type = `Accept`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -113,8 +155,7 @@ CLASS z2ui5_cl_demo_app_205 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -124,4 +165,5 @@ CLASS z2ui5_cl_demo_app_205 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_206.clas.abap b/src/z2ui5_cl_demo_app_206.clas.abap
index ddb1cc3f..bba36e93 100644
--- a/src/z2ui5_cl_demo_app_206.clas.abap
+++ b/src/z2ui5_cl_demo_app_206.clas.abap
@@ -1,15 +1,14 @@
-class z2ui5_cl_demo_app_206 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_206 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -22,55 +21,62 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_206 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Text - Max Lines'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
-
- layout->text( text = `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat` )->get_parent( )->get_parent( ).
-
- layout->text( maxlines = `4` text = `4 Maxlines ... Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat` ) .
-
- layout->text( maxlines = `3` text = `3 Maxlines ... Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat` ) .
-
- layout->text( maxlines = `2` text = `2 Maxlines ... Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat` ) .
-
- layout->text( wrapping = abap_false text = `No wrapping ... Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat` ) .
-
- layout->message_strip( type = `Warning`
- text = `Note: The multi line overflow indicator depends on the browser line clamping support. ` &&
- `For such browsers this will be shown as ellipsis, for the other browsers the overflow will just be hidden.` ).
+ )->page( title = 'abap2UI5 - Sample: Text - Max Lines'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+
+ layout->text(
+ text = |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat| )->get_parent( )->get_parent( ).
+
+ layout->text(
+ maxlines = `4`
+ text = |4 Maxlines ... Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+|At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat| ).
+
+ layout->text(
+ maxlines = `3`
+ text = |3 Maxlines ... Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+|At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat| ).
+
+ layout->text(
+ maxlines = `2`
+ text = |2 Maxlines ... Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+|At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat| ).
+
+ layout->text(
+ wrapping = abap_false
+ text = |No wrapping ... Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+|At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+|Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat| ).
+
+ layout->message_strip(
+ type = `Warning`
+ text = |Note: The multi line overflow indicator depends on the browser line clamping support. | &&
+ |For such browsers this will be shown as ellipsis, for the other browsers the overflow will just be hidden.| ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
@@ -81,8 +87,7 @@ CLASS z2ui5_cl_demo_app_206 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -92,4 +97,5 @@ CLASS z2ui5_cl_demo_app_206 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_207.clas.abap b/src/z2ui5_cl_demo_app_207.clas.abap
index b008e8eb..022c409f 100644
--- a/src/z2ui5_cl_demo_app_207.clas.abap
+++ b/src/z2ui5_cl_demo_app_207.clas.abap
@@ -1,18 +1,18 @@
-class Z2UI5_CL_DEMO_APP_207 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_207 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,22 +21,22 @@ public section.
ENDCLASS.
+CLASS z2ui5_cl_demo_app_207 IMPLEMENTATION.
-CLASS Z2UI5_CL_DEMO_APP_207 IMPLEMENTATION.
-
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Radio Button`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Radio Button`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(layout) = page->vbox( class = `sapUiSmallMargin`
- )->label( text = `Default RadioButton use` labelfor = `GroupA`
+ )->label( text = `Default RadioButton use`
+ labelfor = `GroupA`
)->radio_button_group( id = `GroupA`
- )->radio_button( text = `Option 1` selected = abap_true )->get_parent(
+ )->radio_button( text = `Option 1`
+ selected = abap_true )->get_parent(
)->radio_button( text = `Option 2` )->get_parent(
)->radio_button( text = `Option 3` )->get_parent(
)->radio_button( text = `Option 4` )->get_parent(
@@ -45,24 +45,36 @@ CLASS Z2UI5_CL_DEMO_APP_207 IMPLEMENTATION.
)->label( text = `RadioButton in various ValueState variants`
)->hbox( class = `sapUiTinyMarginTopBottom`
)->vbox( class = `sapUiMediumMarginEnd`
- )->label( text = `Success` labelfor = `GroupB`
- )->radio_button_group( id = `GroupB` valueState = `Success`
- )->radio_button( text = `Option 1` selected = abap_true )->get_parent(
+ )->label( text = `Success`
+ labelfor = `GroupB`
+ )->radio_button_group( id = `GroupB`
+ valueState = `Success`
+ )->radio_button( text = `Option 1`
+ selected = abap_true )->get_parent(
)->radio_button( text = `Option 2` )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiMediumMarginEnd`
- )->label( text = `Error` labelfor = `GroupC`
- )->radio_button_group( id = `GroupC` valueState = `Error`
- )->radio_button( text = `Option 1` selected = abap_true )->get_parent(
+ )->label( text = `Error`
+ labelfor = `GroupC`
+ )->radio_button_group( id = `GroupC`
+ valueState = `Error`
+ )->radio_button( text = `Option 1`
+ selected = abap_true )->get_parent(
)->radio_button( text = `Option 2` )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiMediumMarginEnd`
- )->label( text = `Warning` labelfor = `GroupD`
- )->radio_button_group( id = `GroupD` valueState = `Warning`
- )->radio_button( text = `Option 1` selected = abap_true )->get_parent(
+ )->label( text = `Warning`
+ labelfor = `GroupD`
+ )->radio_button_group( id = `GroupD`
+ valueState = `Warning`
+ )->radio_button( text = `Option 1`
+ selected = abap_true )->get_parent(
)->radio_button( text = `Option 2` )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiMediumMarginEnd`
- )->label( text = `Information` labelfor = `GroupE`
- )->radio_button_group( id = `GroupE` valueState = `Information`
- )->radio_button( text = `Option 1` selected = abap_true )->get_parent(
+ )->label( text = `Information`
+ labelfor = `GroupE`
+ )->radio_button_group( id = `GroupE`
+ valueState = `Information`
+ )->radio_button( text = `Option 1`
+ selected = abap_true )->get_parent(
)->radio_button( text = `Option 2` )->get_parent(
).
@@ -70,8 +82,7 @@ CLASS Z2UI5_CL_DEMO_APP_207 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -80,8 +91,7 @@ CLASS Z2UI5_CL_DEMO_APP_207 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -91,4 +101,5 @@ CLASS Z2UI5_CL_DEMO_APP_207 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_208.clas.abap b/src/z2ui5_cl_demo_app_208.clas.abap
index 378f537f..f81d9f4b 100644
--- a/src/z2ui5_cl_demo_app_208.clas.abap
+++ b/src/z2ui5_cl_demo_app_208.clas.abap
@@ -1,18 +1,18 @@
-class Z2UI5_CL_DEMO_APP_208 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_208 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,49 +21,78 @@ public section.
ENDCLASS.
+CLASS z2ui5_cl_demo_app_208 IMPLEMENTATION.
-CLASS Z2UI5_CL_DEMO_APP_208 IMPLEMENTATION.
-
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Radio Button Group`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Radio Button Group`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(layout) = page->vbox( class = `sapUiSmallMargin`
- )->label( labelfor = `rbg1` text = `An example with 'matrix' layout`
- )->radio_button_group( id = `rbg1` columns = `3` width = `100%` class = `sapUiMediumMarginBottom`
- )->radio_button( id = `RB1-1` text = `Long Option Number 1` )->get_parent(
- )->radio_button( id = `RB1-2` text = `Option 2` enabled = abap_false )->get_parent(
- )->radio_button( id = `RB1-3` text = `Nr. 3` editable = abap_false )->get_parent(
- )->radio_button( id = `RB1-4` text = `Long Option 4` )->get_parent(
- )->radio_button( id = `RB1-5` text = `Option 5` )->get_parent(
- )->radio_button( id = `RB1-6` text = `Nr. 6` )->get_parent( )->get_parent(
- )->label( labelfor = `rbg2` text = `An example with 3 buttons and 2 columns`
- )->radio_button_group( id = `rbg2` columns = `2` selectedindex = `2` class = `sapUiMediumMarginBottom`
- )->radio_button( id = `RB2-1` text = `Option 1` )->get_parent(
- )->radio_button( id = `RB2-2` text = `Option 2` editable = abap_false )->get_parent(
- )->radio_button( id = `RB2-3` text = `Option 3` )->get_parent( )->get_parent(
- )->label( labelfor = `rbg3` text = `If the number of columns is equal to or exceeds the number of radio buttons they align horizontally`
- )->radio_button_group( id = `rbg3` columns = `5` valuestate = `Error` class = `sapUiMediumMarginBottom`
- )->radio_button( id = `RB3-1` text = `Option 1` )->get_parent(
- )->radio_button( id = `RB3-2` text = `Option 2` )->get_parent(
- )->radio_button( id = `RB3-3` text = `Option 3` )->get_parent( )->get_parent(
- )->label( labelfor = `rbg4` text = `An example of a group in warning state`
- )->radio_button_group( id = `rbg4` valuestate = `Warning`
- )->radio_button( id = `RB4-1` text = `Option 1` )->get_parent(
- )->radio_button( id = `RB4-2` text = `Option 2` )->get_parent(
+ )->label( labelfor = `rbg1`
+ text = `An example with 'matrix' layout`
+ )->radio_button_group( id = `rbg1`
+ columns = `3`
+ width = `100%`
+ class = `sapUiMediumMarginBottom`
+ )->radio_button( id = `RB1-1`
+ text = `Long Option Number 1` )->get_parent(
+ )->radio_button( id = `RB1-2`
+ text = `Option 2`
+ enabled = abap_false )->get_parent(
+ )->radio_button( id = `RB1-3`
+ text = `Nr. 3`
+ editable = abap_false )->get_parent(
+ )->radio_button( id = `RB1-4`
+ text = `Long Option 4` )->get_parent(
+ )->radio_button( id = `RB1-5`
+ text = `Option 5` )->get_parent(
+ )->radio_button( id = `RB1-6`
+ text = `Nr. 6` )->get_parent( )->get_parent(
+ )->label( labelfor = `rbg2`
+ text = `An example with 3 buttons and 2 columns`
+ )->radio_button_group( id = `rbg2`
+ columns = `2`
+ selectedindex = `2`
+ class = `sapUiMediumMarginBottom`
+ )->radio_button( id = `RB2-1`
+ text = `Option 1` )->get_parent(
+ )->radio_button( id = `RB2-2`
+ text = `Option 2`
+ editable = abap_false )->get_parent(
+ )->radio_button( id = `RB2-3`
+ text = `Option 3` )->get_parent( )->get_parent(
+ )->label(
+ labelfor = `rbg3`
+ text = `If the number of columns is equal to or exceeds the number of radio buttons they align horizontally`
+ )->radio_button_group( id = `rbg3`
+ columns = `5`
+ valuestate = `Error`
+ class = `sapUiMediumMarginBottom`
+ )->radio_button( id = `RB3-1`
+ text = `Option 1` )->get_parent(
+ )->radio_button( id = `RB3-2`
+ text = `Option 2` )->get_parent(
+ )->radio_button( id = `RB3-3`
+ text = `Option 3` )->get_parent( )->get_parent(
+ )->label( labelfor = `rbg4`
+ text = `An example of a group in warning state`
+ )->radio_button_group( id = `rbg4`
+ valuestate = `Warning`
+ )->radio_button( id = `RB4-1`
+ text = `Option 1` )->get_parent(
+ )->radio_button( id = `RB4-2`
+ text = `Option 2` )->get_parent(
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -72,8 +101,7 @@ CLASS Z2UI5_CL_DEMO_APP_208 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -83,4 +111,5 @@ CLASS Z2UI5_CL_DEMO_APP_208 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_209.clas.abap b/src/z2ui5_cl_demo_app_209.clas.abap
index 98ff30b5..ceeaa5a1 100644
--- a/src/z2ui5_cl_demo_app_209.clas.abap
+++ b/src/z2ui5_cl_demo_app_209.clas.abap
@@ -1,18 +1,18 @@
-class Z2UI5_CL_DEMO_APP_209 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_209 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,66 +21,125 @@ public section.
ENDCLASS.
+CLASS z2ui5_cl_demo_app_209 IMPLEMENTATION.
-CLASS Z2UI5_CL_DEMO_APP_209 IMPLEMENTATION.
-
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: InfoLabel'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->scroll_container( vertical = abap_true height = `100%`
- )->flex_box( direction = `Column` alignitems = `Start` class = `sapUiMediumMargin`
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Color Scheme 1` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il1` text = `2` rendermode = `Narrow` colorscheme = `1` )->get_parent( )->get_parent(
-
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Color Scheme 2` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il2` text = `5` rendermode = `Narrow` colorscheme = `2` )->get_parent( )->get_parent(
-
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Color Scheme 3` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il3` text = `12.5` rendermode = `Narrow` colorscheme = `3` )->get_parent( )->get_parent(
-
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Color Scheme 4` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il4` text = `2K` rendermode = `Narrow` colorscheme = `4` )->get_parent( )->get_parent(
-
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Color Scheme 5` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il5` text = `text info label` rendermode = `Loose` colorscheme = `5` )->get_parent( )->get_parent(
-
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Color Scheme 6` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il6` text = `just a long info label` colorscheme = `6` width = `140px` )->get_parent( )->get_parent(
-
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Color Scheme 7` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il7` text = `label shorter than width` colorscheme = `7` width = `250px` )->get_parent( )->get_parent(
-
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Color Scheme 8` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il8` text = `with icon` colorscheme = `8` icon = `sap-icon://home-share` )->get_parent( )->get_parent(
-
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Color Scheme 9` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il9` text = `in warehouse` colorscheme = `9` )->get_parent( )->get_parent(
-
- )->flex_box( direction = `Row` alignitems = `Start` class = `sapUiTinyMarginBottom`
- )->text( text = `Any Color Scheme in Display Only Mode` class = `sapUiTinyMarginEnd`
- )->info_label( id = `il10` text = `display only in form` colorscheme = `1` displayonly = abap_true ).
+ )->page( title = 'abap2UI5 - Sample: InfoLabel'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->scroll_container( vertical = abap_true
+ height = `100%`
+ )->flex_box( direction = `Column`
+ alignitems = `Start`
+ class = `sapUiMediumMargin`
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Color Scheme 1`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il1`
+ text = `2`
+ rendermode = `Narrow`
+ colorscheme = `1` )->get_parent( )->get_parent(
+
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Color Scheme 2`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il2`
+ text = `5`
+ rendermode = `Narrow`
+ colorscheme = `2` )->get_parent( )->get_parent(
+
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Color Scheme 3`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il3`
+ text = `12.5`
+ rendermode = `Narrow`
+ colorscheme = `3` )->get_parent( )->get_parent(
+
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Color Scheme 4`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il4`
+ text = `2K`
+ rendermode = `Narrow`
+ colorscheme = `4` )->get_parent( )->get_parent(
+
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Color Scheme 5`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il5`
+ text = `text info label`
+ rendermode = `Loose`
+ colorscheme = `5` )->get_parent( )->get_parent(
+
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Color Scheme 6`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il6`
+ text = `just a long info label`
+ colorscheme = `6`
+ width = `140px` )->get_parent( )->get_parent(
+
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Color Scheme 7`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il7`
+ text = `label shorter than width`
+ colorscheme = `7`
+ width = `250px` )->get_parent( )->get_parent(
+
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Color Scheme 8`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il8`
+ text = `with icon`
+ colorscheme = `8`
+ icon = `sap-icon://home-share` )->get_parent( )->get_parent(
+
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Color Scheme 9`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il9`
+ text = `in warehouse`
+ colorscheme = `9` )->get_parent( )->get_parent(
+
+ )->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = `sapUiTinyMarginBottom`
+ )->text( text = `Any Color Scheme in Display Only Mode`
+ class = `sapUiTinyMarginEnd`
+ )->info_label( id = `il10`
+ text = `display only in form`
+ colorscheme = `1`
+ displayonly = abap_true ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -89,8 +148,7 @@ CLASS Z2UI5_CL_DEMO_APP_209 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -100,4 +158,5 @@ CLASS Z2UI5_CL_DEMO_APP_209 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_210.clas.abap b/src/z2ui5_cl_demo_app_210.clas.abap
index 306e9b59..904b76eb 100644
--- a/src/z2ui5_cl_demo_app_210.clas.abap
+++ b/src/z2ui5_cl_demo_app_210.clas.abap
@@ -1,18 +1,18 @@
-class Z2UI5_CL_DEMO_APP_210 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_210 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,55 +21,57 @@ public section.
ENDCLASS.
+CLASS z2ui5_cl_demo_app_210 IMPLEMENTATION.
-CLASS Z2UI5_CL_DEMO_APP_210 IMPLEMENTATION.
-
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Input - Types'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Input - Types'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
- layout->label( text = `Text` labelfor = `inputText` ).
- layout->input( id = `inputText`
+ layout->label( text = `Text`
+ labelfor = `inputText` ).
+ layout->input( id = `inputText`
placeholder = `Enter text`
- class = `sapUiSmallMarginBottom` ).
+ class = `sapUiSmallMarginBottom` ).
- layout->label( text = `Email` labelfor = `inputEmail` ).
- layout->input( id = `inputEmail`
- type = `Email`
+ layout->label( text = `Email`
+ labelfor = `inputEmail` ).
+ layout->input( id = `inputEmail`
+ type = `Email`
placeholder = `Enter email`
- class = `sapUiSmallMarginBottom` ).
+ class = `sapUiSmallMarginBottom` ).
- layout->label( text = `Telephone` labelfor = `inputTel` ).
- layout->input( id = `inputTel`
- type = `Tel`
+ layout->label( text = `Telephone`
+ labelfor = `inputTel` ).
+ layout->input( id = `inputTel`
+ type = `Tel`
placeholder = `Enter telephone number`
- class = `sapUiSmallMarginBottom` ).
+ class = `sapUiSmallMarginBottom` ).
- layout->label( text = `Number` labelfor = `inputNumber` ).
- layout->input( id = `inputNumber`
- type = `Number`
+ layout->label( text = `Number`
+ labelfor = `inputNumber` ).
+ layout->input( id = `inputNumber`
+ type = `Number`
placeholder = `Enter a number`
- class = `sapUiSmallMarginBottom` ).
+ class = `sapUiSmallMarginBottom` ).
- layout->label( text = `URL` labelfor = `inputUrl` ).
- layout->input( id = `inputUrl`
- type = `Url`
+ layout->label( text = `URL`
+ labelfor = `inputUrl` ).
+ layout->input( id = `inputUrl`
+ type = `Url`
placeholder = `Enter URL`
- class = `sapUiSmallMarginBottom` ).
+ class = `sapUiSmallMarginBottom` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -78,8 +80,7 @@ CLASS Z2UI5_CL_DEMO_APP_210 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -89,4 +90,5 @@ CLASS Z2UI5_CL_DEMO_APP_210 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_211.clas.abap b/src/z2ui5_cl_demo_app_211.clas.abap
index e176eee3..143f3afb 100644
--- a/src/z2ui5_cl_demo_app_211.clas.abap
+++ b/src/z2ui5_cl_demo_app_211.clas.abap
@@ -32,8 +32,6 @@ CLASS z2ui5_cl_demo_app_211 DEFINITION
METHODS on_event.
METHODS render_Main.
-
-
METHODS Render_sub_app.
PRIVATE SECTION.
@@ -43,7 +41,6 @@ ENDCLASS.
CLASS z2ui5_cl_demo_app_211 IMPLEMENTATION.
-
METHOD on_event.
CASE client->get( )-event.
WHEN 'ONSELECTICONTABBAR'.
@@ -160,14 +157,14 @@ CLASS z2ui5_cl_demo_app_211 IMPLEMENTATION.
ENDCASE.
- ASSIGN mo_app->('MV_VIEW_DISPLAY') TO FIELD-SYMBOL().
+ ASSIGN mo_app->('MV_VIEW_DISPLAY') TO FIELD-SYMBOL().
IF = abap_true.
= abap_false.
client->view_display( mo_main_page->stringify( ) ).
ENDIF.
- ASSIGN mo_app->('MV_VIEW_MODEL_UPDATE') TO FIELD-SYMBOL().
+ ASSIGN mo_app->('MV_VIEW_MODEL_UPDATE') TO FIELD-SYMBOL().
IF = abap_true.
= abap_false.
diff --git a/src/z2ui5_cl_demo_app_212.clas.abap b/src/z2ui5_cl_demo_app_212.clas.abap
index 7120351d..9caf0342 100644
--- a/src/z2ui5_cl_demo_app_212.clas.abap
+++ b/src/z2ui5_cl_demo_app_212.clas.abap
@@ -14,12 +14,12 @@ CLASS z2ui5_cl_demo_app_212 DEFINITION
METHODS set_app_data
IMPORTING
- !table TYPE string.
+ table TYPE string.
PROTECTED SECTION.
- DATA mv_table TYPE string.
- DATA mt_comp TYPE abap_component_tab.
- DATA mt_dfies TYPE z2ui5_cl_util=>ty_t_dfies.
+ DATA mv_table TYPE string.
+ DATA mt_comp TYPE abap_component_tab.
+ DATA mt_dfies TYPE z2ui5_cl_util=>ty_t_dfies.
DATA client TYPE REF TO z2ui5_if_client.
DATA check_initialized TYPE abap_bool.
@@ -43,7 +43,7 @@ CLASS z2ui5_cl_demo_app_212 DEFINITION
METHODS prefill_popup_values
IMPORTING
- !index TYPE string.
+ index TYPE string.
METHODS render_popup.
@@ -142,11 +142,11 @@ CLASS z2ui5_cl_demo_app_212 IMPLEMENTATION.
* DATA(text) = ms_layout-t_layout[ fname = dfies->fieldname ]-tlabel.
- content->label( text = `text` ).
+ content->label( text = `text` ).
- content->input( value = client->_bind_edit( )
- enabled = abap_false
- showvaluehelp = abap_false ).
+ content->input( value = client->_bind_edit( )
+ enabled = abap_false
+ showvaluehelp = abap_false ).
ENDLOOP.
@@ -198,7 +198,7 @@ CLASS z2ui5_cl_demo_app_212 IMPLEMENTATION.
width = 'auto'
items = client->_bind_edit( val = ) ).
- " TODO: variable is assigned but never used (ABAP cleaner)
+ " TODO: variable is assigned but only used in commented-out code (ABAP cleaner)
DATA(headder) = table->header_toolbar(
)->overflow_toolbar(
)->toolbar_spacer( ).
diff --git a/src/z2ui5_cl_demo_app_213.clas.abap b/src/z2ui5_cl_demo_app_213.clas.abap
index 183f7b5e..40b30692 100644
--- a/src/z2ui5_cl_demo_app_213.clas.abap
+++ b/src/z2ui5_cl_demo_app_213.clas.abap
@@ -1,17 +1,17 @@
-class Z2UI5_CL_DEMO_APP_213 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_213 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,30 +20,28 @@ public section.
ENDCLASS.
+CLASS z2ui5_cl_demo_app_213 IMPLEMENTATION.
-CLASS Z2UI5_CL_DEMO_APP_213 IMPLEMENTATION.
-
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Input - Password'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
- layout->label( text = `Password` labelfor = `passwordInput` ).
- layout->input( id = `passwordInput`
- type = `Password`
- placeholder = `Enter password`).
+ )->page( title = 'abap2UI5 - Sample: Input - Password'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+ layout->label( text = `Password`
+ labelfor = `passwordInput` ).
+ layout->input( id = `passwordInput`
+ type = `Password`
+ placeholder = `Enter password` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -52,8 +50,7 @@ CLASS Z2UI5_CL_DEMO_APP_213 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -63,4 +60,5 @@ CLASS Z2UI5_CL_DEMO_APP_213 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_214.clas.abap b/src/z2ui5_cl_demo_app_214.clas.abap
index b8e1ec89..c32ab7bf 100644
--- a/src/z2ui5_cl_demo_app_214.clas.abap
+++ b/src/z2ui5_cl_demo_app_214.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_214 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_214 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,32 +20,35 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_214 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Standalone Icon Tab Header'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Standalone Icon Tab Header'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->icon_tab_header( mode = `Inline`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->icon_tab_header( mode = `Inline`
)->items(
- )->icon_tab_filter( key = `info` text = `Info` )->get_parent(
- )->icon_tab_filter( key = `attachments` text = `Attachments` count = `3` )->get_parent(
- )->icon_tab_filter( key = `notes` text = `Notes` count = `12` )->get_parent(
- )->icon_tab_filter( key = `people` text = `People`
+ )->icon_tab_filter( key = `info`
+ text = `Info` )->get_parent(
+ )->icon_tab_filter( key = `attachments`
+ text = `Attachments`
+ count = `3` )->get_parent(
+ )->icon_tab_filter( key = `notes`
+ text = `Notes`
+ count = `12` )->get_parent(
+ )->icon_tab_filter( key = `people`
+ text = `People`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -54,8 +57,7 @@ CLASS z2ui5_cl_demo_app_214 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -65,4 +67,5 @@ CLASS z2ui5_cl_demo_app_214 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_215.clas.abap b/src/z2ui5_cl_demo_app_215.clas.abap
index 44b0ac89..8a58d307 100644
--- a/src/z2ui5_cl_demo_app_215.clas.abap
+++ b/src/z2ui5_cl_demo_app_215.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_215 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_215 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,30 +20,30 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_215 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Busy Indicator'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
- layout->busy_indicator( text = `... something is happening` class = `sapUiTinyMarginBottom` ).
- layout->hbox( justifycontent = `Start` alignitems = `Center`
+ )->page( title = 'abap2UI5 - Sample: Busy Indicator'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+ layout->busy_indicator( text = `... something is happening`
+ class = `sapUiTinyMarginBottom` ).
+ layout->hbox( justifycontent = `Start`
+ alignitems = `Center`
)->busy_indicator( size = `3em` ).
- layout->busy_indicator( size = `1.6rem` class = `sapUiMediumMarginBegin` ).
+ layout->busy_indicator( size = `1.6rem`
+ class = `sapUiMediumMarginBegin` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -52,8 +52,7 @@ CLASS z2ui5_cl_demo_app_215 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -63,4 +62,5 @@ CLASS z2ui5_cl_demo_app_215 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_216.clas.abap b/src/z2ui5_cl_demo_app_216.clas.abap
index 9ad1c347..a2be7539 100644
--- a/src/z2ui5_cl_demo_app_216.clas.abap
+++ b/src/z2ui5_cl_demo_app_216.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_216 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_216 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,19 +21,17 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_216 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Action List Item'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Action List Item'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->list( headertext = `Actions`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->list( headertext = `Actions`
)->action_list_item( text = `Reject` )->get_parent(
)->action_list_item( text = `Accept` )->get_parent(
)->action_list_item( text = `Email` )->get_parent(
@@ -45,8 +43,7 @@ CLASS z2ui5_cl_demo_app_216 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -55,8 +52,7 @@ CLASS z2ui5_cl_demo_app_216 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -66,4 +62,5 @@ CLASS z2ui5_cl_demo_app_216 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_217.clas.abap b/src/z2ui5_cl_demo_app_217.clas.abap
index c8d461ce..35c35b9b 100644
--- a/src/z2ui5_cl_demo_app_217.clas.abap
+++ b/src/z2ui5_cl_demo_app_217.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_217 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_217 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,32 +21,31 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_217 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Placing a Title in OverflowToolbar/Toolbar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Placing a Title in OverflowToolbar/Toolbar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->overflow_toolbar( design = `Transparent` height = `3rem`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->overflow_toolbar( design = `Transparent`
+ height = `3rem`
)->title( text = `Title Only` ).
- page->overflow_toolbar( design = `Transparent` height = `3rem`
- )->title( text = `Title and Actions`
- )->toolbar_spacer(
- )->button( icon = `sap-icon://group-2`
- )->button( icon = `sap-icon://action-settings` ).
+ page->overflow_toolbar( design = `Transparent`
+ height = `3rem`
+ )->title( text = `Title and Actions`
+ )->toolbar_spacer(
+ )->button( icon = `sap-icon://group-2`
+ )->button( icon = `sap-icon://action-settings` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -55,8 +54,7 @@ CLASS z2ui5_cl_demo_app_217 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -66,4 +64,5 @@ CLASS z2ui5_cl_demo_app_217 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_218.clas.abap b/src/z2ui5_cl_demo_app_218.clas.abap
index cfd476d0..4b2d71fd 100644
--- a/src/z2ui5_cl_demo_app_218.clas.abap
+++ b/src/z2ui5_cl_demo_app_218.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_218 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_218 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,30 +21,30 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_218 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Flex Box - Opposing Alignment`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Flex Box - Opposing Alignment`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(layout) = page->panel( headertext = `Horizontally opposing flex items`
- )->flex_box( alignItems = `Start` justifyContent = `SpaceBetween`
- )->button( text = `1` type = `Accept`
- )->button( text = `2` type = `Reject`
+ )->flex_box( alignItems = `Start`
+ justifyContent = `SpaceBetween`
+ )->button( text = `1`
+ type = `Accept`
+ )->button( text = `2`
+ type = `Reject`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -53,8 +53,7 @@ CLASS z2ui5_cl_demo_app_218 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -64,4 +63,5 @@ CLASS z2ui5_cl_demo_app_218 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_219.clas.abap b/src/z2ui5_cl_demo_app_219.clas.abap
index 08985386..e26c1f9b 100644
--- a/src/z2ui5_cl_demo_app_219.clas.abap
+++ b/src/z2ui5_cl_demo_app_219.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_219 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_219 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,52 +20,57 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_219 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Input List Item'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Input List Item'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->list( headertext = `Input`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->list( headertext = `Input`
)->input_list_item( label = `WLAN`
)->switch( state = `true` )->get_parent(
)->input_list_item( label = `Flight Mode`
)->checkbox( selected = `true` )->get_parent(
)->input_list_item( label = `High Performance`
)->radio_button( groupname = `GroupInputListItem`
- selected = abap_true )->get_parent( )->get_parent(
+ selected = abap_true )->get_parent( )->get_parent(
)->input_list_item( label = `Battery Saving`
)->radio_button( groupname = `GroupInputListItem` )->get_parent( )->get_parent(
)->input_list_item( label = `Price (EUR)`
)->input( placeholder = `Price`
- value = `799`
- type = `Number` )->get_parent(
+ value = `799`
+ type = `Number` )->get_parent(
)->input_list_item( label = `Address`
)->input( placeholder = `Address`
- value = `Main Rd, Manchester` )->get_parent(
+ value = `Main Rd, Manchester` )->get_parent(
)->input_list_item( label = `Country`
)->select(
- )->item( key = `GR` text = `Greece`
- )->item( key = `MX` text = `Mexico`
- )->item( key = `NO` text = `Norway`
- )->item( key = `NX` text = `New Zealand`
- )->item( key = `NL` text = `Netherlands` )->get_parent( )->get_parent(
+ )->item( key = `GR`
+ text = `Greece`
+ )->item( key = `MX`
+ text = `Mexico`
+ )->item( key = `NO`
+ text = `Norway`
+ )->item( key = `NX`
+ text = `New Zealand`
+ )->item( key = `NL`
+ text = `Netherlands` )->get_parent( )->get_parent(
)->input_list_item( label = `Volume`
- )->slider( min = `0` max = `10` value = `7` width = `200px`
+ )->slider( min = `0`
+ max = `10`
+ value = `7`
+ width = `200px`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -74,8 +79,7 @@ CLASS z2ui5_cl_demo_app_219 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -85,4 +89,5 @@ CLASS z2ui5_cl_demo_app_219 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_220.clas.abap b/src/z2ui5_cl_demo_app_220.clas.abap
index 0f00c9ac..ab45b731 100644
--- a/src/z2ui5_cl_demo_app_220.clas.abap
+++ b/src/z2ui5_cl_demo_app_220.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_220 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_220 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,56 +21,115 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_220 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Rating Indicator'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` ).
- layout->label( text = `Rating Indicator default size` labelfor = `RI_default` ).
- layout->rating_indicator( id = `RI_default` maxValue = `5` class = `sapUiSmallMarginBottom` value = `4` tooltip = `Rating Tooltip` ).
-
- layout->label( text = `Rating Indicator with size L` labelfor = `RI_L` ).
- layout->rating_indicator( id = `RI_L` maxValue = `5` class = `sapUiSmallMarginBottom` value = `4` iconSize = `32px` tooltip = `Rating Tooltip` ).
-
- layout->label( text = `Rating Indicator with size M` labelfor = `RI_M` ).
- layout->rating_indicator( id = `RI_M` maxValue = `5` class = `sapUiSmallMarginBottom` value = `4` iconSize = `22px` tooltip = `Rating Tooltip` ).
-
- layout->label( text = `Rating Indicator with size S` labelfor = `RI_S` ).
- layout->rating_indicator( id = `RI_S` maxValue = `5` class = `sapUiSmallMarginBottom` value = `4` iconSize = `16px` tooltip = `Rating Tooltip` ).
-
- layout->label( text = `Rating Indicator with size XS` labelfor = `RI_XS` ).
- layout->rating_indicator( id = `RI_XS` maxValue = `5` class = `sapUiSmallMarginBottom` value = `4` iconSize = `12px` tooltip = `Rating Tooltip` ).
-
- layout->label( text = `Rating Indicator with non active state` labelfor = `RI_EnabledFalse` ).
- layout->rating_indicator( id = `RI_EnabledFalse` maxValue = `5` enabled = `false` class = `sapUiSmallMarginBottom` value = `4` iconSize = `12px` tooltip = `Rating Tooltip` ).
-
- layout->label( text = `Rating Indicator display only` labelfor = `RI_display_only` ).
- layout->rating_indicator( id = `RI_display_only` maxValue = `5` class = `sapUiSmallMarginBottom` value = `4` tooltip = `Rating Tooltip` displayonly = abap_true ).
-
- layout->label( text = `Rating Indicator readonly mode` labelfor = `RI_read_only` ).
- layout->rating_indicator( id = `RI_read_only` maxValue = `5` class = `sapUiSmallMarginBottom` value = `4` tooltip = `Rating Tooltip` editable = `false` ).
-
- layout->label( text = `Rating Indicator with different maxValue` labelfor = `RI_maxValue` ).
- layout->rating_indicator( id = `RI_maxValue` maxValue = `8` class = `sapUiSmallMarginBottom` value = `4` tooltip = `Rating Tooltip` ).
- layout->rating_indicator( maxValue = `7` class = `sapUiSmallMarginBottom` value = `4` tooltip = `Rating Tooltip` ).
- layout->rating_indicator( maxValue = `6` class = `sapUiSmallMarginBottom` value = `3` tooltip = `Rating Tooltip` ).
- layout->rating_indicator( maxValue = `5` class = `sapUiSmallMarginBottom` value = `2` ).
- layout->rating_indicator( maxValue = `4` class = `sapUiSmallMarginBottom` value = `2` ).
+ )->page( title = 'abap2UI5 - Sample: Rating Indicator'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` ).
+ layout->label( text = `Rating Indicator default size`
+ labelfor = `RI_default` ).
+ layout->rating_indicator( id = `RI_default`
+ maxValue = `5`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ tooltip = `Rating Tooltip` ).
+
+ layout->label( text = `Rating Indicator with size L`
+ labelfor = `RI_L` ).
+ layout->rating_indicator( id = `RI_L`
+ maxValue = `5`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ iconSize = `32px`
+ tooltip = `Rating Tooltip` ).
+
+ layout->label( text = `Rating Indicator with size M`
+ labelfor = `RI_M` ).
+ layout->rating_indicator( id = `RI_M`
+ maxValue = `5`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ iconSize = `22px`
+ tooltip = `Rating Tooltip` ).
+
+ layout->label( text = `Rating Indicator with size S`
+ labelfor = `RI_S` ).
+ layout->rating_indicator( id = `RI_S`
+ maxValue = `5`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ iconSize = `16px`
+ tooltip = `Rating Tooltip` ).
+
+ layout->label( text = `Rating Indicator with size XS`
+ labelfor = `RI_XS` ).
+ layout->rating_indicator( id = `RI_XS`
+ maxValue = `5`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ iconSize = `12px`
+ tooltip = `Rating Tooltip` ).
+
+ layout->label( text = `Rating Indicator with non active state`
+ labelfor = `RI_EnabledFalse` ).
+ layout->rating_indicator( id = `RI_EnabledFalse`
+ maxValue = `5`
+ enabled = `false`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ iconSize = `12px`
+ tooltip = `Rating Tooltip` ).
+
+ layout->label( text = `Rating Indicator display only`
+ labelfor = `RI_display_only` ).
+ layout->rating_indicator( id = `RI_display_only`
+ maxValue = `5`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ tooltip = `Rating Tooltip`
+ displayonly = abap_true ).
+
+ layout->label( text = `Rating Indicator readonly mode`
+ labelfor = `RI_read_only` ).
+ layout->rating_indicator( id = `RI_read_only`
+ maxValue = `5`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ tooltip = `Rating Tooltip`
+ editable = `false` ).
+
+ layout->label( text = `Rating Indicator with different maxValue`
+ labelfor = `RI_maxValue` ).
+ layout->rating_indicator( id = `RI_maxValue`
+ maxValue = `8`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ tooltip = `Rating Tooltip` ).
+ layout->rating_indicator( maxValue = `7`
+ class = `sapUiSmallMarginBottom`
+ value = `4`
+ tooltip = `Rating Tooltip` ).
+ layout->rating_indicator( maxValue = `6`
+ class = `sapUiSmallMarginBottom`
+ value = `3`
+ tooltip = `Rating Tooltip` ).
+ layout->rating_indicator( maxValue = `5`
+ class = `sapUiSmallMarginBottom`
+ value = `2` ).
+ layout->rating_indicator( maxValue = `4`
+ class = `sapUiSmallMarginBottom`
+ value = `2` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -79,8 +138,7 @@ CLASS z2ui5_cl_demo_app_220 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -90,4 +148,5 @@ CLASS z2ui5_cl_demo_app_220 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_221.clas.abap b/src/z2ui5_cl_demo_app_221.clas.abap
index 57fbb1f5..b5b816a1 100644
--- a/src/z2ui5_cl_demo_app_221.clas.abap
+++ b/src/z2ui5_cl_demo_app_221.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_221 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_221 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,33 +21,33 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_221 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Icon Tab Bar - Icons Only'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Icon Tab Bar - Icons Only'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->icon_tab_bar( id = `idIconTabBarMulti`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->icon_tab_bar( id = `idIconTabBarMulti`
expanded = `{device>/isNoPhone}`
- class = `sapUiResponsiveContentPadding`
+ class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( icon = `sap-icon://hint` key = `info`
+ )->icon_tab_filter( icon = `sap-icon://hint`
+ key = `info`
)->text( text = `Info content goes here ...` )->get_parent(
- )->icon_tab_filter( icon = `sap-icon://attachment`
- key = `attachments`
+ )->icon_tab_filter( icon = `sap-icon://attachment`
+ key = `attachments`
count = `3`
)->text( text = `Attachments go here ...` )->get_parent(
- )->icon_tab_filter( icon = `sap-icon://notes`
- key = `notes`
+ )->icon_tab_filter( icon = `sap-icon://notes`
+ key = `notes`
count = `12`
)->text( text = `Notes go here ...` )->get_parent(
- )->icon_tab_filter( icon = `sap-icon://group` key = `people`
+ )->icon_tab_filter( icon = `sap-icon://group`
+ key = `people`
)->text( text = `People content goes here ...`
).
@@ -55,8 +55,7 @@ CLASS z2ui5_cl_demo_app_221 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -65,8 +64,7 @@ CLASS z2ui5_cl_demo_app_221 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -76,4 +74,5 @@ CLASS z2ui5_cl_demo_app_221 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_222.clas.abap b/src/z2ui5_cl_demo_app_222.clas.abap
index 828c0c72..4087b4ac 100644
--- a/src/z2ui5_cl_demo_app_222.clas.abap
+++ b/src/z2ui5_cl_demo_app_222.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_222 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_222 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,36 +20,34 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_222 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Icon Tab Bar - Text and Count'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Icon Tab Bar - Text and Count'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->icon_tab_bar( id = `idIconTabBarFiori2`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->icon_tab_bar( id = `idIconTabBarFiori2`
expanded = `{device>/isNoPhone}`
- class = `sapUiResponsiveContentPadding`
+ class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( text = `Info`
- key = `info`
+ )->icon_tab_filter( text = `Info`
+ key = `info`
count = `3`
)->text( text = `Info content goes here ...` )->get_parent(
- )->icon_tab_filter( text = `Attachments`
- key = `attachments`
+ )->icon_tab_filter( text = `Attachments`
+ key = `attachments`
count = `4321`
)->text( text = `Attachments go here ...` )->get_parent(
- )->icon_tab_filter( text = `Notes`
- key = `notes`
+ )->icon_tab_filter( text = `Notes`
+ key = `notes`
count = `333`
)->text( text = `Notes go here ...` )->get_parent(
- )->icon_tab_filter( text = `People`
- key = `people`
+ )->icon_tab_filter( text = `People`
+ key = `people`
count = `34`
)->text( text = `People content goes here ...`
).
@@ -58,8 +56,7 @@ CLASS z2ui5_cl_demo_app_222 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -68,8 +65,7 @@ CLASS z2ui5_cl_demo_app_222 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -79,4 +75,5 @@ CLASS z2ui5_cl_demo_app_222 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_223.clas.abap b/src/z2ui5_cl_demo_app_223.clas.abap
index e62169dd..3e7a6810 100644
--- a/src/z2ui5_cl_demo_app_223.clas.abap
+++ b/src/z2ui5_cl_demo_app_223.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_223 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_223 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,37 +20,35 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_223 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Icon Tab Bar - Inline Mode'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Icon Tab Bar - Inline Mode'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->icon_tab_bar( id = `idIconTabBarInlineMode`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->icon_tab_bar( id = `idIconTabBarInlineMode`
headermode = `Inline`
- expanded = `{device>/isNoPhone}`
- class = `sapUiResponsiveContentPadding`
+ expanded = `{device>/isNoPhone}`
+ class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( text = `Info`
- key = `info`
+ )->icon_tab_filter( text = `Info`
+ key = `info`
count = `3`
)->text( text = `Info content goes here ...` )->get_parent(
- )->icon_tab_filter( text = `Attachments`
- key = `attachments`
+ )->icon_tab_filter( text = `Attachments`
+ key = `attachments`
count = `4321`
)->text( text = `Attachments go here ...` )->get_parent(
- )->icon_tab_filter( text = `Notes`
- key = `notes`
+ )->icon_tab_filter( text = `Notes`
+ key = `notes`
count = `333`
)->text( text = `Notes go here ...` )->get_parent(
- )->icon_tab_filter( text = `People`
- key = `people`
+ )->icon_tab_filter( text = `People`
+ key = `people`
count = `34`
)->text( text = `People content goes here ...`
).
@@ -59,8 +57,7 @@ CLASS z2ui5_cl_demo_app_223 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -69,8 +66,7 @@ CLASS z2ui5_cl_demo_app_223 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -80,4 +76,5 @@ CLASS z2ui5_cl_demo_app_223 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_224.clas.abap b/src/z2ui5_cl_demo_app_224.clas.abap
index ce64e1ff..6f37bac0 100644
--- a/src/z2ui5_cl_demo_app_224.clas.abap
+++ b/src/z2ui5_cl_demo_app_224.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_224 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_224 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,29 +20,31 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_224 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'Sample: Icon Tab Bar - Text Only'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'Sample: Icon Tab Bar - Text Only'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->icon_tab_bar( id = `idIconTabBarNoIcons`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->icon_tab_bar( id = `idIconTabBarNoIcons`
expanded = `{device>/isNoPhone}`
- class = `sapUiResponsiveContentPadding`
+ class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( text = `Info` key = `info`
+ )->icon_tab_filter( text = `Info`
+ key = `info`
)->text( text = `Info content goes here ...` )->get_parent(
- )->icon_tab_filter( text = `Attachments` key = `attachments`
+ )->icon_tab_filter( text = `Attachments`
+ key = `attachments`
)->text( text = `Attachments go here ...` )->get_parent(
- )->icon_tab_filter( text = `Notes` key = `notes`
+ )->icon_tab_filter( text = `Notes`
+ key = `notes`
)->text( text = `Notes go here ...` )->get_parent(
- )->icon_tab_filter( text = `People` key = `people`
+ )->icon_tab_filter( text = `People`
+ key = `people`
)->text( text = `People content goes here ...`
).
@@ -50,8 +52,7 @@ CLASS z2ui5_cl_demo_app_224 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -60,8 +61,7 @@ CLASS z2ui5_cl_demo_app_224 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -71,4 +71,5 @@ CLASS z2ui5_cl_demo_app_224 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_225.clas.abap b/src/z2ui5_cl_demo_app_225.clas.abap
index 8519eb46..7e2466eb 100644
--- a/src/z2ui5_cl_demo_app_225.clas.abap
+++ b/src/z2ui5_cl_demo_app_225.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_225 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_225 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,105 +20,102 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_225 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Icon Tab Bar - Separator'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Icon Tab Bar - Separator'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
DATA(layout) = page->label( wrapping = `true`
- text = `No icon(='') used as separator, the separator will be a vertical line.`
- class = `sapUiSmallMargin` ).
+ text = `No icon(='') used as separator, the separator will be a vertical line.`
+ class = `sapUiSmallMargin` ).
- layout->icon_tab_bar( id = `idIconTabBarSeparatorNoIcon`
+ layout->icon_tab_bar( id = `idIconTabBarSeparatorNoIcon`
expanded = `false`
- class = `sapUiResponsiveContentPadding`
+ class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( key = `info`
- icon = `sap-icon://hint`
+ )->icon_tab_filter( key = `info`
+ icon = `sap-icon://hint`
iconcolor = `Neutral`
)->text( text = `Info content goes here ...` )->get_parent(
)->icon_tab_separator( icon = `` )->get_parent(
- )->icon_tab_filter( key = `attachments`
- icon = `sap-icon://attachment`
+ )->icon_tab_filter( key = `attachments`
+ icon = `sap-icon://attachment`
iconcolor = `Neutral`
- count = `3`
+ count = `3`
)->text( text = `Attachments go here ...` )->get_parent(
- )->icon_tab_filter( key = `notes`
- icon = `sap-icon://notes`
+ )->icon_tab_filter( key = `notes`
+ icon = `sap-icon://notes`
count = `12`
)->text( text = `Notes go here ...` )->get_parent(
)->icon_tab_separator( icon = `` )->get_parent(
- )->icon_tab_filter( key = `people`
- icon = `sap-icon://group`
+ )->icon_tab_filter( key = `people`
+ icon = `sap-icon://group`
iconcolor = `Negative`
)->text( text = `People content goes here ...`
).
layout->label( wrapping = `true`
- text = `Icon used as separator, you are free to choose an icon you want.`
- class = `sapUiSmallMargin` ).
+ text = `Icon used as separator, you are free to choose an icon you want.`
+ class = `sapUiSmallMargin` ).
- layout->icon_tab_bar( id = `idIconTabBarSeparatorIcon`
+ layout->icon_tab_bar( id = `idIconTabBarSeparatorIcon`
expanded = `false`
- class = `sapUiResponsiveContentPadding`
+ class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( key = `info`
- icon = `sap-icon://hint`
+ )->icon_tab_filter( key = `info`
+ icon = `sap-icon://hint`
iconcolor = `Neutral`
)->text( text = `Info content goes here ...` )->get_parent(
- )->icon_tab_filter( key = `attachments`
- icon = `sap-icon://attachment`
+ )->icon_tab_filter( key = `attachments`
+ icon = `sap-icon://attachment`
iconcolor = `Neutral`
- count = `3`
+ count = `3`
)->text( text = `Attachments go here ...` )->get_parent(
)->icon_tab_separator( icon = `sap-icon://process` )->get_parent(
- )->icon_tab_filter( key = `notes`
- icon = `sap-icon://notes`
+ )->icon_tab_filter( key = `notes`
+ icon = `sap-icon://notes`
iconcolor = `Positive`
- count = `12`
+ count = `12`
)->text( text = `Notes go here ...` )->get_parent(
)->icon_tab_separator( icon = `sap-icon://process` )->get_parent(
- )->icon_tab_filter( key = `people`
- icon = `sap-icon://group`
+ )->icon_tab_filter( key = `people`
+ icon = `sap-icon://group`
iconcolor = `Negative`
)->text( text = `People content goes here ...`
).
layout->label( wrapping = `true`
- text = `Different separators used.`
- class = `sapUiSmallMargin` ).
+ text = `Different separators used.`
+ class = `sapUiSmallMargin` ).
- layout->icon_tab_bar( id = `idIconTabBarSeparatorMixed`
+ layout->icon_tab_bar( id = `idIconTabBarSeparatorMixed`
expanded = `false`
- class = `sapUiResponsiveContentPadding`
+ class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( key = `info`
- icon = `sap-icon://hint`
+ )->icon_tab_filter( key = `info`
+ icon = `sap-icon://hint`
iconcolor = `Critical`
)->text( text = `Info content goes here ...` )->get_parent(
)->icon_tab_separator( icon = `` )->get_parent(
- )->icon_tab_filter( key = `info`
- icon = `sap-icon://attachment`
+ )->icon_tab_filter( key = `info`
+ icon = `sap-icon://attachment`
iconcolor = `Neutral`
- count = `3`
+ count = `3`
)->text( text = `Attachments go here ...` )->get_parent(
)->icon_tab_separator( icon = `sap-icon://vertical-grip` )->get_parent(
- )->icon_tab_filter( key = `notes`
- icon = `sap-icon://notes`
+ )->icon_tab_filter( key = `notes`
+ icon = `sap-icon://notes`
iconcolor = `Positive`
- count = `12`
+ count = `12`
)->text( text = `Notes go here ...` )->get_parent(
)->icon_tab_separator( icon = `sap-icon://process` )->get_parent(
- )->icon_tab_filter( key = `people`
- icon = `sap-icon://group`
+ )->icon_tab_filter( key = `people`
+ icon = `sap-icon://group`
iconcolor = `Negative`
)->text( text = `People content goes here ...`
).
@@ -127,8 +124,7 @@ CLASS z2ui5_cl_demo_app_225 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -137,8 +133,7 @@ CLASS z2ui5_cl_demo_app_225 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -148,4 +143,5 @@ CLASS z2ui5_cl_demo_app_225 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_226.clas.abap b/src/z2ui5_cl_demo_app_226.clas.abap
index 69271cc1..572a1430 100644
--- a/src/z2ui5_cl_demo_app_226.clas.abap
+++ b/src/z2ui5_cl_demo_app_226.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_226 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_226 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,26 +21,24 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_226 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Icon Tab Bar - Sub tabs'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Icon Tab Bar - Sub tabs'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
DATA(layout) = page->label(
- wrapping = `true`
- text = `IconTabBar with filters with own content and sub tabs. The click area is split to allow the user to display the content or alternatively to expand/collapse the sub tabs.`
- class = `sapUiSmallMargin` ).
+ wrapping = `true`
+ text = `IconTabBar with filters with own content and sub tabs. The click area is split to allow the user to display the content or alternatively to expand/collapse the sub tabs.`
+ class = `sapUiSmallMargin` ).
layout->icon_tab_bar( class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( key = `info` text = `Info`
+ )->icon_tab_filter( key = `info`
+ text = `Info`
)->items(
)->icon_tab_filter( text = `Info one`
)->text( text = `Info one content goes here...`
@@ -54,7 +52,8 @@ CLASS z2ui5_cl_demo_app_226 IMPLEMENTATION.
)->text( text = `Info own content goes here...`
)->text( text = `Select a sub tab to see its content...` )->get_parent(
- )->icon_tab_filter( key = `attachments` text = `Attachments`
+ )->icon_tab_filter( key = `attachments`
+ text = `Attachments`
)->items(
)->icon_tab_filter( text = `Attachment one`
)->text( text = `Attachment one goes here...` )->get_parent(
@@ -62,7 +61,8 @@ CLASS z2ui5_cl_demo_app_226 IMPLEMENTATION.
)->text( text = `Attachment two goes here...` )->get_parent( )->get_parent(
)->text( text = `Attachments own content goes here...` )->get_parent(
- )->icon_tab_filter( key = `notes` text = `Notes`
+ )->icon_tab_filter( key = `notes`
+ text = `Notes`
)->items(
)->icon_tab_filter( text = `Note one`
)->text( text = `Note one goes here...` )->get_parent(
@@ -70,15 +70,14 @@ CLASS z2ui5_cl_demo_app_226 IMPLEMENTATION.
)->text( text = `Note two goes here...` )->get_parent( )->get_parent(
)->text( text = `Notes own content goes here...` )->get_parent( )->get_parent( )->get_parent(
- )->label(
- wrapping = `true`
- text = `IconTabBar with filters without own content - only sub tabs`
- class = `sapUiSmallMargin`
-
+ )->label( wrapping = `true`
+ text = `IconTabBar with filters without own content - only sub tabs`
+ class = `sapUiSmallMargin`
)->icon_tab_bar( class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( key = `info` text = `Info`
+ )->icon_tab_filter( key = `info`
+ text = `Info`
)->items(
)->icon_tab_filter( text = `Info one`
)->text( text = `Info one content goes here...` )->get_parent(
@@ -87,16 +86,19 @@ CLASS z2ui5_cl_demo_app_226 IMPLEMENTATION.
)->icon_tab_filter( text = `Info three`
)->text( text = `Info three content goes here...` )->get_parent(
)->icon_tab_filter( text = `Info four`
- )->text( text = `Info four content goes here...` )->get_parent( )->get_parent( )->get_parent(
+ )->text(
+ text = `Info four content goes here...` )->get_parent( )->get_parent( )->get_parent(
- )->icon_tab_filter( key = `attachments` text = `Attachments`
+ )->icon_tab_filter( key = `attachments`
+ text = `Attachments`
)->items(
)->icon_tab_filter( text = `Attachment one`
)->text( text = `Attachment one goes here...` )->get_parent(
)->icon_tab_filter( text = `Attachment two`
)->text( text = `Attachment two goes here...` )->get_parent( )->get_parent( )->get_parent(
- )->icon_tab_filter( key = `notes` text = `Notes`
+ )->icon_tab_filter( key = `notes`
+ text = `Notes`
)->items(
)->icon_tab_filter( text = `Note one`
)->text( text = `Note one content goes here...` )->get_parent(
@@ -108,8 +110,7 @@ CLASS z2ui5_cl_demo_app_226 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -118,8 +119,7 @@ CLASS z2ui5_cl_demo_app_226 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -129,4 +129,5 @@ CLASS z2ui5_cl_demo_app_226 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_227.clas.abap b/src/z2ui5_cl_demo_app_227.clas.abap
index 7c3c31e5..5ddf6b99 100644
--- a/src/z2ui5_cl_demo_app_227.clas.abap
+++ b/src/z2ui5_cl_demo_app_227.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_227 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_227 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,49 +21,52 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_227 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Page, Toolbar and Bar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(page_02) = page_01->page( title = `Title`
- class = `sapUiContentPadding sapUiResponsivePadding--header sapUiResponsivePadding--subHeader sapUiResponsivePadding--content sapUiResponsivePadding--footer`
- showNavButton = `true`
+ )->page( title = 'abap2UI5 - Sample: Page, Toolbar and Bar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(page_02) = page_01->page(
+ title = `Title`
+ class = `sapUiContentPadding sapUiResponsivePadding--header sapUiResponsivePadding--subHeader sapUiResponsivePadding--content sapUiResponsivePadding--footer`
+ showNavButton = `true`
)->header_content(
- )->button( icon = `sap-icon://action` tooltip = `Share` )->get_parent(
+ )->button( icon = `sap-icon://action`
+ tooltip = `Share` )->get_parent(
)->sub_header(
)->overflow_toolbar(
)->search_field( )->get_parent( )->get_parent(
)->content(
)->vbox(
- )->text( text = `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore ` &&
- `et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. ` &&
- `Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit ` &&
- `amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam ` &&
- `erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod ` &&
- `tempor invidunt ut labore et dolore magna aliquyam erat` )->get_parent( )->get_parent(
+ )->text(
+ text = |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore | &&
+ |et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. | &&
+ |Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit | &&
+ |amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam | &&
+ |erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod | &&
+ |tempor invidunt ut labore et dolore magna aliquyam erat| )->get_parent( )->get_parent(
)->footer(
)->overflow_toolbar(
)->toolbar_spacer(
- )->button( text = `Accept` type = `Accept`
- )->button( text = `Reject` type = `Reject`
- )->button( text = `Edit` type = `Edit`
- )->button( text = `Delete` type = `Delete`
+ )->button( text = `Accept`
+ type = `Accept`
+ )->button( text = `Reject`
+ type = `Reject`
+ )->button( text = `Edit`
+ type = `Edit`
+ )->button( text = `Delete`
+ type = `Delete`
).
client->view_display( page_02->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -72,8 +75,7 @@ CLASS z2ui5_cl_demo_app_227 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -83,4 +85,5 @@ CLASS z2ui5_cl_demo_app_227 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_228.clas.abap b/src/z2ui5_cl_demo_app_228.clas.abap
index 12354565..408da2e2 100644
--- a/src/z2ui5_cl_demo_app_228.clas.abap
+++ b/src/z2ui5_cl_demo_app_228.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_228 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_228 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,50 +20,68 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_228 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Numeric Content Without Margins'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Numeric Content Without Margins'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
DATA(layout) = page->label( text = `Numeric content with margins` ).
- layout->numeric_content( value = `65.5` scale = `MM` class = `sapUiSmallMargin`
+ layout->numeric_content( value = `65.5`
+ scale = `MM`
+ class = `sapUiSmallMargin`
withmargin = abap_true ).
- layout->numeric_content( value = `65.5` scale = `MM`
- valueColor = `Good` indicator = `Up` class = `sapUiSmallMargin`
+ layout->numeric_content( value = `65.5`
+ scale = `MM`
+ valueColor = `Good`
+ indicator = `Up`
+ class = `sapUiSmallMargin`
withmargin = abap_true ).
- layout->numeric_content( value = `6666` scale = `MM`
- valueColor = `Critical` indicator = `Up` class = `sapUiSmallMargin`
+ layout->numeric_content( value = `6666`
+ scale = `MM`
+ valueColor = `Critical`
+ indicator = `Up`
+ class = `sapUiSmallMargin`
withmargin = abap_true ).
- layout->numeric_content( value = `65.5` scale = `MM`
- valueColor = `Error` indicator = `Down` class = `sapUiSmallMargin`
+ layout->numeric_content( value = `65.5`
+ scale = `MM`
+ valueColor = `Error`
+ indicator = `Down`
+ class = `sapUiSmallMargin`
withmargin = abap_true ).
layout->label( text = `Numeric content without margins` ).
- layout->numeric_content( value = `65.5` scale = `MM` class = `sapUiSmallMargin`
+ layout->numeric_content( value = `65.5`
+ scale = `MM`
+ class = `sapUiSmallMargin`
withmargin = abap_false ).
- layout->numeric_content( value = `65.5` scale = `MM`
- valueColor = `Good` indicator = `Up` class = `sapUiSmallMargin`
+ layout->numeric_content( value = `65.5`
+ scale = `MM`
+ valueColor = `Good`
+ indicator = `Up`
+ class = `sapUiSmallMargin`
withmargin = abap_false ).
- layout->numeric_content( value = `6666` scale = `MM`
- valueColor = `Critical` indicator = `Up` class = `sapUiSmallMargin`
+ layout->numeric_content( value = `6666`
+ scale = `MM`
+ valueColor = `Critical`
+ indicator = `Up`
+ class = `sapUiSmallMargin`
withmargin = abap_false ).
- layout->numeric_content( value = `65.5` scale = `MM`
- valueColor = `Error` indicator = `Down` class = `sapUiSmallMargin`
+ layout->numeric_content( value = `65.5`
+ scale = `MM`
+ valueColor = `Error`
+ indicator = `Down`
+ class = `sapUiSmallMargin`
withmargin = abap_false ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -72,8 +90,7 @@ CLASS z2ui5_cl_demo_app_228 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -83,4 +100,5 @@ CLASS z2ui5_cl_demo_app_228 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_229.clas.abap b/src/z2ui5_cl_demo_app_229.clas.abap
index 4f85a909..b9c18867 100644
--- a/src/z2ui5_cl_demo_app_229.clas.abap
+++ b/src/z2ui5_cl_demo_app_229.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_229 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_229 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,38 +20,41 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_229 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: ComboBox - Suggestions wrapping'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
- layout->label( text = `Product` labelfor = `wrappingComboBox` ).
+ )->page( title = 'abap2UI5 - Sample: ComboBox - Suggestions wrapping'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+ layout->label( text = `Product`
+ labelfor = `wrappingComboBox` ).
layout->combobox( id = `wrappingComboBox`
- )->item( key = `1` text = `Wireless DSL/ Repeater and Print Server Lorem ipsum dolar st amet, consetetur sadipscing elitr, ` &&
- `sed diam nonumy eirmod tempor incidunt ut labore et dolore magna aliquyam erat, diam nonumy eirmod tempor individunt ` &&
- `ut labore et dolore magna aliquyam erat, sed justo et ea rebum.`
- )->item( key = `2` text = `7" Widescreen Portable DVD Player w MP3, consetetur sadipscing, sed diam nonumy eirmod tempor ` &&
- `invidunt ut labore et dolore et dolore magna aliquyam erat, sed diam voluptua.` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergen, no sea takimata. ` &&
- `Tortor pretium viverra suspendisse potenti nullam. Congue quisque egestas diam in arcu cursus. ` &&
- `Rutrum tellus pellentesque eu tincidunt tortor. Nec tincidunt praesent semper feugiat nibh sed.`
- )->item( key = `3` text = `Portable DVD Player with 9" LCD Monitor`
+ )->item(
+ key = `1`
+ text = |Wireless DSL/ Repeater and Print Server Lorem ipsum dolar st amet, consetetur sadipscing elitr, | &&
+ |sed diam nonumy eirmod tempor incidunt ut labore et dolore magna aliquyam erat, diam nonumy eirmod tempor individunt | &&
+ |ut labore et dolore magna aliquyam erat, sed justo et ea rebum.|
+ )->item(
+ key = `2`
+ text = |7" Widescreen Portable DVD Player w MP3, consetetur sadipscing, sed diam nonumy eirmod tempor | &&
+ |invidunt ut labore et dolore et dolore magna aliquyam erat, sed diam voluptua.| &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergen, no sea takimata. | &&
+ |Tortor pretium viverra suspendisse potenti nullam. Congue quisque egestas diam in arcu cursus. | &&
+ |Rutrum tellus pellentesque eu tincidunt tortor. Nec tincidunt praesent semper feugiat nibh sed.|
+ )->item( key = `3`
+ text = `Portable DVD Player with 9" LCD Monitor`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -60,8 +63,7 @@ CLASS z2ui5_cl_demo_app_229 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -71,4 +73,5 @@ CLASS z2ui5_cl_demo_app_229 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_230.clas.abap b/src/z2ui5_cl_demo_app_230.clas.abap
index 36eff275..89e334d3 100644
--- a/src/z2ui5_cl_demo_app_230.clas.abap
+++ b/src/z2ui5_cl_demo_app_230.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_230 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_230 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,24 +21,22 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_230 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Segmented Button in Input List Item'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Segmented Button in Input List Item'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
- DATA(layout) = page->list(
- headertext = `Input List Item`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->list( headertext = `Input List Item`
)->input_list_item( label = `Battery Saving`
)->segmented_button( selected_key = `SBYes`
)->items(
- )->segmented_button_item( text = `High` key = `SBYes`
+ )->segmented_button_item( text = `High`
+ key = `SBYes`
)->Segmented_button_item( text = `Low`
)->Segmented_button_item( text = `Off`
@@ -48,8 +46,7 @@ CLASS z2ui5_cl_demo_app_230 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -58,8 +55,7 @@ CLASS z2ui5_cl_demo_app_230 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -69,4 +65,5 @@ CLASS z2ui5_cl_demo_app_230 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_231.clas.abap b/src/z2ui5_cl_demo_app_231.clas.abap
index ecfebaeb..fc1a8a3f 100644
--- a/src/z2ui5_cl_demo_app_231.clas.abap
+++ b/src/z2ui5_cl_demo_app_231.clas.abap
@@ -1,64 +1,57 @@
CLASS z2ui5_cl_demo_app_231 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES if_serializable_object .
- INTERFACES z2ui5_if_app .
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF t_drs,
start TYPE d,
end TYPE d,
- END OF t_drs .
+ END OF t_drs.
- DATA:
- drs1 TYPE t_drs,
- drs2 TYPE t_drs,
- drs3 TYPE t_drs,
- drs4 TYPE t_drs,
- drs5 TYPE t_drs,
+ DATA drs1 TYPE t_drs.
+ DATA drs2 TYPE t_drs.
+ DATA drs3 TYPE t_drs.
+ DATA drs4 TYPE t_drs.
+ DATA drs5 TYPE t_drs.
- mindate TYPE d VALUE '20160101',
- maxdate TYPE d VALUE '20161231',
+ DATA mindate TYPE d VALUE '20160101'.
+ DATA maxdate TYPE d VALUE '20161231'.
- text TYPE string.
+ DATA text TYPE string.
PRIVATE SECTION.
- DATA:
- check_initialized TYPE abap_bool.
+ DATA check_initialized TYPE abap_bool.
- METHODS:
- display_view
- IMPORTING
- client TYPE REF TO z2ui5_if_client,
+ METHODS display_view
+ IMPORTING
+ client TYPE REF TO z2ui5_if_client.
- initialize,
+ METHODS initialize.
- on_event
- IMPORTING
- client TYPE REF TO z2ui5_if_client.
+ METHODS on_event
+ IMPORTING
+ client TYPE REF TO z2ui5_if_client.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_231 IMPLEMENTATION.
-
METHOD display_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic_property( VALUE #( n = `core:require` v = `{Helper:'z2ui5/Util'}` ) ).
+ view->_generic_property( VALUE #( n = `core:require`
+ v = `{Helper:'z2ui5/Util'}` ) ).
DATA(page) = view->shell(
- )->page(
- title = 'abap2UI5 - Sample: Date Range Selection'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Date Range Selection'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
)->link(
@@ -69,65 +62,72 @@ CLASS z2ui5_cl_demo_app_231 IMPLEMENTATION.
DATA(vbox) = page->vbox( ).
" DRS1
- vbox->label( text = `DateRangeSelection displayFormat 'yyyy/MM/dd', set via binding:` labelfor = `DRS1`
- )->date_range_selection(
- id = 'DRS1'
- displayformat = 'yyyy/MM/dd'
- change = client->_event( val = 'handleChange' t_arg = VALUE #( ( `DRS2` ) ) )
- datevalue = `{= Helper.DateCreateObject($` && client->_bind( drs1-start ) && ') }'
- seconddatevalue = `{= Helper.DateCreateObject($` && client->_bind( drs1-end ) && ') }'
+ vbox->label( text = `DateRangeSelection displayFormat 'yyyy/MM/dd', set via binding:`
+ labelfor = `DRS1`
+ )->date_range_selection( id = 'DRS1'
+ displayformat = 'yyyy/MM/dd'
+ change = client->_event( val = 'handleChange'
+ t_arg = VALUE #( ( `DRS2` ) ) )
+ datevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs1-start ) }) \}|
+ seconddatevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs1-end ) }) \}|
).
" DRS2
- vbox->label( text = `DateRangeSelection with minDate=2016-01-01 and maxDate=2016-12-31:` labelfor = `DRS2`
- )->date_range_selection(
- id = 'DRS2'
- mindate = `{= Helper.DateCreateObject($` && client->_bind( mindate ) && ') }'
- maxdate = `{= Helper.DateCreateObject($` && client->_bind( maxdate ) && ') }'
- change = client->_event( val = 'handleChange' t_arg = VALUE #( ( `DRS2` ) ) )
- datevalue = `{= Helper.DateCreateObject($` && client->_bind( drs2-start ) && ') }'
- seconddatevalue = `{= Helper.DateCreateObject($` && client->_bind( drs2-end ) && ') }'
+ vbox->label( text = `DateRangeSelection with minDate=2016-01-01 and maxDate=2016-12-31:`
+ labelfor = `DRS2`
+ )->date_range_selection( id = 'DRS2'
+ mindate = |\{= Helper.DateCreateObject(${ client->_bind( mindate ) }) \}|
+ maxdate = |\{= Helper.DateCreateObject(${ client->_bind( maxdate ) }) \}|
+ change = client->_event( val = 'handleChange'
+ t_arg = VALUE #( ( `DRS2` ) ) )
+ datevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs2-start ) }) \}|
+ seconddatevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs2-end ) }) \}|
).
" DRS3
- vbox->label( text = `DateRangeSelection with OK button in the footer and with shortcut for today:"` labelfor = `DRS3`
+ vbox->label( text = `DateRangeSelection with OK button in the footer and with shortcut for today:"`
+ labelfor = `DRS3`
)->date_range_selection(
- id = 'DRS3'
- showcurrentdatebutton = abap_true
- showfooter = abap_true
- change = client->_event( val = 'handleChange' t_arg = VALUE #( ( `DRS3` ) ) )
- datevalue = `{= Helper.DateCreateObject($` && client->_bind( drs3-start ) && ') }'
- seconddatevalue = `{= Helper.DateCreateObject($` && client->_bind( drs3-end ) && ') }'
+ id = 'DRS3'
+ showcurrentdatebutton = abap_true
+ showfooter = abap_true
+ change = client->_event( val = 'handleChange'
+ t_arg = VALUE #( ( `DRS3` ) ) )
+ datevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs3-start ) }) \}|
+ seconddatevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs3-end ) }) \}|
).
" DRS4
- vbox->label( text = `DateRangeSelection with displayFormat 'MM/yyyy':` labelfor = `DRS3`
- )->date_range_selection(
- id = 'DRS4'
- change = client->_event( val = 'handleChange' t_arg = VALUE #( ( `DRS4` ) ) )
- displayformat = 'MM/yyyy'
- datevalue = `{= Helper.DateCreateObject($` && client->_bind( drs4-start ) && ') }'
- seconddatevalue = `{= Helper.DateCreateObject($` && client->_bind( drs4-end ) && ') }'
+ vbox->label( text = `DateRangeSelection with displayFormat 'MM/yyyy':`
+ labelfor = `DRS3`
+ )->date_range_selection( id = 'DRS4'
+ change = client->_event( val = 'handleChange'
+ t_arg = VALUE #( ( `DRS4` ) ) )
+ displayformat = 'MM/yyyy'
+ datevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs4-start ) }) \}|
+ seconddatevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs4-end ) }) \}|
).
" DRS5
- vbox->label( text = `DateRangeSelection with displayFormat 'MM/yyyy':` labelfor = `DRS3`
- )->date_range_selection(
- id = 'DRS5'
- change = client->_event( val = 'handleChange' t_arg = VALUE #( ( `DRS5` ) ) )
- displayformat = 'yyyy'
- datevalue = `{= Helper.DateCreateObject($` && client->_bind( drs5-start ) && ') }'
- seconddatevalue = `{= Helper.DateCreateObject($` && client->_bind( drs5-end ) && ') }'
+ vbox->label( text = `DateRangeSelection with displayFormat 'MM/yyyy':`
+ labelfor = `DRS3`
+ )->date_range_selection( id = 'DRS5'
+ change = client->_event( val = 'handleChange'
+ t_arg = VALUE #( ( `DRS5` ) ) )
+ displayformat = 'yyyy'
+ datevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs5-start ) }) \}|
+ seconddatevalue = |\{= Helper.DateCreateObject(${ client->_bind( drs5-end ) }) \}|
).
- vbox->label( text = 'Change event' labelfor = 'TextEvent' ).
- vbox->text( id = 'TextEvent' text = client->_bind_edit( text ) ).
+ vbox->label( text = 'Change event'
+ labelfor = 'TextEvent' ).
+ vbox->text( id = 'TextEvent'
+ text = client->_bind_edit( text ) ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD initialize.
drs1-start = '20140202'.
@@ -147,7 +147,6 @@ CLASS z2ui5_cl_demo_app_231 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -170,7 +169,6 @@ CLASS z2ui5_cl_demo_app_231 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
diff --git a/src/z2ui5_cl_demo_app_232.clas.abap b/src/z2ui5_cl_demo_app_232.clas.abap
index bf21d0d7..9dede543 100644
--- a/src/z2ui5_cl_demo_app_232.clas.abap
+++ b/src/z2ui5_cl_demo_app_232.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_232 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_232 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,42 +21,44 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_232 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'Sample: MultiInput - Suggestions wrapping'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
- layout->label( text = `Product` labelfor = `wrappingMultiInput` ).
- layout->multi_input(
- id = `wrappingMultiInput`
- placeholder = `Enter product`
- showsuggestion = abap_true
- width = `50%`
+ )->page( title = 'Sample: MultiInput - Suggestions wrapping'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+ layout->label( text = `Product`
+ labelfor = `wrappingMultiInput` ).
+ layout->multi_input( id = `wrappingMultiInput`
+ placeholder = `Enter product`
+ showsuggestion = abap_true
+ width = `50%`
)->suggestion_items(
- )->item( key = `1` text = `Wireless DSL/ Repeater and Print Server Lorem ipsum dolar st amet, consetetur sadipscing elitr, ` &&
- `sed diam nonumy eirmod tempor incidunt ut labore et dolore magna aliquyam erat, diam nonumy eirmod tempor individunt ` &&
- `ut labore et dolore magna aliquyam erat, sed justo et ea rebum.`
- )->item( key = `2` text = `7" Widescreen Portable DVD Player w MP3, consetetur sadipscing, sed diam nonumy eirmod tempor ` &&
- `invidunt ut labore et dolore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergen, no sea takimata. ` &&
- `Tortor pretium viverra suspendisse potenti nullam.`
- )->item( key = `3` text = `Portable DVD Player with 9" LCD Monitor`
+ )->item(
+ key = `1`
+ text = |Wireless DSL/ Repeater and Print Server Lorem ipsum dolar st amet, consetetur sadipscing elitr, | &&
+ |sed diam nonumy eirmod tempor incidunt ut labore et dolore magna aliquyam erat, diam nonumy eirmod tempor individunt | &&
+ |ut labore et dolore magna aliquyam erat, sed justo et ea rebum.|
+ )->item(
+ key = `2`
+ text = |7" Widescreen Portable DVD Player w MP3, consetetur sadipscing, sed diam nonumy eirmod tempor | &&
+ |invidunt ut labore et dolore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergen, no sea takimata. | &&
+ |Tortor pretium viverra suspendisse potenti nullam.|
+ )->item( key = `3`
+ text = `Portable DVD Player with 9" LCD Monitor`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -65,8 +67,7 @@ CLASS z2ui5_cl_demo_app_232 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -76,4 +77,5 @@ CLASS z2ui5_cl_demo_app_232 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_233.clas.abap b/src/z2ui5_cl_demo_app_233.clas.abap
index 27ef81bd..7097311c 100644
--- a/src/z2ui5_cl_demo_app_233.clas.abap
+++ b/src/z2ui5_cl_demo_app_233.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_233 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_233 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,42 +20,42 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_233 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'Sample: MultiComboBox - Suggestions wrapping'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%` ).
- layout->label( text = `Product` labelfor = `wrappingMultiComboBox` ).
- layout->multi_combobox(
- id = `wrappingMultiComboBox`
- width = `350px`
- )->item( key = `1` text = `Wireless DSL/ Repeater and Print Server Lorem ipsum dolar st amet, consetetur sadipscing elitr, ` &&
- `sed diam nonumy eirmod tempor incidunt ut labore et dolore magna aliquyam erat, diam nonumy eirmod tempor individunt ` &&
- `ut labore et dolore magna aliquyam erat, sed justo et ea rebum.`
- )->item( key = `2` text = `7" Widescreen Portable DVD Player w MP3, consetetur sadipscing, sed diam nonumy eirmod tempor ` &&
- `invidunt ut labore et dolore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergen, no sea takimata. ` &&
- `Tortor pretium viverra suspendisse potenti nullam. Congue quisque egestas diam in arcu cursus. ` &&
- `Rutrum tellus pellentesque eu tincidunt tortor. Nec tincidunt praesent semper feugiat nibh sed.`
- )->item( key = `3` text = `Portable DVD Player with 9" LCD Monitor`
+ )->page( title = 'Sample: MultiComboBox - Suggestions wrapping'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+ layout->label( text = `Product`
+ labelfor = `wrappingMultiComboBox` ).
+ layout->multi_combobox( id = `wrappingMultiComboBox`
+ width = `350px`
+ )->item(
+ key = `1`
+ text = |Wireless DSL/ Repeater and Print Server Lorem ipsum dolar st amet, consetetur sadipscing elitr, | &&
+ |sed diam nonumy eirmod tempor incidunt ut labore et dolore magna aliquyam erat, diam nonumy eirmod tempor individunt | &&
+ |ut labore et dolore magna aliquyam erat, sed justo et ea rebum.|
+ )->item(
+ key = `2`
+ text = |7" Widescreen Portable DVD Player w MP3, consetetur sadipscing, sed diam nonumy eirmod tempor | &&
+ |invidunt ut labore et dolore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergen, no sea takimata. | &&
+ |Tortor pretium viverra suspendisse potenti nullam. Congue quisque egestas diam in arcu cursus. | &&
+ |Rutrum tellus pellentesque eu tincidunt tortor. Nec tincidunt praesent semper feugiat nibh sed.|
+ )->item( key = `3`
+ text = `Portable DVD Player with 9" LCD Monitor`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -64,8 +64,7 @@ CLASS z2ui5_cl_demo_app_233 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -75,4 +74,5 @@ CLASS z2ui5_cl_demo_app_233 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_234.clas.abap b/src/z2ui5_cl_demo_app_234.clas.abap
index c6b6c48d..3dcb7476 100644
--- a/src/z2ui5_cl_demo_app_234.clas.abap
+++ b/src/z2ui5_cl_demo_app_234.clas.abap
@@ -1,14 +1,13 @@
-class z2ui5_cl_demo_app_234 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_234 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,33 +20,37 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_234 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: TextArea - Value States'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
+ )->page( title = 'abap2UI5 - Sample: TextArea - Value States'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
)->content( ns = `layout`
- )->text_area( valueState = `Warning` placeholder = `ValueState : Warning` width = `100%`
- )->text_area( valueState = `Error` placeholder = `ValueState : Error` width = `100%`
- )->text_area( valueState = `Success` placeholder = `ValueState : Success` width = `100%`
- )->text_area( valueState = `Information` placeholder = `ValueState : Information` width = `100%` ).
+ )->text_area( valueState = `Warning`
+ placeholder = `ValueState : Warning`
+ width = `100%`
+ )->text_area( valueState = `Error`
+ placeholder = `ValueState : Error`
+ width = `100%`
+ )->text_area( valueState = `Success`
+ placeholder = `ValueState : Success`
+ width = `100%`
+ )->text_area( valueState = `Information`
+ placeholder = `ValueState : Information`
+ width = `100%` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
@@ -58,8 +61,7 @@ CLASS z2ui5_cl_demo_app_234 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -69,4 +71,5 @@ CLASS z2ui5_cl_demo_app_234 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_235.clas.abap b/src/z2ui5_cl_demo_app_235.clas.abap
index b14ae9d5..171b4d1e 100644
--- a/src/z2ui5_cl_demo_app_235.clas.abap
+++ b/src/z2ui5_cl_demo_app_235.clas.abap
@@ -1,18 +1,18 @@
-class z2ui5_cl_demo_app_235 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_235 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -21,89 +21,98 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_235 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Toolbar vs Bar vs OverflowToolbar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(page_02) = page_01->page(
- title = `Bar can center a Title.`
- titlelevel = `H2`
- class = `sapUiContentPadding`
- shownavbutton = abap_true
- )->header_content(
- )->button( icon = `sap-icon://action` )->get_parent(
- )->sub_header(
- )->toolbar(
- )->button( type = `Back` tooltip = `Back`
- )->toolbar_spacer(
- )->title( text = `Toolbar center` level = `H3`
- )->toolbar_spacer( )->get_parent( )->get_parent(
- )->content(
- )->message_strip( text = `A Toolbar's centering technique will be slightly off the center if there is a button on the left.` class = `sapUiTinyMargin`
- )->toolbar(
- )->label( text = `Toolbar can shrink content in case of overflow.`
+ )->page( title = 'abap2UI5 - Sample: Toolbar vs Bar vs OverflowToolbar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(page_02) = page_01->page( title = `Bar can center a Title.`
+ titlelevel = `H2`
+ class = `sapUiContentPadding`
+ shownavbutton = abap_true
+ )->header_content(
+ )->button( icon = `sap-icon://action` )->get_parent(
+ )->sub_header(
+ )->toolbar(
+ )->button( type = `Back`
+ tooltip = `Back`
+ )->toolbar_spacer(
+ )->title( text = `Toolbar center`
+ level = `H3`
+ )->toolbar_spacer( )->get_parent( )->get_parent(
+ )->content(
+ )->message_strip(
+ text = `A Toolbar's centering technique will be slightly off the center if there is a button on the left.`
+ class = `sapUiTinyMargin`
+ )->toolbar(
+ )->label( text = `Toolbar can shrink content in case of overflow.`
+ )->layout_data(
+ )->toolbar_layout_data( shrinkable = abap_false )->get_parent( )->get_parent(
+ )->button( text = `Accept`
+ type = `Accept`
+ )->layout_data(
+ )->toolbar_layout_data( shrinkable = abap_true )->get_parent( )->get_parent(
+ )->label( text = `This is a long non-shrinkable label.`
+ )->layout_data(
+ )->toolbar_layout_data( shrinkable = abap_false )->get_parent( )->get_parent(
+ )->button( text = `Reject`
+ type = `Reject`
+ )->layout_data(
+ )->toolbar_layout_data( shrinkable = abap_true )->get_parent( )->get_parent(
+ )->button( text = `Big Big Big Big Big Big Big Big Button`
+ )->layout_data(
+ )->toolbar_layout_data(
+ shrinkable = abap_true )->get_parent( )->get_parent( )->get_parent(
+
+ )->label(
+ )->bar(
+ )->content_left(
+ )->label(
+ text = `Bar cannot really handle overflow it just cuts the content.` )->get_parent(
+ )->content_middle(
+ )->button( text = `Accept`
+ type = `Accept`
+ )->label( text = `This is a long non-shrinkable label.`
+ )->button( text = `Reject`
+ type = `Reject`
+ )->button( text = `Edit`
+ )->button(
+ text = `Big Big Big Big Big Big Big Big Button` )->get_parent( )->get_parent(
+
+ )->label(
+ )->overflow_toolbar(
+ )->label( text = `OverflowToolbar provides a See more (...) button for overflow.`
)->layout_data(
)->toolbar_layout_data( shrinkable = abap_false )->get_parent( )->get_parent(
- )->button( text = `Accept` type = `Accept`
+ )->button( text = `Accept`
+ type = `Accept`
)->layout_data(
)->toolbar_layout_data( shrinkable = abap_true )->get_parent( )->get_parent(
)->label( text = `This is a long non-shrinkable label.`
)->layout_data(
)->toolbar_layout_data( shrinkable = abap_false )->get_parent( )->get_parent(
- )->button( text = `Reject` type = `Reject`
+ )->button( text = `Reject`
+ type = `Reject`
)->layout_data(
)->toolbar_layout_data( shrinkable = abap_true )->get_parent( )->get_parent(
)->button( text = `Big Big Big Big Big Big Big Big Button`
)->layout_data(
- )->toolbar_layout_data( shrinkable = abap_true )->get_parent( )->get_parent( )->get_parent(
-
- )->label(
- )->bar(
- )->content_left(
- )->label( text = `Bar cannot really handle overflow it just cuts the content.` )->get_parent(
- )->content_middle(
- )->button( text = `Accept` type = `Accept`
- )->label( text = `This is a long non-shrinkable label.`
- )->button( text = `Reject` type = `Reject`
- )->button( text = `Edit`
- )->button( text = `Big Big Big Big Big Big Big Big Button` )->get_parent( )->get_parent(
-
- )->label(
- )->overflow_toolbar(
- )->label( text = `OverflowToolbar provides a See more (...) button for overflow.`
- )->layout_data(
- )->toolbar_layout_data( shrinkable = abap_false )->get_parent( )->get_parent(
- )->button( text = `Accept` type = `Accept`
- )->layout_data(
- )->toolbar_layout_data( shrinkable = abap_true )->get_parent( )->get_parent(
- )->label( text = `This is a long non-shrinkable label.`
- )->layout_data(
- )->toolbar_layout_data( shrinkable = abap_false )->get_parent( )->get_parent(
- )->button( text = `Reject` type = `Reject`
- )->layout_data(
- )->toolbar_layout_data( shrinkable = abap_true )->get_parent( )->get_parent(
- )->button( text = `Big Big Big Big Big Big Big Big Button`
- )->layout_data(
- )->toolbar_layout_data( shrinkable = abap_true )->get_parent( )->get_parent( )->get_parent( )->get_parent(
-
- )->footer(
- )->toolbar(
- ).
+ )->toolbar_layout_data(
+ shrinkable = abap_true )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+
+ )->footer(
+ )->toolbar(
+ ).
client->view_display( page_02->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -112,8 +121,7 @@ CLASS z2ui5_cl_demo_app_235 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -123,4 +131,5 @@ CLASS z2ui5_cl_demo_app_235 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_236.clas.abap b/src/z2ui5_cl_demo_app_236.clas.abap
index aece5051..74f8199b 100644
--- a/src/z2ui5_cl_demo_app_236.clas.abap
+++ b/src/z2ui5_cl_demo_app_236.clas.abap
@@ -1,15 +1,14 @@
-class z2ui5_cl_demo_app_236 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_236 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -22,95 +21,101 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_236 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: TextArea - Growing'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(layout) = page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
- )->content( ns = `layout`
- )->message_strip(
- showicon = abap_true
- text = `This TextArea shows up to 7 lines, then a scrollbar is presented.`
- )->text_area( placeholder = `Enter Text` growing = abap_true growingmaxlines = `7` width = `100%`
-
- )->message_strip(
- showicon = abap_true
- text = `This TextArea shows up to 7 lines, then a scrollbar is presented.`
- class = `sapUiMediumMarginTop`
- )->text_area( value = `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy ` &&
- `eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, ` &&
- `no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, ` &&
- `consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore ` &&
- `magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing ` &&
- `elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. ` &&
- `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor ` &&
- `invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et ` &&
- `accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata ` &&
- `sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing ` &&
- `elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, ` &&
- `sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam ` &&
- `nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.` growing = abap_true growingmaxlines = `7` width = `100%`
+ )->page( title = 'abap2UI5 - Sample: TextArea - Growing'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
+ )->content( ns = `layout`
)->message_strip(
showicon = abap_true
- text = `This TextArea adjusts its height according to its content.`
- class = `sapUiMediumMarginTop`
- )->text_area( value = `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy ` &&
- `eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, ` &&
- `no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, ` &&
- `consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore ` &&
- `magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing ` &&
- `elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. ` &&
- `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor ` &&
- `invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et ` &&
- `accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata ` &&
- `sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing ` &&
- `elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, ` &&
- `sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam ` &&
- `nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.` growing = abap_true width = `100%`
+ text = `This TextArea shows up to 7 lines, then a scrollbar is presented.`
+ )->text_area( placeholder = `Enter Text`
+ growing = abap_true
+ growingmaxlines = `7`
+ width = `100%`
)->message_strip(
showicon = abap_true
- text = `Growing TextArea in a SimpleForm`
- class = `sapUiMediumMarginTop`
- )->simple_form( "ns = `form`
- editable = `true`
- layout = `ResponsiveGridLayout`
+ text = `This TextArea shows up to 7 lines, then a scrollbar is presented.`
+ class = `sapUiMediumMarginTop`
+ )->text_area(
+ value = |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy | &&
+ |eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, | &&
+ |no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, | &&
+ |consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore | &&
+ |magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing | &&
+ |elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. | &&
+ |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor | &&
+ |invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et | &&
+ |accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata | &&
+ |sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing | &&
+ |elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, | &&
+ |sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam | &&
+ |nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.|
+ growing = abap_true
+ growingmaxlines = `7`
+ width = `100%`
+
+ )->message_strip( showicon = abap_true
+ text = `This TextArea adjusts its height according to its content.`
+ class = `sapUiMediumMarginTop`
+ )->text_area(
+ value = |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy | &&
+ |eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, | &&
+ |no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, | &&
+ |consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore | &&
+ |magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing | &&
+ |elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. | &&
+ |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor | &&
+ |invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et | &&
+ |accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata | &&
+ |sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing | &&
+ |elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, | &&
+ |sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam | &&
+ |nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.|
+ growing = abap_true
+ width = `100%`
+
+ )->message_strip( showicon = abap_true
+ text = `Growing TextArea in a SimpleForm`
+ class = `sapUiMediumMarginTop`
+ )->simple_form( " ns = `form`
+ editable = `true`
+ layout = `ResponsiveGridLayout`
)->label( text = `Comment`
- )->text_area( value = `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy ` &&
- `eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, ` &&
- `no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, ` &&
- `consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore ` &&
- `magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing ` &&
- `elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. ` &&
- `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor ` &&
- `invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et ` &&
- `accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata ` &&
- `sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing ` &&
- `elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, ` &&
- `sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam ` &&
- `nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.` growing = abap_true width = `100%`
+ )->text_area(
+ value = |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy | &&
+ |eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, | &&
+ |no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, | &&
+ |consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore | &&
+ |magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing | &&
+ |elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat. | &&
+ |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor | &&
+ |invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et | &&
+ |accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata | &&
+ |sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing | &&
+ |elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, | &&
+ |sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam | &&
+ |nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.|
+ growing = abap_true
+ width = `100%`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
@@ -121,8 +126,7 @@ CLASS z2ui5_cl_demo_app_236 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -132,4 +136,5 @@ CLASS z2ui5_cl_demo_app_236 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_237.clas.abap b/src/z2ui5_cl_demo_app_237.clas.abap
index 694951ea..5060ad3b 100644
--- a/src/z2ui5_cl_demo_app_237.clas.abap
+++ b/src/z2ui5_cl_demo_app_237.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_237 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_237 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,55 +26,93 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_237 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Slider'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Sample: Slider'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
)->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
tooltip = `Sample information`
- press = client->_event( 'POPOVER' )
+ press = client->_event( 'POPOVER' )
)->get_parent(
).
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%`
- )->text( text = `Slider without text field` class = `sapUiSmallMarginBottom`
- )->slider( value = `30` width = `90%` class = `sapUiSmallMarginBottom`
- )->slider( value = `27` width = `10em` class = `sapUiSmallMarginBottom`
- )->slider( value = `40` width = `15em` class = `sapUiSmallMarginBottom`
- )->slider( value = `9` width = `77%`
- min = `0` max = `10` class = `sapUiSmallMarginBottom`
- )->text( text = `Slider whose value cannot be changed` class = `sapUiSmallMarginBottom`
- )->slider( value = `5` width = `66%`
- min = `0` max = `50` enabled = abap_false class = `sapUiSmallMarginBottom`
- )->text( text = `Slider with text field` class = `sapUiSmallMarginBottom`
- )->slider( value = `50` width = `100%`
- min = `0` max = `100`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
+ )->text( text = `Slider without text field`
+ class = `sapUiSmallMarginBottom`
+ )->slider( value = `30`
+ width = `90%`
+ class = `sapUiSmallMarginBottom`
+ )->slider( value = `27`
+ width = `10em`
+ class = `sapUiSmallMarginBottom`
+ )->slider( value = `40`
+ width = `15em`
+ class = `sapUiSmallMarginBottom`
+ )->slider( value = `9`
+ width = `77%`
+ min = `0`
+ max = `10`
+ class = `sapUiSmallMarginBottom`
+ )->text( text = `Slider whose value cannot be changed`
+ class = `sapUiSmallMarginBottom`
+ )->slider( value = `5`
+ width = `66%`
+ min = `0`
+ max = `50`
+ enabled = abap_false
+ class = `sapUiSmallMarginBottom`
+ )->text( text = `Slider with text field`
+ class = `sapUiSmallMarginBottom`
+ )->slider( value = `50`
+ width = `100%`
+ min = `0`
+ max = `100`
showadvancedtooltip = abap_true
- inputsastooltips = abap_false
- class = `sapUiMediumMarginBottom`
- )->text( text = `Slider with input field` class = `sapUiSmallMarginBottom`
- )->slider( value = `30` width = `100%`
- min = `0` max = `200`
+ inputsastooltips = abap_false
+ class = `sapUiMediumMarginBottom`
+ )->text( text = `Slider with input field`
+ class = `sapUiSmallMarginBottom`
+ )->slider( value = `30`
+ width = `100%`
+ min = `0`
+ max = `200`
showadvancedtooltip = abap_true
- showhandletooltip = abap_false
- inputsastooltips = abap_true
- class = `sapUiMediumMarginBottom`
- )->text( text = `Slider with tickmarks` class = `sapUiSmallMarginBottom`
- )->slider( enableTickmarks = abap_true min = `0` max = `10` class = `sapUiMediumMarginBottom` width = `100%`
- )->slider( enableTickmarks = abap_true class = `sapUiMediumMarginBottom` width = `100%`
- )->text( text = `Slider with tickmarks and step '5'` class = `sapUiSmallMarginBottom`
- )->slider( enableTickmarks = abap_true min = `-100` max = `100` step = `5` class = `sapUiMediumMarginBottom` width = `100%`
- )->text( text = `Slider with tickmarks and labels` class = `sapUiSmallMarginBottom`
- )->slider( min = `0` max = `30` enableTickmarks = abap_true class = `sapUiMediumMarginBottom` width = `100%` )->get(
+ showhandletooltip = abap_false
+ inputsastooltips = abap_true
+ class = `sapUiMediumMarginBottom`
+ )->text( text = `Slider with tickmarks`
+ class = `sapUiSmallMarginBottom`
+ )->slider( enableTickmarks = abap_true
+ min = `0`
+ max = `10`
+ class = `sapUiMediumMarginBottom`
+ width = `100%`
+ )->slider( enableTickmarks = abap_true
+ class = `sapUiMediumMarginBottom`
+ width = `100%`
+ )->text( text = `Slider with tickmarks and step '5'`
+ class = `sapUiSmallMarginBottom`
+ )->slider( enableTickmarks = abap_true
+ min = `-100`
+ max = `100`
+ step = `5`
+ class = `sapUiMediumMarginBottom`
+ width = `100%`
+ )->text( text = `Slider with tickmarks and labels`
+ class = `sapUiSmallMarginBottom`
+ )->slider( min = `0`
+ max = `30`
+ enableTickmarks = abap_true
+ class = `sapUiMediumMarginBottom`
+ width = `100%` )->get(
)->responsive_scale( tickmarksBetweenLabels = `3`
).
@@ -81,8 +120,7 @@ CLASS z2ui5_cl_demo_app_237 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -93,25 +131,22 @@ CLASS z2ui5_cl_demo_app_237 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
view->quick_view( placement = `Bottom`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `With the Slider a user can choose a value from a numerical range.`
)->get_parent( ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -123,4 +158,5 @@ CLASS z2ui5_cl_demo_app_237 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_238.clas.abap b/src/z2ui5_cl_demo_app_238.clas.abap
index ff160fa9..a3ae748e 100644
--- a/src/z2ui5_cl_demo_app_238.clas.abap
+++ b/src/z2ui5_cl_demo_app_238.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_238 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_238 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_238 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Message Strip'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Message Strip'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,58 +47,58 @@ CLASS z2ui5_cl_demo_app_238 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.MessageStrip/sample/sap.m.sample.MessageStrip' ).
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
-
- layout->message_strip( text = `Default (Information) with default icon and close button:`
- showIcon = abap_true
- showCloseButton = abap_true
- class = `sapUiMediumMarginBottom` ).
-
- layout->message_strip( text = `Error with default icon and close button:`
- type = `Error`
- showIcon = abap_true
- showCloseButton = abap_true
- class = `sapUiMediumMarginBottom` ).
-
- layout->message_strip( text = `Warning with default icon and close button:`
- type = `Warning`
- showIcon = abap_true
- showCloseButton = abap_true
- class = `sapUiMediumMarginBottom` ).
-
- layout->message_strip( text = `Success with default icon and close button:`
- type = `Success`
- showIcon = abap_true
- showCloseButton = abap_true
- class = `sapUiMediumMarginBottom` ).
-
- layout->message_strip( text = `Information with default icon.`
- type = `Information`
- showIcon = abap_true
- class = `sapUiMediumMarginBottom` ).
-
- layout->message_strip( text = `Information with custom icon`
- type = `Information`
- showIcon = abap_true
- customIcon = `sap-icon://locked`
- class = `sapUiMediumMarginBottom` ).
-
- layout->message_strip( text = `Error with link`
- type = `Error`
- showCloseButton = abap_true
- class = `sapUiMediumMarginBottom`
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+
+ layout->message_strip( text = `Default (Information) with default icon and close button:`
+ showIcon = abap_true
+ showCloseButton = abap_true
+ class = `sapUiMediumMarginBottom` ).
+
+ layout->message_strip( text = `Error with default icon and close button:`
+ type = `Error`
+ showIcon = abap_true
+ showCloseButton = abap_true
+ class = `sapUiMediumMarginBottom` ).
+
+ layout->message_strip( text = `Warning with default icon and close button:`
+ type = `Warning`
+ showIcon = abap_true
+ showCloseButton = abap_true
+ class = `sapUiMediumMarginBottom` ).
+
+ layout->message_strip( text = `Success with default icon and close button:`
+ type = `Success`
+ showIcon = abap_true
+ showCloseButton = abap_true
+ class = `sapUiMediumMarginBottom` ).
+
+ layout->message_strip( text = `Information with default icon.`
+ type = `Information`
+ showIcon = abap_true
+ class = `sapUiMediumMarginBottom` ).
+
+ layout->message_strip( text = `Information with custom icon`
+ type = `Information`
+ showIcon = abap_true
+ customIcon = `sap-icon://locked`
+ class = `sapUiMediumMarginBottom` ).
+
+ layout->message_strip( text = `Error with link`
+ type = `Error`
+ showCloseButton = abap_true
+ class = `sapUiMediumMarginBottom`
)->get(
- )->link( text = `Open SAP Homepage`
+ )->link( text = `Open SAP Homepage`
target = `_blank`
- href = `http://www.sap.com`
+ href = `http://www.sap.com`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -111,24 +109,21 @@ CLASS z2ui5_cl_demo_app_238 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
view->quick_view( placement = `Bottom`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `MessageStrip for showing status messages.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -140,4 +135,5 @@ CLASS z2ui5_cl_demo_app_238 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_239.clas.abap b/src/z2ui5_cl_demo_app_239.clas.abap
index 3accc075..91868000 100644
--- a/src/z2ui5_cl_demo_app_239.clas.abap
+++ b/src/z2ui5_cl_demo_app_239.clas.abap
@@ -1,23 +1,24 @@
-class z2ui5_cl_demo_app_239 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_239 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,76 +27,94 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_239 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Check Box'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Check Box'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox' ).
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.CheckBox/sample/sap.m.sample.CheckBox' ).
DATA(layout) = page->vbox(
- )->checkbox( text = `Option a` selected = abap_true
+ )->checkbox( text = `Option a`
+ selected = abap_true
)->checkbox( text = `Option b`
- )->checkbox( text = `Option c` selected = abap_true
+ )->checkbox( text = `Option c`
+ selected = abap_true
)->checkbox( text = `Option d`
- )->checkbox( text = `Option e` enabled = abap_false
- )->checkbox( text = `Option partially selected` selected = abap_true partiallyselected = abap_true
- )->checkbox( text = `Required option` required = abap_true
- )->checkbox( text = `Warning` valuestate = `Warning`
- )->checkbox( text = `Warning disabled` valuestate = `Warning` enabled = abap_false selected = abap_true
- )->checkbox( text = `Error` valuestate = `Error`
- )->checkbox( text = `Error disabled` valuestate = `Error` enabled = abap_false selected = abap_true
- )->checkbox( text = `Information` valuestate = `Information`
- )->checkbox( text = `Information disabled` valuestate = `Information` enabled = abap_false selected = abap_true
- )->checkbox( text = `Checkbox with wrapping='true' and long text` wrapping = abap_true width = `150px` ).
- layout->simple_form(
- editable = abap_true
- layout = `ResponsiveGridLayout`
- labelspanl = `4`
- labelspanm = `4`
+ )->checkbox( text = `Option e`
+ enabled = abap_false
+ )->checkbox( text = `Option partially selected`
+ selected = abap_true
+ partiallyselected = abap_true
+ )->checkbox( text = `Required option`
+ required = abap_true
+ )->checkbox( text = `Warning`
+ valuestate = `Warning`
+ )->checkbox( text = `Warning disabled`
+ valuestate = `Warning`
+ enabled = abap_false
+ selected = abap_true
+ )->checkbox( text = `Error`
+ valuestate = `Error`
+ )->checkbox( text = `Error disabled`
+ valuestate = `Error`
+ enabled = abap_false
+ selected = abap_true
+ )->checkbox( text = `Information`
+ valuestate = `Information`
+ )->checkbox( text = `Information disabled`
+ valuestate = `Information`
+ enabled = abap_false
+ selected = abap_true
+ )->checkbox( text = `Checkbox with wrapping='true' and long text`
+ wrapping = abap_true
+ width = `150px` ).
+ layout->simple_form( editable = abap_true
+ layout = `ResponsiveGridLayout`
+ labelspanl = `4`
+ labelspanm = `4`
)->content( ns = `form`
)->label( text = `Clearing with Customer`
)->checkbox( text = `Option`
- )->checkbox( text = `Option 2` selected = abap_true )->get(
+ )->checkbox( text = `Option 2`
+ selected = abap_true )->get(
)->layout_data(
)->grid_data( linebreak = abap_true
- indentl = `4`
- indentm = `4` )->get_parent( )->get_parent(
- )->checkbox( id = `focusMe` text = `Option 3` )->get(
+ indentl = `4`
+ indentm = `4` )->get_parent( )->get_parent(
+ )->checkbox( id = `focusMe`
+ text = `Option 3` )->get(
)->layout_data(
)->grid_data( linebreak = abap_true
- indentl = `4`
- indentm = `4` )->get_parent( )->get_parent(
- )->checkbox( text = `Checkbox with wrapping='true' and long text placed in a form` wrapping = abap_true width = `200px` )->get(
+ indentl = `4`
+ indentm = `4` )->get_parent( )->get_parent(
+ )->checkbox( text = `Checkbox with wrapping='true' and long text placed in a form`
+ wrapping = abap_true
+ width = `200px` )->get(
)->layout_data(
)->grid_data( linebreak = abap_true
- indentl = `4`
- indentm = `4`
+ indentl = `4`
+ indentm = `4`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -106,24 +125,23 @@ CLASS z2ui5_cl_demo_app_239 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Checkboxes allow users to select a subset of options. If you want to offer an off/on setting you should use the Switch control instead.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Checkboxes allow users to select a subset of options. If you want to offer an off/on setting you should use the Switch control instead.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -135,4 +153,5 @@ CLASS z2ui5_cl_demo_app_239 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_240.clas.abap b/src/z2ui5_cl_demo_app_240.clas.abap
index bb86ba62..34f77c99 100644
--- a/src/z2ui5_cl_demo_app_240.clas.abap
+++ b/src/z2ui5_cl_demo_app_240.clas.abap
@@ -1,23 +1,24 @@
-class z2ui5_cl_demo_app_240 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_240 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,32 +27,28 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_240 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Switch`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Switch`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Switch/sample/sap.m.sample.Switch' ).
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Switch/sample/sap.m.sample.Switch' ).
- DATA(layout) = page->vbox(
- class = `sapUiSmallMargin`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->vbox( class = `sapUiSmallMargin`
)->hbox(
)->switch( state = abap_true )->get(
)->layout_data(
@@ -59,50 +56,67 @@ CLASS z2ui5_cl_demo_app_240 IMPLEMENTATION.
)->switch( state = abap_false )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->switch( state = abap_true enabled = abap_false )->get(
+ )->switch( state = abap_true
+ enabled = abap_false )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent( )->get_parent(
)->hbox(
- )->switch( state = abap_true customtexton = `Yes` customtextoff = `No` )->get(
+ )->switch( state = abap_true
+ customtexton = `Yes`
+ customtextoff = `No` )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->switch( state = abap_false customtexton = `Yes` customtextoff = `No` )->get(
+ )->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
+ )->switch( state = abap_false
+ customtexton = `Yes`
+ customtextoff = `No` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->switch( state = abap_true customtexton = `Yes` customtextoff = `No` enabled = abap_false )->get(
+ )->switch( state = abap_true
+ customtexton = `Yes`
+ customtextoff = `No`
+ enabled = abap_false )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent( )->get_parent(
)->hbox(
- )->switch( state = abap_true customtexton = ` ` customtextoff = ` ` )->get(
+ )->switch( state = abap_true
+ customtexton = ` `
+ customtextoff = ` ` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->switch( state = abap_false customtexton = ` ` customtextoff = ` ` )->get(
+ )->switch( state = abap_false
+ customtexton = ` `
+ customtextoff = ` ` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->switch( state = abap_true customtexton = ` ` customtextoff = ` ` enabled = abap_false )->get(
+ )->switch( state = abap_true
+ customtexton = ` `
+ customtextoff = ` `
+ enabled = abap_false )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent( )->get_parent(
)->hbox(
- )->switch( type = `AcceptReject` state = abap_true )->get(
+ )->switch( type = `AcceptReject`
+ state = abap_true )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
+ )->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
)->switch( type = `AcceptReject` )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->switch( type = `AcceptReject` state = abap_true enabled = abap_false )->get(
+ )->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
+ )->switch( type = `AcceptReject`
+ state = abap_true
+ enabled = abap_false )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1`
+ )->flex_item_data( growfactor = `1`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -113,24 +127,23 @@ CLASS z2ui5_cl_demo_app_240 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `"Some say it is only a switch, I say it is one of the most stylish controls in the universe of mobile UI controls." (unknown developer)` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `"Some say it is only a switch, I say it is one of the most stylish controls in the universe of mobile UI controls." (unknown developer)` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -142,4 +155,5 @@ CLASS z2ui5_cl_demo_app_240 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_241.clas.abap b/src/z2ui5_cl_demo_app_241.clas.abap
index 564fa262..ca53e87e 100644
--- a/src/z2ui5_cl_demo_app_241.clas.abap
+++ b/src/z2ui5_cl_demo_app_241.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_241 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_241 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_241 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Tile Content'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Tile Content'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,29 +47,41 @@ CLASS z2ui5_cl_demo_app_241 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.TileContent/sample/sap.m.sample.TileContent' ).
- DATA(layout) = page->grid( containerquery = abap_true class = `sapUiSmallMarginTop`
- )->tile_content( footer = `Current Quarter` unit = `EUR` "class = `sapUiSmallMargin`
- )->numeric_content( scale = `M` value = `1.96`
- valuecolor = `Error` indicator = `Up` )->get_parent( )->get_parent(
- )->tile_content( footer = `Leave Requests` class = `sapUiSmallMargin`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->grid( containerquery = abap_true
+ class = `sapUiSmallMarginTop`
+ )->tile_content( footer = `Current Quarter`
+ unit = `EUR` " class = `sapUiSmallMargin`
+ )->numeric_content( scale = `M`
+ value = `1.96`
+ valuecolor = `Error`
+ indicator = `Up` )->get_parent( )->get_parent(
+ )->tile_content( footer = `Leave Requests`
+ class = `sapUiSmallMargin`
)->numeric_content( value = `3`
- icon = `sap-icon://travel-expense` )->get_parent( )->get_parent(
- )->tile_content( footer = `Hours since last Activity` class = `sapUiSmallMargin`
- )->numeric_content( value = `9` icon = `sap-icon://locked` )->get_parent( )->get_parent(
- )->tile_content( footer = `New Notifications` class = `sapUiSmallMargin`
- )->feed_content( contenttext = `@@notify Great outcome of the Presentation today. The new functionality and the new design was well received.`
- subheader = `about 1 minute ago in Computer Market` value = `132` )->get_parent( )->get_parent(
- )->tile_content( footer = `August 21, 2013` class = `sapUiSmallMargin`
- )->news_content( contenttext = `SAP Unveils Powerful New Player Comparison Tool Exclusively on NFL.com`
- subheader = `SAP News`
+ icon = `sap-icon://travel-expense` )->get_parent( )->get_parent(
+ )->tile_content( footer = `Hours since last Activity`
+ class = `sapUiSmallMargin`
+ )->numeric_content( value = `9`
+ icon = `sap-icon://locked` )->get_parent( )->get_parent(
+ )->tile_content( footer = `New Notifications`
+ class = `sapUiSmallMargin`
+ )->feed_content(
+ contenttext = `@@notify Great outcome of the Presentation today. The new functionality and the new design was well received.`
+ subheader = `about 1 minute ago in Computer Market`
+ value = `132` )->get_parent( )->get_parent(
+ )->tile_content( footer = `August 21, 2013`
+ class = `sapUiSmallMargin`
+ )->news_content(
+ contenttext = `SAP Unveils Powerful New Player Comparison Tool Exclusively on NFL.com`
+ subheader = `SAP News`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -82,24 +92,23 @@ CLASS z2ui5_cl_demo_app_241 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows the universal container for different content types and context information in the footer area.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Shows the universal container for different content types and context information in the footer area.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -111,4 +120,5 @@ CLASS z2ui5_cl_demo_app_241 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_242.clas.abap b/src/z2ui5_cl_demo_app_242.clas.abap
index cfcc8f46..80be14f9 100644
--- a/src/z2ui5_cl_demo_app_242.clas.abap
+++ b/src/z2ui5_cl_demo_app_242.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_242 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_242 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_242 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: HTML'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: HTML'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,24 +47,23 @@ CLASS z2ui5_cl_demo_app_242 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.core.HTML/sample/sap.ui.core.sample.Html' ).
-
- DATA(layout) = page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
)->content( ns = `layout`
- )->html( content = `Lorem ipsum Lorem ipsum dolor sit amet, consetetur sadipscing elitr, ` &&
- `sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Learn more about Lorem Ipsum ... `
+ )->html(
+ content = |Lorem ipsum Lorem ipsum dolor sit amet, consetetur sadipscing elitr, | &&
+ |sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
Learn more about Lorem Ipsum ... |
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -77,24 +74,23 @@ CLASS z2ui5_cl_demo_app_242 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `With the HTML controls you can easily embed any kind of HTML content into your UI5 mobile application.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `With the HTML controls you can easily embed any kind of HTML content into your UI5 mobile application.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -106,4 +102,5 @@ CLASS z2ui5_cl_demo_app_242 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_243.clas.abap b/src/z2ui5_cl_demo_app_243.clas.abap
index 57d7c601..5226829e 100644
--- a/src/z2ui5_cl_demo_app_243.clas.abap
+++ b/src/z2ui5_cl_demo_app_243.clas.abap
@@ -1,17 +1,17 @@
-class z2ui5_cl_demo_app_243 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_243 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
@@ -20,47 +20,50 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_243 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Negative Margins'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ )->page( title = 'abap2UI5 - Sample: Negative Margins'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- )->page( showheader = `false` class = `sapUiContentPadding`
+ )->page( showheader = `false`
+ class = `sapUiContentPadding`
)->sub_header( )->toolbar( design = `Info`
)->icon( src = `sap-icon://begin`
- )->text( text = `This sample demonstrates classes which let you to add negative margin at two opposite sides (begin/end).` )->get_parent( )->get_parent( ).
-
- DATA(layout) = page->panel( class = `sapUiTinyNegativeMarginBeginEnd`
- )->content(
- )->text( text = `This panel uses margin class 'sapUiTinyNegativeMarginBeginEnd' to add a -0.5rem space at the panel's left and right sides.`
- class = `sapMH4FontSize` )->get_parent( )->get_parent(
- )->panel( class = `sapUiSmallNegativeMarginBeginEnd`
- )->content(
- )->text( text = `This panel uses margin class 'sapUiSmallNegativeMarginBeginEnd' to add a -1rem space at the panel's left and right sides.`
- class = `sapMH4FontSize` )->get_parent( )->get_parent(
- )->panel( class = `sapUiMediumNegativeMarginBeginEnd`
- )->content(
- )->text( text = `This panel uses margin class 'sapUiMediumNegativeMarginBeginEnd' to add a -2rem space at the panel's left and right sides.`
- class = `sapMH4FontSize` )->get_parent( )->get_parent(
- )->panel( class = `sapUiLargeNegativeMarginBeginEnd`
- )->content(
- )->text( text = `This panel uses margin class 'sapUiLargeNegativeMarginBeginEnd' to add a -3rem space at the panel's left and right sides.`
- class = `sapMH4FontSize`
- ).
+ )->text(
+ text = `This sample demonstrates classes which let you to add negative margin at two opposite sides (begin/end).` )->get_parent( )->get_parent( ).
+
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->panel( class = `sapUiTinyNegativeMarginBeginEnd`
+ )->content(
+ )->text(
+ text = `This panel uses margin class 'sapUiTinyNegativeMarginBeginEnd' to add a -0.5rem space at the panel's left and right sides.`
+ class = `sapMH4FontSize` )->get_parent( )->get_parent(
+ )->panel( class = `sapUiSmallNegativeMarginBeginEnd`
+ )->content(
+ )->text(
+ text = `This panel uses margin class 'sapUiSmallNegativeMarginBeginEnd' to add a -1rem space at the panel's left and right sides.`
+ class = `sapMH4FontSize` )->get_parent( )->get_parent(
+ )->panel( class = `sapUiMediumNegativeMarginBeginEnd`
+ )->content(
+ )->text(
+ text = `This panel uses margin class 'sapUiMediumNegativeMarginBeginEnd' to add a -2rem space at the panel's left and right sides.`
+ class = `sapMH4FontSize` )->get_parent( )->get_parent(
+ )->panel( class = `sapUiLargeNegativeMarginBeginEnd`
+ )->content(
+ )->text(
+ text = `This panel uses margin class 'sapUiLargeNegativeMarginBeginEnd' to add a -3rem space at the panel's left and right sides.`
+ class = `sapMH4FontSize`
+ ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -69,8 +72,7 @@ CLASS z2ui5_cl_demo_app_243 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
check_initialized = abap_true.
@@ -80,4 +82,5 @@ CLASS z2ui5_cl_demo_app_243 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_244.clas.abap b/src/z2ui5_cl_demo_app_244.clas.abap
index b91d613b..7c380748 100644
--- a/src/z2ui5_cl_demo_app_244.clas.abap
+++ b/src/z2ui5_cl_demo_app_244.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_244 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_244 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,41 +26,38 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_244 IMPLEMENTATION.
+ METHOD display_view.
- METHOD DISPLAY_VIEW.
-
-
- DATA(css) = `.sapUiDemoFlexBoxSizeAdjustments .sapMFlexItem {` &&
- ` border: 1px dashed #000;` &&
- ` margin: 0.1875rem;` &&
- ` padding: 0.1875rem;` &&
- `}` &&
+ DATA(css) = |.sapUiDemoFlexBoxSizeAdjustments .sapMFlexItem \{| &&
+ | border: 1px dashed #000;| &&
+ | margin: 0.1875rem;| &&
+ | padding: 0.1875rem;| &&
+ |\}| &&
- `.sapUiDemoFlexBoxSizeAdjustmentsZeroWidthItems .sapMFlexItem {` &&
- ` width: 0;` &&
- `}` &&
+ |.sapUiDemoFlexBoxSizeAdjustmentsZeroWidthItems .sapMFlexItem \{| &&
+ | width: 0;| &&
+ |\}| &&
- `.sapMFlexItem {` &&
- ` position: relative;` &&
- `}`.
+ |.sapMFlexItem \{| &&
+ | position: relative;| &&
+ |\}|.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `style` ns = `html` )->_cc_plain_xml( css )->get_parent( ).
+ view->_generic( name = `style`
+ ns = `html` )->_cc_plain_xml( css )->get_parent( ).
DATA(page) = view->shell(
- )->page(
- title = `abap2UI5 - Sample: Flex Box - Size Adjustments`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Flex Box - Size Adjustments`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -67,66 +65,118 @@ CLASS z2ui5_cl_demo_app_244 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.FlexBox/sample/sap.m.sample.FlexBoxSizeAdjustments' ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(layout) = page->vbox(
- )->panel( headertext = `Equal flexibility and content` class = `sapUiDemoFlexBoxSizeAdjustments`
+ )->panel( headertext = `Equal flexibility and content`
+ class = `sapUiDemoFlexBoxSizeAdjustments`
)->flex_box( alignitems = `Start`
- )->button( text = `1` width = `100%` type = `Emphasized` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `1`
+ width = `100%`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->button( text = `2` width = `100%` type = `Reject` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `2`
+ width = `100%`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->button( text = `3` width = `100%` type = `Accept` )->get(
+ )->button( text = `3`
+ width = `100%`
+ type = `Accept` )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->flex_item_data(
+ growfactor = `1` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
- )->panel( headertext = `Different flexibility, equal content` class = `sapUiDemoFlexBoxSizeAdjustments`
+ )->panel( headertext = `Different flexibility, equal content`
+ class = `sapUiDemoFlexBoxSizeAdjustments`
)->flex_box( alignitems = `Start`
- )->button( text = `1` width = `100%` type = `Emphasized` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `1`
+ width = `100%`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->button( text = `2` width = `100%` type = `Reject` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `2`
+ width = `100%`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `2` )->get_parent( )->get_parent(
- )->button( text = `3` width = `100%` type = `Accept` )->get(
+ )->button( text = `3`
+ width = `100%`
+ type = `Accept` )->get(
)->layout_data(
- )->flex_item_data( growfactor = `3` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->flex_item_data(
+ growfactor = `3` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
- )->panel( headertext = `Equal flexibility, different content` class = `sapUiDemoFlexBoxSizeAdjustments`
+ )->panel( headertext = `Equal flexibility, different content`
+ class = `sapUiDemoFlexBoxSizeAdjustments`
)->flex_box( alignitems = `Start`
- )->button( text = `1` width = `50px` type = `Emphasized` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `1`
+ width = `50px`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->button( text = `2` width = `100px` type = `Reject` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `2`
+ width = `100px`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->button( text = `3` width = `150px` type = `Accept` )->get(
+ )->button( text = `3`
+ width = `150px`
+ type = `Accept` )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1`)->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->flex_item_data(
+ growfactor = `1` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
- )->panel( headertext = `Equal flexibility, different content, width 0` class = `sapUiDemoFlexBoxSizeAdjustments`
- )->flex_box( alignitems = `Start` class = `sapUiDemoFlexBoxSizeAdjustmentsZeroWidthItems`
- )->button( text = `1` width = `100%` type = `Emphasized` class = `sapUiSmallMarginEnd` )->get(
+ )->panel( headertext = `Equal flexibility, different content, width 0`
+ class = `sapUiDemoFlexBoxSizeAdjustments`
+ )->flex_box( alignitems = `Start`
+ class = `sapUiDemoFlexBoxSizeAdjustmentsZeroWidthItems`
+ )->button( text = `1`
+ width = `100%`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->button( text = `2` width = `100%` type = `Reject` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `2`
+ width = `100%`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->button( text = `3` width = `100%` type = `Accept` )->get(
+ )->button( text = `3`
+ width = `100%`
+ type = `Accept` )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1`)->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->flex_item_data(
+ growfactor = `1` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
- )->panel( headertext = `Different flexibility and content, width 0` class = `sapUiDemoFlexBoxSizeAdjustments`
- )->flex_box( alignitems = `Start` class = `sapUiDemoFlexBoxSizeAdjustmentsZeroWidthItems`
- )->button( text = `1` width = `50px` type = `Emphasized` class = `sapUiSmallMarginEnd` )->get(
+ )->panel( headertext = `Different flexibility and content, width 0`
+ class = `sapUiDemoFlexBoxSizeAdjustments`
+ )->flex_box( alignitems = `Start`
+ class = `sapUiDemoFlexBoxSizeAdjustmentsZeroWidthItems`
+ )->button( text = `1`
+ width = `50px`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->button( text = `2` width = `100px` type = `Reject` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `2`
+ width = `100px`
+ type = `Reject`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->button( text = `3` width = `150px` type = `Accept` )->get(
+ )->button( text = `3`
+ width = `150px`
+ type = `Accept` )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1`)->get_parent(
+ )->flex_item_data( growfactor = `1` )->get_parent(
).
@@ -134,8 +184,7 @@ CLASS z2ui5_cl_demo_app_244 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -146,25 +195,24 @@ CLASS z2ui5_cl_demo_app_244 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Automatic size adjustments can be achieved for Flex Items with the use of Flex Item Data settings on the contained controls.`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Automatic size adjustments can be achieved for Flex Items with the use of Flex Item Data settings on the contained controls.`
).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -176,4 +224,5 @@ CLASS z2ui5_cl_demo_app_244 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_245.clas.abap b/src/z2ui5_cl_demo_app_245.clas.abap
index 2a425c0a..7d22d139 100644
--- a/src/z2ui5_cl_demo_app_245.clas.abap
+++ b/src/z2ui5_cl_demo_app_245.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_245 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_245 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_245 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Flex Box - Direction & Order`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Flex Box - Direction & Order`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,34 +47,53 @@ CLASS z2ui5_cl_demo_app_245 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.FlexBox/sample/sap.m.sample.FlexBoxDirectionOrder' ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(layout) = page->vbox(
)->panel( headertext = `Reverse, horizontal`
- )->flex_box( direction = `RowReverse` alignItems = `Start`
- )->button( text = `1` type = `Emphasized`
- )->button( text = `2` type = `Reject`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->flex_box( direction = `RowReverse`
+ alignItems = `Start`
+ )->button( text = `1`
+ type = `Emphasized`
+ )->button( text = `2`
+ type = `Reject`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Top to bottom, vertical`
- )->flex_box( direction = `Column` alignItems = `Start`
- )->button( text = `1` type = `Emphasized`
- )->button( text = `2` type = `Reject`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->flex_box( direction = `Column`
+ alignItems = `Start`
+ )->button( text = `1`
+ type = `Emphasized`
+ )->button( text = `2`
+ type = `Reject`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Bottom to top, reverse vertical`
- )->flex_box( direction = `ColumnReverse` alignItems = `Start`
- )->button( text = `1` type = `Emphasized`
- )->button( text = `2` type = `Reject`
- )->button( text = `3` type = `Accept` )->get_parent( )->get_parent(
+ )->flex_box( direction = `ColumnReverse`
+ alignItems = `Start`
+ )->button( text = `1`
+ type = `Emphasized`
+ )->button( text = `2`
+ type = `Reject`
+ )->button( text = `3`
+ type = `Accept` )->get_parent( )->get_parent(
)->panel( headertext = `Arbitrary flex item order`
)->flex_box( alignItems = `Start`
- )->button( text = `1` type = `Emphasized` class = `sapUiTinyMarginEnd` )->get(
+ )->button( text = `1`
+ type = `Emphasized`
+ class = `sapUiTinyMarginEnd` )->get(
)->layout_data(
)->flex_item_data( order = `2` )->get_parent( )->get_parent(
- )->button( text = `2` type = `Reject` class = `sapUiTinyMarginEnd` )->get(
+ )->button( text = `2`
+ type = `Reject`
+ class = `sapUiTinyMarginEnd` )->get(
)->layout_data(
)->flex_item_data( order = `3` )->get_parent( )->get_parent(
- )->button( text = `3` type = `Accept` class = `sapUiTinyMarginEnd` )->get(
+ )->button( text = `3`
+ type = `Accept`
+ class = `sapUiTinyMarginEnd` )->get(
)->layout_data(
)->flex_item_data( order = `1`
).
@@ -85,8 +102,7 @@ CLASS z2ui5_cl_demo_app_245 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -97,24 +113,23 @@ CLASS z2ui5_cl_demo_app_245 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `You can influence the direction and order of elements in horizontal and vertical Flex Box controls with the direction property.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `You can influence the direction and order of elements in horizontal and vertical Flex Box controls with the direction property.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -126,4 +141,5 @@ CLASS z2ui5_cl_demo_app_245 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_246.clas.abap b/src/z2ui5_cl_demo_app_246.clas.abap
index fe944af2..0d1cfedb 100644
--- a/src/z2ui5_cl_demo_app_246.clas.abap
+++ b/src/z2ui5_cl_demo_app_246.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_246 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_246 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_246 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Input - Suggestions wrapping'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Input - Suggestions wrapping'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,29 +47,34 @@ CLASS z2ui5_cl_demo_app_246 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Input/sample/sap.m.sample.InputWrapping' ).
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
- layout->label( text = `Product` labelfor = `wrappingInput` ).
- layout->input(
- id = `wrappingInput`
- placeholder = `Enter product`
- showsuggestion = abap_true
- width = `50%` )->get(
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
+ layout->label( text = `Product`
+ labelfor = `wrappingInput` ).
+ layout->input( id = `wrappingInput`
+ placeholder = `Enter product`
+ showsuggestion = abap_true
+ width = `50%` )->get(
)->suggestion_items(
- )->item( key = `1` text = `Wireless DSL/ Repeater and Print Server Lorem ipsum dolar st amet, consetetur sadipscing elitr, ` &&
- `sed diam nonumy eirmod tempor incidunt ut labore et dolore magna aliquyam erat, diam nonumy eirmod ` &&
- `tempor individunt ut labore et dolore magna aliquyam erat, sed justo et ea rebum.`
- )->item( key = `2` text = `7" Widescreen Portable DVD Player w MP3, consetetur sadipscing, sed diam nonumy eirmod tempor invidunt ` &&
- `ut labore et dolore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ` &&
- `ea rebum. Stet clita kasd gubergen, no sea takimata. Tortor pretium viverra suspendisse potenti nullam.` )->get_parent(
- )->item( key = `3` text = `Portable DVD Player with 9" LCD Monitor`
+ )->item(
+ key = `1`
+ text = |Wireless DSL/ Repeater and Print Server Lorem ipsum dolar st amet, consetetur sadipscing elitr, | &&
+ |sed diam nonumy eirmod tempor incidunt ut labore et dolore magna aliquyam erat, diam nonumy eirmod | &&
+ |tempor individunt ut labore et dolore magna aliquyam erat, sed justo et ea rebum.|
+ )->item(
+ key = `2`
+ text = |7" Widescreen Portable DVD Player w MP3, consetetur sadipscing, sed diam nonumy eirmod tempor invidunt | &&
+ |ut labore et dolore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et | &&
+ |ea rebum. Stet clita kasd gubergen, no sea takimata. Tortor pretium viverra suspendisse potenti nullam.| )->get_parent(
+ )->item( key = `3`
+ text = `Portable DVD Player with 9" LCD Monitor`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -82,24 +85,22 @@ CLASS z2ui5_cl_demo_app_246 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `Suggestions wrap automatically when longer then the dropdown width` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -111,4 +112,5 @@ CLASS z2ui5_cl_demo_app_246 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_247.clas.abap b/src/z2ui5_cl_demo_app_247.clas.abap
index c0e12a33..67b7230c 100644
--- a/src/z2ui5_cl_demo_app_247.clas.abap
+++ b/src/z2ui5_cl_demo_app_247.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_247 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_247 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_247 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Splitter Layout - 2 areas'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Splitter Layout - 2 areas'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,11 +47,14 @@ CLASS z2ui5_cl_demo_app_247 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.layout.Splitter/sample/sap.ui.layout.sample.Splitter2' ).
- DATA(layout) = page->splitter( height = `500px`
- )->button( width = `100%` text = `Content 1` )->get(
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->splitter( height = `500px`
+ )->button( width = `100%`
+ text = `Content 1` )->get(
)->layout_data(
)->splitter_layout_data( size = `300px` )->get_parent( )->get_parent( )->get_parent(
- )->button( width = `100%` text = `Content 2` )->get(
+ )->button( width = `100%`
+ text = `Content 2` )->get(
)->layout_data(
)->splitter_layout_data( size = `auto`
).
@@ -62,8 +63,7 @@ CLASS z2ui5_cl_demo_app_247 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -74,24 +74,22 @@ CLASS z2ui5_cl_demo_app_247 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `Simple splitter example with two content areas` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -103,4 +101,5 @@ CLASS z2ui5_cl_demo_app_247 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_248.clas.abap b/src/z2ui5_cl_demo_app_248.clas.abap
index f53b5510..9e010869 100644
--- a/src/z2ui5_cl_demo_app_248.clas.abap
+++ b/src/z2ui5_cl_demo_app_248.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_248 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_248 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_248 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Splitter Layout - 2 non-resizable areas'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Splitter Layout - 2 non-resizable areas'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,10 +47,13 @@ CLASS z2ui5_cl_demo_app_248 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.layout.Splitter/sample/sap.ui.layout.sample.Splitter3' ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(layout) = page->splitter(
)->text( text = `Content 1` )->get(
)->layout_data(
- )->splitter_layout_data( size = `30%` resizable = abap_false )->get_parent( )->get_parent( )->get_parent(
+ )->splitter_layout_data(
+ size = `30%`
+ resizable = abap_false )->get_parent( )->get_parent( )->get_parent(
)->text( text = `Content 2` )->get(
)->layout_data(
)->splitter_layout_data( size = `auto`
@@ -62,8 +63,7 @@ CLASS z2ui5_cl_demo_app_248 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -74,24 +74,23 @@ CLASS z2ui5_cl_demo_app_248 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Simple splitter example with two content areas that cannot be resized` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Simple splitter example with two content areas that cannot be resized` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -103,4 +102,5 @@ CLASS z2ui5_cl_demo_app_248 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_249.clas.abap b/src/z2ui5_cl_demo_app_249.clas.abap
index f0505af8..08b150f8 100644
--- a/src/z2ui5_cl_demo_app_249.clas.abap
+++ b/src/z2ui5_cl_demo_app_249.clas.abap
@@ -1,23 +1,24 @@
-class z2ui5_cl_demo_app_249 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_249 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +27,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_249 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Splitter Layout - 3 areas'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Splitter Layout - 3 areas'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -50,24 +48,30 @@ CLASS z2ui5_cl_demo_app_249 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.layout.Splitter/sample/sap.ui.layout.sample.Splitter4' ).
- DATA(layout) = page->splitter( height = `500px` width = `100%`
- )->button( width = `100%` text = `Content 1` )->get(
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->splitter( height = `500px`
+ width = `100%`
+ )->button( width = `100%`
+ text = `Content 1` )->get(
)->layout_data(
)->splitter_layout_data( size = `300px` )->get_parent( )->get_parent( )->get_parent(
- )->button( width = `100%` text = `Content 2` )->get(
+ )->button( width = `100%`
+ text = `Content 2` )->get(
)->layout_data(
)->splitter_layout_data( size = `auto` )->get_parent( )->get_parent( )->get_parent(
- )->button( width = `100%` text = `Content 3` )->get(
+ )->button( width = `100%`
+ text = `Content 3` )->get(
)->layout_data(
- )->splitter_layout_data( size = `30%` minsize = `200px` )->get_parent( )->get_parent( )->get_parent(
+ )->splitter_layout_data(
+ size = `30%`
+ minsize = `200px` )->get_parent( )->get_parent( )->get_parent(
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -78,24 +82,22 @@ CLASS z2ui5_cl_demo_app_249 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `Simple splitter example with three content areas` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -107,4 +109,5 @@ CLASS z2ui5_cl_demo_app_249 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_250.clas.abap b/src/z2ui5_cl_demo_app_250.clas.abap
index 4145915c..fb2854b3 100644
--- a/src/z2ui5_cl_demo_app_250.clas.abap
+++ b/src/z2ui5_cl_demo_app_250.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_250 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_250 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_250 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: OverflowToolbar - Alignment'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: OverflowToolbar - Alignment'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page_01->header_content(
)->link(
@@ -49,65 +47,90 @@ CLASS z2ui5_cl_demo_app_250 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.OverflowToolbar/sample/sap.m.sample.ToolbarAlignment' ).
- DATA(page_02) = page_01->page(
- )->invisible_text( ns = `core`
- id = `inputLabel`
- text = `Input label`)->get_parent(
-
- )->message_strip( text = `Left and Right aligned content.` class = `sapUiTinyMargin`
+ DATA(page_02) = page_01->page(
+ )->invisible_text( ns = `core`
+ id = `inputLabel`
+ text = `Input label` )->get_parent(
+
+ )->message_strip( text = `Left and Right aligned content.`
+ class = `sapUiTinyMargin`
+ )->overflow_toolbar( class = `sapUiMediumMarginTop`
+ )->button( text = `Reject`
+ type = `Reject`
+ )->toolbar_spacer(
+ )->button( text = `Accept`
+ type = `Accept` )->get_parent(
+
+ )->message_strip( text = `Centered content.`
+ class = `sapUiTinyMargin`
)->overflow_toolbar( class = `sapUiMediumMarginTop`
- )->button( text = `Reject` type = `Reject`
)->toolbar_spacer(
- )->button( text = `Accept` type = `Accept` )->get_parent(
-
- )->message_strip( text = `Centered content.` class = `sapUiTinyMargin`
- )->overflow_toolbar( class = `sapUiMediumMarginTop`
- )->toolbar_spacer(
- )->button( text = `Centered content` type = `Accept`
- )->toolbar_spacer( )->get_parent(
-
- )->message_strip( text = `Right aligned content.` class = `sapUiTinyMargin`
+ )->button( text = `Centered content`
+ type = `Accept`
+ )->toolbar_spacer( )->get_parent(
+
+ )->message_strip( text = `Right aligned content.`
+ class = `sapUiTinyMargin`
+ )->overflow_toolbar( class = `sapUiMediumMarginTop`
+ )->toolbar_spacer(
+ )->button( text = `Right aligned content`
+ type = `Accept` )->get_parent(
+
+ )->message_strip( text = `You can have as many sections as you want with ToolbarSpacer.`
+ class = `sapUiTinyMargin`
)->overflow_toolbar( class = `sapUiMediumMarginTop`
+ )->button( text = `Accept`
+ type = `Accept`
+ )->toolbar_spacer(
+ )->checkbox( text = `CheckBox`
)->toolbar_spacer(
- )->button( text = `Right aligned content` type = `Accept` )->get_parent(
-
- )->message_strip( text = `You can have as many sections as you want with ToolbarSpacer.` class = `sapUiTinyMargin`
- )->overflow_toolbar( class = `sapUiMediumMarginTop`
- )->button( text = `Accept` type = `Accept`
- )->toolbar_spacer(
- )->checkbox( text = `CheckBox`
- )->toolbar_spacer(
- )->button( tooltip = `Dropdown` icon = `sap-icon://drop-down-list`
- )->toolbar_spacer(
- )->radio_button( text = `RadioButton` )->get_parent(
- )->toolbar_spacer(
- )->button( text = `Reject` type = `Reject` )->get_parent(
-
- )->message_strip( text = `Flexible Toolbar Spacers share the free horizontal space equally, thus content centering is not as precise as in Bar.` class = `sapUiTinyMargin`
- )->overflow_toolbar( class = `sapUiMediumMarginTop`
- )->button( text = `This is a very long button text. This is a very long button text.`
- )->toolbar_spacer(
- )->button( text = `Centered Button`
- )->toolbar_spacer(
- )->button( text = `Short Button` )->get_parent(
-
- )->message_strip( text = `ToolbarSpacer does not have to be flexible, a fixed width can be specified too.` class = `sapUiTinyMargin`
+ )->button( tooltip = `Dropdown`
+ icon = `sap-icon://drop-down-list`
+ )->toolbar_spacer(
+ )->radio_button( text = `RadioButton` )->get_parent(
+ )->toolbar_spacer(
+ )->button( text = `Reject`
+ type = `Reject` )->get_parent(
+
+ )->message_strip(
+ text = `Flexible Toolbar Spacers share the free horizontal space equally, thus content centering is not as precise as in Bar.`
+ class = `sapUiTinyMargin`
)->overflow_toolbar( class = `sapUiMediumMarginTop`
- )->input( arialabelledby = `inputLabel` width = `100px` placeholder = `First Name`
- )->input( arialabelledby = `inputLabel` width = `100px` placeholder = `Last Name`
- )->toolbar_spacer( width = `40px`
- )->input( arialabelledby = `inputLabel` type = `Email` width = `100px` placeholder = `Email`
- )->input( arialabelledby = `inputLabel` type = `Number` width = `80px` placeholder = `Age`
+ )->button( text = `This is a very long button text. This is a very long button text.`
+ )->toolbar_spacer(
+ )->button( text = `Centered Button`
)->toolbar_spacer(
- )->button( text = `Submit` type = `Accept` )->get_parent(
- ).
+ )->button( text = `Short Button` )->get_parent(
+
+ )->message_strip(
+ text = `ToolbarSpacer does not have to be flexible, a fixed width can be specified too.`
+ class = `sapUiTinyMargin`
+ )->overflow_toolbar( class = `sapUiMediumMarginTop`
+ )->input( arialabelledby = `inputLabel`
+ width = `100px`
+ placeholder = `First Name`
+ )->input( arialabelledby = `inputLabel`
+ width = `100px`
+ placeholder = `Last Name`
+ )->toolbar_spacer( width = `40px`
+ )->input( arialabelledby = `inputLabel`
+ type = `Email`
+ width = `100px`
+ placeholder = `Email`
+ )->input( arialabelledby = `inputLabel`
+ type = `Number`
+ width = `80px`
+ placeholder = `Age`
+ )->toolbar_spacer(
+ )->button( text = `Submit`
+ type = `Accept` )->get_parent(
+ ).
client->view_display( page_02->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -118,24 +141,23 @@ CLASS z2ui5_cl_demo_app_250 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `OverflowToolbar and Toolbar are often used for left/right alignment. This is easily achieved with ToolbarSpacer.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `OverflowToolbar and Toolbar are often used for left/right alignment. This is easily achieved with ToolbarSpacer.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -147,4 +169,5 @@ CLASS z2ui5_cl_demo_app_250 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_251.clas.abap b/src/z2ui5_cl_demo_app_251.clas.abap
index 1008e7bd..553f4262 100644
--- a/src/z2ui5_cl_demo_app_251.clas.abap
+++ b/src/z2ui5_cl_demo_app_251.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_251 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_251 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_251 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Input - Description'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Input - Description'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,48 +47,50 @@ CLASS z2ui5_cl_demo_app_251 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Input/sample/sap.m.sample.InputDescription' ).
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding` width = `100%` ).
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%` ).
- layout->input( value = `10`
+ layout->input( value = `10`
description = `PC`
- width = `100px`
- fieldWidth = `60%`
- class = `sapUiSmallMarginBottom` ).
+ width = `100px`
+ fieldWidth = `60%`
+ class = `sapUiSmallMarginBottom` ).
- layout->input( value = `220`
+ layout->input( value = `220`
description = `EUR / 5 pieces`
- width = `200px`
- fieldWidth = `60px`
- class = `sapUiSmallMarginBottom` ).
-
- layout->input( value = `220.00`
- description = `EUR`
- width = `250px`
- fieldWidth = `80%`
+ width = `200px`
+ fieldWidth = `60px`
+ class = `sapUiSmallMarginBottom` ).
+
+ layout->input( value = `220.00`
+ description = `EUR`
+ width = `250px`
+ fieldWidth = `80%`
showClearIcon = abap_true
- class = `sapUiSmallMarginBottom` ).
+ class = `sapUiSmallMarginBottom` ).
- layout->input( value = `007`
+ layout->input( value = `007`
description = `Bastian Schweinsteiger`
- width = `300px`
- fieldWidth = `50px`
- class = `sapUiSmallMarginBottom` ).
+ width = `300px`
+ fieldWidth = `50px`
+ class = `sapUiSmallMarginBottom` ).
- layout->input( value = `EDP_LAPTOP`
+ layout->input( value = `EDP_LAPTOP`
ariaDescribedBy = `descriptionNodeId`
- description = `IT Laptops`
- width = `400px`
- fieldWidth = `75%`
- class = `sapUiSmallMarginBottom` ).
+ description = `IT Laptops`
+ width = `400px`
+ fieldWidth = `75%`
+ class = `sapUiSmallMarginBottom` ).
- layout->invisible_text( ns = `core` id = `descriptionNodeId` text = `Additional input description refferenced by aria-describedby.` ).
+ layout->invisible_text( ns = `core`
+ id = `descriptionNodeId`
+ text = `Additional input description refferenced by aria-describedby.` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -101,24 +101,23 @@ CLASS z2ui5_cl_demo_app_251 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `This sample illustrates the usage of the description with input fields, e.g. description for units of measurements and currencies.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `This sample illustrates the usage of the description with input fields, e.g. description for units of measurements and currencies.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -130,4 +129,5 @@ CLASS z2ui5_cl_demo_app_251 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_252.clas.abap b/src/z2ui5_cl_demo_app_252.clas.abap
index de1a23c1..70f531bd 100644
--- a/src/z2ui5_cl_demo_app_252.clas.abap
+++ b/src/z2ui5_cl_demo_app_252.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_252 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_252 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,24 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_252 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Flex Box - Render Type'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
+ )->page( title = 'abap2UI5 - Sample: Flex Box - Render Type'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -50,24 +47,34 @@ CLASS z2ui5_cl_demo_app_252 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.FlexBox/sample/sap.m.sample.FlexBoxRenderType' ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(layout) = page->vbox(
)->panel( headertext = `Render Type - Div`
)->flex_box( rendertype = `Div`
- )->button( text = `Some text` type = `Emphasized` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `Some text`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `3` )->get_parent( )->get_parent(
- )->input( value = `Some value` width = `auto` class = `sapUiSmallMarginEnd` )->get(
+ )->input( value = `Some value`
+ width = `auto`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `2` )->get_parent( )->get_parent(
)->button( icon = `sap-icon://download` )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->flex_item_data(
+ growfactor = `1` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->panel( headertext = `Render Type - Bare`
)->flex_box( rendertype = `Bare`
- )->button( text = `Some text` type = `Emphasized` class = `sapUiSmallMarginEnd` )->get(
+ )->button( text = `Some text`
+ type = `Emphasized`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `3` )->get_parent( )->get_parent(
- )->input( value = `Some value` width = `auto` class = `sapUiSmallMarginEnd` )->get(
+ )->input( value = `Some value`
+ width = `auto`
+ class = `sapUiSmallMarginEnd` )->get(
)->layout_data(
)->flex_item_data( growfactor = `2` )->get_parent( )->get_parent(
)->button( icon = `sap-icon://download` )->get(
@@ -77,11 +84,9 @@ CLASS z2ui5_cl_demo_app_252 IMPLEMENTATION.
client->view_display( page->stringify( ) ).
-
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -92,25 +97,24 @@ CLASS z2ui5_cl_demo_app_252 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Flex items can be rendered differently. By default, they are wrapped in a div element. ` &&
- `Optionally, the bare controls can be rendered directly. This can affect the resulting layout.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = |Flex items can be rendered differently. By default, they are wrapped in a div element. | &&
+ |Optionally, the bare controls can be rendered directly. This can affect the resulting layout.| ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -122,4 +126,5 @@ CLASS z2ui5_cl_demo_app_252 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_253.clas.abap b/src/z2ui5_cl_demo_app_253.clas.abap
index ef1c96a1..b40bb3a5 100644
--- a/src/z2ui5_cl_demo_app_253.clas.abap
+++ b/src/z2ui5_cl_demo_app_253.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_253 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_253 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,34 +26,32 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_253 IMPLEMENTATION.
+ METHOD display_view.
- METHOD DISPLAY_VIEW.
-
- DATA(css) = `.equalColumns .columns {` &&
- ` min-height: 200px;` &&
- `}` &&
- `` &&
- `.equalColumns .columns .sapMFlexItem {` &&
- ` padding: 0.5rem;` &&
- `}`.
+ DATA(css) = |.equalColumns .columns \{| &&
+ | min-height: 200px;| &&
+ |\}| &&
+ || &&
+ |.equalColumns .columns .sapMFlexItem \{| &&
+ | padding: 0.5rem;| &&
+ |\}|.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `style` ns = `html` )->_cc_plain_xml( css )->get_parent( ).
+ view->_generic( name = `style`
+ ns = `html` )->_cc_plain_xml( css )->get_parent( ).
DATA(page) = view->shell(
- )->page(
- title = `abap2UI5 - Sample: Flex Box - Equal Height Cols`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Flex Box - Equal Height Cols`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -60,34 +59,38 @@ CLASS z2ui5_cl_demo_app_253 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.FlexBox/sample/sap.m.sample.FlexBoxCols' ).
- DATA(layout) = page->vertical_layout( class = `sapUiContentPadding equalColumns` width = `100%`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding equalColumns`
+ width = `100%`
)->flex_box( class = `columns`
- )->text( text = `Although they have different amounts of text, both columns are of equal height.` )->get(
+ )->text(
+ text = `Although they have different amounts of text, both columns are of equal height.` )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1`
- basesize = `0`
- backgrounddesign = `Solid`
- styleclass = `sapUiTinyMargin` )->get_parent( )->get_parent(
- )->text( text = `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, ` &&
- `sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo hey nonny no duo dolores et ea rebum. ` &&
- `Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, ` &&
- `sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. ` &&
- `Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.` )->get(
+ )->flex_item_data(
+ growfactor = `1`
+ basesize = `0`
+ backgrounddesign = `Solid`
+ styleclass = `sapUiTinyMargin` )->get_parent( )->get_parent(
+ )->text(
+ text = |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, | &&
+ |sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo hey nonny no duo dolores et ea rebum. | &&
+ |Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, | &&
+ |sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. | &&
+ |Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.| )->get(
)->layout_data(
- )->flex_item_data( growfactor = `1`
- basesize = `0`
+ )->flex_item_data( growfactor = `1`
+ basesize = `0`
backgrounddesign = `Solid`
- styleclass = `sapUiTinyMargin` )->get_parent(
+ styleclass = `sapUiTinyMargin` )->get_parent(
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -98,24 +101,23 @@ CLASS z2ui5_cl_demo_app_253 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `You can create balanced areas with Flex Box, such as these columns with equal height regardless of content.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `You can create balanced areas with Flex Box, such as these columns with equal height regardless of content.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -127,4 +129,5 @@ CLASS z2ui5_cl_demo_app_253 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_254.clas.abap b/src/z2ui5_cl_demo_app_254.clas.abap
index 7ab62c8d..69ce9e79 100644
--- a/src/z2ui5_cl_demo_app_254.clas.abap
+++ b/src/z2ui5_cl_demo_app_254.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_254 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_254 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,55 +26,53 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_254 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
-
- DATA(css) = `.nestedFlexboxes .item1 {` &&
- ` padding: 1rem;` &&
- ` background-color: #d1dbbd;` &&
- `}` &&
- `.nestedFlexboxes .item2 {` &&
- ` padding: 1rem;` &&
- ` background-color: #7D8A2E;` &&
- `}` &&
- `.nestedFlexboxes .item3 {` &&
- ` padding: 1rem;` &&
- ` background-color: #C9D787;` &&
- `}` &&
- `.nestedFlexboxes .item4 {` &&
- ` padding: 1rem;` &&
- ` background-color: #FFFFFF;` &&
- `}` &&
- `.nestedFlexboxes .item5 {` &&
- ` padding: 1rem;` &&
- ` background-color: #FFC0A9;` &&
- `}` &&
- `.nestedFlexboxes .item6 {` &&
- ` padding: 1rem;` &&
- ` background-color: #FF8598;` &&
- `}` &&
-
- `.nestedFlexboxes h2 {` &&
- ` color: #32363a;` &&
- `}`.
+ METHOD display_view.
+
+ DATA(css) = |.nestedFlexboxes .item1 \{| &&
+ | padding: 1rem;| &&
+ | background-color: #d1dbbd;| &&
+ |\}| &&
+ |.nestedFlexboxes .item2 \{| &&
+ | padding: 1rem;| &&
+ | background-color: #7D8A2E;| &&
+ |\}| &&
+ |.nestedFlexboxes .item3 \{| &&
+ | padding: 1rem;| &&
+ | background-color: #C9D787;| &&
+ |\}| &&
+ |.nestedFlexboxes .item4 \{| &&
+ | padding: 1rem;| &&
+ | background-color: #FFFFFF;| &&
+ |\}| &&
+ |.nestedFlexboxes .item5 \{| &&
+ | padding: 1rem;| &&
+ | background-color: #FFC0A9;| &&
+ |\}| &&
+ |.nestedFlexboxes .item6 \{| &&
+ | padding: 1rem;| &&
+ | background-color: #FF8598;| &&
+ |\}| &&
+
+ |.nestedFlexboxes h2 \{| &&
+ | color: #32363a;| &&
+ |\}|.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `style` ns = `html` )->_cc_plain_xml( css )->get_parent( ).
+ view->_generic( name = `style`
+ ns = `html` )->_cc_plain_xml( css )->get_parent( ).
DATA(page) = view->shell(
- )->page(
- title = `abap2UI5 - Sample: Flex Box - Nested`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Flex Box - Nested`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -81,16 +80,18 @@ CLASS z2ui5_cl_demo_app_254 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.FlexBox/sample/sap.m.sample.FlexBoxNested' ).
- DATA(layout) = page->hbox(
- fitcontainer = `abap_true`
- alignItems = `Stretch`
- class = `sapUiSmallMargin nestedFlexboxes`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->hbox( fitcontainer = `abap_true`
+ alignItems = `Stretch`
+ class = `sapUiSmallMargin nestedFlexboxes`
)->html( content = `1 `
)->layout_data( ns = `core`
- )->flex_item_data( growFactor = `2` styleClass = `item1` )->get_parent( )->get_parent(
+ )->flex_item_data( growFactor = `2`
+ styleClass = `item1` )->get_parent( )->get_parent(
)->html( content = `2 `
)->layout_data( ns = `core`
- )->flex_item_data( growFactor = `3` styleClass = `item2` )->get_parent( )->get_parent(
+ )->flex_item_data( growFactor = `3`
+ styleClass = `item2` )->get_parent( )->get_parent(
)->vbox( fitcontainer = abap_false
)->layout_data(
@@ -98,30 +99,35 @@ CLASS z2ui5_cl_demo_app_254 IMPLEMENTATION.
)->html( content = `3 `
)->layout_data( ns = `core`
- )->flex_item_data( growFactor = `5` styleClass = `item3` )->get_parent( )->get_parent(
+ )->flex_item_data( growFactor = `5`
+ styleClass = `item3` )->get_parent( )->get_parent(
- )->hbox( fitcontainer = `abap_true` alignitems = `Stretch`
+ )->hbox( fitcontainer = `abap_true`
+ alignitems = `Stretch`
)->layout_data(
)->flex_item_data( growFactor = `3` )->get_parent(
)->html( content = `4 `
)->layout_data( ns = `core`
- )->flex_item_data( growFactor = `1` styleClass = `item4` )->get_parent( )->get_parent(
+ )->flex_item_data( growFactor = `1`
+ styleClass = `item4` )->get_parent( )->get_parent(
)->html( content = `5 `
)->layout_data( ns = `core`
- )->flex_item_data( growFactor = `1` styleClass = `item5` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->flex_item_data(
+ growFactor = `1`
+ styleClass = `item5` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->html( content = `6 `
)->layout_data( ns = `core`
- )->flex_item_data( growFactor = `5` styleClass = `item6` )->get_parent( )->get_parent(
+ )->flex_item_data( growFactor = `5`
+ styleClass = `item6` )->get_parent( )->get_parent(
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -132,24 +138,23 @@ CLASS z2ui5_cl_demo_app_254 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Flex Boxes can be nested. Remember also that HBox and VBox are 'convenience' controls based on the Flex Box control.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Flex Boxes can be nested. Remember also that HBox and VBox are 'convenience' controls based on the Flex Box control.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -161,4 +166,5 @@ CLASS z2ui5_cl_demo_app_254 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_255.clas.abap b/src/z2ui5_cl_demo_app_255.clas.abap
index a886dea0..042e0be3 100644
--- a/src/z2ui5_cl_demo_app_255.clas.abap
+++ b/src/z2ui5_cl_demo_app_255.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_255 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_255 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,113 +26,110 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_255 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
-
- DATA(css) = `.navigationExamples .code {` &&
- ` margin: 0 5%;` &&
- ` font-family: Consolas, Courier, monospace;` &&
- `}` &&
- `.navigationExamples .ne-flexbox1,` &&
- `.navigationExamples .ne-flexbox2 {` &&
- ` padding: 0;` &&
- `}` &&
- `.navigationExamples .ne-flexbox1 li {` &&
- ` margin: 0.4em;` &&
- ` padding: 0.4em 1.3em;` &&
- ` list-style-type: none;` &&
- ` text-align: center;` &&
- ` background-color: #193441;` &&
- ` cursor: pointer;` &&
- `}` &&
-
- `.navigationExamples .ne-flexbox1 li:hover {` &&
- ` background-color: orange;` &&
- `}` &&
-
- `.navigationExamples .ne-flexbox2 li {` &&
- ` margin: 0.5em;` &&
- ` width: 25%;` &&
- ` min-width: 15%;` &&
- ` list-style-type: none;` &&
- ` text-align: center;` &&
- ` background-color: #193441;` &&
- ` padding: 0.4em;` &&
- ` transition: width 0.5s ease-out, background-color 0.5s ease-out, flex-basis 0.5s ease-out;` &&
- ` cursor: pointer;` &&
- `}` &&
-
- `.navigationExamples .ne-flexbox2 li:hover {` &&
- ` flex-basis: 35% !important;` &&
- ` background-color: orange;` &&
- `}` &&
-
- `.navigationExamples .ne-flexbox1 li a,` &&
- `.navigationExamples .ne-flexbox2 li a {` &&
- ` color: #fff;` &&
- ` text-decoration: none;` &&
- ` font-size: 0.875rem;` &&
- `}`.
-
+ METHOD display_view.
+
+ DATA(css) = |.navigationExamples .code \{| &&
+ | margin: 0 5%;| &&
+ | font-family: Consolas, Courier, monospace;| &&
+ |\}| &&
+ |.navigationExamples .ne-flexbox1,| &&
+ |.navigationExamples .ne-flexbox2 \{| &&
+ | padding: 0;| &&
+ |\}| &&
+ |.navigationExamples .ne-flexbox1 li \{| &&
+ | margin: 0.4em;| &&
+ | padding: 0.4em 1.3em;| &&
+ | list-style-type: none;| &&
+ | text-align: center;| &&
+ | background-color: #193441;| &&
+ | cursor: pointer;| &&
+ |\}| &&
+
+ |.navigationExamples .ne-flexbox1 li:hover \{| &&
+ | background-color: orange;| &&
+ |\}| &&
+
+ |.navigationExamples .ne-flexbox2 li \{| &&
+ | margin: 0.5em;| &&
+ | width: 25%;| &&
+ | min-width: 15%;| &&
+ | list-style-type: none;| &&
+ | text-align: center;| &&
+ | background-color: #193441;| &&
+ | padding: 0.4em;| &&
+ | transition: width 0.5s ease-out, background-color 0.5s ease-out, flex-basis 0.5s ease-out;| &&
+ | cursor: pointer;| &&
+ |\}| &&
+
+ |.navigationExamples .ne-flexbox2 li:hover \{| &&
+ | flex-basis: 35% !important;| &&
+ | background-color: orange;| &&
+ |\}| &&
+
+ |.navigationExamples .ne-flexbox1 li a,| &&
+ |.navigationExamples .ne-flexbox2 li a \{| &&
+ | color: #fff;| &&
+ | text-decoration: none;| &&
+ | font-size: 0.875rem;| &&
+ |\}|.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `style` ns = `html` )->_cc_plain_xml( css )->get_parent( ).
+ view->_generic( name = `style`
+ ns = `html` )->_cc_plain_xml( css )->get_parent( ).
DATA(page) = view->shell(
- )->page(
- title = `abap2UI5 - Flex Box - Navigation Examples`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Flex Box - Navigation Examples`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.FlexBox/sample/sap.m.sample.FlexBoxNav' ).
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.FlexBox/sample/sap.m.sample.FlexBoxNav' ).
+ " TODO: variable is assigned but never used (ABAP cleaner)
DATA(layout) = page->vbox( class = `navigationExamples`
- )->panel( headerText = `Variable width`
- )->flex_box(
- class = `ne-flexbox1`
- renderType = `List`
- justifyContent = `Center`
- alignItems = `Center`
+ )->panel( headerText = `Variable width`
+ )->flex_box( class = `ne-flexbox1`
+ renderType = `List`
+ justifyContent = `Center`
+ alignItems = `Center`
)->html( content = `Item 1 ` )->get_parent(
)->html( content = `Long item 2 ` )->get_parent(
)->html( content = `Item 3 ` )->get_parent( )->get_parent(
- )->panel( headerText = `Same width, transition effect`
- )->flex_box(
- class = `ne-flexbox2`
- renderType = `List`
- justifyContent = `SpaceBetween`
- alignItems = `Center`
+ )->panel( headerText = `Same width, transition effect`
+ )->flex_box( class = `ne-flexbox2`
+ renderType = `List`
+ justifyContent = `SpaceBetween`
+ alignItems = `Center`
)->html( content = `Item 1 ` )->get(
)->layout_data( ns = `core`
- )->flex_item_data( growFactor = `1` baseSize = `25%` )->get_parent( )->get_parent(
+ )->flex_item_data( growFactor = `1`
+ baseSize = `25%` )->get_parent( )->get_parent(
)->html( content = `Long item 2 ` )->get(
)->layout_data( ns = `core`
- )->flex_item_data( growFactor = `1` baseSize = `25%` )->get_parent( )->get_parent(
+ )->flex_item_data( growFactor = `1`
+ baseSize = `25%` )->get_parent( )->get_parent(
)->html( content = `Item 3 ` )->get(
)->layout_data( ns = `core`
- )->flex_item_data( growFactor = `1` baseSize = `25%` )->get_parent( )->get_parent(
+ )->flex_item_data( growFactor = `1`
+ baseSize = `25%` )->get_parent( )->get_parent(
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -142,24 +140,23 @@ CLASS z2ui5_cl_demo_app_255 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Here is an example of how you can use navigation items as unordered list items in a Flex Box.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Here is an example of how you can use navigation items as unordered list items in a Flex Box.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -171,4 +168,5 @@ CLASS z2ui5_cl_demo_app_255 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_256.clas.abap b/src/z2ui5_cl_demo_app_256.clas.abap
index e2fd07ef..5957527e 100644
--- a/src/z2ui5_cl_demo_app_256.clas.abap
+++ b/src/z2ui5_cl_demo_app_256.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_256 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_256 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,39 +26,36 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_256 IMPLEMENTATION.
+ METHOD display_view.
- METHOD DISPLAY_VIEW.
-
- DATA(css) = `.fixFlexFixedSize > .sapUiFixFlexFixed {` &&
- ` background: #D7E9FF;` &&
- `}` &&
+ DATA(css) = |.fixFlexFixedSize > .sapUiFixFlexFixed \{| &&
+ | background: #D7E9FF;| &&
+ |\}| &&
- `.fixFlexFixedSize > .sapUiFixFlexFlexible {` &&
- ` background: #A9CFFF;` &&
- `}` &&
-
- `.fixFlexFixedSize .sapMText {` &&
- ` margin-bottom: 1rem;` &&
- `}`.
+ |.fixFlexFixedSize > .sapUiFixFlexFlexible \{| &&
+ | background: #A9CFFF;| &&
+ |\}| &&
+ |.fixFlexFixedSize .sapMText \{| &&
+ | margin-bottom: 1rem;| &&
+ |\}|.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `style` ns = `html` )->_cc_plain_xml( css )->get_parent( ).
+ view->_generic( name = `style`
+ ns = `html` )->_cc_plain_xml( css )->get_parent( ).
DATA(page) = view->shell(
- )->page(
- title = `abap2UI5 - Sample: Fix Flex - Fix container size`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Fix Flex - Fix container size`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -65,39 +63,48 @@ CLASS z2ui5_cl_demo_app_256 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.layout.FixFlex/sample/sap.ui.layout.sample.FixFlexFixedSize' ).
- DATA(layout) = page->fix_flex( ns = `layout` class = `fixFlexFixedSize` fixContentSize = `150px`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->fix_flex( ns = `layout`
+ class = `fixFlexFixedSize`
+ fixContentSize = `150px`
)->fix_content( ns = `layout`
- )->scroll_container( height = `100%` vertical = abap_true
- )->text( text = `Fix content - Lorem Ipsum is simply dummy text of the printing and typesetting industry. ` &&
- `Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley ` &&
- `of type and scrambled it to make a type specimen book. ` &&
- `It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. ` &&
- `It was popularised in the 1960s with the release of Letraset sheets containing.`
- )->text( text = `Fix content - Lorem Ipsum is simply dummy text of the printing and typesetting industry. ` &&
- `Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley ` &&
- `of type and scrambled it to make a type specimen book. ` &&
- `It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. ` &&
- `It was popularised in the 1960s with the release of Letraset sheets containing.`
- )->text( text = `Fix content - Lorem Ipsum is simply dummy text of the printing and typesetting industry. ` &&
- `Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley ` &&
- `of type and scrambled it to make a type specimen book. ` &&
- `It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. ` &&
- `It was popularised in the 1960s with the release of Letraset sheets containing.`
- )->text( text = `Fix content - Lorem Ipsum is simply dummy text of the printing and typesetting industry. ` &&
- `Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley ` &&
- `of type and scrambled it to make a type specimen book. ` &&
- `It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. ` &&
- `It was popularised in the 1960s with the release of Letraset sheets containing.` )->get_parent( )->get_parent(
+ )->scroll_container( height = `100%`
+ vertical = abap_true
+ )->text(
+ text = |Fix content - Lorem Ipsum is simply dummy text of the printing and typesetting industry. | &&
+ |Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley | &&
+ |of type and scrambled it to make a type specimen book. | &&
+ |It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. | &&
+ |It was popularised in the 1960s with the release of Letraset sheets containing.|
+ )->text(
+ text = |Fix content - Lorem Ipsum is simply dummy text of the printing and typesetting industry. | &&
+ |Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley | &&
+ |of type and scrambled it to make a type specimen book. | &&
+ |It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. | &&
+ |It was popularised in the 1960s with the release of Letraset sheets containing.|
+ )->text(
+ text = |Fix content - Lorem Ipsum is simply dummy text of the printing and typesetting industry. | &&
+ |Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley | &&
+ |of type and scrambled it to make a type specimen book. | &&
+ |It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. | &&
+ |It was popularised in the 1960s with the release of Letraset sheets containing.|
+ )->text(
+ text = |Fix content - Lorem Ipsum is simply dummy text of the printing and typesetting industry. | &&
+ |Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley | &&
+ |of type and scrambled it to make a type specimen book. | &&
+ |It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. | &&
+ |It was popularised in the 1960s with the release of Letraset sheets containing.| )->get_parent( )->get_parent(
)->flex_content( ns = `layout`
- )->text( class = `column1` text = `This container is flexible and it will adapt its size to fill the remaining size in the FixFlex control`
+ )->text(
+ class = `column1`
+ text = `This container is flexible and it will adapt its size to fill the remaining size in the FixFlex control`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -108,24 +115,23 @@ CLASS z2ui5_cl_demo_app_256 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows a FixFlex control where fixContentSize is set to a specific value(150px) and sap.m.scrollContainer is enabling vertical scrolling.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Shows a FixFlex control where fixContentSize is set to a specific value(150px) and sap.m.scrollContainer is enabling vertical scrolling.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -137,4 +143,5 @@ CLASS z2ui5_cl_demo_app_256 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_257.clas.abap b/src/z2ui5_cl_demo_app_257.clas.abap
index f6962efd..36b71838 100644
--- a/src/z2ui5_cl_demo_app_257.clas.abap
+++ b/src/z2ui5_cl_demo_app_257.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_257 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_257 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_257 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Generic Tag with Different Configurations'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Generic Tag with Different Configurations'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,48 +47,120 @@ CLASS z2ui5_cl_demo_app_257 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.GenericTag/sample/sap.m.sample.GenericTag' ).
- DATA(layout) = page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
- )->grid( class = `sapUiSmallMarginBottom` hspacing = `0` vspacing = `0` default_span = `L4 M6 S12` width = `100%`
- )->flex_box( class = `sapUiTinyMarginBottom` direction = `Column` fitContainer = abap_true alignItems = `Start` justifyContent = `Start`
- )->text( text = `Generic Tag - KPI` class = `sapUiSmallMarginBottom`
- )->generic_tag( text = `Project Cost` design = `StatusIconHidden` status = `Error` class = `sapUiSmallMarginBottom`
- )->object_number( state = `Error` emphasized = abap_false number = `3.5M` unit = `EUR` )->get_parent(
-
- )->generic_tag( text = `Project Cost` design = `StatusIconHidden` status = `Warning` class = `sapUiSmallMarginBottom`
- )->object_number( state = `Warning` emphasized = abap_false number = `2.4M` unit = `EUR` )->get_parent(
-
- )->generic_tag( text = `Project Cost` design = `StatusIconHidden` status = `Success` class = `sapUiSmallMarginBottom`
- )->object_number( state = `Success` emphasized = abap_false number = `1.6M` unit = `EUR` )->get_parent(
-
- )->generic_tag( text = `PC` design = `StatusIconHidden` status = `Error` class = `sapUiSmallMarginBottom`
- )->object_number( state = `Error` emphasized = `false` number = `35` unit = `%` )->get_parent(
-
- )->generic_tag( text = `PC` design = `StatusIconHidden` status = `Warning` class = `sapUiSmallMarginBottom`
- )->object_number( state = `Warning` emphasized = abap_false number = `71` unit = `%` )->get_parent(
-
- )->generic_tag( text = `PC` design = `StatusIconHidden` status = `Success` class = `sapUiSmallMarginBottom`
- )->object_number( state = `Success` emphasized = abap_false number = `96` unit = `%` )->get_parent( )->get_parent(
- )->flex_box( direction = `Column` fitContainer = `true` alignItems = `Start` justifyContent = `Start`
- )->text( text = `Generic Tag - KPI (error handling)` class = `sapUiSmallMarginBottom`
- )->generic_tag( text = `Project Cost` design = `StatusIconHidden` status = `Error` valuestate = `Error` class = `sapUiSmallMarginBottom` )->get_parent( )->get_parent(
- )->flex_box( direction = `Column` fitContainer = abap_true alignItems = `Start` justifyContent = `Start`
- )->text( text = `Generic Tag - Situation` class = `sapUiSmallMarginBottom`
- )->generic_tag( text = `Shortage Expected` status = `Warning` class = `sapUiSmallMarginBottom` )->get_parent(
- )->generic_tag( text = `Material Shortage` status = `Warning` class = `sapUiSmallMarginBottom` )->get_parent( )->get_parent(
- )->flex_box( direction = `Column` fitContainer = abap_true alignItems = `Start` justifyContent = `Start`
- )->text( text = `Generic Tag with label` id = `genericTagLabel` class = `sapUiSmallMarginBottom`
- )->generic_tag( ariaLabelledBy = `genericTagLabel` text = `Project Cost` design = `StatusIconHidden` status = `Error` class = `sapUiSmallMarginBottom`
- )->object_number( state = `Error` emphasized = `false` number = `3.5M` unit = `EUR`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
+ )->grid( class = `sapUiSmallMarginBottom`
+ hspacing = `0`
+ vspacing = `0`
+ default_span = `L4 M6 S12`
+ width = `100%`
+ )->flex_box( class = `sapUiTinyMarginBottom`
+ direction = `Column`
+ fitContainer = abap_true
+ alignItems = `Start`
+ justifyContent = `Start`
+ )->text( text = `Generic Tag - KPI`
+ class = `sapUiSmallMarginBottom`
+ )->generic_tag( text = `Project Cost`
+ design = `StatusIconHidden`
+ status = `Error`
+ class = `sapUiSmallMarginBottom`
+ )->object_number( state = `Error`
+ emphasized = abap_false
+ number = `3.5M`
+ unit = `EUR` )->get_parent(
+
+ )->generic_tag( text = `Project Cost`
+ design = `StatusIconHidden`
+ status = `Warning`
+ class = `sapUiSmallMarginBottom`
+ )->object_number( state = `Warning`
+ emphasized = abap_false
+ number = `2.4M`
+ unit = `EUR` )->get_parent(
+
+ )->generic_tag( text = `Project Cost`
+ design = `StatusIconHidden`
+ status = `Success`
+ class = `sapUiSmallMarginBottom`
+ )->object_number( state = `Success`
+ emphasized = abap_false
+ number = `1.6M`
+ unit = `EUR` )->get_parent(
+
+ )->generic_tag( text = `PC`
+ design = `StatusIconHidden`
+ status = `Error`
+ class = `sapUiSmallMarginBottom`
+ )->object_number( state = `Error`
+ emphasized = `false`
+ number = `35`
+ unit = `%` )->get_parent(
+
+ )->generic_tag( text = `PC`
+ design = `StatusIconHidden`
+ status = `Warning`
+ class = `sapUiSmallMarginBottom`
+ )->object_number( state = `Warning`
+ emphasized = abap_false
+ number = `71`
+ unit = `%` )->get_parent(
+
+ )->generic_tag( text = `PC`
+ design = `StatusIconHidden`
+ status = `Success`
+ class = `sapUiSmallMarginBottom`
+ )->object_number( state = `Success`
+ emphasized = abap_false
+ number = `96`
+ unit = `%` )->get_parent( )->get_parent(
+ )->flex_box( direction = `Column`
+ fitContainer = `true`
+ alignItems = `Start`
+ justifyContent = `Start`
+ )->text( text = `Generic Tag - KPI (error handling)`
+ class = `sapUiSmallMarginBottom`
+ )->generic_tag( text = `Project Cost`
+ design = `StatusIconHidden`
+ status = `Error`
+ valuestate = `Error`
+ class = `sapUiSmallMarginBottom` )->get_parent( )->get_parent(
+ )->flex_box( direction = `Column`
+ fitContainer = abap_true
+ alignItems = `Start`
+ justifyContent = `Start`
+ )->text( text = `Generic Tag - Situation`
+ class = `sapUiSmallMarginBottom`
+ )->generic_tag( text = `Shortage Expected`
+ status = `Warning`
+ class = `sapUiSmallMarginBottom` )->get_parent(
+ )->generic_tag( text = `Material Shortage`
+ status = `Warning`
+ class = `sapUiSmallMarginBottom` )->get_parent( )->get_parent(
+ )->flex_box( direction = `Column`
+ fitContainer = abap_true
+ alignItems = `Start`
+ justifyContent = `Start`
+ )->text( text = `Generic Tag with label`
+ id = `genericTagLabel`
+ class = `sapUiSmallMarginBottom`
+ )->generic_tag( ariaLabelledBy = `genericTagLabel`
+ text = `Project Cost`
+ design = `StatusIconHidden`
+ status = `Error`
+ class = `sapUiSmallMarginBottom`
+ )->object_number( state = `Error`
+ emphasized = `false`
+ number = `3.5M`
+ unit = `EUR`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -101,24 +171,23 @@ CLASS z2ui5_cl_demo_app_257 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Previews of the GenericTag control based on combinations of different sets of properties.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Previews of the GenericTag control based on combinations of different sets of properties.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -130,4 +199,5 @@ CLASS z2ui5_cl_demo_app_257 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_258.clas.abap b/src/z2ui5_cl_demo_app_258.clas.abap
index 6b1c80f7..a8aae368 100644
--- a/src/z2ui5_cl_demo_app_258.clas.abap
+++ b/src/z2ui5_cl_demo_app_258.clas.abap
@@ -1,43 +1,42 @@
-class Z2UI5_CL_DEMO_APP_258 definition
- public
- final
- create public .
-
-public section.
-
- interfaces IF_SERIALIZABLE_OBJECT .
- interfaces Z2UI5_IF_APP .
-
- data CHECK_INITIALIZED type ABAP_BOOL .
- data SELECTED_MENU_ENTRY type STRING .
-protected section.
-
- data CLIENT type ref to Z2UI5_IF_CLIENT .
-
- methods ON_EVENT
- importing
- !CLIENT type ref to Z2UI5_IF_CLIENT .
- methods RENDER_MAIN_VIEW
- importing
- !CLIENT type ref to Z2UI5_IF_CLIENT .
- methods RENDER_SITE_CONTENT
- importing
- !CLIENT type ref to Z2UI5_IF_CLIENT
- changing
- !SITE_CONTENT type ref to Z2UI5_CL_XML_VIEW .
-private section.
-ENDCLASS.
+CLASS z2ui5_cl_demo_app_258 DEFINITION
+ PUBLIC FINAL
+ CREATE PUBLIC.
+
+ PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
+
+ DATA check_initialized TYPE abap_bool.
+ DATA selected_menu_entry TYPE string.
+ PROTECTED SECTION.
+ DATA client TYPE REF TO z2ui5_if_client.
+ METHODS on_event
+ IMPORTING
+ client TYPE REF TO z2ui5_if_client.
-CLASS Z2UI5_CL_DEMO_APP_258 IMPLEMENTATION.
+ METHODS render_main_view
+ IMPORTING
+ client TYPE REF TO z2ui5_if_client.
+ METHODS render_site_content
+ IMPORTING
+ client TYPE REF TO z2ui5_if_client
+ CHANGING
+ site_content TYPE REF TO z2ui5_cl_xml_view.
+
+ PRIVATE SECTION.
+ENDCLASS.
+
+
+CLASS z2ui5_cl_demo_app_258 IMPLEMENTATION.
METHOD on_event.
- "The selected key of the side navigation does not change if the user presses on an menu entry
- "While the new page loads the key remains the same - After loading the element changes the key on the frontend
- "but we need it earlier
+ " The selected key of the side navigation does not change if the user presses on an menu entry
+ " While the new page loads the key remains the same - After loading the element changes the key on the frontend
+ " but we need it earlier
CASE client->get( )-event.
WHEN 'BACK'.
@@ -73,57 +72,99 @@ CLASS Z2UI5_CL_DEMO_APP_258 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD RENDER_MAIN_VIEW.
+ METHOD render_main_view.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- "Custom CSS
- view->_generic( ns = `html` name = `style` )->_cc_plain_xml( `.sapMPage>section { height: 100% }` &&
- `#mainView--site_content { border-radius: 0.75em }` ).
+ " Custom CSS
+ view->_generic( ns = `html`
+ name = `style` )->_cc_plain_xml( |.sapMPage>section \{ height: 100% \}| &&
+ |#mainView--site_content \{ border-radius: 0.75em \}| ).
DATA(page) = view->page(
- title = 'abap2UI5 - Sample: Side Navigation'
- navbuttonpress = client->_event( 'BACK' )
- enablescrolling = abap_false
- class = 'sapUiResponsivePadding--header sapUiResponsivePadding--content sapUiResponsivePadding--footer'
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(content) = page->flex_box( width = '100%' height = '90%' alignitems = 'Start' ).
-
- DATA(navlist) = content->flex_box( width = '100%' height = '100%' direction = 'Column' )->layout_data( )->flex_item_data( growfactor = '1'
- basesize = '0' )->get_parent( )->side_navigation( id = 'sideNavigation' class = 'sapUiTinyMarginTop' selectedkey = client->_bind( selected_menu_entry )
+ title = 'abap2UI5 - Sample: Side Navigation'
+ navbuttonpress = client->_event( 'BACK' )
+ enablescrolling = abap_false
+ class = 'sapUiResponsivePadding--header sapUiResponsivePadding--content sapUiResponsivePadding--footer'
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(content) = page->flex_box( width = '100%'
+ height = '90%'
+ alignitems = 'Start' ).
+
+ DATA(navlist) = content->flex_box( width = '100%'
+ height = '100%'
+ direction = 'Column' )->layout_data( )->flex_item_data(
+ growfactor = '1'
+ basesize = '0' )->get_parent( )->side_navigation(
+ id = 'sideNavigation'
+ class = 'sapUiTinyMarginTop'
+ selectedkey = client->_bind( selected_menu_entry )
)->navigation_list( ).
- "As per version 1.120.19 icons for sub menu entries are not possible
- "This part of the menu is scrollable if there are too many entries for the current screen size
- navlist->navigation_list_item( text = 'Home' icon = 'sap-icon://home' select = client->_event( 'MENU_HOME' ) key = 'Home'
- )->get_child( )->navigation_list_item( text = 'Home Sub 1' select = client->_event( 'MENU_HOME_1' ) key = 'Home1'
- )->navigation_list_item( text = 'Home Sub 2' select = client->_event( 'MENU_HOME_2' ) key = 'Home2'
- )->navigation_list_item( text = 'Home Sub 3' select = client->_event( 'MENU_HOME_3' ) key = 'Home3' ).
-
- navlist->navigation_list_item( text = 'Customers' icon = 'sap-icon://customer' select = client->_event( 'MENU_CUSTOMER' ) key = 'Customers' ).
- navlist->navigation_list_item( text = 'Suppliers' icon = 'sap-icon://supplier' select = client->_event( 'MENU_SUPPLIER' ) key = 'Suppliers' ).
-
- "This part of the menu is fixed and always visible
+ " As per version 1.120.19 icons for sub menu entries are not possible
+ " This part of the menu is scrollable if there are too many entries for the current screen size
+ navlist->navigation_list_item( text = 'Home'
+ icon = 'sap-icon://home'
+ select = client->_event( 'MENU_HOME' )
+ key = 'Home'
+ )->get_child( )->navigation_list_item( text = 'Home Sub 1'
+ select = client->_event( 'MENU_HOME_1' )
+ key = 'Home1'
+ )->navigation_list_item( text = 'Home Sub 2'
+ select = client->_event( 'MENU_HOME_2' )
+ key = 'Home2'
+ )->navigation_list_item( text = 'Home Sub 3'
+ select = client->_event( 'MENU_HOME_3' )
+ key = 'Home3' ).
+
+ navlist->navigation_list_item( text = 'Customers'
+ icon = 'sap-icon://customer'
+ select = client->_event( 'MENU_CUSTOMER' )
+ key = 'Customers' ).
+ navlist->navigation_list_item( text = 'Suppliers'
+ icon = 'sap-icon://supplier'
+ select = client->_event( 'MENU_SUPPLIER' )
+ key = 'Suppliers' ).
+
+ " This part of the menu is fixed and always visible
navlist->get_parent( )->fixed_item( )->navigation_list(
- )->navigation_list_item( text = 'Fixed Entry 1' icon = 'sap-icon://heart' select = client->_event( 'MENU_FIX1' ) key = 'Fix1'
- )->navigation_list_item( text = 'Fixed Entry 2' icon = 'sap-icon://flight' select = client->_event( 'MENU_FIX2' ) key = 'Fix2'
- )->navigation_list_item( text = 'Fixed Entry 3' icon = 'sap-icon://email-read' select = client->_event( 'MENU_FIX3' ) key = 'Fix3'
- )->navigation_list_item( text = 'Link' icon = 'sap-icon://chain-link' href = 'https://github.com/abap2UI5/abap2UI5' ).
-
- DATA(site_content) = content->flex_box( id = 'site_content' class = 'sapUiTinyMarginTop sapUiTinyMarginBegin' width = '100%' height = '100%' backgrounddesign = 'Solid'
- alignitems = 'Center' justifycontent = 'Center' )->layout_data( )->flex_item_data( growfactor = '4' backgrounddesign = 'Solid' )->get_parent( ).
-
- "Render content depending on the current site
- me->render_site_content( EXPORTING client = client CHANGING site_content = site_content ).
+ )->navigation_list_item( text = 'Fixed Entry 1'
+ icon = 'sap-icon://heart'
+ select = client->_event( 'MENU_FIX1' )
+ key = 'Fix1'
+ )->navigation_list_item( text = 'Fixed Entry 2'
+ icon = 'sap-icon://flight'
+ select = client->_event( 'MENU_FIX2' )
+ key = 'Fix2'
+ )->navigation_list_item( text = 'Fixed Entry 3'
+ icon = 'sap-icon://email-read'
+ select = client->_event( 'MENU_FIX3' )
+ key = 'Fix3'
+ )->navigation_list_item( text = 'Link'
+ icon = 'sap-icon://chain-link'
+ href = 'https://github.com/abap2UI5/abap2UI5' ).
+
+ DATA(site_content) = content->flex_box( id = 'site_content'
+ class = 'sapUiTinyMarginTop sapUiTinyMarginBegin'
+ width = '100%'
+ height = '100%'
+ backgrounddesign = 'Solid'
+ alignitems = 'Center'
+ justifycontent = 'Center' )->layout_data( )->flex_item_data(
+ growfactor = '4'
+ backgrounddesign = 'Solid' )->get_parent( ).
+
+ " Render content depending on the current site
+ render_site_content( EXPORTING client = client
+ CHANGING site_content = site_content ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD render_site_content.
+ " TODO: parameter CLIENT is never used (ABAP cleaner)
CASE selected_menu_entry.
@@ -149,8 +190,7 @@ CLASS Z2UI5_CL_DEMO_APP_258 IMPLEMENTATION.
ENDMETHOD.
-
- method Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -162,5 +202,6 @@ CLASS Z2UI5_CL_DEMO_APP_258 IMPLEMENTATION.
on_event( client ).
render_main_view( client ).
- endmethod.
+ ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_259.clas.abap b/src/z2ui5_cl_demo_app_259.clas.abap
index 9af55e55..b6e65150 100644
--- a/src/z2ui5_cl_demo_app_259.clas.abap
+++ b/src/z2ui5_cl_demo_app_259.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_259 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,82 +26,103 @@ CLASS z2ui5_cl_demo_app_259 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_259 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Button`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Button`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Button/sample/sap.m.sample.Button' ).
-
- DATA(page_02) = page_01->page(
- title = `Page`
- class = `sapUiContentPadding`
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Button/sample/sap.m.sample.Button' ).
+
+ DATA(page_02) = page_01->page( title = `Page`
+ class = `sapUiContentPadding`
)->custom_header(
)->toolbar(
- )->button( type = `Back` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button( type = `Back`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
)->toolbar_spacer(
- )->title( text = `Title` level = `H2`
+ )->title( text = `Title`
+ level = `H2`
)->toolbar_spacer(
- )->button( icon = `sap-icon://edit` type = `Transparent` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) ) arialabelledby = `editButtonLabel`
+ )->button(
+ icon = `sap-icon://edit`
+ type = `Transparent`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ arialabelledby = `editButtonLabel`
)->get_parent(
)->get_parent(
)->sub_header(
)->toolbar(
)->toolbar_spacer(
- )->button( text = `Default` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- )->button( type = `Reject` text = `Reject` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- )->button( icon = `sap-icon://action` type = `Transparent` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) ) ariaLabelledBy = `actionButtonLabel`
+ )->button( text = `Default`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button( type = `Reject`
+ text = `Reject`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button(
+ icon = `sap-icon://action`
+ type = `Transparent`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ ariaLabelledBy = `actionButtonLabel`
)->toolbar_spacer(
)->get_parent(
)->get_parent(
)->content(
)->hbox(
- )->button( text = `Default`
- press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- ariadescribedby = `defaultButtonDescription genericButtonDescription`)->get(
+ )->button(
+ text = `Default`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ ariadescribedby = `defaultButtonDescription genericButtonDescription` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
)->get_parent(
- )->button( type = `Accept`
- text = `Accept`
- press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- ariadescribedby = `acceptButtonDescription genericButtonDescription`)->get(
+ )->button(
+ type = `Accept`
+ text = `Accept`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ ariadescribedby = `acceptButtonDescription genericButtonDescription` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
)->get_parent(
- )->button( type = `Reject`
- text = `Reject`
- press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- ariadescribedby = `rejectButtonDescription genericButtonDescription` )->get(
+ )->button(
+ type = `Reject`
+ text = `Reject`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ ariadescribedby = `rejectButtonDescription genericButtonDescription` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
)->get_parent(
- )->button( text = `Coming Soon`
- press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- ariadescribedby = `comingSoonButtonDescription genericButtonDescription`
- enabled = abap_false )->get(
+ )->button(
+ text = `Coming Soon`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ ariadescribedby = `comingSoonButtonDescription genericButtonDescription`
+ enabled = abap_false )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
@@ -109,23 +130,52 @@ CLASS z2ui5_cl_demo_app_259 IMPLEMENTATION.
)->get_parent(
- " Collection of labels (some of which are invisible) used to provide ARIA descriptions for the buttons
- )->label( id = `genericButtonDescription` text = `Note: The buttons in this sample display MessageToast when pressed.`
-
- )->invisible_text( ns = `core` id = `defaultButtonDescription` text = `Description of default button goes here.` )->get_parent(
- )->invisible_text( ns = `core` id = `acceptButtonDescription` text = `Description of accept button goes here.` )->get_parent(
- )->invisible_text( ns = `core` id = `rejectButtonDescription` text = `Description of reject button goes here.` )->get_parent(
- )->invisible_text( ns = `core` id = `comingSoonButtonDescription` text = `This feature is not active just now.` )->get_parent(
- " These labels exist only to provide targets for the ARIA label on the Edit and Action buttons
- )->invisible_text( ns = `core` id = `editButtonLabel` text = `Edit Button Label` )->get_parent(
- )->invisible_text( ns = `core` id = `actionButtonLabel` text = `Action Button Label` )->get_parent(
+ " Collection of labels (some of which are invisible) used to provide ARIA descriptions for the buttons
+ )->label(
+ id = `genericButtonDescription`
+ text = `Note: The buttons in this sample display MessageToast when pressed.`
+
+ )->invisible_text(
+ ns = `core`
+ id = `defaultButtonDescription`
+ text = `Description of default button goes here.` )->get_parent(
+ )->invisible_text(
+ ns = `core`
+ id = `acceptButtonDescription`
+ text = `Description of accept button goes here.` )->get_parent(
+ )->invisible_text(
+ ns = `core`
+ id = `rejectButtonDescription`
+ text = `Description of reject button goes here.` )->get_parent(
+ )->invisible_text(
+ ns = `core`
+ id = `comingSoonButtonDescription`
+ text = `This feature is not active just now.` )->get_parent(
+ " These labels exist only to provide targets for the ARIA label on the Edit and Action buttons
+ )->invisible_text(
+ ns = `core`
+ id = `editButtonLabel`
+ text = `Edit Button Label` )->get_parent(
+ )->invisible_text(
+ ns = `core`
+ id = `actionButtonLabel`
+ text = `Action Button Label` )->get_parent(
)->get_parent(
)->footer(
)->toolbar(
)->toolbar_spacer(
- )->button( type = `Emphasized` text = `Emphasized` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- )->button( text = `Default` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- )->button( icon = `sap-icon://action` type = `Transparent` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) ) )->get_parent(
+ )->button( type = `Emphasized`
+ text = `Emphasized`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button( text = `Default`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button( icon = `sap-icon://action`
+ type = `Transparent`
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) ) )->get_parent(
)->get_parent(
)->get_parent(
).
@@ -134,7 +184,6 @@ CLASS z2ui5_cl_demo_app_259 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -143,28 +192,27 @@ CLASS z2ui5_cl_demo_app_259 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'onPress'.
- client->message_toast_display( client->get_event_arg( 1 ) && ` Pressed` ).
+ client->message_toast_display( |{ client->get_event_arg( 1 ) } Pressed| ).
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Buttons trigger user actions and come in a variety of shapes and colors. Placing a button on a page header or footer changes its appearance.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Buttons trigger user actions and come in a variety of shapes and colors. Placing a button on a page header or footer changes its appearance.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -177,4 +225,5 @@ CLASS z2ui5_cl_demo_app_259 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_260.clas.abap b/src/z2ui5_cl_demo_app_260.clas.abap
index bc07aed5..135c706e 100644
--- a/src/z2ui5_cl_demo_app_260.clas.abap
+++ b/src/z2ui5_cl_demo_app_260.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_260 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_260 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_260 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Nested Splitter Layouts - 7 Areas'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Nested Splitter Layouts - 7 Areas'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,50 +47,65 @@ CLASS z2ui5_cl_demo_app_260 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.layout.Splitter/sample/sap.ui.layout.sample.SplitterNested1' ).
- DATA(layout) = page->splitter( height = `500px` orientation = `Vertical`
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(layout) = page->splitter( height = `500px`
+ orientation = `Vertical`
)->splitter( )->get(
)->layout_data( ns = `layout`
)->splitter_layout_data( size = `50px` )->get_parent( )->get_parent(
)->content_areas( ns = `layout`
- )->button( width = `100%` text = `Content 1` )->get(
+ )->button( width = `100%`
+ text = `Content 1` )->get(
)->layout_data(
- )->splitter_layout_data( size = `auto` )->get_parent( )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->splitter_layout_data(
+ size = `auto` )->get_parent( )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->splitter( )->get(
)->layout_data( ns = `layout`
)->splitter_layout_data( size = `auto` )->get_parent( )->get_parent(
)->content_areas( ns = `layout`
- )->button( width = `100%` text = `Content 2` )->get(
+ )->button( width = `100%`
+ text = `Content 2` )->get(
)->layout_data(
- )->splitter_layout_data( size = `300px` )->get_parent( )->get_parent( )->get_parent(
+ )->splitter_layout_data(
+ size = `300px` )->get_parent( )->get_parent( )->get_parent(
)->splitter( orientation = `Vertical`
- )->button( width = `100%` text = `Content 3` )->get(
+ )->button( width = `100%`
+ text = `Content 3` )->get(
)->layout_data(
- )->splitter_layout_data( size = `auto` )->get_parent( )->get_parent( )->get_parent(
- )->button( width = `100%` text = `Content 4` )->get(
+ )->splitter_layout_data(
+ size = `auto` )->get_parent( )->get_parent( )->get_parent(
+ )->button( width = `100%`
+ text = `Content 4` )->get(
)->layout_data(
)->splitter_layout_data( size = `10%` ")->get_parent( )->get_parent( )->get_parent(
)->get_parent( )->get_parent( )->get_parent( )->get_parent( )->get_parent(
- )->button( width = `100%` text = `Content 5` )->get(
+ )->button( width = `100%`
+ text = `Content 5` )->get(
)->layout_data(
- )->splitter_layout_data( size = `30%` minSize = `200px` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->splitter_layout_data(
+ size = `30%`
+ minSize = `200px` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->splitter( )->get(
)->layout_data( ns = `layout`
)->splitter_layout_data( size = `50px` )->get_parent( )->get_parent( ")->get_parent(
)->content_areas( ns = `layout`
- )->button( width = `100%` text = `Content 6` )->get(
+ )->button( width = `100%`
+ text = `Content 6` )->get(
)->layout_data(
- )->splitter_layout_data( size = `auto` )->get_parent( )->get_parent( )->get_parent(
- )->button( width = `100%` text = `Content 7` )->get(
+ )->splitter_layout_data(
+ size = `auto` )->get_parent( )->get_parent( )->get_parent(
+ )->button( width = `100%`
+ text = `Content 7` )->get(
)->layout_data(
- )->splitter_layout_data( size = `auto` )->get_parent( )->get_parent( )->get_parent(
+ )->splitter_layout_data(
+ size = `auto` )->get_parent( )->get_parent( )->get_parent(
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -103,24 +116,22 @@ CLASS z2ui5_cl_demo_app_260 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `Nested Splitter example with 7 content areas` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -132,4 +143,5 @@ CLASS z2ui5_cl_demo_app_260 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_261.clas.abap b/src/z2ui5_cl_demo_app_261.clas.abap
index 36b79dca..b7687754 100644
--- a/src/z2ui5_cl_demo_app_261.clas.abap
+++ b/src/z2ui5_cl_demo_app_261.clas.abap
@@ -1,65 +1,63 @@
-class z2ui5_cl_demo_app_261 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_261 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_261 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: News Content'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
-
- page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/#/entity/sap.m.NewsContent/sample/sap.m.sample.NewsContent' ).
-
- page->tile_content( class = `sapUiSmallMargin`
- )->content(
- )->news_content(
- contenttext = `SAP Unveils Powerful New Player Comparison Tool Exclusively on NFL.com`
- subheader = `August 21, 2013` press = client->_event( 'NEWS_CONTENT_PRESS' )
- ).
+ )->page( title = 'abap2UI5 - Sample: News Content'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ page->header_content(
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
+
+ page->header_content(
+ )->link(
+ text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/#/entity/sap.m.NewsContent/sample/sap.m.sample.NewsContent' ).
+
+ page->tile_content( class = `sapUiSmallMargin`
+ )->content(
+ )->news_content( contenttext = `SAP Unveils Powerful New Player Comparison Tool Exclusively on NFL.com`
+ subheader = `August 21, 2013`
+ press = client->_event( 'NEWS_CONTENT_PRESS' )
+ ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -72,24 +70,23 @@ CLASS z2ui5_cl_demo_app_261 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `This control is used to display the news content text and subheader in a tile.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `This control is used to display the news content text and subheader in a tile.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -101,4 +98,5 @@ CLASS z2ui5_cl_demo_app_261 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_262.clas.abap b/src/z2ui5_cl_demo_app_262.clas.abap
index 075e1583..40e8ac6d 100644
--- a/src/z2ui5_cl_demo_app_262.clas.abap
+++ b/src/z2ui5_cl_demo_app_262.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_262 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_262 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_262 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Numeric Content of Different Colors'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Numeric Content of Different Colors'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,27 +47,46 @@ CLASS z2ui5_cl_demo_app_262 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.NumericContent/sample/sap.m.sample.NumericContentDifColors' ).
- page->numeric_content( value = `888.8` scale = `MM` class = `sapUiSmallMargin`
- press = client->_event( 'press' ) truncatevalueto = `4` ).
- page->numeric_content( value = `65.5` scale = `MM`
- valueColor = `Good` indicator = `Up` class = `sapUiSmallMargin`
- press = client->_event( 'press' ) ).
- page->numeric_content( value = `6666` scale = `MM`
- valueColor = `Critical` indicator = `Up` class = `sapUiSmallMargin`
- press = client->_event( 'press' ) ).
- page->numeric_content( value = `65.5` scale = `MMill`
- valueColor = `Error` indicator = `Down` class = `sapUiSmallMargin`
- press = client->_event( 'press' ) ).
- page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Country-Specific Profit Margin` subheader = `Expenses` press = client->_event( 'press' )
- )->tile_content( unit = `EUR` footer = `Current Quarter`
- )->numeric_content( scale = `M` value = `1.96` valueColor = `Error` indicator = `Up` withMargin = abap_false ).
+ page->numeric_content( value = `888.8`
+ scale = `MM`
+ class = `sapUiSmallMargin`
+ press = client->_event( 'press' )
+ truncatevalueto = `4` ).
+ page->numeric_content( value = `65.5`
+ scale = `MM`
+ valueColor = `Good`
+ indicator = `Up`
+ class = `sapUiSmallMargin`
+ press = client->_event( 'press' ) ).
+ page->numeric_content( value = `6666`
+ scale = `MM`
+ valueColor = `Critical`
+ indicator = `Up`
+ class = `sapUiSmallMargin`
+ press = client->_event( 'press' ) ).
+ page->numeric_content( value = `65.5`
+ scale = `MMill`
+ valueColor = `Error`
+ indicator = `Down`
+ class = `sapUiSmallMargin`
+ press = client->_event( 'press' ) ).
+ page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Country-Specific Profit Margin`
+ subheader = `Expenses`
+ press = client->_event( 'press' )
+ )->tile_content( unit = `EUR`
+ footer = `Current Quarter`
+ )->numeric_content( scale = `M`
+ value = `1.96`
+ valueColor = `Error`
+ indicator = `Up`
+ withMargin = abap_false ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -82,25 +99,24 @@ CLASS z2ui5_cl_demo_app_262 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows NumericContent including numbers, units of measurement, and status arrows indicating a trend. ` &&
- `The numbers can be colored according to their meaning.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = |Shows NumericContent including numbers, units of measurement, and status arrows indicating a trend. | &&
+ |The numbers can be colored according to their meaning.| ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -112,4 +128,5 @@ CLASS z2ui5_cl_demo_app_262 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_263.clas.abap b/src/z2ui5_cl_demo_app_263.clas.abap
index e06c06d0..0cd107b3 100644
--- a/src/z2ui5_cl_demo_app_263.clas.abap
+++ b/src/z2ui5_cl_demo_app_263.clas.abap
@@ -1,22 +1,23 @@
-class z2ui5_cl_demo_app_263 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_263 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ DATA check_initialized TYPE abap_bool.
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_263 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Numeric Content with Icon'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Numeric Content with Icon'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -49,20 +47,26 @@ CLASS z2ui5_cl_demo_app_263 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.NumericContent/sample/sap.m.sample.NumericContentIcon' ).
- page->numeric_content( value = `65` scale = `MM`
- valueColor = `Error` indicator = `Down` icon = `sap-icon://travel-expense`
- class = `sapUiSmallMargin` press = client->_event( 'press' ) ).
- page->numeric_content( value = `11` scale = `MM`
- valueColor = `Critical` indicator = `Up`
- icon = `test-resources/sap/m/demokit/sample/NumericContentIcon/images/grass.jpg` class = `sapUiSmallMargin`
- press = client->_event( 'press' ) ).
+ page->numeric_content( value = `65`
+ scale = `MM`
+ valueColor = `Error`
+ indicator = `Down`
+ icon = `sap-icon://travel-expense`
+ class = `sapUiSmallMargin`
+ press = client->_event( 'press' ) ).
+ page->numeric_content( value = `11`
+ scale = `MM`
+ valueColor = `Critical`
+ indicator = `Up`
+ icon = `test-resources/sap/m/demokit/sample/NumericContentIcon/images/grass.jpg`
+ class = `sapUiSmallMargin`
+ press = client->_event( 'press' ) ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -75,24 +79,22 @@ CLASS z2ui5_cl_demo_app_263 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `Shows NumericContent including an icon.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -104,4 +106,5 @@ CLASS z2ui5_cl_demo_app_263 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_264.clas.abap b/src/z2ui5_cl_demo_app_264.clas.abap
index 6d1a496a..8aef4c58 100644
--- a/src/z2ui5_cl_demo_app_264.clas.abap
+++ b/src/z2ui5_cl_demo_app_264.clas.abap
@@ -1,32 +1,32 @@
-class z2ui5_cl_demo_app_264 definition
- public
- create public .
+CLASS z2ui5_cl_demo_app_264 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
-public section.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- interfaces Z2UI5_IF_APP .
+ TYPES:
+ BEGIN OF ty_a_data,
+ label TYPE string,
+ value_state TYPE string,
+ END OF ty_a_data.
- types:
- BEGIN OF ty_a_data,
- label TYPE string,
- value_state TYPE string,
- END OF ty_a_data .
+ DATA lt_a_data TYPE STANDARD TABLE OF ty_a_data.
+ DATA ls_a_data TYPE ty_a_data.
+ DATA s_text TYPE string.
+ DATA check_initialized TYPE abap_bool.
- data:
- lt_a_data TYPE STANDARD TABLE OF ty_a_data .
- data LS_A_DATA type TY_A_DATA .
- data S_TEXT type STRING .
- data CHECK_INITIALIZED type ABAP_BOOL .
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -35,23 +35,20 @@ public section.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_264 IMPLEMENTATION.
-
- METHOD DISPLAY_VIEW.
+ METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Step Input - Value States'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Step Input - Value States'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `hint_icon`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'POPOVER' ) ).
+ )->button( id = `hint_icon`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'POPOVER' ) ).
page->header_content(
)->link(
@@ -59,21 +56,21 @@ CLASS z2ui5_cl_demo_app_264 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.StepInput/sample/sap.m.sample.StepInputValueState' ).
- page->flex_box( items = client->_bind( lt_a_data ) direction = `Column`
- )->vbox( class = `sapUiTinyMargin`
- )->label( text = '{LABEL}' labelfor = `SI`
- )->step_input(
- id = `SI`
- width = `100%`
- value = `5`
- valuestate = '{VALUE_STATE}' ).
+ page->flex_box( items = client->_bind( lt_a_data )
+ direction = `Column`
+ )->vbox( class = `sapUiTinyMargin`
+ )->label( text = '{LABEL}'
+ labelfor = `SI`
+ )->step_input( id = `SI`
+ width = `100%`
+ value = `5`
+ valuestate = '{VALUE_STATE}' ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
- METHOD ON_EVENT.
+ METHOD on_event.
CASE client->get( )-event.
WHEN 'BACK'.
@@ -84,24 +81,22 @@ CLASS z2ui5_cl_demo_app_264 IMPLEMENTATION.
ENDMETHOD.
-
- METHOD Z2UI5_DISPLAY_POPOVER.
+ METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `This example shows different StepInput value states.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
- METHOD Z2UI5_IF_APP~MAIN.
+ METHOD z2ui5_if_app~main.
me->client = client.
@@ -111,23 +106,23 @@ CLASS z2ui5_cl_demo_app_264 IMPLEMENTATION.
s_text = 'StepInput with valueState '.
- lt_a_data = VALUE #(
- ( value_state = 'None' )
- ( value_state = 'Information' )
- ( value_state = 'Success' )
- ( value_state = 'Warning' )
- ( value_state = 'Error' )
+ lt_a_data = VALUE #( ( value_state = 'None' )
+ ( value_state = 'Information' )
+ ( value_state = 'Success' )
+ ( value_state = 'Warning' )
+ ( value_state = 'Error' )
).
" Use field symbols to concatenate the string and store it in the label column
- FIELD-SYMBOLS: TYPE ty_a_data.
+ FIELD-SYMBOLS TYPE ty_a_data.
LOOP AT lt_a_data ASSIGNING .
- -label = s_text && ` ` && -value_state.
+ -label = |{ s_text } { -value_state }|.
ENDLOOP.
ENDIF.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_265.clas.abap b/src/z2ui5_cl_demo_app_265.clas.abap
index b580d11e..23f74b70 100644
--- a/src/z2ui5_cl_demo_app_265.clas.abap
+++ b/src/z2ui5_cl_demo_app_265.clas.abap
@@ -2,21 +2,22 @@ CLASS z2ui5_cl_demo_app_265 DEFINITION
PUBLIC
CREATE PUBLIC.
-PUBLIC SECTION.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app.
+ DATA check_initialized TYPE abap_bool.
- DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ PUBLIC SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_265 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Code Editor'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Code Editor'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -49,29 +47,27 @@ CLASS z2ui5_cl_demo_app_265 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk#/entity/sap.ui.codeeditor.CodeEditor/sample/sap.ui.codeeditor.sample.CodeEditor' ).
- page->code_editor(
- type = `json`
- value = `\{ ` &&
- ` "Chinese" : "你好世界", ` &&
- ` "Dutch" : "Hallo wereld", ` &&
- ` "English" : "Hello world", ` &&
- ` "French" : "Bonjour monde", ` &&
- ` "German" : "Hallo Welt", ` &&
- ` "Greek" : "γειά σου κόσμος", ` &&
- ` "Italian" : "Ciao mondo", ` &&
- ` "Japanese" : "こんにちは世界", ` &&
- ` "Korean" : "여보세요 세계", ` &&
- ` "Portuguese" : "Olá mundo", ` &&
- ` "Russian" : "Здравствуй мир", ` &&
- ` "Spanish" : "Hola mundo" ` &&
- `}`
- height = `300px` ).
+ page->code_editor( type = `json`
+ value = |\\\{ | &&
+ | "Chinese" : "你好世界", | &&
+ | "Dutch" : "Hallo wereld", | &&
+ | "English" : "Hello world", | &&
+ | "French" : "Bonjour monde", | &&
+ | "German" : "Hallo Welt", | &&
+ | "Greek" : "γειά σου κόσμος", | &&
+ | "Italian" : "Ciao mondo", | &&
+ | "Japanese" : "こんにちは世界", | &&
+ | "Korean" : "여보세요 세계", | &&
+ | "Portuguese" : "Olá mundo", | &&
+ | "Russian" : "Здравствуй мир", | &&
+ | "Spanish" : "Hola mundo" | &&
+ |\}|
+ height = `300px` ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -83,23 +79,22 @@ CLASS z2ui5_cl_demo_app_265 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Display or edit source code with syntax highlighting for various source types.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Display or edit source code with syntax highlighting for various source types.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -112,4 +107,5 @@ CLASS z2ui5_cl_demo_app_265 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_266.clas.abap b/src/z2ui5_cl_demo_app_266.clas.abap
index 988b7df8..e93740af 100644
--- a/src/z2ui5_cl_demo_app_266.clas.abap
+++ b/src/z2ui5_cl_demo_app_266.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_266 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +26,20 @@ CLASS z2ui5_cl_demo_app_266 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_266 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Toggle Button`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Toggle Button`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -50,43 +47,85 @@ CLASS z2ui5_cl_demo_app_266 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/#/entity/sap.m.ToggleButton/sample/sap.m.sample.ToggleButton' ).
- DATA(page_02) = page_01->page(
- title = `Page`
- class = `sapUiContentPadding`
+ DATA(page_02) = page_01->page( title = `Page`
+ class = `sapUiContentPadding`
)->custom_header(
)->bar(
)->content_middle(
- )->title( level = `H2` text = `Title`
+ )->title( level = `H2`
+ text = `Title`
)->get_parent(
)->content_right(
- )->toggle_button( icon = `sap-icon://edit` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
+ )->toggle_button(
+ icon = `sap-icon://edit`
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
)->get_parent(
)->get_parent(
)->get_parent(
)->sub_header(
)->bar(
)->content_left(
- )->toggle_button( text = `Pressed` enabled = abap_true pressed = abap_true press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
- )->toggle_button( text = `Pressed & Disabled` enabled = abap_false pressed = abap_true press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
+ )->toggle_button(
+ text = `Pressed`
+ enabled = abap_true
+ pressed = abap_true
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
+ )->toggle_button(
+ text = `Pressed & Disabled`
+ enabled = abap_false
+ pressed = abap_true
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
)->get_parent(
)->content_right(
- )->toggle_button( icon = `sap-icon://action` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
- )->toggle_button( icon = `sap-icon://home` enabled = abap_false press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
+ )->toggle_button(
+ icon = `sap-icon://action`
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
+ )->toggle_button(
+ icon = `sap-icon://home`
+ enabled = abap_false
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
)->get_parent(
)->get_parent(
)->get_parent(
)->hbox(
- )->toggle_button( text = `Disabled` enabled = `false` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) ) )->get(
+ )->toggle_button(
+ text = `Disabled`
+ enabled = `false`
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) ) )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
)->get_parent(
- )->toggle_button( text = `Pressed` enabled = abap_true pressed = abap_true press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) ) )->get(
+ )->toggle_button(
+ text = `Pressed`
+ enabled = abap_true
+ pressed = abap_true
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) ) )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
)->get_parent(
- )->toggle_button( icon = `sap-icon://action` enabled = abap_true pressed = abap_true press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) ) )->get(
+ )->toggle_button(
+ icon = `sap-icon://action`
+ enabled = abap_true
+ pressed = abap_true
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) ) )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
@@ -95,8 +134,18 @@ CLASS z2ui5_cl_demo_app_266 IMPLEMENTATION.
)->footer(
)->bar(
)->content_right(
- )->toggle_button( text = `Pressed & Disabled` enabled = abap_false pressed = abap_true press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
- )->toggle_button( icon = `sap-icon://action` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
+ )->toggle_button(
+ text = `Pressed & Disabled`
+ enabled = abap_false
+ pressed = abap_true
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
+ )->toggle_button(
+ icon = `sap-icon://action`
+ press = client->_event(
+ val = `onPress`
+ t_arg = VALUE #( ( `${$source>/pressed}` ) ( `${$source>/id}` ) ) )
)->get_parent(
)->get_parent(
)->get_parent(
@@ -105,7 +154,6 @@ CLASS z2ui5_cl_demo_app_266 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -114,33 +162,30 @@ CLASS z2ui5_cl_demo_app_266 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'onPress'.
- IF client->get_event_arg( 1 ) = 'X'.
- client->message_toast_display( client->get_event_arg( 2 ) && ` Pressed` ).
+ IF client->get_event_arg( 1 ) = 'X'.
+ client->message_toast_display( |{ client->get_event_arg( 2 ) } Pressed| ).
ELSE.
- client->message_toast_display( client->get_event_arg( 2 ) && ` Unpressed` ).
+ client->message_toast_display( |{ client->get_event_arg( 2 ) } Unpressed| ).
ENDIF.
- ENDCASE.
-
+ ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `Toggle Buttons can be toggled between pressed and normal state.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -153,4 +198,5 @@ CLASS z2ui5_cl_demo_app_266 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_267.clas.abap b/src/z2ui5_cl_demo_app_267.clas.abap
index 0d1ea1ee..11a06d09 100644
--- a/src/z2ui5_cl_demo_app_267.clas.abap
+++ b/src/z2ui5_cl_demo_app_267.clas.abap
@@ -2,21 +2,22 @@ CLASS z2ui5_cl_demo_app_267 DEFINITION
PUBLIC
CREATE PUBLIC.
-PUBLIC SECTION.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app.
+ DATA check_initialized TYPE abap_bool.
- DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ PUBLIC SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_267 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: MultiInput - Value States'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: MultiInput - Value States'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -49,24 +47,42 @@ CLASS z2ui5_cl_demo_app_267 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.MultiInput/sample/sap.m.sample.MultiInputValueStates' ).
- page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
- )->label( text = `MultiInput with value state 'Warning'` labelfor = `multiInput`
- )->multi_input( id = `multiInput` valuestate = `Warning` showsuggestion = abap_false showvaluehelp = abap_false width = `70%` )->get_parent(
- )->label( text = `MultiInput with value state 'Error'` labelfor = `multiInput1`
- )->multi_input( id = `multiInput1` valuestate = `Error` showsuggestion = `false` showvaluehelp = abap_false width = `70%` )->get_parent(
- )->label( text = `MultiInput with value state 'Success'` labelfor = `multiInput2`
- )->multi_input( id = `multiInput2` valuestate = `Success` showsuggestion = abap_false showvaluehelp = abap_false width = `70%` )->get_parent(
- )->label( text = `MultiInput with value state 'Information'` labelfor = `multiInput3`
- )->multi_input( id = `multiInput3` valuestate = `Information` showsuggestion = `false` showvaluehelp = abap_false width = `70%`
+ page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
+ )->label( text = `MultiInput with value state 'Warning'`
+ labelfor = `multiInput`
+ )->multi_input( id = `multiInput`
+ valuestate = `Warning`
+ showsuggestion = abap_false
+ showvaluehelp = abap_false
+ width = `70%` )->get_parent(
+ )->label( text = `MultiInput with value state 'Error'`
+ labelfor = `multiInput1`
+ )->multi_input( id = `multiInput1`
+ valuestate = `Error`
+ showsuggestion = `false`
+ showvaluehelp = abap_false
+ width = `70%` )->get_parent(
+ )->label( text = `MultiInput with value state 'Success'`
+ labelfor = `multiInput2`
+ )->multi_input( id = `multiInput2`
+ valuestate = `Success`
+ showsuggestion = abap_false
+ showvaluehelp = abap_false
+ width = `70%` )->get_parent(
+ )->label( text = `MultiInput with value state 'Information'`
+ labelfor = `multiInput3`
+ )->multi_input( id = `multiInput3`
+ valuestate = `Information`
+ showsuggestion = `false`
+ showvaluehelp = abap_false
+ width = `70%`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -78,23 +94,22 @@ CLASS z2ui5_cl_demo_app_267 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `This sample illustrates the different value states of the sap.m.MultiInput control.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `This sample illustrates the different value states of the sap.m.MultiInput control.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -107,4 +122,5 @@ CLASS z2ui5_cl_demo_app_267 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_268.clas.abap b/src/z2ui5_cl_demo_app_268.clas.abap
index c6b9d240..f84d44c3 100644
--- a/src/z2ui5_cl_demo_app_268.clas.abap
+++ b/src/z2ui5_cl_demo_app_268.clas.abap
@@ -2,21 +2,22 @@ CLASS z2ui5_cl_demo_app_268 DEFINITION
PUBLIC
CREATE PUBLIC.
-PUBLIC SECTION.
+ PUBLIC SECTION.
+ INTERFACES z2ui5_if_app.
- INTERFACES z2ui5_if_app.
+ DATA check_initialized TYPE abap_bool.
- DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,60 +26,58 @@ PUBLIC SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_268 IMPLEMENTATION.
-
METHOD display_view.
- DATA(css) = `.size1 {` &&
- ` font-size : 1.5rem;` &&
- `}` &&
- `.size2 {` &&
- ` font-size : 2.5rem;` &&
- `}` &&
- `.size3 {` &&
- ` font-size : 5rem;` &&
- `}` &&
- `.size4 {` &&
- ` font-size : 7.5rem;` &&
- `}` &&
- `.size5 {` &&
- ` font-size : 10rem;` &&
- `}` &&
-
- `@media (max-width:599px) {` &&
- ` .size1 {` &&
- ` font-size : 1rem;` &&
- ` }` &&
- ` .size2 {` &&
- ` font-size : 2rem;` &&
- `}` &&
- ` .size3 {` &&
- ` font-size : 3rem;` &&
- ` }` &&
- ` .size4 {` &&
- ` font-size : 4rem;` &&
- ` }` &&
- ` .size5 {` &&
- ` font-size : 5rem;` &&
- ` }` &&
- `}`.
+ DATA(css) = |.size1 \{| &&
+ | font-size : 1.5rem;| &&
+ |\}| &&
+ |.size2 \{| &&
+ | font-size : 2.5rem;| &&
+ |\}| &&
+ |.size3 \{| &&
+ | font-size : 5rem;| &&
+ |\}| &&
+ |.size4 \{| &&
+ | font-size : 7.5rem;| &&
+ |\}| &&
+ |.size5 \{| &&
+ | font-size : 10rem;| &&
+ |\}| &&
+
+ |@media (max-width:599px) \{| &&
+ | .size1 \{| &&
+ | font-size : 1rem;| &&
+ | \}| &&
+ | .size2 \{| &&
+ | font-size : 2rem;| &&
+ |\}| &&
+ | .size3 \{| &&
+ | font-size : 3rem;| &&
+ | \}| &&
+ | .size4 \{| &&
+ | font-size : 4rem;| &&
+ | \}| &&
+ | .size5 \{| &&
+ | font-size : 5rem;| &&
+ | \}| &&
+ |\}|.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `style` ns = `html` )->_cc_plain_xml( css )->get_parent( ).
+ view->_generic( name = `style`
+ ns = `html` )->_cc_plain_xml( css )->get_parent( ).
DATA(page) = view->shell(
- )->page(
- title = `abap2UI5 - Sample: Icon`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Icon`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -87,35 +86,30 @@ CLASS z2ui5_cl_demo_app_268 IMPLEMENTATION.
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.core.Icon/sample/sap.ui.core.sample.Icon' ).
page->hbox( class = `sapUiSmallMargin`
- )->icon(
- src = `sap-icon://syringe`
- class = `size1`
- color = `#031E48` )->get(
+ )->icon( src = `sap-icon://syringe`
+ class = `size1`
+ color = `#031E48` )->get(
)->layout_data( ns = `core`
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->icon(
- src = `sap-icon://pharmacy`
- class = `size2`
- color = `#64E4CE` )->get(
+ )->icon( src = `sap-icon://pharmacy`
+ class = `size2`
+ color = `#64E4CE` )->get(
)->layout_data( ns = `core`
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->icon(
- src = `sap-icon://electrocardiogram`
- class = `size3`
- color = `#E69A17` )->get(
+ )->icon( src = `sap-icon://electrocardiogram`
+ class = `size3`
+ color = `#E69A17` )->get(
)->layout_data( ns = `core`
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->icon(
- src = `sap-icon://doctor`
- class = `size4`
- color = `#1C4C98` )->get(
+ )->icon( src = `sap-icon://doctor`
+ class = `size4`
+ color = `#1C4C98` )->get(
)->layout_data( ns = `core`
)->flex_item_data( growfactor = `1` )->get_parent( )->get_parent(
- )->icon(
- src = `sap-icon://stethoscope`
- class = `size5`
- color = `#8875E7`
- press = client->_event( `handleStethoscopePress` ) )->get(
+ )->icon( src = `sap-icon://stethoscope`
+ class = `size5`
+ color = `#8875E7`
+ press = client->_event( `handleStethoscopePress` ) )->get(
)->layout_data( ns = `core`
)->flex_item_data( growfactor = `1`
).
@@ -124,7 +118,6 @@ CLASS z2ui5_cl_demo_app_268 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -138,24 +131,23 @@ CLASS z2ui5_cl_demo_app_268 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Built with an embedded font, icons scale well, and can be altered with CSS. ` &&
- `They can also fire a press event. See the Icon Explorer for more icons.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = |Built with an embedded font, icons scale well, and can be altered with CSS. | &&
+ |They can also fire a press event. See the Icon Explorer for more icons.| ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -168,4 +160,5 @@ CLASS z2ui5_cl_demo_app_268 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_269.clas.abap b/src/z2ui5_cl_demo_app_269.clas.abap
index cc3812e4..09b04124 100644
--- a/src/z2ui5_cl_demo_app_269.clas.abap
+++ b/src/z2ui5_cl_demo_app_269.clas.abap
@@ -16,6 +16,7 @@ ENDCLASS.
CLASS z2ui5_cl_demo_app_269 IMPLEMENTATION.
+
METHOD z2ui5_if_app~main.
me->client = client.
@@ -29,7 +30,7 @@ CLASS z2ui5_cl_demo_app_269 IMPLEMENTATION.
METHOD display_view.
- DATA(view) = z2ui5_cl_xml_view=>factory( ).
+ DATA(view) = z2ui5_cl_xml_view=>factory( ).
view->shell_bar(
title = `Shell Bar`
@@ -66,4 +67,5 @@ CLASS z2ui5_cl_demo_app_269 IMPLEMENTATION.
client->nav_app_leave( ).
ENDCASE.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_270.clas.abap b/src/z2ui5_cl_demo_app_270.clas.abap
index ad2de17b..c48ea72b 100644
--- a/src/z2ui5_cl_demo_app_270.clas.abap
+++ b/src/z2ui5_cl_demo_app_270.clas.abap
@@ -1,23 +1,22 @@
CLASS z2ui5_cl_demo_app_270 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
- DATA name TYPE string.
- data color type string.
+
+ DATA name TYPE string.
+ DATA color TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
+
PRIVATE SECTION.
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_270 IMPLEMENTATION.
-
METHOD z2ui5_if_app~main.
IF check_initialized = abap_false.
@@ -25,17 +24,15 @@ CLASS z2ui5_cl_demo_app_270 IMPLEMENTATION.
client->view_display( z2ui5_cl_xml_view=>factory(
)->shell(
- )->page(
- title = 'abap2UI5 - Hello World App'
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
- navbuttonpress = client->_event( 'BACK' )
+ )->page( title = 'abap2UI5 - Hello World App'
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL )
+ navbuttonpress = client->_event( 'BACK' )
)->simple_form( editable = abap_true
)->content( ns = `form`
- )->color_picker(
- colorstring = client->_bind_edit( color )
-* displaymode =
-* change =
-* livechange =
+ )->color_picker( colorstring = client->_bind_edit( color )
+* displaymode =
+* change =
+* livechange =
)->input( client->_bind_edit( color )
)->stringify( ) ).
diff --git a/src/z2ui5_cl_demo_app_271.clas.abap b/src/z2ui5_cl_demo_app_271.clas.abap
index c3ffd8a7..81c9a85e 100644
--- a/src/z2ui5_cl_demo_app_271.clas.abap
+++ b/src/z2ui5_cl_demo_app_271.clas.abap
@@ -1,23 +1,23 @@
CLASS z2ui5_cl_demo_app_271 DEFINITION
PUBLIC
- CREATE PUBLIC .
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,53 +26,49 @@ CLASS z2ui5_cl_demo_app_271 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_271 IMPLEMENTATION.
-
METHOD display_view.
" Define the base URL for the server
DATA base_url TYPE string VALUE 'https://sapui5.hana.ondemand.com'.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: ImageContent'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: ImageContent'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = base_url && '/sdk/#/entity/sap.m.ImageContent/sample/sap.m.sample.ImageContent' ).
-
- page->image_content(
- class = `sapUiLargeMarginTop sapUiLargeMarginBottom`
- src = `sap-icon://area-chart`
- description = `Icon`
- press = client->_event( 'press' ) )->get_parent(
- )->image_content( class = `sapUiLargeMarginTop sapUiLargeMarginBottom`
- src = base_url && `/test-resources/sap/m/demokit/sample/ImageContent/images/ProfileImage_LargeGenTile.png`
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = |{ base_url }/sdk/#/entity/sap.m.ImageContent/sample/sap.m.sample.ImageContent| ).
+
+ page->image_content( class = `sapUiLargeMarginTop sapUiLargeMarginBottom`
+ src = `sap-icon://area-chart`
+ description = `Icon`
+ press = client->_event( 'press' ) )->get_parent(
+ )->image_content(
+ class = `sapUiLargeMarginTop sapUiLargeMarginBottom`
+ src = |{ base_url }/test-resources/sap/m/demokit/sample/ImageContent/images/ProfileImage_LargeGenTile.png|
description = `Profile image`
- press = client->_event( 'press' ) )->get_parent(
- )->image_content( class = `sapUiLargeMarginTop sapUiLargeMarginBottom`
- src = base_url && `/test-resources/sap/m/demokit/sample/ImageContent/images/SAPLogoLargeTile_28px_height.png`
+ press = client->_event( 'press' ) )->get_parent(
+ )->image_content(
+ class = `sapUiLargeMarginTop sapUiLargeMarginBottom`
+ src = |{ base_url }/test-resources/sap/m/demokit/sample/ImageContent/images/SAPLogoLargeTile_28px_height.png|
description = `Logo`
- press = client->_event( 'press' )
+ press = client->_event( 'press' )
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -86,23 +82,22 @@ CLASS z2ui5_cl_demo_app_271 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows ImageContent that can include an icon, a profile image, or a logo with a tooltip.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Shows ImageContent that can include an icon, a profile image, or a logo with a tooltip.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -115,4 +110,5 @@ CLASS z2ui5_cl_demo_app_271 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_272.clas.abap b/src/z2ui5_cl_demo_app_272.clas.abap
index 0484d26c..5580ecae 100644
--- a/src/z2ui5_cl_demo_app_272.clas.abap
+++ b/src/z2ui5_cl_demo_app_272.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_272 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,52 +26,50 @@ CLASS z2ui5_cl_demo_app_272 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_272 IMPLEMENTATION.
-
METHOD display_view.
" Define the base URL for the server
DATA base_url TYPE string VALUE 'https://sapui5.hana.ondemand.com/'.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Object Header - with Circle-shaped Image'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Object Header - with Circle-shaped Image'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = base_url && 'sdk/#/entity/sap.m.ObjectHeader/sample/sap.m.sample.ObjectHeaderCircleImage' ).
-
- page->object_header(
- icon = base_url && `test-resources/sap/m/images/Woman_04.png`
- icondensityaware = abap_false
- iconalt = `Denise Smith`
- imageshape = `Circle`
- responsive = abap_true
- title = `Denise Smith`
- intro = `Senior Developer`
- class = `sapUiResponsivePadding--header`
- )->object_attribute( title = `Email address` text = `DeniseSmith@sap.com` active = abap_true
- )->object_attribute( title = `Office Phone` text = `+33 6 453 564`
- )->object_attribute( title = `Functional Area` text = `Development`
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = |{ base_url }sdk/#/entity/sap.m.ObjectHeader/sample/sap.m.sample.ObjectHeaderCircleImage| ).
+
+ page->object_header( icon = |{ base_url }test-resources/sap/m/images/Woman_04.png|
+ icondensityaware = abap_false
+ iconalt = `Denise Smith`
+ imageshape = `Circle`
+ responsive = abap_true
+ title = `Denise Smith`
+ intro = `Senior Developer`
+ class = `sapUiResponsivePadding--header`
+ )->object_attribute( title = `Email address`
+ text = `DeniseSmith@sap.com`
+ active = abap_true
+ )->object_attribute( title = `Office Phone`
+ text = `+33 6 453 564`
+ )->object_attribute( title = `Functional Area`
+ text = `Development`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -83,26 +81,25 @@ CLASS z2ui5_cl_demo_app_272 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `An Object Header can set shape of the image by using 'imageShape' property.` &&
- `The shapes could be Square (by default) and Circle.` &&
- `Note: This example shows the image inside ObjectHeader with the responsive property set to true.` &&
- `On phone in portrait mode, the image is hidden.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = |An Object Header can set shape of the image by using 'imageShape' property.| &&
+ |The shapes could be Square (by default) and Circle.| &&
+ |Note: This example shows the image inside ObjectHeader with the responsive property set to true.| &&
+ |On phone in portrait mode, the image is hidden.| ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -115,4 +112,5 @@ CLASS z2ui5_cl_demo_app_272 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_273.clas.abap b/src/z2ui5_cl_demo_app_273.clas.abap
index 33c22165..6e1c9dc4 100644
--- a/src/z2ui5_cl_demo_app_273.clas.abap
+++ b/src/z2ui5_cl_demo_app_273.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_273 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,192 +26,193 @@ CLASS z2ui5_cl_demo_app_273 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_273 IMPLEMENTATION.
-
METHOD display_view.
" Define the base URL for the server
DATA base_url TYPE string VALUE 'https://sapui5.hana.ondemand.com/'.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: LightBox'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: LightBox'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = base_url && 'sdk/#/entity/sap.m.LightBox/sample/sap.m.sample.LightBox' ).
-
- page->message_strip( text = `Clicking on each of the images will open a LightBox, showing the real size of the image. ` &&
- `Images will be scaled down if their size is bigger than the window size." class="sapUiSmallMargin` class = `sapUiSmallMargin`
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = |{ base_url }sdk/#/entity/sap.m.LightBox/sample/sap.m.sample.LightBox| ).
+
+ page->message_strip(
+ text = |Clicking on each of the images will open a LightBox, showing the real size of the image. | &&
+ |Images will be scaled down if their size is bigger than the window size." class="sapUiSmallMargin|
+ class = `sapUiSmallMargin`
)->list(
)->custom_list_item(
)->hbox( class = `sapUiSmallMargin`
- )->image(
- src = base_url && `test-resources/sap/ui/documentation/sdk/images/HT-6100.jpg`
- decorative = abap_false
- width = `170px`
- densityaware = abap_false )->get(
+ )->image( src = |{ base_url }test-resources/sap/ui/documentation/sdk/images/HT-6100.jpg|
+ decorative = abap_false
+ width = `170px`
+ densityaware = abap_false )->get(
)->detail_box(
)->light_box(
)->light_box_item(
- imagesrc = base_url && `test-resources/sap/ui/documentation/sdk/images/HT-6100-large.jpg`
- alt = `Beamer`
- title = `This is a beamer`
+ imagesrc = |{ base_url }test-resources/sap/ui/documentation/sdk/images/HT-6100-large.jpg|
+ alt = `Beamer`
+ title = `This is a beamer`
subtitle = `This is beamer's description` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiSmallMarginBegin`
)->title( text = `Beamer`
- )->text( text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.` &&
- `Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,` &&
- `et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.` &&
- `Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,` &&
- `venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.` )->get_parent( )->get_parent(
+ )->text(
+ text = |Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.| &&
+ |Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,| &&
+ |et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.| &&
+ |Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,| &&
+ |venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.| )->get_parent( )->get_parent(
)->custom_list_item(
)->hbox( class = `sapUiSmallMargin`
- )->image(
- src = base_url && `test-resources/sap/ui/documentation/sdk/images/HT-6120.jpg`
- decorative = abap_false
- width = `170px`
- densityaware = abap_false )->get(
+ )->image( src = |{ base_url }test-resources/sap/ui/documentation/sdk/images/HT-6120.jpg|
+ decorative = abap_false
+ width = `170px`
+ densityaware = abap_false )->get(
)->detail_box(
)->light_box(
)->light_box_item(
- imagesrc = base_url && `test-resources/sap/ui/documentation/sdk/images/HT-6120-large.jpg`
- alt = `USB`
- title = `This is a USB`
+ imagesrc = |{ base_url }test-resources/sap/ui/documentation/sdk/images/HT-6120-large.jpg|
+ alt = `USB`
+ title = `This is a USB`
subtitle = `This is USB's description` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiSmallMarginBegin`
)->title( text = `USB`
- )->text( text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.` &&
- `Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,` &&
- `et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.` &&
- `Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,` &&
- `venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.` )->get_parent( )->get_parent(
+ )->text(
+ text = |Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.| &&
+ |Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,| &&
+ |et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.| &&
+ |Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,| &&
+ |venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.| )->get_parent( )->get_parent(
)->custom_list_item(
)->hbox( class = `sapUiSmallMargin`
- )->image(
- src = base_url && `test-resources/sap/ui/documentation/sdk/images/HT-7777.jpg`
- decorative = abap_false
- width = `170px`
- densityaware = abap_false )->get(
+ )->image( src = |{ base_url }test-resources/sap/ui/documentation/sdk/images/HT-7777.jpg|
+ decorative = abap_false
+ width = `170px`
+ densityaware = abap_false )->get(
)->detail_box(
)->light_box(
)->light_box_item(
- imagesrc = base_url && `test-resources/sap/ui/documentation/sdk/images/HT-7777-large.jpg`
- alt = `Speakers`
- title = `These are speakers`
+ imagesrc = |{ base_url }test-resources/sap/ui/documentation/sdk/images/HT-7777-large.jpg|
+ alt = `Speakers`
+ title = `These are speakers`
subtitle = `This is speakers' description` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiSmallMarginBegin`
)->title( text = `Speakers`
- )->text( text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.` &&
- `Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,` &&
- `et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.` &&
- `Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,` &&
- `venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.` )->get_parent( )->get_parent(
+ )->text(
+ text = |Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.| &&
+ |Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,| &&
+ |et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.| &&
+ |Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,| &&
+ |venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.| )->get_parent( )->get_parent(
)->custom_list_item(
)->hbox( class = `sapUiSmallMargin`
)->image(
- src = base_url && `test-resources/sap/ui/documentation/sdk/images/nature/ALotOfElephants_small.jpg`
- decorative = abap_false
- width = `170px`
+ src = |{ base_url }test-resources/sap/ui/documentation/sdk/images/nature/ALotOfElephants_small.jpg|
+ decorative = abap_false
+ width = `170px`
densityaware = abap_false )->get(
)->detail_box(
)->light_box(
)->light_box_item(
- imagesrc = base_url && `test-resources/sap/ui/documentation/sdk/images/nature/ALotOfElephants.jpg`
- alt = `Nature image`
- title = `This is a sample image`
+ imagesrc = |{ base_url }test-resources/sap/ui/documentation/sdk/images/nature/ALotOfElephants.jpg|
+ alt = `Nature image`
+ title = `This is a sample image`
subtitle = `This is a place for description` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiSmallMarginBegin`
)->title( text = `Nature image`
- )->text( text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.` &&
- `Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,` &&
- `et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.` &&
- `Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,` &&
- `venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.` )->get_parent( )->get_parent(
+ )->text(
+ text = |Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.| &&
+ |Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,| &&
+ |et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.| &&
+ |Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,| &&
+ |venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.| )->get_parent( )->get_parent(
)->custom_list_item(
)->hbox( class = `sapUiSmallMargin`
)->image(
- src = base_url && `test-resources/sap/ui/documentation/sdk/images/nature/flatFish.jpg`
- decorative = abap_false
- width = `170px`
+ src = |{ base_url }test-resources/sap/ui/documentation/sdk/images/nature/flatFish.jpg|
+ decorative = abap_false
+ width = `170px`
densityaware = abap_false )->get(
)->detail_box(
)->light_box(
)->light_box_item(
- imagesrc = base_url && `test-resources/sap/ui/documentation/sdk/images/nature/flatFish.jpg`
- alt = `Nature image`
- title = `This is a sample image`
+ imagesrc = |{ base_url }test-resources/sap/ui/documentation/sdk/images/nature/flatFish.jpg|
+ alt = `Nature image`
+ title = `This is a sample image`
subtitle = `This is a place for description` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiSmallMarginBegin`
)->title( text = `Nature image`
- )->text( text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.` &&
- `Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,` &&
- `et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.` &&
- `Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,` &&
- `venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.` )->get_parent( )->get_parent(
+ )->text(
+ text = |Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.| &&
+ |Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,| &&
+ |et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.| &&
+ |Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,| &&
+ |venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.| )->get_parent( )->get_parent(
)->custom_list_item(
)->hbox( class = `sapUiSmallMargin`
)->image(
- src = base_url && `test-resources/sap/ui/documentation/sdk/images/nature/horses.jpg`
- decorative = abap_false
- width = `170px`
+ src = |{ base_url }test-resources/sap/ui/documentation/sdk/images/nature/horses.jpg|
+ decorative = abap_false
+ width = `170px`
densityaware = abap_false )->get(
)->detail_box(
)->light_box(
)->light_box_item(
- imagesrc = base_url && `test-resources/sap/ui/documentation/sdk/images/nature/horses.jpg`
- alt = `Nature image`
- title = `This is a sample image`
+ imagesrc = |{ base_url }test-resources/sap/ui/documentation/sdk/images/nature/horses.jpg|
+ alt = `Nature image`
+ title = `This is a sample image`
subtitle = `This is a place for description` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiSmallMarginBegin`
)->title( text = `Nature image`
- )->text( text = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.` &&
- `Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,` &&
- `et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.` &&
- `Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,` &&
- `venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.` )->get_parent( )->get_parent(
+ )->text(
+ text = |Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam interdum lectus et tempus blandit.| &&
+ |Sed porta ex quis tortor gravida, ut suscipit felis dignissim. Ut iaculis elit vel ligula scelerisque,| &&
+ |et porttitor est pretium. Suspendisse purus dolor, fermentum in tortor eu, semper finibus velit.| &&
+ |Proin vel lobortis leo, vel eleifend lorem. Etiam ac erat sollicitudin, condimentum magna ac,| &&
+ |venenatis lacus. Pellentesque non mauris consectetur, tristique arcu id, aliquet tortor.| )->get_parent( )->get_parent(
)->custom_list_item(
)->hbox( class = `sapUiSmallMargin`
)->image(
- src = base_url && `test-resources/sap/ui/documentation/sdk/images/nature/elephant.jpg`
- decorative = abap_false
- width = `170px`
+ src = |{ base_url }test-resources/sap/ui/documentation/sdk/images/nature/elephant.jpg|
+ decorative = abap_false
+ width = `170px`
densityaware = abap_false )->get(
)->detail_box(
)->light_box(
)->light_box_item(
- imagesrc = base_url && `test-resources/sap/ui/documentation/sdk/images/nature/image_does_not_exist.jpg`
- alt = `Nature image`
- title = `This is a sample image`
+ imagesrc = |{ base_url }test-resources/sap/ui/documentation/sdk/images/nature/image_does_not_exist.jpg|
+ alt = `Nature image`
+ title = `This is a sample image`
subtitle = `This is a place for description` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->vbox( class = `sapUiSmallMarginBegin`
)->title( text = `Unavailable image`
- )->text( text = `Shows an error when an image could not be loaded, or when it takes too much time to load it.` )->get_parent( )->get_parent(
+ )->text(
+ text = `Shows an error when an image could not be loaded, or when it takes too much time to load it.` )->get_parent( )->get_parent(
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -223,23 +224,22 @@ CLASS z2ui5_cl_demo_app_273 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Displays several image thumbnails. Clicking on each of them will open a LightBox.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Displays several image thumbnails. Clicking on each of them will open a LightBox.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -252,4 +252,5 @@ CLASS z2ui5_cl_demo_app_273 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_274.clas.abap b/src/z2ui5_cl_demo_app_274.clas.abap
index d7de4eb2..6847456a 100644
--- a/src/z2ui5_cl_demo_app_274.clas.abap
+++ b/src/z2ui5_cl_demo_app_274.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_274 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,65 +26,69 @@ CLASS z2ui5_cl_demo_app_274 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_274 IMPLEMENTATION.
-
METHOD display_view.
" Define the base URL for the server
DATA base_url TYPE string VALUE 'https://sapui5.hana.ondemand.com/'.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Slide Tile'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Slide Tile'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = base_url && 'sdk/#/entity/sap.m.SlideTile/sample/sap.m.sample.SlideTile' ).
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = |{ base_url }sdk/#/entity/sap.m.SlideTile/sample/sap.m.sample.SlideTile| ).
page->vertical_layout(
)->slide_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop`
)->generic_tile(
- backgroundimage = base_url && `test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage2.png`
- frametype = `TwoByOne` press = client->_event( 'pressOnTileOne' )
+ backgroundimage = |{ base_url }test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage2.png|
+ frametype = `TwoByOne`
+ press = client->_event( 'pressOnTileOne' )
)->tile_content( footer = `August 21, 2016`
)->news_content(
+ " TODO: check spelling: Comparision (typo) -> Comparison (ABAP cleaner)
contenttext = `SAP Unveils Powerful New Player Comparision Tool Exclusively on NFL.com`
- subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
+ subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
)->generic_tile(
- backgroundimage = base_url && `test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage1.png`
- frametype = `TwoByOne` press = client->_event( 'pressOnTileTwo' )
+ backgroundimage = |{ base_url }test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage1.png|
+ frametype = `TwoByOne`
+ press = client->_event( 'pressOnTileTwo' )
)->tile_content( footer = `August 21, 2016`
)->news_content(
contenttext = `Wind Map: Monitoring Real-Time and Forecasted Wind Conditions across the Globe`
- subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
- )->slide_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop` transitionTime = `250` displayTime = `2500`
+ )->slide_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop`
+ transitionTime = `250`
+ displayTime = `2500`
)->generic_tile(
- backgroundimage = base_url && `test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage1.png`
- frametype = `TwoByOne` press = client->_event( 'pressOnTileOne' )
+ backgroundimage = |{ base_url }test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage1.png|
+ frametype = `TwoByOne`
+ press = client->_event( 'pressOnTileOne' )
)->tile_content( footer = `August 21, 2016`
)->news_content(
contenttext = `Wind Map: Monitoring Real-Time and Forecasted Wind Conditions across the Globe`
- subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
+ subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
)->generic_tile(
- backgroundimage = base_url && `test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage2.png`
- frametype = `TwoByOne` state = `Failed`
+ backgroundimage = |{ base_url }test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage2.png|
+ frametype = `TwoByOne`
+ state = `Failed`
)->tile_content( footer = `August 21, 2016`
)->news_content(
+ " TODO: check spelling: Comparision (typo) -> Comparison (ABAP cleaner)
contenttext = `AP Unveils Powerful New Player Comparision Tool Exclusively on NFL.com`
- subheader = `Today, SAP News`
+ subheader = `Today, SAP News`
).
@@ -92,7 +96,6 @@ CLASS z2ui5_cl_demo_app_274 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -104,23 +107,22 @@ CLASS z2ui5_cl_demo_app_274 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows Generic Tile with the 2x1 frame type displayed as sliding tiles.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Shows Generic Tile with the 2x1 frame type displayed as sliding tiles.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -133,4 +135,5 @@ CLASS z2ui5_cl_demo_app_274 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_275.clas.abap b/src/z2ui5_cl_demo_app_275.clas.abap
index b5ef306f..c8bae071 100644
--- a/src/z2ui5_cl_demo_app_275.clas.abap
+++ b/src/z2ui5_cl_demo_app_275.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_275 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +26,20 @@ CLASS z2ui5_cl_demo_app_275 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_275 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Feed Content'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Feed Content'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -51,21 +48,22 @@ CLASS z2ui5_cl_demo_app_275 IMPLEMENTATION.
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.FeedContent/sample/sap.m.sample.FeedContent' ).
page->feed_content(
- contenttext = `@@notify Great outcome of the Presentation today. The new functionality and the new design was well received.`
- subheader = `about 1 minute ago in Computer Market`
- class = `sapUiSmallMargin` press = client->_event( `press` ) )->get_parent(
+ contenttext = `@@notify Great outcome of the Presentation today. The new functionality and the new design was well received.`
+ subheader = `about 1 minute ago in Computer Market`
+ class = `sapUiSmallMargin`
+ press = client->_event( `press` ) )->get_parent(
)->feed_content(
contenttext = `@@notify Great outcome of the Presentation today. The new functionality and the new design was well received.`
- subheader = `about 1 minute ago in Computer Market` value = `999`
- class = `sapUiSmallMargin` press = client->_event( `press` )
+ subheader = `about 1 minute ago in Computer Market`
+ value = `999`
+ class = `sapUiSmallMargin`
+ press = client->_event( `press` )
).
client->view_display( page->stringify( ) ).
-
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -79,23 +77,22 @@ CLASS z2ui5_cl_demo_app_275 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows the tile containing the text of the feed, a subheader, and a numeric value.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Shows the tile containing the text of the feed, a subheader, and a numeric value.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -108,4 +105,5 @@ CLASS z2ui5_cl_demo_app_275 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_276.clas.abap b/src/z2ui5_cl_demo_app_276.clas.abap
index af477ba5..081c39ac 100644
--- a/src/z2ui5_cl_demo_app_276.clas.abap
+++ b/src/z2ui5_cl_demo_app_276.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_276 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,26 +26,24 @@ CLASS z2ui5_cl_demo_app_276 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_276 IMPLEMENTATION.
-
METHOD display_view.
- DATA(css) = `.tileLayout {` &&
- ` float: left;` &&
- `}`.
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(css) = |.tileLayout \{| &&
+ | float: left;| &&
+ |\}|.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Monitor Tile'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Monitor Tile'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -53,20 +51,30 @@ CLASS z2ui5_cl_demo_app_276 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.GenericTile/sample/sap.m.sample.GenericTileAsMonitorTile' ).
- page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Cumulative Totals` subheader = `Expenses` press = client->_event( `press` )
- )->tile_content( unit = `Unit` footer = `Footer Text`
- )->numeric_content( value = `1762` icon = `sap-icon://line-charts` withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Cumulative Totals` subheader = `Expenses` press = client->_event( `press` )
- )->tile_content( unit = `Unit` footer = `Footer Text`
- )->numeric_content( value = `12` withmargin = abap_false
+ page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Cumulative Totals`
+ subheader = `Expenses`
+ press = client->_event( `press` )
+ )->tile_content( unit = `Unit`
+ footer = `Footer Text`
+ )->numeric_content( value = `1762`
+ icon = `sap-icon://line-charts`
+ withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Cumulative Totals`
+ subheader = `Expenses`
+ press = client->_event( `press` )
+ )->tile_content( unit = `Unit`
+ footer = `Footer Text`
+ )->numeric_content( value = `12`
+ withmargin = abap_false
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -80,23 +88,22 @@ CLASS z2ui5_cl_demo_app_276 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows Monitor Tile samples that can contain header, subheader, icon, key value, unit, and a footer.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Shows Monitor Tile samples that can contain header, subheader, icon, key value, unit, and a footer.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -109,4 +116,5 @@ CLASS z2ui5_cl_demo_app_276 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_277.clas.abap b/src/z2ui5_cl_demo_app_277.clas.abap
index b7483cfe..277183f7 100644
--- a/src/z2ui5_cl_demo_app_277.clas.abap
+++ b/src/z2ui5_cl_demo_app_277.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_277 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,142 +26,230 @@ CLASS z2ui5_cl_demo_app_277 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_277 IMPLEMENTATION.
-
METHOD display_view.
" Define the base URL for the server
DATA base_url TYPE string VALUE 'https://sapui5.hana.ondemand.com/'.
- DATA(css) = `.tileLayout {` &&
- ` float: left;` &&
- `}`.
+ DATA(css) = |.tileLayout \{| &&
+ | float: left;| &&
+ |\}|.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
- view->_generic( name = `style` ns = `html` )->_cc_plain_xml( css )->get_parent( ).
+ view->_generic( name = `style`
+ ns = `html` )->_cc_plain_xml( css )->get_parent( ).
DATA(page) = view->shell(
- )->page(
- title = `abap2UI5 - Sample: KPI Tile`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: KPI Tile`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = base_url && 'sdk/#/entity/sap.m.GenericTile/sample/sap.m.sample.GenericTileAsKPITile' ).
-
- page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Country-Specific Profit Margin`
- frametype = `OneByHalf` subheader = `Expenses` press = client->_event( `onPress` )
- )->tile_content( unit = `EUR` footer = `Current Quarter`
- )->numeric_content( scale = `M` value = `1.96` valuecolor = `Error` indicator = `Up` withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `US Profit Margin` press = client->_event( `onPress` ) frameType = `OneByHalf`
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = |{ base_url }sdk/#/entity/sap.m.GenericTile/sample/sap.m.sample.GenericTileAsKPITile| ).
+
+ page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Country-Specific Profit Margin`
+ frametype = `OneByHalf`
+ subheader = `Expenses`
+ press = client->_event( `onPress` )
+ )->tile_content( unit = `EUR`
+ footer = `Current Quarter`
+ )->numeric_content( scale = `M`
+ value = `1.96`
+ valuecolor = `Error`
+ indicator = `Up`
+ withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `US Profit Margin`
+ press = client->_event( `onPress` )
+ frameType = `OneByHalf`
)->tile_content( unit = `Unit`
- )->numeric_content( scale = `%` value = `12` valueColor = `Critical` indicator = `Up` withMargin = abap_false )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Sales Fulfillment Application Title`
- subheader = `Subtitle` press = client->_event( `onPress` ) frametype = `TwoByHalf`
- )->tile_content( unit = `EUR` footer = `Current Quarter`
+ )->numeric_content( scale = `%`
+ value = `12`
+ valueColor = `Critical`
+ indicator = `Up`
+ withMargin = abap_false )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Sales Fulfillment Application Title`
+ subheader = `Subtitle`
+ press = client->_event( `onPress` )
+ frametype = `TwoByHalf`
+ )->tile_content( unit = `EUR`
+ footer = `Current Quarter`
)->image_content( src = `sap-icon://home-share` )->get_parent( )->get_parent( )->get_parent(
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Manage Activity Master Data Type`
- subheader = `Subtitle` press = client->_event( `onPress` ) "frameType = `OneByHalf`
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Manage Activity Master Data Type`
+ subheader = `Subtitle`
+ press = client->_event( `onPress` ) " frameType = `OneByHalf`
)->tile_content(
- )->image_content( src = base_url && `test-resources/sap/m/demokit/sample/GenericTileAsLaunchTile/images/SAPLogoLargeTile_28px_height.png` )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Manage Activity Master Data Type With a Long Title Without an Icon`
- subheader = `Subtitle Launch Tile` mode = `HeaderMode` press = client->_event( `onPress` )
- )->tile_content( unit = `EUR` footer = `Current Quarter` )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Jessica D. Prince Senior Consultant`
- subheader = `Department` press = client->_event( `onPress` )
+ )->image_content(
+ src = |{ base_url }test-resources/sap/m/demokit/sample/GenericTileAsLaunchTile/images/SAPLogoLargeTile_28px_height.png| )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Manage Activity Master Data Type With a Long Title Without an Icon`
+ subheader = `Subtitle Launch Tile`
+ mode = `HeaderMode`
+ press = client->_event( `onPress` )
+ )->tile_content( unit = `EUR`
+ footer = `Current Quarter` )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Jessica D. Prince Senior Consultant`
+ subheader = `Department`
+ press = client->_event( `onPress` )
)->tile_content(
- )->image_content( src = base_url && `test-resources/sap/m/demokit/sample/GenericTileAsLaunchTile/images/ProfileImage_LargeGenTile.png` )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop`
- backgroundimage = base_url && `test-resources/sap/m/images/NewsImage1.png`
- frametype = `OneByOne` press = client->_event( `onPress` )
- )->tile_content( footer = `Report Available` frametype = `OneByOne`
- )->news_content(
- contenttext = `Realtime Business Service Analytics`
- subheader = `SAP Analytics Cloud` )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop`
- backgroundImage = base_url && `test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage1.png`
- frametype = `TwoByOne` press = client->_event( `onPress` )
+ )->image_content(
+ src = |{ base_url }test-resources/sap/m/demokit/sample/GenericTileAsLaunchTile/images/ProfileImage_LargeGenTile.png| )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop`
+ backgroundimage = |{ base_url }test-resources/sap/m/images/NewsImage1.png|
+ frametype = `OneByOne`
+ press = client->_event( `onPress` )
+ )->tile_content( footer = `Report Available`
+ frametype = `OneByOne`
+ )->news_content( contenttext = `Realtime Business Service Analytics`
+ subheader = `SAP Analytics Cloud` )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile(
+ class = `sapUiTinyMarginBegin sapUiTinyMarginTop`
+ backgroundImage = |{ base_url }test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage1.png|
+ frametype = `TwoByOne`
+ press = client->_event( `onPress` )
)->tile_content( footer = `August 21, 2016`
)->news_content(
- contenttext = `Wind Map: Monitoring Real-Time and Forecasted Wind Conditions across the Globe`
- subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Country-Specific Profit Margin`
- subheader = `Expenses` press = client->_event( `onPress` ) systeminfo = `system info` appshortcut = `app shortcut`
- )->tile_content( unit = `EUR` footer = `Current Quarter`
- )->numeric_content( scale = `M` value = `1.96` valuecolor = `Error` indicator = `Up` withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
-
- )->slide_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop` transitiontime = `250` displaytime = `2500`
+ contenttext = `Wind Map: Monitoring Real-Time and Forecasted Wind Conditions across the Globe`
+ subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Country-Specific Profit Margin`
+ subheader = `Expenses`
+ press = client->_event( `onPress` )
+ systeminfo = `system info`
+ appshortcut = `app shortcut`
+ )->tile_content( unit = `EUR`
+ footer = `Current Quarter`
+ )->numeric_content( scale = `M`
+ value = `1.96`
+ valuecolor = `Error`
+ indicator = `Up`
+ withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
+
+ )->slide_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop`
+ transitiontime = `250`
+ displaytime = `2500`
)->generic_tile(
- backgroundimage = base_url && `test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage1.png`
- frametype = `TwoByOne` press = client->_event( `onPress` )
+ backgroundimage = |{ base_url }test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage1.png|
+ frametype = `TwoByOne`
+ press = client->_event( `onPress` )
)->tile_content( footer = `August 21, 2016`
)->news_content(
- contenttext = `Wind Map: Monitoring Real-Time and Forecasted Wind Conditions across the Globe`
- subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
+ contenttext = `Wind Map: Monitoring Real-Time and Forecasted Wind Conditions across the Globe`
+ subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
)->generic_tile(
- backgroundimage = base_url && `test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage2.png`
- frametype = `TwoByOne` state = `Failed`
+ backgroundimage = |{ base_url }test-resources/sap/m/demokit/sample/SlideTile/images/NewsImage2.png|
+ frametype = `TwoByOne`
+ state = `Failed`
)->tile_content( footer = `August 21, 2016`
)->news_content(
- contenttext = `SAP Unveils Powerful New Player Comparision Tool Exclusively on NFL.com`
- subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Feed Tile that shows updates of the last feeds given to a specific topic:`
- frametype = `TwoByOne` press = client->_event( `onPress` )
+ " TODO: check spelling: Comparision (typo) -> Comparison (ABAP cleaner)
+ contenttext = `SAP Unveils Powerful New Player Comparision Tool Exclusively on NFL.com`
+ subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Feed Tile that shows updates of the last feeds given to a specific topic:`
+ frametype = `TwoByOne`
+ press = client->_event( `onPress` )
)->tile_content( footer = `New Notifications`
- )->feed_content( contenttext = `@@notify Great outcome of the Presentation today. New functionality well received.`
- subheader = `About 1 minute ago in Computer Market` value = `352` )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Country-Specific Profit Margin` press = client->_event( `onPress` )
- frametype = `TwoByHalf`
- )->tile_content( unit = `EUR` footer = `Current Quarter`
- )->numeric_content( scale = `M` value = `1.96` valuecolor = `Error` indicator = `Up` withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Cumulative Totals` subheader = `Expenses` press = client->_event( `onPress` ) frametype = `OneByHalf`
- )->tile_content( unit = `Unit` footer = `Footer Text`
- )->numeric_content( value = `1762` icon = `sap-icon://line-charts` withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Right click to open in new tab`
- subheader = `Link tile` press = client->_event( `onPress` ) url = `https://www.sap.com/` frametype = `TwoByHalf`
+ )->feed_content(
+ contenttext = `@@notify Great outcome of the Presentation today. New functionality well received.`
+ subheader = `About 1 minute ago in Computer Market`
+ value = `352` )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Country-Specific Profit Margin`
+ press = client->_event( `onPress` )
+ frametype = `TwoByHalf`
+ )->tile_content( unit = `EUR`
+ footer = `Current Quarter`
+ )->numeric_content( scale = `M`
+ value = `1.96`
+ valuecolor = `Error`
+ indicator = `Up`
+ withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Cumulative Totals`
+ subheader = `Expenses`
+ press = client->_event( `onPress` )
+ frametype = `OneByHalf`
+ )->tile_content( unit = `Unit`
+ footer = `Footer Text`
+ )->numeric_content( value = `1762`
+ icon = `sap-icon://line-charts`
+ withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Right click to open in new tab`
+ subheader = `Link tile`
+ press = client->_event( `onPress` )
+ url = `https://www.sap.com/`
+ frametype = `TwoByHalf`
)->tile_content(
- )->image_content( src = base_url && `test-resources/sap/m/demokit/sample/GenericTileAsLaunchTile/images/SAPLogoLargeTile_28px_height.png` )->get_parent( )->get_parent( )->get_parent(
+ )->image_content(
+ src = |{ base_url }test-resources/sap/m/demokit/sample/GenericTileAsLaunchTile/images/SAPLogoLargeTile_28px_height.png| )->get_parent( )->get_parent( )->get_parent(
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `US Profit Margin` press = client->_event( `onPress` )
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `US Profit Margin`
+ press = client->_event( `onPress` )
)->tile_content( unit = `Unit`
- )->numeric_content( scale = `%` value = `12` valuecolor = `Critical` indicator = `Up` withmargin = `false` )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Sales Fulfillment Application Title`
- subheader = `Subtitle` press = client->_event( `onPress` ) systemInfo = `system` appshortcut = `shortcut`
- )->tile_content( unit = `EUR` footer = `Current Quarter`
- )->image_content( src = base_url && `sap-icon://home-share` )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Cumulative Totals` subheader = `Expenses` press = client->_event( `onPress` )
- )->tile_content( unit = `Unit` footer = `Footer Text`
- )->numeric_content( value = `1762` icon = `sap-icon://line-charts` withMargin = abap_false )->get_parent( )->get_parent( )->get_parent(
-
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Right click to open in new tab`
- subheader = `Link tile` press = client->_event( `onPress` ) url = `https://www.sap.com/` frametype = `TwoByOne`
+ )->numeric_content( scale = `%`
+ value = `12`
+ valuecolor = `Critical`
+ indicator = `Up`
+ withmargin = `false` )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Sales Fulfillment Application Title`
+ subheader = `Subtitle`
+ press = client->_event( `onPress` )
+ systemInfo = `system`
+ appshortcut = `shortcut`
+ )->tile_content( unit = `EUR`
+ footer = `Current Quarter`
+ )->image_content( src = |{ base_url }sap-icon://home-share| )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Cumulative Totals`
+ subheader = `Expenses`
+ press = client->_event( `onPress` )
+ )->tile_content( unit = `Unit`
+ footer = `Footer Text`
+ )->numeric_content( value = `1762`
+ icon = `sap-icon://line-charts`
+ withMargin = abap_false )->get_parent( )->get_parent( )->get_parent(
+
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Right click to open in new tab`
+ subheader = `Link tile`
+ press = client->_event( `onPress` )
+ url = `https://www.sap.com/`
+ frametype = `TwoByOne`
)->tile_content(
- )->image_content( src = base_url && `test-resources/sap/m/demokit/sample/GenericTileAsLaunchTile/images/SAPLogoLargeTile_28px_height.png`
+ )->image_content(
+ src = |{ base_url }test-resources/sap/m/demokit/sample/GenericTileAsLaunchTile/images/SAPLogoLargeTile_28px_height.png|
).
@@ -169,7 +257,6 @@ CLASS z2ui5_cl_demo_app_277 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -183,23 +270,22 @@ CLASS z2ui5_cl_demo_app_277 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows KPI Tile samples that can contain header, subheader, key value, trend, scale, unit, and a footer.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Shows KPI Tile samples that can contain header, subheader, key value, trend, scale, unit, and a footer.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -212,4 +298,5 @@ CLASS z2ui5_cl_demo_app_277 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_278.clas.abap b/src/z2ui5_cl_demo_app_278.clas.abap
index d8545f3c..21b85e23 100644
--- a/src/z2ui5_cl_demo_app_278.clas.abap
+++ b/src/z2ui5_cl_demo_app_278.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_278 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,65 +26,68 @@ CLASS z2ui5_cl_demo_app_278 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_278 IMPLEMENTATION.
-
METHOD display_view.
- DATA(css) = `.tileLayout {` &&
- ` float: left;` &&
- `}`.
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(css) = |.tileLayout \{| &&
+ | float: left;| &&
+ |\}|.
" Define the base URL for the server
DATA base_url TYPE string VALUE 'https://sapui5.hana.ondemand.com/'.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Feed and News Tile'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Feed and News Tile'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = base_url && 'sdk/#/entity/sap.m.GenericTile/sample/sap.m.sample.GenericTileAsFeedTile' ).
-
- page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Feed Tile that shows updates of the last feeds given to a specific topic:`
- frametype = `TwoByOne` press = client->_event( `press` )
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = |{ base_url }sdk/#/entity/sap.m.GenericTile/sample/sap.m.sample.GenericTileAsFeedTile| ).
+
+ page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Feed Tile that shows updates of the last feeds given to a specific topic:`
+ frametype = `TwoByOne`
+ press = client->_event( `press` )
)->tile_content( footer = `New Notifications`
- )->feed_content( contenttext = `@@notify Great outcome of the Presentation today. New functionality well received.`
- subheader = `About 1 minute ago in Computer Market` value = `352` )->get_parent( )->get_parent( )->get_parent(
+ )->feed_content(
+ contenttext = `@@notify Great outcome of the Presentation today. New functionality well received.`
+ subheader = `About 1 minute ago in Computer Market`
+ value = `352` )->get_parent( )->get_parent( )->get_parent(
)->slide_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
)->tiles(
)->generic_tile(
- backgroundimage = base_url && `test-resources/sap/m/demokit/sample/GenericTileAsFeedTile/images/NewsImage1.png`
- frametype = `TwoByOne` press = client->_event( `press` )
+ backgroundimage = |{ base_url }test-resources/sap/m/demokit/sample/GenericTileAsFeedTile/images/NewsImage1.png|
+ frametype = `TwoByOne`
+ press = client->_event( `press` )
)->tile_content( footer = `August 21, 2016`
)->news_content(
- contentText = `Wind Map: Monitoring Real-Time and Fore-casted Wind Conditions across the Globe`
- subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
+ contentText = `Wind Map: Monitoring Real-Time and Fore-casted Wind Conditions across the Globe`
+ subheader = `Today, SAP News` )->get_parent( )->get_parent( )->get_parent(
)->generic_tile(
- backgroundImage = base_url && `test-resources/sap/m/demokit/sample/GenericTileAsFeedTile/images/NewsImage2.png`
- frametype = `TwoByOne` press = client->_event( `press` )
+ backgroundImage = |{ base_url }test-resources/sap/m/demokit/sample/GenericTileAsFeedTile/images/NewsImage2.png|
+ frametype = `TwoByOne`
+ press = client->_event( `press` )
)->tile_content( footer = `August 21, 2016`
)->news_content(
- contenttext = `SAP Unveils Powerful New Player Comparision Tool Exclusively on NFL.com`
- subheader = `Today, SAP News`
+ " TODO: check spelling: Comparision (typo) -> Comparison (ABAP cleaner)
+ contenttext = `SAP Unveils Powerful New Player Comparision Tool Exclusively on NFL.com`
+ subheader = `Today, SAP News`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -98,23 +101,22 @@ CLASS z2ui5_cl_demo_app_278 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows Feed Tile and News Tile samples that can contain feed content, news content, and a footer.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Shows Feed Tile and News Tile samples that can contain feed content, news content, and a footer.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -127,4 +129,5 @@ CLASS z2ui5_cl_demo_app_278 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_279.clas.abap b/src/z2ui5_cl_demo_app_279.clas.abap
index 0013ca1b..8d608da7 100644
--- a/src/z2ui5_cl_demo_app_279.clas.abap
+++ b/src/z2ui5_cl_demo_app_279.clas.abap
@@ -1,18 +1,16 @@
CLASS z2ui5_cl_demo_app_279 DEFINITION
- PUBLIC
- FINAL
- CREATE PUBLIC .
+ PUBLIC FINAL
+ CREATE PUBLIC.
PUBLIC SECTION.
+ INTERFACES if_serializable_object.
+ INTERFACES z2ui5_if_app.
- INTERFACES if_serializable_object .
- INTERFACES z2ui5_if_app .
-
- DATA text_input TYPE string .
- DATA dirty TYPE abap_bool.
+ DATA text_input TYPE string.
+ DATA dirty TYPE abap_bool.
PRIVATE SECTION.
- DATA client TYPE REF TO z2ui5_if_client.
+ DATA client TYPE REF TO z2ui5_if_client.
DATA initialized TYPE abap_bool.
METHODS display_view.
@@ -23,40 +21,36 @@ CLASS z2ui5_cl_demo_app_279 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_279 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory(
)->shell(
- )->page(
- title = 'abap2UI5 - data loss protection'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
-
- DATA(box) = page->flex_box( direction = `Row` alignitems = `Start` class = 'sapUiTinyMargin' ).
-
- box->input(
- id = `input`
- value = client->_bind_edit( text_input )
- submit = client->_event( 'submit' )
- width = `40rem`
- placeholder = `Enter data, submit and navigate back to trigger data loss protection` ).
-
- box->info_label(
- text = 'dirty'
- colorscheme = '8'
- icon = 'sap-icon://message-success'
- class = `sapUiSmallMarginBegin sapUiTinyMarginTop`
- visible = client->_bind( dirty ) ).
-
- box->button(
- text = 'Reset'
- press = client->_event( 'reset' )
- class = `sapUiSmallMarginBegin`
- visible = client->_bind( dirty ) ).
+ )->page( title = 'abap2UI5 - data loss protection'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+
+ DATA(box) = page->flex_box( direction = `Row`
+ alignitems = `Start`
+ class = 'sapUiTinyMargin' ).
+
+ box->input( id = `input`
+ value = client->_bind_edit( text_input )
+ submit = client->_event( 'submit' )
+ width = `40rem`
+ placeholder = `Enter data, submit and navigate back to trigger data loss protection` ).
+
+ box->info_label( text = 'dirty'
+ colorscheme = '8'
+ icon = 'sap-icon://message-success'
+ class = `sapUiSmallMarginBegin sapUiTinyMarginTop`
+ visible = client->_bind( dirty ) ).
+
+ box->button( text = 'Reset'
+ press = client->_event( 'reset' )
+ class = `sapUiSmallMarginBegin`
+ visible = client->_bind( dirty ) ).
page->_z2ui5( )->focus( focusid = `input` ).
@@ -68,7 +62,6 @@ CLASS z2ui5_cl_demo_app_279 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -88,7 +81,6 @@ CLASS z2ui5_cl_demo_app_279 IMPLEMENTATION.
ENDMETHOD.
-
METHOD security_check_popup.
client->nav_app_call( z2ui5_cl_pop_to_confirm=>factory(
@@ -100,7 +92,6 @@ CLASS z2ui5_cl_demo_app_279 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -120,7 +111,6 @@ CLASS z2ui5_cl_demo_app_279 IMPLEMENTATION.
ENDMETHOD.
-
METHOD ui5_callback.
TRY.
diff --git a/src/z2ui5_cl_demo_app_280.clas.abap b/src/z2ui5_cl_demo_app_280.clas.abap
index 7a332068..d9fe310f 100644
--- a/src/z2ui5_cl_demo_app_280.clas.abap
+++ b/src/z2ui5_cl_demo_app_280.clas.abap
@@ -3,20 +3,21 @@ CLASS z2ui5_cl_demo_app_280 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
- PROTECTED SECTION.
+ PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -25,23 +26,20 @@ CLASS z2ui5_cl_demo_app_280 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_280 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Header Container - Vertical Mode'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Header Container - Vertical Mode'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -49,39 +47,86 @@ CLASS z2ui5_cl_demo_app_280 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.HeaderContainer/sample/sap.m.sample.HeaderContainerVM' ).
- page->header_container( scrollstep = `124` scrolltime = `500` orientation = `Vertical` height = `400px`
- )->numeric_content( scale = `M` value = `1.75` valuecolor = `Good` indicator = `Up` press = client->_event( `press` ) )->get_parent(
- )->numeric_content( scale = `M` value = `0.57` valueColor = `Error` indicator = `Down` press = client->_event( `press` ) )->get_parent(
- )->numeric_content( scale = `M` value = `1.04` valueColor = `Neutral` indicator = `Up` press = client->_event( `press` ) )->get_parent(
- )->numeric_content( scale = `M` value = `3.65` valueColor = `Good` indicator = `Up` press = client->_event( `press` ) )->get_parent(
- )->numeric_content( scale = `M` value = `0.73` valueColor = `Error` indicator = `Down` press = client->_event( `press` ) )->get_parent(
- )->numeric_content( scale = `M` value = `1.01` valueColor = `Critical` indicator = `Down` press = client->_event( `press` ) )->get_parent(
- )->numeric_content( scale = `M` value = `1.42` valueColor = `Good` indicator = `Up` press = client->_event( `press` ) )->get_parent(
- )->numeric_content( scale = `M` value = `0.21` valueColor = `Error` indicator = `Down` press = client->_event( `press` ) )->get_parent( )->get_parent(
- )->header_container( scrollStep = `200` orientation = `Vertical` height = `400px`
- )->tile_content( unit = `EUR` footer = `Current Quarter`
+ page->header_container( scrollstep = `124`
+ scrolltime = `500`
+ orientation = `Vertical`
+ height = `400px`
+ )->numeric_content( scale = `M`
+ value = `1.75`
+ valuecolor = `Good`
+ indicator = `Up`
+ press = client->_event( `press` ) )->get_parent(
+ )->numeric_content( scale = `M`
+ value = `0.57`
+ valueColor = `Error`
+ indicator = `Down`
+ press = client->_event( `press` ) )->get_parent(
+ )->numeric_content( scale = `M`
+ value = `1.04`
+ valueColor = `Neutral`
+ indicator = `Up`
+ press = client->_event( `press` ) )->get_parent(
+ )->numeric_content( scale = `M`
+ value = `3.65`
+ valueColor = `Good`
+ indicator = `Up`
+ press = client->_event( `press` ) )->get_parent(
+ )->numeric_content( scale = `M`
+ value = `0.73`
+ valueColor = `Error`
+ indicator = `Down`
+ press = client->_event( `press` ) )->get_parent(
+ )->numeric_content( scale = `M`
+ value = `1.01`
+ valueColor = `Critical`
+ indicator = `Down`
+ press = client->_event( `press` ) )->get_parent(
+ )->numeric_content( scale = `M`
+ value = `1.42`
+ valueColor = `Good`
+ indicator = `Up`
+ press = client->_event( `press` ) )->get_parent(
+ )->numeric_content( scale = `M`
+ value = `0.21`
+ valueColor = `Error`
+ indicator = `Down`
+ press = client->_event( `press` ) )->get_parent( )->get_parent(
+ )->header_container( scrollStep = `200`
+ orientation = `Vertical`
+ height = `400px`
+ )->tile_content( unit = `EUR`
+ footer = `Current Quarter`
)->content(
- )->numeric_content( value = `1.96` valuecolor = `Error` indicator = `Down` press = client->_event( `press` ) )->get_parent( )->get_parent( )->get_parent(
+ )->numeric_content( value = `1.96`
+ valuecolor = `Error`
+ indicator = `Down`
+ press = client->_event( `press` ) )->get_parent( )->get_parent( )->get_parent(
)->tile_content( footer = `Leave Requests`
)->content(
- )->numeric_content( value = `35` icon = `sap-icon://travel-expense` )->get_parent( )->get_parent( )->get_parent(
+ )->numeric_content( value = `35`
+ icon = `sap-icon://travel-expense` )->get_parent( )->get_parent( )->get_parent(
)->tile_content( footer = `Hours since last Activity`
)->content(
- )->numeric_content( value = `9` icon = `sap-icon://horizontal-bar-chart` )->get_parent( )->get_parent( )->get_parent(
- )->tile_content( unit = `EUR` footer = `Current Quarter`
+ )->numeric_content( value = `9`
+ icon = `sap-icon://horizontal-bar-chart` )->get_parent( )->get_parent( )->get_parent(
+ )->tile_content( unit = `EUR`
+ footer = `Current Quarter`
)->content(
- )->numeric_content( scale = `M` value = `88`
- valuecolor = `Good` indicator = `Up` )->get_parent( )->get_parent( )->get_parent(
- )->tile_content( unit = `Unit` footer = `Footer Text`
+ )->numeric_content( scale = `M`
+ value = `88`
+ valuecolor = `Good`
+ indicator = `Up` )->get_parent( )->get_parent( )->get_parent(
+ )->tile_content( unit = `Unit`
+ footer = `Footer Text`
)->content(
- )->numeric_content( value = `1522` icon = `sap-icon://bubble-chart`
+ )->numeric_content( value = `1522`
+ icon = `sap-icon://bubble-chart`
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -95,23 +140,21 @@ CLASS z2ui5_cl_demo_app_280 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `The Header Container with a vertical layout and with divider lines.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -124,4 +167,5 @@ CLASS z2ui5_cl_demo_app_280 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_281.clas.abap b/src/z2ui5_cl_demo_app_281.clas.abap
index 6864c943..777343ef 100644
--- a/src/z2ui5_cl_demo_app_281.clas.abap
+++ b/src/z2ui5_cl_demo_app_281.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_281 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,94 +26,135 @@ CLASS z2ui5_cl_demo_app_281 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_281 IMPLEMENTATION.
-
METHOD display_view.
- DATA(css) = `.tileLayout {` &&
- ` float: left;` &&
- `}`.
+ " TODO: variable is assigned but never used (ABAP cleaner)
+ DATA(css) = |.tileLayout \{| &&
+ | float: left;| &&
+ |\}|.
" Define the base URL for the server
DATA base_url TYPE string VALUE 'https://sapui5.hana.ondemand.com/'.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Tile Statuses'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Tile Statuses'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = base_url && 'sdk/#/entity/sap.m.GenericTile/sample/sap.m.sample.GenericTileStates' ).
-
- page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Status Loaded - no press event`
- subheader = `Subheader`
- )->tile_content( unit = `Unit` footer = `Footer`
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = |{ base_url }sdk/#/entity/sap.m.GenericTile/sample/sap.m.sample.GenericTileStates| ).
+
+ page->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Status Loaded - no press event`
+ subheader = `Subheader`
+ )->tile_content( unit = `Unit`
+ footer = `Footer`
)->image_Content( src = `sap-icon://line-charts` )->get_parent( )->get_parent( )->get_parent(
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Status Loaded - with press event`
- subheader = `Subheader` press = client->_event( `press` )
- )->tile_content( unit = `Unit` footer = `Footer`
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Status Loaded - with press event`
+ subheader = `Subheader`
+ press = client->_event( `press` )
+ )->tile_content( unit = `Unit`
+ footer = `Footer`
)->image_Content( src = `sap-icon://home-share` )->get_parent( )->get_parent( )->get_parent(
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Status Loading - no press event`
- subheader = `Subheader` state = `Loading`
- )->tile_content( unit = `Unit` footer = `Footer`
- )->numeric_content( scale = `M` value = `2.1` valuecolor = `Good` indicator = `Up` withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Status Loading - with press event`
- subheader = `Subheader` state = `Loading` press = client->_event( `press` )
- )->tile_content( unit = `Unit` footer = `Footer`
- )->numeric_content( scale = `M` value = `1.96` valuecolor = `Error` indicator = `Down` withmargin = `false` )->get_parent( )->get_parent( )->get_parent(
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Status Failed - no press event`
- subheader = `Subheader` frametype = `TwoByOne` state = `Failed`
- )->tile_content( unit = `Unit` footer = `Footer`
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Status Loading - no press event`
+ subheader = `Subheader`
+ state = `Loading`
+ )->tile_content( unit = `Unit`
+ footer = `Footer`
+ )->numeric_content( scale = `M`
+ value = `2.1`
+ valuecolor = `Good`
+ indicator = `Up`
+ withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Status Loading - with press event`
+ subheader = `Subheader`
+ state = `Loading`
+ press = client->_event( `press` )
+ )->tile_content( unit = `Unit`
+ footer = `Footer`
+ )->numeric_content( scale = `M`
+ value = `1.96`
+ valuecolor = `Error`
+ indicator = `Down`
+ withmargin = `false` )->get_parent( )->get_parent( )->get_parent(
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Status Failed - no press event`
+ subheader = `Subheader`
+ frametype = `TwoByOne`
+ state = `Failed`
+ )->tile_content( unit = `Unit`
+ footer = `Footer`
)->feed_content(
contenttext = `@@notify Great outcome of the Presentation today. The new functionality and the design was well received. Berlin, Tokyo, Rome, Budapest, New York, Munich, London`
- subheader = `Subheader` value = `9`)->get_parent( )->get_parent( )->get_parent(
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Status Failed - with press event`
- subheader = `Subheader` frametype = `TwoByOne` state = `Failed` press = client->_event( `press` )
- )->tile_content( unit = `Unit` footer = `Footer`
+ subheader = `Subheader`
+ value = `9` )->get_parent( )->get_parent( )->get_parent(
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Status Failed - with press event`
+ subheader = `Subheader`
+ frametype = `TwoByOne`
+ state = `Failed`
+ press = client->_event( `press` )
+ )->tile_content( unit = `Unit`
+ footer = `Footer`
)->feed_content(
contenttext = `@@notify Great outcome of the Presentation today. The new functionality and the design was well received. Berlin, Tokyo, Rome, Budapest, New York, Munich, London`
- subheader = `Subheader` value = `9` )->get_parent( )->get_parent( )->get_parent(
+ subheader = `Subheader`
+ value = `9` )->get_parent( )->get_parent( )->get_parent(
)->slide_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
)->generic_tile(
- backgroundimage = base_url && `test-resources/sap/m/demokit/sample/GenericTileAsFeedTile/images/NewsImage1.png`
- frametype = `TwoByOne` state = `Loading`
- )->tile_content( unit = `Unit` footer = `Footer`
- )->news_content(
- contenttext = `Status Loading - no press event`
- subheader = `Subheader` )->get_parent( )->get_parent( )->get_parent(
+ backgroundimage = |{ base_url }test-resources/sap/m/demokit/sample/GenericTileAsFeedTile/images/NewsImage1.png|
+ frametype = `TwoByOne`
+ state = `Loading`
+ )->tile_content( unit = `Unit`
+ footer = `Footer`
+ )->news_content( contenttext = `Status Loading - no press event`
+ subheader = `Subheader` )->get_parent( )->get_parent( )->get_parent(
)->generic_tile(
- backgroundimage = base_url && `test-resources/sap/m/demokit/sample/GenericTileAsFeedTile/images/NewsImage2.png`
- frametype = `TwoByOne` state = `Loaded` press = client->_event( `press` )
- )->tile_content( unit = `Unit` footer = `Footer`
- )->news_content(
- contenttext = `Status Loaded - with press event`
- subheader = `Subheader` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Status Disabled - no press event`
- subheader = `Subheader` state = `Disabled`
- )->tile_content( footer = `Footer` unit = `Unit`
- )->numeric_content( value = `3` icon = `sap-icon://travel-expense` withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
- )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout` header = `Status Disabled - with press event`
- subheader = `Subheader` state = `Disabled` press = client->_event( `press` )
- )->tile_content( footer = `Footer` unit = `Unit`
- )->numeric_content( value = `3` icon = `sap-icon://travel-expense` withmargin = abap_false
+ backgroundimage = |{ base_url }test-resources/sap/m/demokit/sample/GenericTileAsFeedTile/images/NewsImage2.png|
+ frametype = `TwoByOne`
+ state = `Loaded`
+ press = client->_event( `press` )
+ )->tile_content( unit = `Unit`
+ footer = `Footer`
+ )->news_content( contenttext = `Status Loaded - with press event`
+ subheader = `Subheader` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Status Disabled - no press event`
+ subheader = `Subheader`
+ state = `Disabled`
+ )->tile_content( footer = `Footer`
+ unit = `Unit`
+ )->numeric_content( value = `3`
+ icon = `sap-icon://travel-expense`
+ withmargin = abap_false )->get_parent( )->get_parent( )->get_parent(
+ )->generic_tile( class = `sapUiTinyMarginBegin sapUiTinyMarginTop tileLayout`
+ header = `Status Disabled - with press event`
+ subheader = `Subheader`
+ state = `Disabled`
+ press = client->_event( `press` )
+ )->tile_content( footer = `Footer`
+ unit = `Unit`
+ )->numeric_content( value = `3`
+ icon = `sap-icon://travel-expense`
+ withmargin = abap_false
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -127,23 +168,22 @@ CLASS z2ui5_cl_demo_app_281 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Shows the GenericTile while it is loading, if loading fails, and in disabled status.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Shows the GenericTile while it is loading, if loading fails, and in disabled status.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -156,4 +196,5 @@ CLASS z2ui5_cl_demo_app_281 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_282.clas.abap b/src/z2ui5_cl_demo_app_282.clas.abap
index 74d2c555..d38f0a77 100644
--- a/src/z2ui5_cl_demo_app_282.clas.abap
+++ b/src/z2ui5_cl_demo_app_282.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_282 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +26,20 @@ CLASS z2ui5_cl_demo_app_282 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_282 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: InvisibleText`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: InvisibleText`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -50,58 +47,80 @@ CLASS z2ui5_cl_demo_app_282 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.ui.core.InvisibleText/sample/sap.ui.core.sample.InvisibleText' ).
- DATA(page_02) = page_01->page(
- title = `Page`
- class = `sapUiContentPadding`
+ DATA(page_02) = page_01->page( title = `Page`
+ class = `sapUiContentPadding`
)->custom_header(
)->toolbar(
- )->button( type = `Back` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button( type = `Back`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
)->toolbar_spacer(
)->title( text = `Title`
)->toolbar_spacer(
- )->button( icon = `sap-icon://edit` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) ) arialabelledby = `editButtonLabel`
+ )->button(
+ icon = `sap-icon://edit`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ arialabelledby = `editButtonLabel`
)->get_parent(
)->get_parent(
)->sub_header(
)->toolbar(
)->toolbar_spacer(
- )->button( text = `Default` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- )->button( type = `Reject` text = `Reject` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- )->button( icon = `sap-icon://action` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) ) arialabelledby = `actionButtonLabel`
+ )->button( text = `Default`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button( type = `Reject`
+ text = `Reject`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button(
+ icon = `sap-icon://action`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ arialabelledby = `actionButtonLabel`
)->toolbar_spacer(
)->get_parent(
)->get_parent(
)->content(
)->hbox(
- )->button( text = `Default`
- press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- ariadescribedby = `defaultButtonDescription genericButtonDescription` )->get(
+ )->button(
+ text = `Default`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ ariadescribedby = `defaultButtonDescription genericButtonDescription` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
)->get_parent(
- )->button( type = `Accept`
- text = `Accept`
- press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- ariadescribedby = `acceptButtonDescription genericButtonDescription` )->get(
+ )->button(
+ type = `Accept`
+ text = `Accept`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ ariadescribedby = `acceptButtonDescription genericButtonDescription` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
)->get_parent(
- )->button( type = `Reject`
- text = `Reject`
- press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- ariadescribedby = `rejectButtonDescription genericButtonDescription` )->get(
+ )->button(
+ type = `Reject`
+ text = `Reject`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ ariadescribedby = `rejectButtonDescription genericButtonDescription` )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
)->get_parent(
- )->button( text = `Coming Soon`
- press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- ariadescribedby = `comingSoonButtonDescription genericButtonDescription`
- enabled = abap_false )->get(
+ )->button(
+ text = `Coming Soon`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ ariadescribedby = `comingSoonButtonDescription genericButtonDescription`
+ enabled = abap_false )->get(
)->layout_data(
)->flex_item_data( growfactor = `1`
)->get_parent(
@@ -109,24 +128,51 @@ CLASS z2ui5_cl_demo_app_282 IMPLEMENTATION.
)->get_parent(
- " Collection of labels (some of which are invisible) used to provide ARIA descriptions for the buttons
- )->label( id = `genericButtonDescription` text = `Note: The buttons in this sample display MessageToast when pressed.`
-
- )->invisible_text( ns = `core` id = `defaultButtonDescription` text = `Description of default button goes here.` )->get_parent(
- )->invisible_text( ns = `core` id = `acceptButtonDescription` text = `Description of accept button goes here.` )->get_parent(
- )->invisible_text( ns = `core` id = `rejectButtonDescription` text = `Description of reject button goes here.` )->get_parent(
- )->invisible_text( ns = `core` id = `comingSoonButtonDescription` text = `This feature is not active just now.` )->get_parent(
-
- " These labels exist only to provide targets for the ARIA label on the Edit and Action buttons
- )->invisible_text( ns = `core` id = `editButtonLabel` text = `Edit Button Label` )->get_parent(
- )->invisible_text( ns = `core` id = `actionButtonLabel` text = `Action Button Label` )->get_parent(
+ " Collection of labels (some of which are invisible) used to provide ARIA descriptions for the buttons
+ )->label(
+ id = `genericButtonDescription`
+ text = `Note: The buttons in this sample display MessageToast when pressed.`
+
+ )->invisible_text(
+ ns = `core`
+ id = `defaultButtonDescription`
+ text = `Description of default button goes here.` )->get_parent(
+ )->invisible_text(
+ ns = `core`
+ id = `acceptButtonDescription`
+ text = `Description of accept button goes here.` )->get_parent(
+ )->invisible_text(
+ ns = `core`
+ id = `rejectButtonDescription`
+ text = `Description of reject button goes here.` )->get_parent(
+ )->invisible_text(
+ ns = `core`
+ id = `comingSoonButtonDescription`
+ text = `This feature is not active just now.` )->get_parent(
+
+ " These labels exist only to provide targets for the ARIA label on the Edit and Action buttons
+ )->invisible_text(
+ ns = `core`
+ id = `editButtonLabel`
+ text = `Edit Button Label` )->get_parent(
+ )->invisible_text(
+ ns = `core`
+ id = `actionButtonLabel`
+ text = `Action Button Label` )->get_parent(
)->get_parent(
)->footer(
)->toolbar(
)->toolbar_spacer(
- )->button( type = `Emphasized` text = `Emphasized` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- )->button( text = `Default` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
- )->button( icon = `sap-icon://action` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button( type = `Emphasized`
+ text = `Emphasized`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button( text = `Default`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
+ )->button( icon = `sap-icon://action`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/id}` ) ) )
)->get_parent(
)->get_parent(
).
@@ -135,7 +181,6 @@ CLASS z2ui5_cl_demo_app_282 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -144,29 +189,28 @@ CLASS z2ui5_cl_demo_app_282 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'onPress'.
- client->message_toast_display( client->get_event_arg( 1 ) && ` Pressed` ).
+ client->message_toast_display( |{ client->get_event_arg( 1 ) } Pressed| ).
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Many controls provide the associations ariaLabelledBy and ariaDescribedBy for accessibility purposes. ` &&
- `The InvisibleText control can be used by application to provide hidden texts on the UI which can be referenced via these associations.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = |Many controls provide the associations ariaLabelledBy and ariaDescribedBy for accessibility purposes. | &&
+ |The InvisibleText control can be used by application to provide hidden texts on the UI which can be referenced via these associations.| ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -179,4 +223,5 @@ CLASS z2ui5_cl_demo_app_282 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_283.clas.abap b/src/z2ui5_cl_demo_app_283.clas.abap
index 50e0f1de..2b0a6291 100644
--- a/src/z2ui5_cl_demo_app_283.clas.abap
+++ b/src/z2ui5_cl_demo_app_283.clas.abap
@@ -1,23 +1,23 @@
- CLASS z2ui5_cl_demo_app_283 DEFINITION
- PUBLIC
- CREATE PUBLIC.
+CLASS z2ui5_cl_demo_app_283 DEFINITION
+ PUBLIC
+ CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,76 +26,78 @@
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_283 IMPLEMENTATION.
-
METHOD display_view.
" Define the base URL for the server
DATA base_url TYPE string VALUE 'https://sapui5.hana.ondemand.com/'.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Feed Input'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Feed Input'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = base_url && 'sdk/#/entity/sap.m.FeedInput/sample/sap.m.sample.FeedInput' ).
-
- page->label( text = `Without Icon` class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
- page->feed_input(
- post = client->_event( val = `onPost` t_arg = VALUE #( ( `${$source>/value}` ) ) )
- showicon = abap_false ).
-
- page->label( text = `With Icon Placeholder` class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
- page->feed_input(
- post = client->_event( val = `onPost` t_arg = VALUE #( ( `${$source>/value}` ) ) )
- showicon = abap_true ).
-
- page->label( text = `With Icon Placeholder` class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
- page->feed_input(
- post = client->_event( val = `onPost` t_arg = VALUE #( ( `${$source>/value}` ) ) )
- showicon = abap_true
- icon = base_url && `test-resources/sap/m/images/george_washington.jpg` ).
-
- page->label( text = `Disabled` class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
- page->feed_input(
- post = client->_event( val = `onPost` t_arg = VALUE #( ( `${$source>/value}` ) ) )
- enabled = abap_false
- showicon = abap_true
- icon = base_url && `test-resources/sap/m/images/george_washington.jpg` ).
-
- page->label( text = `Rows Set to 5` class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
- page->feed_input(
- post = client->_event( val = `onPost` t_arg = VALUE #( ( `${$source>/value}` ) ) )
- rows = `5` ).
-
- page->label( text = `With Exceeded Text` class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
- page->feed_input(
- post = client->_event( val = `onPost` t_arg = VALUE #( ( `${$source>/value}` ) ) )
- maxlength = `20`
- showexceededtext = abap_true ).
-
- page->label( text = `With Growing` class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
- page->feed_input(
- post = client->_event( val = `onPost` t_arg = VALUE #( ( `${$source>/value}` ) ) )
- growing = abap_true ).
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = |{ base_url }sdk/#/entity/sap.m.FeedInput/sample/sap.m.sample.FeedInput| ).
+
+ page->label( text = `Without Icon`
+ class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
+ page->feed_input( post = client->_event( val = `onPost`
+ t_arg = VALUE #( ( `${$source>/value}` ) ) )
+ showicon = abap_false ).
+
+ page->label( text = `With Icon Placeholder`
+ class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
+ page->feed_input( post = client->_event( val = `onPost`
+ t_arg = VALUE #( ( `${$source>/value}` ) ) )
+ showicon = abap_true ).
+
+ page->label( text = `With Icon Placeholder`
+ class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
+ page->feed_input( post = client->_event( val = `onPost`
+ t_arg = VALUE #( ( `${$source>/value}` ) ) )
+ showicon = abap_true
+ icon = |{ base_url }test-resources/sap/m/images/george_washington.jpg| ).
+
+ page->label( text = `Disabled`
+ class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
+ page->feed_input( post = client->_event( val = `onPost`
+ t_arg = VALUE #( ( `${$source>/value}` ) ) )
+ enabled = abap_false
+ showicon = abap_true
+ icon = |{ base_url }test-resources/sap/m/images/george_washington.jpg| ).
+
+ page->label( text = `Rows Set to 5`
+ class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
+ page->feed_input( post = client->_event( val = `onPost`
+ t_arg = VALUE #( ( `${$source>/value}` ) ) )
+ rows = `5` ).
+
+ page->label( text = `With Exceeded Text`
+ class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
+ page->feed_input( post = client->_event( val = `onPost`
+ t_arg = VALUE #( ( `${$source>/value}` ) ) )
+ maxlength = `20`
+ showexceededtext = abap_true ).
+
+ page->label( text = `With Growing`
+ class = `sapUiSmallMarginTop sapUiTinyMarginBottom` ).
+ page->feed_input( post = client->_event( val = `onPost`
+ t_arg = VALUE #( ( `${$source>/value}` ) ) )
+ growing = abap_true ).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -104,28 +106,26 @@ CLASS z2ui5_cl_demo_app_283 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'onPost'.
- client->message_toast_display( `Posted new feed entry: ` && client->get_event_arg( 1 ) ).
+ client->message_toast_display( |Posted new feed entry: { client->get_event_arg( 1 ) }| ).
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `This sample shows a standalone feed input with different settings.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -138,4 +138,5 @@ CLASS z2ui5_cl_demo_app_283 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_284.clas.abap b/src/z2ui5_cl_demo_app_284.clas.abap
index cc9dac04..413f411c 100644
--- a/src/z2ui5_cl_demo_app_284.clas.abap
+++ b/src/z2ui5_cl_demo_app_284.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_284 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +26,20 @@ CLASS z2ui5_cl_demo_app_284 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_284 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Flexible sizing - Toolbar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Flexible sizing - Toolbar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -50,21 +47,24 @@ CLASS z2ui5_cl_demo_app_284 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Page/sample/sap.m.sample.PageListReportToolbar' ).
- DATA(page_02) = page_01->page( enablescrolling = abap_true title = `Title` class = `sapUiResponsivePadding--header sapUiResponsivePadding--footer`
+ DATA(page_02) = page_01->page( enablescrolling = abap_true
+ title = `Title`
+ class = `sapUiResponsivePadding--header sapUiResponsivePadding--footer`
)->content(
)->vbox( fitcontainer = abap_true
- )->simple_form( id = `SimpleFormDisplay480`
- editable = abap_false
- layout = `ResponsiveGridLayout`
- title = `Address`
- labelspanl = `4`
- labelspanm = `4`
- emptyspanl = `0`
- emptyspanm = `0`
- columnsl = `2`
- columnsm = `2`
+ )->simple_form( id = `SimpleFormDisplay480`
+ editable = abap_false
+ layout = `ResponsiveGridLayout`
+ title = `Address`
+ labelspanl = `4`
+ labelspanm = `4`
+ emptyspanl = `0`
+ emptyspanm = `0`
+ columnsl = `2`
+ columnsm = `2`
)->content( ns = `form`
- )->title( ns = `core` text = `Office`
+ )->title( ns = `core`
+ text = `Office`
)->label( text = `Name`
)->text( text = `Red Point Stores`
)->label( text = `Street/No.`
@@ -73,16 +73,22 @@ CLASS z2ui5_cl_demo_app_284 IMPLEMENTATION.
)->text( text = `31415 Maintown`
)->label( text = `Country`
)->text( text = `Germany`
- )->title( ns = `core` text = `Online`
+ )->title( ns = `core`
+ text = `Online`
)->label( text = `Web`
)->text( text = `http://www.sap.com`
)->label( text = `Twitter`
)->text( text = `@sap` )->get_parent(
)->layout_data( ns = `form`
- )->flex_item_data( shrinkfactor = `0` backgrounddesign = `Solid` styleclass = `sapContrastPlus` )->get_parent( )->get_parent(
- )->analytical_table( ns = `table` selectionmode = `MultiToggle`
+ )->flex_item_data(
+ shrinkfactor = `0`
+ backgrounddesign = `Solid`
+ styleclass = `sapContrastPlus` )->get_parent( )->get_parent(
+ )->analytical_table( ns = `table`
+ selectionmode = `MultiToggle`
)->rowmode( ns = `table`
- )->auto( ns = `trm` rowcontentheight = `32` )->get_parent( )->get_parent(
+ )->auto( ns = `trm`
+ rowcontentheight = `32` )->get_parent( )->get_parent(
)->toolbar( ns = `table`
)->overflow_toolbar(
)->title( text = `Title Bar Here`
@@ -91,15 +97,21 @@ CLASS z2ui5_cl_demo_app_284 IMPLEMENTATION.
)->segmented_button(
)->items(
)->segmented_button_item( icon = `sap-icon://table-view`
- )->segmented_button_item( icon = `sap-icon://bar-chart` )->get_parent( )->get_parent(
- )->button( icon = `sap-icon://group-2` type = `Transparent`
- )->button( icon = `sap-icon://action-settings` type = `Transparent` )->get_parent( )->get_parent(
+ )->segmented_button_item(
+ icon = `sap-icon://bar-chart` )->get_parent( )->get_parent(
+ )->button( icon = `sap-icon://group-2`
+ type = `Transparent`
+ )->button( icon = `sap-icon://action-settings`
+ type = `Transparent` )->get_parent( )->get_parent(
)->columns( ns = `table`
)->analytical_column( ns = `table` )->get_parent(
)->analytical_column( ns = `table` )->get_parent(
)->analytical_column( ns = `table` )->get_parent( )->get_parent(
)->layout_data( ns = `table`
- )->flex_item_data( growfactor = `1` basesize = `0%` styleclass = `sapUiResponsiveContentPadding` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->flex_item_data(
+ growfactor = `1`
+ basesize = `0%`
+ styleclass = `sapUiResponsiveContentPadding` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->footer(
)->overflow_toolbar(
)->content(
@@ -112,7 +124,6 @@ CLASS z2ui5_cl_demo_app_284 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -124,26 +135,25 @@ CLASS z2ui5_cl_demo_app_284 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `This page shows flexible sizing with a Toolbar. ` &&
- `The upper part extends with its content, but doesn't react to viewport changes. ` &&
- `The lower part reacts to the viewport size. The table inside takes the available space. ` &&
- `If the minimum size of the table is reached, the page begins to scroll.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = |This page shows flexible sizing with a Toolbar. | &&
+ |The upper part extends with its content, but doesn't react to viewport changes. | &&
+ |The lower part reacts to the viewport size. The table inside takes the available space. | &&
+ |If the minimum size of the table is reached, the page begins to scroll.| ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -156,4 +166,5 @@ CLASS z2ui5_cl_demo_app_284 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_285.clas.abap b/src/z2ui5_cl_demo_app_285.clas.abap
index e0eeb32f..0c7b6ead 100644
--- a/src/z2ui5_cl_demo_app_285.clas.abap
+++ b/src/z2ui5_cl_demo_app_285.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_285 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +26,20 @@ CLASS z2ui5_cl_demo_app_285 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_285 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Flexible sizing - Icon Tab Bar'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Flexible sizing - Icon Tab Bar'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -50,21 +47,24 @@ CLASS z2ui5_cl_demo_app_285 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Page/sample/sap.m.sample.PageListReportIconTabBar' ).
- DATA(page_02) = page_01->page( title = `Title` enableScrolling = abap_true class = `sapUiResponsivePadding--header sapUiResponsivePadding--footer`
+ DATA(page_02) = page_01->page( title = `Title`
+ enableScrolling = abap_true
+ class = `sapUiResponsivePadding--header sapUiResponsivePadding--footer`
)->content(
)->vbox( fitcontainer = abap_true
- )->simple_form( id = `SimpleFormDisplay480`
- editable = abap_false
- layout = `ResponsiveGridLayout`
- title = `Address`
- labelspanl = `4`
- labelspanm = `4`
- emptyspanl = `0`
- emptyspanm = `0`
- columnsl = `2`
- columnsm = `2`
+ )->simple_form( id = `SimpleFormDisplay480`
+ editable = abap_false
+ layout = `ResponsiveGridLayout`
+ title = `Address`
+ labelspanl = `4`
+ labelspanm = `4`
+ emptyspanl = `0`
+ emptyspanm = `0`
+ columnsl = `2`
+ columnsm = `2`
)->content( ns = `form`
- )->title( ns = `core` text = `Office`
+ )->title( ns = `core`
+ text = `Office`
)->label( text = `Name`
)->text( text = `Red Point Stores`
)->label( text = `Street/No.`
@@ -73,21 +73,33 @@ CLASS z2ui5_cl_demo_app_285 IMPLEMENTATION.
)->text( text = `31415 Maintown`
)->label( text = `Country`
)->text( text = `Germany`
- )->title( ns = `core` text = `Online`
+ )->title( ns = `core`
+ text = `Online`
)->label( text = `Web`
)->text( text = `http://www.sap.com`
)->label( text = `Twitter`
)->text( text = `@sap` )->get_parent(
)->layout_data( ns = `form`
- )->flex_item_data( shrinkfactor = `0` backgrounddesign = `Solid` styleclass = `sapContrastPlus` )->get_parent( )->get_parent(
- )->icon_tab_bar( uppercase = abap_true expandable = abap_false applycontentpadding = abap_true stretchcontentheight = abap_true class = `sapUiResponsiveContentPadding`
+ )->flex_item_data(
+ shrinkfactor = `0`
+ backgrounddesign = `Solid`
+ styleclass = `sapContrastPlus` )->get_parent( )->get_parent(
+ )->icon_tab_bar( uppercase = abap_true
+ expandable = abap_false
+ applycontentpadding = abap_true
+ stretchcontentheight = abap_true
+ class = `sapUiResponsiveContentPadding`
)->items(
- )->icon_tab_filter( key = `balances` text = `Balances` )->get_parent(
- )->icon_tab_filter( key = `compare` text = `Compare` )->get_parent( )->get_parent(
+ )->icon_tab_filter( key = `balances`
+ text = `Balances` )->get_parent(
+ )->icon_tab_filter( key = `compare`
+ text = `Compare` )->get_parent( )->get_parent(
)->content(
- )->analytical_table( ns = `table` selectionmode = `MultiToggle`
+ )->analytical_table( ns = `table`
+ selectionmode = `MultiToggle`
)->rowmode( ns = `table`
- )->auto( ns = `trm` rowcontentheight = `32` )->get_parent( )->get_parent(
+ )->auto( ns = `trm`
+ rowcontentheight = `32` )->get_parent( )->get_parent(
)->toolbar( ns = `table`
)->overflow_toolbar(
)->toolbar_spacer(
@@ -96,17 +108,23 @@ CLASS z2ui5_cl_demo_app_285 IMPLEMENTATION.
)->segmented_button(
)->items(
)->segmented_button_item( icon = `sap-icon://table-view`
- )->segmented_button_item( icon = `sap-icon://bar-chart` )->get_parent( )->get_parent(
+ )->segmented_button_item(
+ icon = `sap-icon://bar-chart` )->get_parent( )->get_parent(
)->toolbar_spacer( width = `1rem`
- )->button( icon = `sap-icon://group-2` type = `Transparent`
- )->button( icon = `sap-icon://action-settings` type = `Transparent` )->get_parent( )->get_parent(
+ )->button( icon = `sap-icon://group-2`
+ type = `Transparent`
+ )->button( icon = `sap-icon://action-settings`
+ type = `Transparent` )->get_parent( )->get_parent(
)->columns( ns = `table`
)->analytical_column( ns = `table` )->get_parent(
)->analytical_column( ns = `table` )->get_parent(
)->analytical_column( ns = `table` )->get_parent(
- )->analytical_column( ns = `table` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->analytical_column(
+ ns = `table` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->layout_data(
- )->flex_item_data( growfactor = `1` basesize = `0%` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
+ )->flex_item_data(
+ growfactor = `1`
+ basesize = `0%` )->get_parent( )->get_parent( )->get_parent( )->get_parent(
)->footer(
)->overflow_toolbar(
)->content(
@@ -119,7 +137,6 @@ CLASS z2ui5_cl_demo_app_285 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -131,27 +148,26 @@ CLASS z2ui5_cl_demo_app_285 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `This page shows flexible sizing with an Icon Tab Bar: ` &&
- `The upper part extends with its content, but doesn't react to viewport changes. ` &&
- `The Icon Tab Bar reacts to the viewport size. ` &&
- `The table inside takes the available space. ` &&
- `If the minimum size of the table is reached, the page begins to scroll.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = |This page shows flexible sizing with an Icon Tab Bar: | &&
+ |The upper part extends with its content, but doesn't react to viewport changes. | &&
+ |The Icon Tab Bar reacts to the viewport size. | &&
+ |The table inside takes the available space. | &&
+ |If the minimum size of the table is reached, the page begins to scroll.| ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -164,4 +180,5 @@ CLASS z2ui5_cl_demo_app_285 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_286.clas.abap b/src/z2ui5_cl_demo_app_286.clas.abap
index eb671b7e..44bde24b 100644
--- a/src/z2ui5_cl_demo_app_286.clas.abap
+++ b/src/z2ui5_cl_demo_app_286.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_286 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -13,21 +12,22 @@ CLASS z2ui5_cl_demo_app_286 DEFINITION
icon TYPE string,
highlight TYPE string,
info TYPE string,
- END OF ty_name .
+ END OF ty_name.
- DATA lt_o_model TYPE TABLE OF ty_name.
+ DATA lt_o_model TYPE TABLE OF ty_name.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -36,23 +36,20 @@ CLASS z2ui5_cl_demo_app_286 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_286 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Standard List Item - Info State Inverted'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Standard List Item - Info State Inverted'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -60,28 +57,25 @@ CLASS z2ui5_cl_demo_app_286 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.StandardListItem/sample/sap.m.sample.StandardListItemInfoStateInverted' ).
- page->list(
- id = `myList`
- mode = `MultiSelect`
- headertext = `Inverted Info State`
- items = client->_bind( lt_o_model )
+ page->list( id = `myList`
+ mode = `MultiSelect`
+ headertext = `Inverted Info State`
+ items = client->_bind( lt_o_model )
)->items(
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESC}'
- icon = '{ICON}'
- iconInset = abap_false
- highlight = '{HIGHLIGHT}'
- info = '{INFO}'
- infostate = '{HIGHLIGHT}'
- infostateinverted = abap_true
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESC}'
+ icon = '{ICON}'
+ iconInset = abap_false
+ highlight = '{HIGHLIGHT}'
+ info = '{INFO}'
+ infostate = '{HIGHLIGHT}'
+ infostateinverted = abap_true
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -93,23 +87,22 @@ CLASS z2ui5_cl_demo_app_286 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `This sample demonstrates the inverted rendering behavior of the info text and the info state of the StandardListItem control.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `This sample demonstrates the inverted rendering behavior of the info text and the info state of the StandardListItem control.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -119,15 +112,16 @@ CLASS z2ui5_cl_demo_app_286 IMPLEMENTATION.
display_view( client ).
lt_o_model = VALUE #(
- ( title = 'Title text' desc = 'Description text' icon = 'sap-icon://favorite' highlight = 'Success' info = 'Completed' )
- ( title = 'Title text' desc = 'Description text' icon = 'sap-icon://employee' highlight = 'Error' info = 'Incomplete' )
- ( title = 'Title text' icon = 'sap-icon://accept' highlight = 'Information' info = 'Information' )
- ( title = 'Title text' icon = 'sap-icon://activities' highlight = 'None' info = 'None' )
- ( title = 'Title text' desc = 'Description text' icon = 'sap-icon://badge' highlight = 'Warning' info = 'Warning' )
- ).
+ title = 'Title text'
+ ( desc = 'Description text' icon = 'sap-icon://favorite' highlight = 'Success' info = 'Completed' )
+ ( desc = 'Description text' icon = 'sap-icon://employee' highlight = 'Error' info = 'Incomplete' )
+ ( icon = 'sap-icon://accept' highlight = 'Information' info = 'Information' )
+ ( icon = 'sap-icon://activities' highlight = 'None' info = 'None' )
+ ( desc = 'Description text' icon = 'sap-icon://badge' highlight = 'Warning' info = 'Warning' ) ).
ENDIF.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_287.clas.abap b/src/z2ui5_cl_demo_app_287.clas.abap
index 5fb0e332..f573846d 100644
--- a/src/z2ui5_cl_demo_app_287.clas.abap
+++ b/src/z2ui5_cl_demo_app_287.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_287 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -14,21 +13,22 @@ CLASS z2ui5_cl_demo_app_287 DEFINITION
highlight TYPE string,
info TYPE string,
wrapCharLimit TYPE i,
- END OF ty_name .
+ END OF ty_name.
- DATA lt_o_model TYPE TABLE OF ty_name.
+ DATA lt_o_model TYPE TABLE OF ty_name.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -37,23 +37,20 @@ CLASS z2ui5_cl_demo_app_287 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_287 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Standard List Item - Wrapping'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Standard List Item - Wrapping'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -61,30 +58,27 @@ CLASS z2ui5_cl_demo_app_287 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.StandardListItem/sample/sap.m.sample.StandardListItemWrapping' ).
- page->list(
- id = `myList`
- mode = `MultiSelect`
- headertext = `Wrapping texts`
- items = client->_bind( lt_o_model )
+ page->list( id = `myList`
+ mode = `MultiSelect`
+ headertext = `Wrapping texts`
+ items = client->_bind( lt_o_model )
)->items(
- )->standard_list_item(
- title = '{TITLE}'
- description = '{DESC}'
- icon = '{ICON}'
- iconinset = abap_false
- highlight = '{HIGHLIGHT}'
- info = '{INFO}'
- infostate = '{HIGHLIGHT}'
- type = `Detail`
- wrapping = abap_true
- wrapcharlimit = '{WRAPCHARLIMIT}'
+ )->standard_list_item( title = '{TITLE}'
+ description = '{DESC}'
+ icon = '{ICON}'
+ iconinset = abap_false
+ highlight = '{HIGHLIGHT}'
+ info = '{INFO}'
+ infostate = '{HIGHLIGHT}'
+ type = `Detail`
+ wrapping = abap_true
+ wrapcharlimit = '{WRAPCHARLIMIT}'
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -96,24 +90,23 @@ CLASS z2ui5_cl_demo_app_287 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `This sample demonstrates the wrapping behavior of the title text and the description text. ` &&
- `In desktop mode, the character limit is set to 300 characters, whereas in the phone mode, the character limit is set to 100 characters.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = |This sample demonstrates the wrapping behavior of the title text and the description text. | &&
+ |In desktop mode, the character limit is set to 300 characters, whereas in the phone mode, the character limit is set to 100 characters.| ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -123,38 +116,39 @@ CLASS z2ui5_cl_demo_app_287 IMPLEMENTATION.
display_view( client ).
lt_o_model = VALUE #(
- ( title = `wrapCharLimit is set to Default. Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.`
- desc = `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.`
- icon = `sap-icon://favorite`
- highlight = `Success`
- info = `Completed`
- )
- ( title = `wrapCharLimit is set to 100. Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. ` &&
- `Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.`
- desc = `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.`
- icon = `sap-icon://employee`
- highlight = `Error`
- info = `Incomplete`
- wrapcharlimit = 100
- )
- ( title = `Title text`
- desc = `Description text`
- icon = `sap-icon://accept`
- highlight = `Information`
- info = `Information`
- wrapcharlimit = 10
- )
+ ( title = |wrapCharLimit is set to Default. Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.|
+ desc = |Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.|
+ icon = `sap-icon://favorite`
+ highlight = `Success`
+ info = `Completed`
+ )
+ ( title = |wrapCharLimit is set to 100. Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. | &&
+ |Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.|
+ desc = `Lorem ipsum dolor st amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.`
+ icon = `sap-icon://employee`
+ highlight = `Error`
+ info = `Incomplete`
+ wrapcharlimit = 100
+ )
+ ( title = `Title text`
+ desc = `Description text`
+ icon = `sap-icon://accept`
+ highlight = `Information`
+ info = `Information`
+ wrapcharlimit = 10
+ )
).
ENDIF.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_288.clas.abap b/src/z2ui5_cl_demo_app_288.clas.abap
index aea414c4..98035720 100644
--- a/src/z2ui5_cl_demo_app_288.clas.abap
+++ b/src/z2ui5_cl_demo_app_288.clas.abap
@@ -3,35 +3,35 @@ CLASS z2ui5_cl_demo_app_288 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
- INTERFACES z2ui5_if_app .
+ INTERFACES z2ui5_if_app.
TYPES:
BEGIN OF ty_product_collection,
product_id TYPE string,
name TYPE string,
- END OF ty_product_collection .
+ END OF ty_product_collection.
- DATA check_initialized TYPE abap_bool.
- DATA editable TYPE abap_bool.
- DATA enabled TYPE abap_bool.
+ DATA check_initialized TYPE abap_bool.
+ DATA editable TYPE abap_bool.
+ DATA enabled TYPE abap_bool.
DATA lt_product_collection TYPE TABLE OF ty_product_collection.
DATA lt_product_collection2 TYPE TABLE OF ty_product_collection.
DATA lt_product_collection3 TYPE TABLE OF ty_product_collection.
- DATA selected_product TYPE string.
- DATA selected_product2 TYPE string.
- DATA selected_product3 TYPE string.
+ DATA selected_product TYPE string.
+ DATA selected_product2 TYPE string.
+ DATA selected_product3 TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -40,62 +40,61 @@ CLASS z2ui5_cl_demo_app_288 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_288 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Select`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Select`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Select/sample/sap.m.sample.Select' ).
-
- DATA(page_02) = page_01->page(
- showheader = abap_false
- class = `sapUiContentPadding`
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Select/sample/sap.m.sample.Select' ).
+
+ DATA(page_02) = page_01->page( showheader = abap_false
+ class = `sapUiContentPadding`
)->sub_header(
)->toolbar(
)->toolbar_spacer(
- )->select(
- forceselection = abap_false
- selectedkey = client->_bind( selected_product )
- items = client->_bind( lt_product_collection )
- )->item( key = '{PRODUCT_ID}' text = '{NAME}'
+ )->select( forceselection = abap_false
+ selectedkey = client->_bind( selected_product )
+ items = client->_bind( lt_product_collection )
+ )->item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
)->get_parent(
)->get_parent(
)->get_parent(
)->content(
)->hbox( justifyContent = `SpaceAround`
- )->select(
- enabled = client->_bind( enabled )
- editable = client->_bind( editable )
- forceselection = abap_false
- selectedkey = client->_bind( selected_product2 )
- items = client->_bind( lt_product_collection2 )
- )->item( key = '{PRODUCT_ID}' text = '{NAME}'
+ )->select( enabled = client->_bind( enabled )
+ editable = client->_bind( editable )
+ forceselection = abap_false
+ selectedkey = client->_bind( selected_product2 )
+ items = client->_bind( lt_product_collection2 )
+ )->item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
)->get_parent(
)->vbox(
)->hbox( alignitems = `Center`
- )->label( text = `Enabled:` class = `sapUiTinyMarginEnd`
- )->switch( type = `AcceptReject` state = client->_bind( enabled )
+ )->label( text = `Enabled:`
+ class = `sapUiTinyMarginEnd`
+ )->switch( type = `AcceptReject`
+ state = client->_bind( enabled )
)->get_parent(
)->hbox( alignitems = `Center`
- )->label( text = `Editable:` class = `sapUiTinyMarginEnd`
- )->switch( type = `AcceptReject` state = client->_bind( editable )
+ )->label( text = `Editable:`
+ class = `sapUiTinyMarginEnd`
+ )->switch( type = `AcceptReject`
+ state = client->_bind( editable )
)->get_parent(
)->get_parent(
)->get_parent(
@@ -103,21 +102,20 @@ CLASS z2ui5_cl_demo_app_288 IMPLEMENTATION.
)->footer(
)->toolbar(
)->toolbar_spacer(
- )->select(
- forceselection = abap_false
- selectedkey = client->_bind( selected_product3 )
- type = `IconOnly`
- icon = `sap-icon://filter`
- autoadjustwidth = abap_true
- items = client->_bind( lt_product_collection3 )
- )->item( key = '{PRODUCT_ID}' text = '{NAME}'
+ )->select( forceselection = abap_false
+ selectedkey = client->_bind( selected_product3 )
+ type = `IconOnly`
+ icon = `sap-icon://filter`
+ autoadjustwidth = abap_true
+ items = client->_bind( lt_product_collection3 )
+ )->item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
).
client->view_display( page_02->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -129,23 +127,22 @@ CLASS z2ui5_cl_demo_app_288 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Illustrates the usage of a Select in header, footer and content of a page. Note the different display options.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Illustrates the usage of a Select in header, footer and content of a page. Note the different display options.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -188,4 +185,5 @@ CLASS z2ui5_cl_demo_app_288 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_289.clas.abap b/src/z2ui5_cl_demo_app_289.clas.abap
index a57f5a17..b3232228 100644
--- a/src/z2ui5_cl_demo_app_289.clas.abap
+++ b/src/z2ui5_cl_demo_app_289.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_289 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -14,18 +13,19 @@ CLASS z2ui5_cl_demo_app_289 DEFINITION
END OF ty_product.
DATA check_initialized TYPE abap_bool.
- DATA lt_a_data TYPE TABLE OF ty_product.
+ DATA lt_a_data TYPE TABLE OF ty_product.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -34,23 +34,20 @@ CLASS z2ui5_cl_demo_app_289 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_289 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Object Marker in a table'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Object Marker in a table'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -58,8 +55,8 @@ CLASS z2ui5_cl_demo_app_289 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.ObjectMarker/sample/sap.m.sample.ObjectMarker' ).
- page->table( id = `idProductsTable`
- items = client->_bind( lt_a_data )
+ page->table( id = `idProductsTable`
+ items = client->_bind( lt_a_data )
)->columns(
)->column(
)->text( text = `Products`
@@ -71,22 +68,19 @@ CLASS z2ui5_cl_demo_app_289 IMPLEMENTATION.
)->text( text = `Status (active)`
)->get_parent( )->get_parent(
)->column_list_item(
- )->object_identifier(
- text = '{PRODUCT}' )->get_parent(
- )->object_marker(
- type = '{TYPE}'
- additionalinfo = '{ADDITIONALINFO}' )->get_parent(
- )->object_marker(
- type = '{TYPE}'
- additionalinfo = '{ADDITIONALINFO}'
- press = client->_event( val = `onPress` t_arg = VALUE #( ( `${TYPE}` ) ) )
+ )->object_identifier( text = '{PRODUCT}' )->get_parent(
+ )->object_marker( type = '{TYPE}'
+ additionalinfo = '{ADDITIONALINFO}' )->get_parent(
+ )->object_marker( type = '{TYPE}'
+ additionalinfo = '{ADDITIONALINFO}'
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${TYPE}` ) ) )
).
client->view_display( page->stringify( ) ).
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -95,28 +89,27 @@ CLASS z2ui5_cl_demo_app_289 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'onPress'.
- client->message_toast_display( client->get_event_arg( 1 ) && ` marker pressed!` ).
+ client->message_toast_display( |{ client->get_event_arg( 1 ) } marker pressed!| ).
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `The ObjectMarker is a small building block representing an object by an icon or text and icon. Often it is used in a table.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `The ObjectMarker is a small building block representing an object by an icon or text and icon. Often it is used in a table.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -125,17 +118,16 @@ CLASS z2ui5_cl_demo_app_289 IMPLEMENTATION.
check_initialized = abap_true.
display_view( client ).
- lt_a_data = VALUE #(
- ( product = 'Power Projector 4713' type = 'Locked' )
- ( product = 'Power Projector 4713' type = 'LockedBy' additionalinfo = 'John Doe' )
- ( product = 'Power Projector 4713' type = 'LockedBy' )
- ( product = 'Gladiator MX' type = 'Draft' )
- ( product = 'Hurricane GX' type = 'Unsaved' )
- ( product = 'Hurricane GX' type = 'UnsavedBy' additionalinfo = 'John Doe' )
- ( product = 'Hurricane GX' type = 'UnsavedBy' )
- ( product = 'Hurricane GX' type = 'Unsaved' )
- ( product = 'Webcam' type = 'Favorite' )
- ( product = 'Deskjet Super Highspeed' type = 'Flagged' )
+ lt_a_data = VALUE #( ( product = 'Power Projector 4713' type = 'Locked' )
+ ( product = 'Power Projector 4713' type = 'LockedBy' additionalinfo = 'John Doe' )
+ ( product = 'Power Projector 4713' type = 'LockedBy' )
+ ( product = 'Gladiator MX' type = 'Draft' )
+ ( product = 'Hurricane GX' type = 'Unsaved' )
+ ( product = 'Hurricane GX' type = 'UnsavedBy' additionalinfo = 'John Doe' )
+ ( product = 'Hurricane GX' type = 'UnsavedBy' )
+ ( product = 'Hurricane GX' type = 'Unsaved' )
+ ( product = 'Webcam' type = 'Favorite' )
+ ( product = 'Deskjet Super Highspeed' type = 'Flagged' )
).
ENDIF.
@@ -143,4 +135,5 @@ CLASS z2ui5_cl_demo_app_289 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_290.clas.abap b/src/z2ui5_cl_demo_app_290.clas.abap
index e0115def..c5d52c45 100644
--- a/src/z2ui5_cl_demo_app_290.clas.abap
+++ b/src/z2ui5_cl_demo_app_290.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_290 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +26,20 @@ CLASS z2ui5_cl_demo_app_290 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_290 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Object List Item - markers aggregation'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Object List Item - markers aggregation'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -50,18 +47,16 @@ CLASS z2ui5_cl_demo_app_290 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.ObjectListItem/sample/sap.m.sample.ObjectListItemMarkers' ).
- page->list(
- headertext = `Products`
- )->object_list_item(
- title = `Gladiator MX`
- type = `Active`
- press = client->_event( val = `onListItemPress` t_arg = VALUE #( ( `${$source>/title}` ) ) )
- number = `87.50`
- numberunit = `EUR`
+ page->list( headertext = `Products`
+ )->object_list_item( title = `Gladiator MX`
+ type = `Active`
+ press = client->_event( val = `onListItemPress`
+ t_arg = VALUE #( ( `${$source>/title}` ) ) )
+ number = `87.50`
+ numberunit = `EUR`
)->first_status(
- )->object_status(
- text = `Available`
- state = `Success`
+ )->object_status( text = `Available`
+ state = `Success`
)->get_parent(
)->get_parent(
)->object_attribute( text = `125 g`
@@ -71,16 +66,15 @@ CLASS z2ui5_cl_demo_app_290 IMPLEMENTATION.
)->object_marker( type = `Flagged` )->get_parent(
)->get_parent(
)->get_parent(
- )->object_list_item(
- title = `Hurricane GX`
- type = `Active`
- press = client->_event( val = `onListItemPress` t_arg = VALUE #( ( `${$source>/title}` ) ) )
- number = `235`
- numberunit = `EUR`
+ )->object_list_item( title = `Hurricane GX`
+ type = `Active`
+ press = client->_event( val = `onListItemPress`
+ t_arg = VALUE #( ( `${$source>/title}` ) ) )
+ number = `235`
+ numberunit = `EUR`
)->first_status(
- )->object_status(
- text = `Out of stock`
- state = `Warning`
+ )->object_status( text = `Out of stock`
+ state = `Warning`
)->get_parent(
)->get_parent(
)->object_attribute( text = `34 g`
@@ -90,16 +84,15 @@ CLASS z2ui5_cl_demo_app_290 IMPLEMENTATION.
)->object_marker( type = `Locked` )->get_parent(
)->get_parent(
)->get_parent(
- )->object_list_item(
- title = `Power Projector 4713`
- type = `Active`
- press = client->_event( val = `onListItemPress` t_arg = VALUE #( ( `${$source>/title}` ) ) )
- number = `135`
- numberunit = `EUR`
+ )->object_list_item( title = `Power Projector 4713`
+ type = `Active`
+ press = client->_event( val = `onListItemPress`
+ t_arg = VALUE #( ( `${$source>/title}` ) ) )
+ number = `135`
+ numberunit = `EUR`
)->first_status(
- )->object_status(
- text = `Discontinued`
- state = `Error`
+ )->object_status( text = `Discontinued`
+ state = `Error`
)->get_parent(
)->get_parent(
)->object_attribute( text = `67 g`
@@ -110,15 +103,14 @@ CLASS z2ui5_cl_demo_app_290 IMPLEMENTATION.
)->object_marker( type = `Draft` )->get_parent(
)->get_parent(
)->get_parent(
- )->object_list_item(
- title = `Webcam`
- type = `Active`
- press = client->_event( val = `onListItemPress` t_arg = VALUE #( ( `${$source>/title}` ) ) )
- number = `15`
- numberunit = `EUR`
+ )->object_list_item( title = `Webcam`
+ type = `Active`
+ press = client->_event( val = `onListItemPress`
+ t_arg = VALUE #( ( `${$source>/title}` ) ) )
+ number = `15`
+ numberunit = `EUR`
)->first_status(
- )->object_status(
- text = `New`
+ )->object_status( text = `New`
)->get_parent(
)->get_parent(
)->object_attribute( text = `67 g`
@@ -133,7 +125,6 @@ CLASS z2ui5_cl_demo_app_290 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -142,29 +133,28 @@ CLASS z2ui5_cl_demo_app_290 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'onListItemPress'.
- client->message_toast_display( `Pressed : ` && client->get_event_arg( 1 ) ).
+ client->message_toast_display( |Pressed : { client->get_event_arg( 1 ) }| ).
ENDCASE.
- "Pressed : " + oEvent.getSource().getTitle()
+ " Pressed : " + oEvent.getSource().getTitle()
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `This sample shows the different states of an Object List Item, which can be set using the markers aggregation.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `This sample shows the different states of an Object List Item, which can be set using the markers aggregation.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -177,4 +167,5 @@ CLASS z2ui5_cl_demo_app_290 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_291.clas.abap b/src/z2ui5_cl_demo_app_291.clas.abap
index 64ad8365..ad7b1741 100644
--- a/src/z2ui5_cl_demo_app_291.clas.abap
+++ b/src/z2ui5_cl_demo_app_291.clas.abap
@@ -3,25 +3,25 @@ CLASS z2ui5_cl_demo_app_291 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
- DATA lv_default TYPE string.
- DATA lv_error TYPE string.
- DATA lv_warning TYPE string.
- DATA lv_success TYPE string.
+ DATA lv_default TYPE string.
+ DATA lv_error TYPE string.
+ DATA lv_warning TYPE string.
+ DATA lv_success TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -30,23 +30,20 @@ CLASS z2ui5_cl_demo_app_291 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_291 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Message Strip with enableFormattedText'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Message Strip with enableFormattedText'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -54,41 +51,36 @@ CLASS z2ui5_cl_demo_app_291 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.MessageStrip/sample/sap.m.sample.MessageStripWithEnableFormattedText' ).
- page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
+ page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
)->content( ns = `layout`
- )->message_strip(
- text = client->_bind( lv_default )
- enableformattedtext = abap_true
- showicon = abap_true
- showclosebutton = abap_true
- class = `sapUiMediumMarginBottom`
-
- )->message_strip(
- text = client->_bind( lv_error )
- type = `Error`
- enableformattedtext = abap_true
- showicon = abap_true
- showclosebutton = abap_true
- class = `sapUiMediumMarginBottom`
-
- )->message_strip(
- text = client->_bind( lv_warning )
- type = `Warning`
- enableformattedtext = abap_true
- showicon = abap_true
- showclosebutton = abap_true
- class = `sapUiMediumMarginBottom`
-
- )->message_strip(
- text = client->_bind( lv_success )
- type = `Success`
- enableformattedtext = abap_true
- showicon = abap_true
- showclosebutton = abap_true
- class = `sapUiMediumMarginBottom`
+ )->message_strip( text = client->_bind( lv_default )
+ enableformattedtext = abap_true
+ showicon = abap_true
+ showclosebutton = abap_true
+ class = `sapUiMediumMarginBottom`
+
+ )->message_strip( text = client->_bind( lv_error )
+ type = `Error`
+ enableformattedtext = abap_true
+ showicon = abap_true
+ showclosebutton = abap_true
+ class = `sapUiMediumMarginBottom`
+
+ )->message_strip( text = client->_bind( lv_warning )
+ type = `Warning`
+ enableformattedtext = abap_true
+ showicon = abap_true
+ showclosebutton = abap_true
+ class = `sapUiMediumMarginBottom`
+
+ )->message_strip( text = client->_bind( lv_success )
+ type = `Success`
+ enableformattedtext = abap_true
+ showicon = abap_true
+ showclosebutton = abap_true
+ class = `sapUiMediumMarginBottom`
).
@@ -96,7 +88,6 @@ CLASS z2ui5_cl_demo_app_291 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -108,23 +99,22 @@ CLASS z2ui5_cl_demo_app_291 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `A sample MessageStrip that shows status messages with additional formatting.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `A sample MessageStrip that shows status messages with additional formatting.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -134,7 +124,7 @@ CLASS z2ui5_cl_demo_app_291 IMPLEMENTATION.
display_view( client ).
lv_default = `Default (Information) with default icon and close button :`.
- lv_error = `Error with link to ` && `SAP Homepage (For more info) `.
+ lv_error = |Error with link to SAP Homepage (For more info) |.
lv_warning = `Warning with default icon and close button:`.
lv_success = `Success with default icon and close button:`.
@@ -143,4 +133,5 @@ CLASS z2ui5_cl_demo_app_291 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_292.clas.abap b/src/z2ui5_cl_demo_app_292.clas.abap
index 80be2d00..cb04c381 100644
--- a/src/z2ui5_cl_demo_app_292.clas.abap
+++ b/src/z2ui5_cl_demo_app_292.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_292 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +26,20 @@ CLASS z2ui5_cl_demo_app_292 DEFINITION
ENDCLASS.
-
-CLASS Z2UI5_CL_DEMO_APP_292 IMPLEMENTATION.
-
+CLASS z2ui5_cl_demo_app_292 IMPLEMENTATION.
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Breadcrumbs sample with current page link'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Breadcrumbs sample with current page link'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -50,19 +47,32 @@ CLASS Z2UI5_CL_DEMO_APP_292 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Breadcrumbs/sample/sap.m.sample.BreadcrumbsWithCurrentPageLink' ).
- page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
+ page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
)->title( text = `Breadcrumbs with current page aggregation set`
)->breadcrumbs(
- )->link( text = `Home` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
- )->link( text = `Page 1` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
- )->link( text = `Page 2` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
- )->link( text = `Page 3` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
- )->link( text = `Page 4` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
- )->link( text = `Page 5` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
+ )->link( text = `Home`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/text}` ) ) )
+ )->link( text = `Page 1`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/text}` ) ) )
+ )->link( text = `Page 2`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/text}` ) ) )
+ )->link( text = `Page 3`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/text}` ) ) )
+ )->link( text = `Page 4`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/text}` ) ) )
+ )->link( text = `Page 5`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/text}` ) ) )
)->current_location(
- )->link( text = `Page 6` press = client->_event( val = `onPress` t_arg = VALUE #( ( `${$source>/text}` ) ) )
+ )->link( text = `Page 6`
+ press = client->_event( val = `onPress`
+ t_arg = VALUE #( ( `${$source>/text}` ) ) )
)->get_parent(
)->get_parent(
).
@@ -71,7 +81,6 @@ CLASS Z2UI5_CL_DEMO_APP_292 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -80,28 +89,27 @@ CLASS Z2UI5_CL_DEMO_APP_292 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'onPress'.
- client->message_toast_display( client->get_event_arg( 1 ) && ` has been clicked`).
+ client->message_toast_display( |{ client->get_event_arg( 1 ) } has been clicked| ).
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Breadcrumbs sample with current page set as aggregation, resulting in a link` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Breadcrumbs sample with current page set as aggregation, resulting in a link` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -115,4 +123,5 @@ CLASS Z2UI5_CL_DEMO_APP_292 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_293.clas.abap b/src/z2ui5_cl_demo_app_293.clas.abap
index 7a9a0155..ce4f2cc0 100644
--- a/src/z2ui5_cl_demo_app_293.clas.abap
+++ b/src/z2ui5_cl_demo_app_293.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_293 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,64 +26,55 @@ CLASS z2ui5_cl_demo_app_293 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_293 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Link'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Link'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
- )->link(
- text = 'UI5 Demo Kit'
- target = '_blank'
- href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Link/sample/sap.m.sample.Link' ).
-
- page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
+ )->link( text = 'UI5 Demo Kit'
+ target = '_blank'
+ href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Link/sample/sap.m.sample.Link' ).
+
+ page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
)->content( ns = `layout`
- )->link(
- text = `Open message box`
- press = client->_event( `handleLinkPress` )
- )->link(
- text = `Disabled link`
- enabled = abap_false
- )->link(
- text = `Open SAP Homepage`
- target = `_blank`
- href = `http://www.sap.com`
+ )->link( text = `Open message box`
+ press = client->_event( `handleLinkPress` )
+ )->link( text = `Disabled link`
+ enabled = abap_false
+ )->link( text = `Open SAP Homepage`
+ target = `_blank`
+ href = `http://www.sap.com`
)->get_parent(
).
- page->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
+ page->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
)->content( ns = `layout`
- )->label( text = `Links with Icons` design = `Bold` wrapping = abap_true class = `sapUiSmallMarginTop`
- )->link(
- text = `Show more information`
- endicon = `sap-icon://inspect`
- press = client->_event( `handleLinkPress` )
- )->link(
- text = `Disabled link with icon`
- icon = `sap-icon://cart`
- enabled = abap_false
- )->link(
- text = `Open SAP Homepage`
- icon = `sap-icon://globe`
- href = `http://www.sap.com`
+ )->label( text = `Links with Icons`
+ design = `Bold`
+ wrapping = abap_true
+ class = `sapUiSmallMarginTop`
+ )->link( text = `Show more information`
+ endicon = `sap-icon://inspect`
+ press = client->_event( `handleLinkPress` )
+ )->link( text = `Disabled link with icon`
+ icon = `sap-icon://cart`
+ enabled = abap_false
+ )->link( text = `Open SAP Homepage`
+ icon = `sap-icon://globe`
+ href = `http://www.sap.com`
)->get_parent(
).
@@ -91,7 +82,6 @@ CLASS z2ui5_cl_demo_app_293 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -100,28 +90,27 @@ CLASS z2ui5_cl_demo_app_293 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'handleLinkPress'.
- client->message_box_display( `Link was clicked!`).
+ client->message_box_display( `Link was clicked!` ).
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Here are some links. Typically links are used in user interfaces to trigger navigation to related content inside or outside of the current application.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Here are some links. Typically links are used in user interfaces to trigger navigation to related content inside or outside of the current application.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -135,4 +124,5 @@ CLASS z2ui5_cl_demo_app_293 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_294.clas.abap b/src/z2ui5_cl_demo_app_294.clas.abap
index 4301cbe1..1d8b262c 100644
--- a/src/z2ui5_cl_demo_app_294.clas.abap
+++ b/src/z2ui5_cl_demo_app_294.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_294 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -13,21 +12,23 @@ CLASS z2ui5_cl_demo_app_294 DEFINITION
value_state_text TYPE string,
END OF ty_a_data.
- DATA lt_a_data TYPE STANDARD TABLE OF ty_a_data.
- DATA s_text TYPE string.
+ DATA lt_a_data TYPE STANDARD TABLE OF ty_a_data.
+ DATA s_text TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS z2ui5_set_data.
+
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -36,23 +37,20 @@ CLASS z2ui5_cl_demo_app_294 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_294 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Date Picker - Value States'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Date Picker - Value States'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -60,14 +58,15 @@ CLASS z2ui5_cl_demo_app_294 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePickerValueState' ).
- page->flex_box( items = client->_bind( lt_a_data ) direction = `Column`
+ page->flex_box( items = client->_bind( lt_a_data )
+ direction = `Column`
)->vbox( class = `sapUiTinyMargin`
- )->label( text = '{LABEL}' labelfor = `SI`
- )->date_picker(
- id = `DP`
- width = `100%`
- valuestate = '{VALUE_STATE}'
- valuestatetext = '{VALUE_STATE_TEXT}' )->get_parent(
+ )->label( text = '{LABEL}'
+ labelfor = `SI`
+ )->date_picker( id = `DP`
+ width = `100%`
+ valuestate = '{VALUE_STATE}'
+ valuestatetext = '{VALUE_STATE_TEXT}' )->get_parent(
)->get_parent(
).
@@ -75,7 +74,6 @@ CLASS z2ui5_cl_demo_app_294 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -87,23 +85,21 @@ CLASS z2ui5_cl_demo_app_294 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `This example shows different DatePicker value states.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -118,7 +114,6 @@ CLASS z2ui5_cl_demo_app_294 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
CLEAR s_text.
@@ -127,21 +122,23 @@ CLASS z2ui5_cl_demo_app_294 IMPLEMENTATION.
s_text = 'DatePicker with valueState '.
" Append entries to the internal table
- APPEND VALUE #( label = s_text && 'None'
+ APPEND VALUE #( label = |{ s_text }None|
value_state = 'None' ) TO lt_a_data.
- APPEND VALUE #( label = s_text && 'Information'
+ APPEND VALUE #( label = |{ s_text }Information|
value_state = 'Information' ) TO lt_a_data.
- APPEND VALUE #( label = s_text && 'Success'
+ APPEND VALUE #( label = |{ s_text }Success|
value_state = 'Success' ) TO lt_a_data.
- APPEND VALUE #( label = s_text && 'Warning and long valueStateText'
- value_state = 'Warning'
- value_state_text = 'Warning message. This is an extra long text used as a warning message. ' &&
- 'It illustrates how the text wraps into two or more lines without truncation to show the full length of the message.' ) TO lt_a_data.
+ APPEND VALUE #(
+ label = |{ s_text }Warning and long valueStateText|
+ value_state = 'Warning'
+ value_state_text = |Warning message. This is an extra long text used as a warning message.| &&
+ |It illustrates how the text wraps into two or more lines without truncation to show the full length of the message.| ) TO lt_a_data.
- APPEND VALUE #( label = s_text && 'Error'
+ APPEND VALUE #( label = |{ s_text }Error|
value_state = 'Error' ) TO lt_a_data.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_295.clas.abap b/src/z2ui5_cl_demo_app_295.clas.abap
index 288704fe..6d4bc0b0 100644
--- a/src/z2ui5_cl_demo_app_295.clas.abap
+++ b/src/z2ui5_cl_demo_app_295.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_295 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -13,21 +12,23 @@ CLASS z2ui5_cl_demo_app_295 DEFINITION
value_state_text TYPE string,
END OF ty_a_data.
- DATA lt_a_data TYPE STANDARD TABLE OF ty_a_data.
- DATA s_text TYPE string.
+ DATA lt_a_data TYPE STANDARD TABLE OF ty_a_data.
+ DATA s_text TYPE string.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS z2ui5_set_data.
+
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -36,23 +37,20 @@ CLASS z2ui5_cl_demo_app_295 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_295 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Date Range Selection - Value States'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Date Range Selection - Value States'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -60,13 +58,13 @@ CLASS z2ui5_cl_demo_app_295 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.DateRangeSelection/sample/sap.m.sample.DateRangeSelectionValueState' ).
- page->flex_box( items = client->_bind( lt_a_data ) direction = `Column`
+ page->flex_box( items = client->_bind( lt_a_data )
+ direction = `Column`
)->vbox( class = `sapUiTinyMargin`
)->label( text = '{LABEL}'
- )->date_range_selection(
- width = `100%`
- valuestate = '{VALUE_STATE}'
- valuestatetext = '{VALUE_STATE_TEXT}' )->get_parent(
+ )->date_range_selection( width = `100%`
+ valuestate = '{VALUE_STATE}'
+ valuestatetext = '{VALUE_STATE_TEXT}' )->get_parent(
)->get_parent(
).
@@ -74,7 +72,6 @@ CLASS z2ui5_cl_demo_app_295 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -86,23 +83,21 @@ CLASS z2ui5_cl_demo_app_295 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `This example shows different DateRangeSelection value states.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -117,7 +112,6 @@ CLASS z2ui5_cl_demo_app_295 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
CLEAR s_text.
@@ -127,12 +121,14 @@ CLASS z2ui5_cl_demo_app_295 IMPLEMENTATION.
" Append entries to the internal table
lt_a_data = VALUE #(
- ( label = s_text && 'None' value_state = 'None' )
- ( label = s_text && 'Information' value_state = 'Information' )
- ( label = s_text && 'Success' value_state = 'Success' )
- ( label = s_text && 'Warning and long valueStateText' value_state = 'Warning'
- value_state_text = 'Warning message. This is an extra long text used as a warning message. ' &&
- 'It illustrates how the text wraps into two or more lines without truncation to show the full length of the message.' )
- ( label = s_text && 'Error' value_state = 'Error' ) ).
+ ( label = |{ s_text }None| value_state = 'None' )
+ ( label = |{ s_text }Information| value_state = 'Information' )
+ ( label = |{ s_text }Success| value_state = 'Success' )
+ ( label = |{ s_text }Warning and long valueStateText|
+ value_state = 'Warning'
+ value_state_text = |Warning message. This is an extra long text used as a warning message.| &&
+ |It illustrates how the text wraps into two or more lines without truncation to show the full length of the message.| )
+ ( label = |{ s_text }Error| value_state = 'Error' ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_296.clas.abap b/src/z2ui5_cl_demo_app_296.clas.abap
index 42b6d8c7..f389b8f0 100644
--- a/src/z2ui5_cl_demo_app_296.clas.abap
+++ b/src/z2ui5_cl_demo_app_296.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_296 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +26,20 @@ CLASS z2ui5_cl_demo_app_296 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_296 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Search Field`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Search Field`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -53,13 +50,16 @@ CLASS z2ui5_cl_demo_app_296 IMPLEMENTATION.
page_01->page( showheader = abap_false
)->sub_header(
)->toolbar(
- )->search_field( width = `100%` search = client->_event( val = `onSearch` )
- )->text( text = `Default Search` id = `idSearchListToolbar`
+ )->search_field( width = `100%`
+ search = client->_event( val = `onSearch` )
+ )->text( text = `Default Search`
+ id = `idSearchListToolbar`
)->get_parent(
)->get_parent(
)->vbox( class = `sapUiSmallMargin`
)->label( text = `Default Search Field:`
- )->search_field( width = `90%` class = `sapUiSmallMargin`
+ )->search_field( width = `90%`
+ class = `sapUiSmallMargin`
)->get_parent(
).
@@ -67,7 +67,6 @@ CLASS z2ui5_cl_demo_app_296 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -81,23 +80,22 @@ CLASS z2ui5_cl_demo_app_296 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Use the Search Field to let the user enter a search string and trigger the search process.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Use the Search Field to let the user enter a search string and trigger the search process.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -110,4 +108,5 @@ CLASS z2ui5_cl_demo_app_296 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_297.clas.abap b/src/z2ui5_cl_demo_app_297.clas.abap
index 3163b053..05b700b5 100644
--- a/src/z2ui5_cl_demo_app_297.clas.abap
+++ b/src/z2ui5_cl_demo_app_297.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_297 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -13,21 +12,23 @@ CLASS z2ui5_cl_demo_app_297 DEFINITION
icon TYPE string,
END OF ty_product_collection.
- DATA check_initialized TYPE abap_bool.
- DATA lt_product_collection TYPE TABLE OF ty_product_collection.
- DATA selected_product TYPE string.
+ DATA check_initialized TYPE abap_bool.
+ DATA lt_product_collection TYPE TABLE OF ty_product_collection.
+ DATA selected_product TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS z2ui5_set_data.
+
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -36,23 +37,20 @@ CLASS z2ui5_cl_demo_app_297 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_297 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Select - with icons`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Select - with icons`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -60,16 +58,16 @@ CLASS z2ui5_cl_demo_app_297 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Select/sample/sap.m.sample.SelectWithIcons' ).
- page_01->page(
- showheader = abap_false
- class = `sapUiContentPadding`
+ page_01->page( showheader = abap_false
+ class = `sapUiContentPadding`
)->content(
- )->select(
- forceselection = abap_false
- selectedkey = client->_bind( selected_product )
- items = client->_bind( lt_product_collection )
+ )->select( forceselection = abap_false
+ selectedkey = client->_bind( selected_product )
+ items = client->_bind( lt_product_collection )
)->item(
- )->list_item( key = '{PRODUCT_ID}' text = '{NAME}' icon = '{ICON}'
+ )->list_item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
+ icon = '{ICON}'
)->get_parent(
)->get_parent(
)->get_parent(
@@ -79,7 +77,6 @@ CLASS z2ui5_cl_demo_app_297 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -91,23 +88,21 @@ CLASS z2ui5_cl_demo_app_297 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `Illustrates the usage of a Select with icons` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -122,28 +117,28 @@ CLASS z2ui5_cl_demo_app_297 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
CLEAR selected_product.
CLEAR lt_product_collection.
- selected_product = `HT-1001`.
+ selected_product = `HT-1001`.
" Populate the internal table
lt_product_collection = VALUE #(
- ( product_id = 'HT-1001' name = 'Notebook Basic 17' icon = 'sap-icon://paper-plane' )
- ( product_id = 'HT-1002' name = 'Notebook Basic 18' icon = 'sap-icon://add-document' )
- ( product_id = 'HT-1003' name = 'Notebook Basic 19' icon = 'sap-icon://doctor' )
- ( product_id = 'HT-1007' name = 'ITelO Vault' icon = 'sap-icon://sys-find-next')
- ( product_id = 'HT-1010' name = 'Notebook Professional 15' icon = 'sap-icon://add-product')
- ( product_id = 'HT-1011' name = 'Notebook Professional 17' icon = 'sap-icon://add-product')
- ( product_id = 'HT-1020' name = 'ITelO Vault Net' icon = 'sap-icon://add-product' )
- ( product_id = 'HT-1021' name = 'ITelO Vault SAT' icon = 'sap-icon://add-product' )
- ( product_id = 'HT-1022' name = 'Comfort Easy' icon = 'sap-icon://add-product' )
- ( product_id = 'HT-1023' name = 'Comfort Senior' icon = 'sap-icon://add-product' )
+ ( product_id = 'HT-1001' name = 'Notebook Basic 17' icon = 'sap-icon://paper-plane' )
+ ( product_id = 'HT-1002' name = 'Notebook Basic 18' icon = 'sap-icon://add-document' )
+ ( product_id = 'HT-1003' name = 'Notebook Basic 19' icon = 'sap-icon://doctor' )
+ ( product_id = 'HT-1007' name = 'ITelO Vault' icon = 'sap-icon://sys-find-next' )
+ ( product_id = 'HT-1010' name = 'Notebook Professional 15' icon = 'sap-icon://add-product' )
+ ( product_id = 'HT-1011' name = 'Notebook Professional 17' icon = 'sap-icon://add-product' )
+ ( product_id = 'HT-1020' name = 'ITelO Vault Net' icon = 'sap-icon://add-product' )
+ ( product_id = 'HT-1021' name = 'ITelO Vault SAT' icon = 'sap-icon://add-product' )
+ ( product_id = 'HT-1022' name = 'Comfort Easy' icon = 'sap-icon://add-product' )
+ ( product_id = 'HT-1023' name = 'Comfort Senior' icon = 'sap-icon://add-product' )
).
SORT lt_product_collection BY name.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_298.clas.abap b/src/z2ui5_cl_demo_app_298.clas.abap
index 15c35b3c..694f7b45 100644
--- a/src/z2ui5_cl_demo_app_298.clas.abap
+++ b/src/z2ui5_cl_demo_app_298.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_298 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -12,24 +11,26 @@ CLASS z2ui5_cl_demo_app_298 DEFINITION
name TYPE string,
END OF ty_product_collection.
- DATA check_initialized TYPE abap_bool.
- DATA lt_a_products TYPE TABLE OF ty_product_collection.
+ DATA check_initialized TYPE abap_bool.
+ DATA lt_a_products TYPE TABLE OF ty_product_collection.
DATA selectedproducterrorcollection TYPE string.
DATA selectedproductwrnngcollection TYPE string.
DATA selectedproductsccsscollection TYPE string.
DATA selectedproductinforcollection TYPE string.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS z2ui5_set_data.
+
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -38,23 +39,20 @@ CLASS z2ui5_cl_demo_app_298 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Select - Validation states`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Select - Validation states`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -65,59 +63,60 @@ CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION.
page_01->page( showheader = abap_false
)->content(
)->hbox( class = `sapUiMediumMarginBottom`
- )->label( text = `Error state`
- labelfor = `errorSelect`
- class = `sapUiTinyMarginEnd sapUiTinyMarginTop`
- )->select(
- id = `errorSelect`
- forceselection = abap_true
- selectedkey = client->_bind( selectedproducterrorcollection )
- valuestate = `Error`
- valuestatetext = `error value state text`
- items = client->_bind( lt_a_products )
- )->item( key = '{PRODUCT_ID}' text = '{NAME}'
+ )->label( text = `Error state`
+ labelfor = `errorSelect`
+ class = `sapUiTinyMarginEnd sapUiTinyMarginTop`
+ )->select( id = `errorSelect`
+ forceselection = abap_true
+ selectedkey = client->_bind( selectedproducterrorcollection )
+ valuestate = `Error`
+ valuestatetext = `error value state text`
+ items = client->_bind( lt_a_products )
+ )->item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
)->get_parent(
)->get_parent(
)->hbox( class = `sapUiMediumMarginBottom`
- )->label( text = `Warning state`
- labelfor = `warningSelect`
- class = `sapUiTinyMarginEnd sapUiTinyMarginTop`
+ )->label( text = `Warning state`
+ labelfor = `warningSelect`
+ class = `sapUiTinyMarginEnd sapUiTinyMarginTop`
)->select(
- id = `warningSelect`
+ id = `warningSelect`
forceselection = abap_true
- selectedkey = client->_bind( selectedproductwrnngcollection )
- valuestate = `Warning`
+ selectedkey = client->_bind( selectedproductwrnngcollection )
+ valuestate = `Warning`
valuestatetext = `This is a Level 1 explanation. The items Lorem and Ipsum are not recommended from the system.`
- items = client->_bind( lt_a_products )
- )->item( key = '{PRODUCT_ID}' text = '{NAME}'
+ items = client->_bind( lt_a_products )
+ )->item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
)->get_parent(
)->get_parent(
)->hbox( class = `sapUiMediumMarginBottom`
- )->label( text = `Success state`
- labelfor = `successSelect`
- class = `sapUiTinyMarginEnd sapUiTinyMarginTop`
- )->select(
- id = `successSelect`
- forceselection = abap_true
- selectedkey = client->_bind( selectedproductsccsscollection )
- valuestate = `Success`
- valuestatetext = `success value state text`
- items = client->_bind( lt_a_products )
- )->item( key = '{PRODUCT_ID}' text = '{NAME}'
+ )->label( text = `Success state`
+ labelfor = `successSelect`
+ class = `sapUiTinyMarginEnd sapUiTinyMarginTop`
+ )->select( id = `successSelect`
+ forceselection = abap_true
+ selectedkey = client->_bind( selectedproductsccsscollection )
+ valuestate = `Success`
+ valuestatetext = `success value state text`
+ items = client->_bind( lt_a_products )
+ )->item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
)->get_parent(
)->get_parent(
)->hbox( class = `sapUiMediumMarginBottom`
- )->label( text = `Information state`
- labelfor = `informationSelect`
- class = `sapUiTinyMarginEnd sapUiTinyMarginTop`
- )->select(
- id = `informationSelect`
- forceselection = abap_true
- selectedkey = client->_bind( selectedproductinforcollection )
- valuestate = `Information`
- valuestatetext = `information value state text`
- items = client->_bind( lt_a_products )
- )->item( key = '{PRODUCT_ID}' text = '{NAME}'
+ )->label( text = `Information state`
+ labelfor = `informationSelect`
+ class = `sapUiTinyMarginEnd sapUiTinyMarginTop`
+ )->select( id = `informationSelect`
+ forceselection = abap_true
+ selectedkey = client->_bind( selectedproductinforcollection )
+ valuestate = `Information`
+ valuestatetext = `information value state text`
+ items = client->_bind( lt_a_products )
+ )->item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
)->get_parent(
)->get_parent(
)->get_parent(
@@ -127,7 +126,6 @@ CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -139,23 +137,22 @@ CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `Visualizes the validation state of the control, for example, Error, Warning and Success.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `Visualizes the validation state of the control, for example, Error, Warning and Success.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -170,7 +167,6 @@ CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
CLEAR selectedproducterrorcollection.
CLEAR selectedproductwrnngcollection.
@@ -178,31 +174,31 @@ CLASS z2ui5_cl_demo_app_298 IMPLEMENTATION.
CLEAR selectedproductinforcollection.
CLEAR lt_a_products.
- selectedproducterrorcollection = `HT-998`.
- selectedproductwrnngcollection = `HT-999`.
- selectedproductsccsscollection = `HT-1000`.
- selectedproductinforcollection = `HT-1007`.
+ selectedproducterrorcollection = `HT-998`.
+ selectedproductwrnngcollection = `HT-999`.
+ selectedproductsccsscollection = `HT-1000`.
+ selectedproductinforcollection = `HT-1007`.
" Populate the internal table
- lt_a_products = VALUE #(
- ( product_id = 'HT-998' name = 'Notebook Basic 11' )
- ( product_id = 'HT-999' name = 'Notebook Basic 13' )
- ( product_id = 'HT-1000' name = 'Notebook Basic 15' )
- ( product_id = 'HT-1001' name = 'Notebook Basic 17' )
- ( product_id = 'HT-1002' name = 'Notebook Basic 18' )
- ( product_id = 'HT-1003' name = 'Notebook Basic 19' )
- ( product_id = 'HT-1007' name = 'ITelO Vault' )
- ( product_id = 'HT-1008' name = 'Notebook Professional 11' )
- ( product_id = 'HT-1009' name = 'Notebook Professional 13' )
- ( product_id = 'HT-1010' name = 'Notebook Professional 15' )
- ( product_id = 'HT-1011' name = 'Notebook Professional 17' )
- ( product_id = 'HT-1012' name = 'Notebook Professional 19' )
- ( product_id = 'HT-1020' name = 'ITelO Vault Net' )
- ( product_id = 'HT-1021' name = 'ITelO Vault SAT' )
- ( product_id = 'HT-1022' name = 'Comfort Easy' )
- ( product_id = 'HT-1023' name = 'Comfort Senior' )
+ lt_a_products = VALUE #( ( product_id = 'HT-998' name = 'Notebook Basic 11' )
+ ( product_id = 'HT-999' name = 'Notebook Basic 13' )
+ ( product_id = 'HT-1000' name = 'Notebook Basic 15' )
+ ( product_id = 'HT-1001' name = 'Notebook Basic 17' )
+ ( product_id = 'HT-1002' name = 'Notebook Basic 18' )
+ ( product_id = 'HT-1003' name = 'Notebook Basic 19' )
+ ( product_id = 'HT-1007' name = 'ITelO Vault' )
+ ( product_id = 'HT-1008' name = 'Notebook Professional 11' )
+ ( product_id = 'HT-1009' name = 'Notebook Professional 13' )
+ ( product_id = 'HT-1010' name = 'Notebook Professional 15' )
+ ( product_id = 'HT-1011' name = 'Notebook Professional 17' )
+ ( product_id = 'HT-1012' name = 'Notebook Professional 19' )
+ ( product_id = 'HT-1020' name = 'ITelO Vault Net' )
+ ( product_id = 'HT-1021' name = 'ITelO Vault SAT' )
+ ( product_id = 'HT-1022' name = 'Comfort Easy' )
+ ( product_id = 'HT-1023' name = 'Comfort Senior' )
).
SORT lt_a_products BY name.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_299.clas.abap b/src/z2ui5_cl_demo_app_299.clas.abap
index f1317156..5f9da769 100644
--- a/src/z2ui5_cl_demo_app_299.clas.abap
+++ b/src/z2ui5_cl_demo_app_299.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_299 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -12,21 +11,23 @@ CLASS z2ui5_cl_demo_app_299 DEFINITION
name TYPE string,
END OF ty_product_collection.
- DATA check_initialized TYPE abap_bool.
+ DATA check_initialized TYPE abap_bool.
DATA lt_product_collection TYPE TABLE OF ty_product_collection.
DATA lt_product_collection2 TYPE TABLE OF ty_product_collection.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS z2ui5_set_data.
+
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -35,23 +36,20 @@ CLASS z2ui5_cl_demo_app_299 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_299 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Select - Wrapping text`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Select - Wrapping text`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -59,19 +57,19 @@ CLASS z2ui5_cl_demo_app_299 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.Select/sample/sap.m.sample.SelectWithWrappedItemText' ).
- page_01->select(
- width = `300px`
- wrapitemstext = abap_true
- class = `sapUiLargeMargin`
- items = client->_bind( lt_product_collection )
- )->item( key = '{PRODUCT_ID}' text = '{NAME}'
+ page_01->select( width = `300px`
+ wrapitemstext = abap_true
+ class = `sapUiLargeMargin`
+ items = client->_bind( lt_product_collection )
+ )->item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
)->get_parent(
- )->select(
- width = `300px`
- wrapitemstext = abap_true
- class = `sapUiLargeMargin`
- items = client->_bind( lt_product_collection2 )
- )->item( key = '{PRODUCT_ID}' text = '{NAME}'
+ )->select( width = `300px`
+ wrapitemstext = abap_true
+ class = `sapUiLargeMargin`
+ items = client->_bind( lt_product_collection2 )
+ )->item( key = '{PRODUCT_ID}'
+ text = '{NAME}'
)->get_parent(
).
@@ -79,7 +77,6 @@ CLASS z2ui5_cl_demo_app_299 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -91,23 +88,21 @@ CLASS z2ui5_cl_demo_app_299 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `Illustrates how the text in items wrap.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -122,7 +117,6 @@ CLASS z2ui5_cl_demo_app_299 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
CLEAR lt_product_collection.
@@ -130,23 +124,25 @@ CLASS z2ui5_cl_demo_app_299 IMPLEMENTATION.
" Populating lt_product_collection
lt_product_collection = VALUE #(
- ( product_id = 'HT-1001' Name = 'Select option 1' )
- ( product_id = 'HT-1002' Name = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.' )
- ( product_id = 'HT-1003' Name = 'Select option 3' )
- ( product_id = 'HT-1007' Name = 'Select option 4' )
- ( product_id = 'HT-1010' Name = 'Select option 5' )
+ ( product_id = 'HT-1001' Name = 'Select option 1' )
+ ( product_id = 'HT-1002' Name = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry.' )
+ ( product_id = 'HT-1003' Name = 'Select option 3' )
+ ( product_id = 'HT-1007' Name = 'Select option 4' )
+ ( product_id = 'HT-1010' Name = 'Select option 5' )
).
SORT lt_product_collection BY name.
" Populating lt_product_collection2
lt_Product_collection2 = VALUE #(
- ( product_id = 'key1' Name = 'Select option 1' )
- ( product_id = 'key2' Name = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.' )
- ( product_id = 'key3' Name = 'Select option 3' )
- ( product_id = 'key4' Name = 'Select option 4' )
- ( product_id = 'key5' Name = 'Select option 5' )
+ ( product_id = 'key1' Name = 'Select option 1' )
+ ( product_id = 'key2'
+ Name = 'Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum is simply dummy text of the printing and typesetting industry.' )
+ ( product_id = 'key3' Name = 'Select option 3' )
+ ( product_id = 'key4' Name = 'Select option 4' )
+ ( product_id = 'key5' Name = 'Select option 5' )
).
SORT lt_product_collection2 BY name.
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_300.clas.abap b/src/z2ui5_cl_demo_app_300.clas.abap
index c4529700..ba827df4 100644
--- a/src/z2ui5_cl_demo_app_300.clas.abap
+++ b/src/z2ui5_cl_demo_app_300.clas.abap
@@ -3,21 +3,21 @@ CLASS z2ui5_cl_demo_app_300 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
DATA check_initialized TYPE abap_bool.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -26,23 +26,20 @@ CLASS z2ui5_cl_demo_app_300 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_300 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Object Status`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Object Status`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -50,310 +47,288 @@ CLASS z2ui5_cl_demo_app_300 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.ObjectStatus/sample/sap.m.sample.ObjectStatus' ).
- page_01->vertical_layout(
- width = `100%`
+ page_01->vertical_layout( width = `100%`
)->block_layout( background = `transparent`
)->block_layout_row(
)->block_layout_cell(
- )->vertical_layout( class = `sapUiContentPadding` width = `100%`
- )->label( text = `ObjectStatus with different value states` design = `Bold` wrapping = abap_true class = `sapUiSmallMarginTop`
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Unknown`
- state = `None` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Currently closed`
- icon = `sap-icon://information`
- state = `Information` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Product Shipped`
- icon = `sap-icon://sys-enter-2`
- state = `Success` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Product Missing`
- icon = `sap-icon://alert`
- state = `Warning` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Product Damaged`
- icon = `sap-icon://error`
- state = `Error` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Product Damaged`
- state = `Error` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- title = `Product status`
- text = `Damaged`
- active = abap_true
- state = `Error`
- press = client->_event( `handleStatusPressed` )
- icon = `sap-icon://error` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- title = `Test`
- active = abap_true
- state = `Error`
- icon = `sap-icon://error` )->get_parent(
+ )->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
+ )->label( text = `ObjectStatus with different value states`
+ design = `Bold`
+ wrapping = abap_true
+ class = `sapUiSmallMarginTop`
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Unknown`
+ state = `None` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Currently closed`
+ icon = `sap-icon://information`
+ state = `Information` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Product Shipped`
+ icon = `sap-icon://sys-enter-2`
+ state = `Success` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Product Missing`
+ icon = `sap-icon://alert`
+ state = `Warning` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Product Damaged`
+ icon = `sap-icon://error`
+ state = `Error` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Product Damaged`
+ state = `Error` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ title = `Product status`
+ text = `Damaged`
+ active = abap_true
+ state = `Error`
+ press = client->_event( `handleStatusPressed` )
+ icon = `sap-icon://error` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ title = `Test`
+ active = abap_true
+ state = `Error`
+ icon = `sap-icon://error` )->get_parent(
)->get_parent(
)->get_parent(
)->block_layout_cell(
- )->vertical_layout( class = `sapUiContentPadding` width = `100%`
- )->label( text = `Inverted ObjectStatus with different value states.` design = `Bold` wrapping = abap_true class = `sapUiSmallMarginTop`
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Unknown`
- inverted = abap_true
- state = `None` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Currently closed (click)`
- inverted = abap_true
- active = abap_true
- icon = `sap-icon://information`
- state = `Information` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Product Shipped`
- inverted = abap_true
- icon = `sap-icon://sys-enter-2`
- state = `Success` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Product Missing`
- inverted = abap_true
- icon = `sap-icon://alert`
- state = `Warning` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Product Damaged`
- active = abap_true
- inverted = abap_true
- state = `Error`
- icon = `sap-icon://error` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- active = abap_true
- inverted = abap_true
- state = `Error`
- icon = `sap-icon://error` )->get_parent(
+ )->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
+ )->label( text = `Inverted ObjectStatus with different value states.`
+ design = `Bold`
+ wrapping = abap_true
+ class = `sapUiSmallMarginTop`
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Unknown`
+ inverted = abap_true
+ state = `None` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Currently closed (click)`
+ inverted = abap_true
+ active = abap_true
+ icon = `sap-icon://information`
+ state = `Information` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Product Shipped`
+ inverted = abap_true
+ icon = `sap-icon://sys-enter-2`
+ state = `Success` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Product Missing`
+ inverted = abap_true
+ icon = `sap-icon://alert`
+ state = `Warning` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Product Damaged`
+ active = abap_true
+ inverted = abap_true
+ state = `Error`
+ icon = `sap-icon://error` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ active = abap_true
+ inverted = abap_true
+ state = `Error`
+ icon = `sap-icon://error` )->get_parent(
)->get_parent(
)->get_parent(
)->get_parent(
)->get_parent(
).
- page_01->vertical_layout( class = `sapUiContentPadding` width = `100%`
+ page_01->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
)->block_layout( background = `transparent`
)->block_layout_row(
)->block_layout_cell(
- )->label( text = `ObjectStatus with different indication states.` design = `Bold` wrapping = abap_true class = `sapUiSmallMarginBottom`
+ )->label( text = `ObjectStatus with different indication states.`
+ design = `Bold`
+ wrapping = abap_true
+ class = `sapUiSmallMarginBottom`
)->vertical_layout( width = `100%`
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Indication 1`
- state = `Indication01` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Indication 2`
- state = `Indication02` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Indication 3`
- state = `Indication03` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Indication 4 active`
- active = abap_true
- state = `Indication04` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Indication 5`
- state = `Indication05` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Indication 6`
- state = `Indication06` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Indication 7`
- state = `Indication07` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Indication 8`
- state = `Indication08` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Indication 1`
+ state = `Indication01` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Indication 2`
+ state = `Indication02` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Indication 3`
+ state = `Indication03` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Indication 4 active`
+ active = abap_true
+ state = `Indication04` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Indication 5`
+ state = `Indication05` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Indication 6`
+ state = `Indication06` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Indication 7`
+ state = `Indication07` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Indication 8`
+ state = `Indication08` )->get_parent(
)->get_parent(
)->get_parent(
)->block_layout_cell(
- )->label( text = `Inverted ObjectStatus with different indication states.` design = `Bold` wrapping = abap_true class = `sapUiSmallMarginBottom`
+ )->label( text = `Inverted ObjectStatus with different indication states.`
+ design = `Bold`
+ wrapping = abap_true
+ class = `sapUiSmallMarginBottom`
)->vertical_layout( width = `100%`
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication1`
- inverted = abap_true
- state = `Indication01` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication2`
- inverted = abap_true
- state = `Indication02` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication3 active`
- inverted = abap_true
- active = abap_true
- state = `Indication03` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication4`
- inverted = abap_true
- state = `Indication04` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication5 active`
- inverted = abap_true
- active = abap_true
- state = `Indication05` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication6 active`
- active = abap_true
- inverted = abap_true
- icon = `sap-icon://attachment`
- state = `Indication06` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication7 active`
- active = abap_true
- inverted = abap_true
- state = `Indication07` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication8 active`
- active = abap_true
- inverted = abap_true
- state = `Indication08` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication9 active`
- active = abap_true
- inverted = abap_true
- state = `Indication09` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication10`
- inverted = abap_true
- state = `Indication10` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication1`
+ inverted = abap_true
+ state = `Indication01` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication2`
+ inverted = abap_true
+ state = `Indication02` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication3 active`
+ inverted = abap_true
+ active = abap_true
+ state = `Indication03` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication4`
+ inverted = abap_true
+ state = `Indication04` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication5 active`
+ inverted = abap_true
+ active = abap_true
+ state = `Indication05` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication6 active`
+ active = abap_true
+ inverted = abap_true
+ icon = `sap-icon://attachment`
+ state = `Indication06` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication7 active`
+ active = abap_true
+ inverted = abap_true
+ state = `Indication07` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication8 active`
+ active = abap_true
+ inverted = abap_true
+ state = `Indication08` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication9 active`
+ active = abap_true
+ inverted = abap_true
+ state = `Indication09` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication10`
+ inverted = abap_true
+ state = `Indication10` )->get_parent(
)->get_parent(
)->get_parent(
)->block_layout_cell(
)->vertical_layout( width = `100%`
- )->label( text = `Inverted ObjectStatus with different indication states.` design = `Bold` wrapping = abap_true class = `sapUiSmallMarginBottom`
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication11`
- inverted = abap_true
- state = `Indication11` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication12 active`
- active = abap_true
- inverted = abap_true
- state = `Indication12` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication13 active`
- inverted = abap_true
- active = abap_true
- state = `Indication13` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication14 active`
- active = abap_true
- inverted = abap_true
- icon = `sap-icon://notes`
- state = `Indication14` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication15 active`
- active = abap_true
- inverted = abap_true
- state = `Indication15` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication16`
- inverted = abap_true
- state = `Indication16` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication17 active`
- active = abap_true
- inverted = abap_true
- state = `Indication17` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication18`
- inverted = abap_true
- state = `Indication18` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication19 active`
- active = abap_true
- inverted = abap_true
- state = `Indication19` )->get_parent(
- )->object_status(
- class = `sapUiSmallMarginBottom`
- text = `Inverted Indication20`
- inverted = abap_true
- state = `Indication20` )->get_parent(
+ )->label( text = `Inverted ObjectStatus with different indication states.`
+ design = `Bold`
+ wrapping = abap_true
+ class = `sapUiSmallMarginBottom`
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication11`
+ inverted = abap_true
+ state = `Indication11` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication12 active`
+ active = abap_true
+ inverted = abap_true
+ state = `Indication12` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication13 active`
+ inverted = abap_true
+ active = abap_true
+ state = `Indication13` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication14 active`
+ active = abap_true
+ inverted = abap_true
+ icon = `sap-icon://notes`
+ state = `Indication14` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication15 active`
+ active = abap_true
+ inverted = abap_true
+ state = `Indication15` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication16`
+ inverted = abap_true
+ state = `Indication16` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication17 active`
+ active = abap_true
+ inverted = abap_true
+ state = `Indication17` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication18`
+ inverted = abap_true
+ state = `Indication18` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication19 active`
+ active = abap_true
+ inverted = abap_true
+ state = `Indication19` )->get_parent(
+ )->object_status( class = `sapUiSmallMarginBottom`
+ text = `Inverted Indication20`
+ inverted = abap_true
+ state = `Indication20` )->get_parent(
)->get_parent(
)->get_parent(
)->get_parent(
)->get_parent(
).
- page_01->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
- )->label( text = `ObjectStatus with style sapMObjectStatusLarge applied` design = `Bold` wrapping = abap_true class = `sapUiSmallMarginTop`
- )->object_status(
- class = `sapMObjectStatusLarge`
- title = `Product status`
- text = `Shipped`
- state = `Success`
- icon = `sap-icon://sys-enter-2`)->get_parent(
- )->object_status(
- class = `sapMObjectStatusLarge`
- text = `Shipped`
- state = `Success`
- inverted = abap_true
- icon = `sap-icon://sys-enter-2`)->get_parent(
+ page_01->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
+ )->label( text = `ObjectStatus with style sapMObjectStatusLarge applied`
+ design = `Bold`
+ wrapping = abap_true
+ class = `sapUiSmallMarginTop`
+ )->object_status( class = `sapMObjectStatusLarge`
+ title = `Product status`
+ text = `Shipped`
+ state = `Success`
+ icon = `sap-icon://sys-enter-2` )->get_parent(
+ )->object_status( class = `sapMObjectStatusLarge`
+ text = `Shipped`
+ state = `Success`
+ inverted = abap_true
+ icon = `sap-icon://sys-enter-2` )->get_parent(
).
- page_01->vertical_layout(
- class = `sapUiContentPadding`
- width = `100%`
- )->label( text = `ObjectStatus with and without sapMObjectStatusLongText CSS class` design = `Bold` wrapping = abap_true class = `sapUiSmallMarginTop`
+ page_01->vertical_layout( class = `sapUiContentPadding`
+ width = `100%`
+ )->label( text = `ObjectStatus with and without sapMObjectStatusLongText CSS class`
+ design = `Bold`
+ wrapping = abap_true
+ class = `sapUiSmallMarginTop`
)->table(
)->columns(
)->column(
)->text( text = `ObjectStatus with default text wrapping` )->get_parent(
)->column(
- )->text( text = `ObjectStatus with enhanced text wrapping via 'sapMObjectStatusLongText' CSS class` )->get_parent(
+ )->text(
+ text = `ObjectStatus with enhanced text wrapping via 'sapMObjectStatusLongText' CSS class` )->get_parent(
)->get_parent(
)->column_list_item(
)->cells(
)->object_status(
class = ``
title = `Product status`
- text = `VeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrapping` )->get_parent(
+ text = `VeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrapping` )->get_parent(
)->object_status(
class = `sapMObjectStatusLongText`
title = `Product status`
- text = `VeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrapping` )->get_parent(
+ text = `VeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrappingVeryLongTextToDemonstrateWrapping` )->get_parent(
)->get_parent(
)->get_parent(
)->get_parent(
@@ -362,7 +337,6 @@ CLASS z2ui5_cl_demo_app_300 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -371,31 +345,30 @@ CLASS z2ui5_cl_demo_app_300 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'handleStatusPressed'.
- client->message_box_display( title = `Error description`
- type = `` "Keep this empty to use the custom title instead of the default message type as title
- text = `Product was damaged along transportation.`
- actions = VALUE string_table( ( `OK ` ) ) ). "Add space after 'OK' to prevent the button type from being 'Emphasized'
+ client->message_box_display( title = `Error description`
+ type = `` " Keep this empty to use the custom title instead of the default message type as title
+ text = `Product was damaged along transportation.`
+ actions = VALUE string_table( ( `OK ` ) ) ). " Add space after 'OK' to prevent the button type from being 'Emphasized'
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `The object status is a small building block representing a status with a semantic color.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `The object status is a small building block representing a status with a semantic color.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -408,4 +381,5 @@ CLASS z2ui5_cl_demo_app_300 IMPLEMENTATION.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_301.clas.abap b/src/z2ui5_cl_demo_app_301.clas.abap
index fe3a0bf2..5f765517 100644
--- a/src/z2ui5_cl_demo_app_301.clas.abap
+++ b/src/z2ui5_cl_demo_app_301.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_301 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -16,18 +15,21 @@ CLASS z2ui5_cl_demo_app_301 DEFINITION
END OF ty_product.
DATA check_initialized TYPE abap_bool.
- DATA lt_o_data TYPE TABLE OF ty_product.
- PROTECTED SECTION.
+ DATA lt_o_data TYPE TABLE OF ty_product.
+ PROTECTED SECTION.
DATA client TYPE REF TO z2ui5_if_client.
METHODS z2ui5_set_data.
+
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -36,23 +38,20 @@ CLASS z2ui5_cl_demo_app_301 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_301 IMPLEMENTATION.
-
METHOD display_view.
DATA(page_01) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = `abap2UI5 - Sample: Expandable Text`
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = `abap2UI5 - Sample: Expandable Text`
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page_01->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page_01->header_content(
)->link(
@@ -60,9 +59,9 @@ CLASS z2ui5_cl_demo_app_301 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.ExpandableText/sample/sap.m.sample.ExpandableText' ).
- page_01->table( mode = `MultiSelect`
- items = client->_bind( lt_o_data )
- autopopinmode = abap_true
+ page_01->table( mode = `MultiSelect`
+ items = client->_bind( lt_o_data )
+ autopopinmode = abap_true
)->columns(
)->column(
)->text( text = `Product`
@@ -82,7 +81,9 @@ CLASS z2ui5_cl_demo_app_301 IMPLEMENTATION.
)->column_list_item(
)->cells(
)->text( text = `{NAME}` ")->get_parent(
- )->expandable_text( class = `sapUiTinyMarginBottom sapUiTinyMarginTop` text = `{ATTRIBUTE_1}` overflowmode = `{OVERFLOW_MODE}` )->get_parent(
+ )->expandable_text( class = `sapUiTinyMarginBottom sapUiTinyMarginTop`
+ text = `{ATTRIBUTE_1}`
+ overflowmode = `{OVERFLOW_MODE}` )->get_parent(
)->text( text = `{ATTRIBUTE_2}` )->get_parent(
)->text( text = `{STATUS}` )->get_parent(
)->get_parent(
@@ -94,7 +95,6 @@ CLASS z2ui5_cl_demo_app_301 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -106,23 +106,22 @@ CLASS z2ui5_cl_demo_app_301 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
- description = `The ExpandableText control can be used to display a larger texts inside a table, list or form.` ).
-
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page(
+ pageid = `sampleInformationId`
+ header = `Sample information`
+ description = `The ExpandableText control can be used to display a larger texts inside a table, list or form.` ).
+
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -137,41 +136,34 @@ CLASS z2ui5_cl_demo_app_301 IMPLEMENTATION.
ENDMETHOD.
-
METHOD z2ui5_set_data.
CLEAR lt_o_data.
lt_o_data = VALUE #(
- ( name = 'Product 1'
- attribute_1 = `The full text is displayed in place. Lorem ipsum dolor sit amet, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore ` &&
- `et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr`
- attribute_2 = 'Attribute related to label'
- status = 'Some status'
- overflow_mode = 'InPlace' )
- ( name = 'Product 2'
- attribute_1 = `The full text is displayed in a popover. Lorem ipsum dolor sit amet, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore ` &&
- `et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr`
attribute_2 = 'Attribute related to label'
- status = 'Some status'
- overflow_mode = 'Popover' )
- ( name = 'Product 3'
- attribute_1 = `The full text is displayed in place. Lorem ipsum dolor sit amet, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore ` &&
- `et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr`
- attribute_2 = 'Attribute related to label'
- status = 'Some status'
- overflow_mode = 'InPlace' )
- ( name = 'Product 4'
- attribute_1 = `The full text is displayed in a popover. Lorem ipsum dolor sit amet, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. ` &&
- `At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore ` &&
- `et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr`
- attribute_2 = 'Attribute related to label'
- status = 'Some status'
- overflow_mode = 'Popover' )
- ).
+ status = 'Some status'
+ ( name = 'Product 1'
+ attribute_1 = |The full text is displayed in place. Lorem ipsum dolor sit amet, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore | &&
+ |et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr|
+ overflow_mode = 'InPlace' )
+ ( name = 'Product 2'
+ attribute_1 = |The full text is displayed in a popover. Lorem ipsum dolor sit amet, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore | &&
+ |et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr|
+ overflow_mode = 'Popover' )
+ ( name = 'Product 3'
+ attribute_1 = |The full text is displayed in place. Lorem ipsum dolor sit amet, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore | &&
+ |et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr|
+ overflow_mode = 'InPlace' )
+ ( name = 'Product 4'
+ attribute_1 = |The full text is displayed in a popover. Lorem ipsum dolor sit amet, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. | &&
+ |At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore | &&
+ |et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Lorem ipsum dolor sit amet, consetetur sadipscing elitr|
+ overflow_mode = 'Popover' ) ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_302.clas.abap b/src/z2ui5_cl_demo_app_302.clas.abap
index 5ca5ab46..c7a8a742 100644
--- a/src/z2ui5_cl_demo_app_302.clas.abap
+++ b/src/z2ui5_cl_demo_app_302.clas.abap
@@ -3,7 +3,6 @@ CLASS z2ui5_cl_demo_app_302 DEFINITION
CREATE PUBLIC.
PUBLIC SECTION.
-
INTERFACES z2ui5_if_app.
TYPES:
@@ -14,18 +13,19 @@ CLASS z2ui5_cl_demo_app_302 DEFINITION
END OF ty_product.
DATA check_initialized TYPE abap_bool.
- DATA lt_a_data TYPE TABLE OF ty_product.
+ DATA lt_a_data TYPE TABLE OF ty_product.
PROTECTED SECTION.
-
DATA client TYPE REF TO z2ui5_if_client.
METHODS display_view
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS on_event
IMPORTING
client TYPE REF TO z2ui5_if_client.
+
METHODS z2ui5_display_popover
IMPORTING
id TYPE string.
@@ -34,23 +34,20 @@ CLASS z2ui5_cl_demo_app_302 DEFINITION
ENDCLASS.
-
CLASS z2ui5_cl_demo_app_302 IMPLEMENTATION.
-
METHOD display_view.
DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page(
- title = 'abap2UI5 - Sample: Object Attribute inside Table'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ )->page( title = 'abap2UI5 - Sample: Object Attribute inside Table'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
- )->button( id = `button_hint_id`
- icon = `sap-icon://hint`
- tooltip = `Sample information`
- press = client->_event( 'CLICK_HINT_ICON' ) ).
+ )->button( id = `button_hint_id`
+ icon = `sap-icon://hint`
+ tooltip = `Sample information`
+ press = client->_event( 'CLICK_HINT_ICON' ) ).
page->header_content(
)->link(
@@ -58,8 +55,8 @@ CLASS z2ui5_cl_demo_app_302 IMPLEMENTATION.
target = '_blank'
href = 'https://sapui5.hana.ondemand.com/sdk/#/entity/sap.m.ObjectAttribute/sample/sap.m.sample.ObjectAttributeInTable' ).
- page->table( id = `idProductsTable`
- items = client->_bind( lt_a_data )
+ page->table( id = `idProductsTable`
+ items = client->_bind( lt_a_data )
)->columns(
)->column(
)->text( text = `Products`
@@ -71,13 +68,10 @@ CLASS z2ui5_cl_demo_app_302 IMPLEMENTATION.
)->text( text = `Supplier (active)`
)->get_parent( )->get_parent(
)->column_list_item(
- )->object_identifier(
- text = '{PRODUCT}' )->get_parent(
- )->object_attribute(
- text = '{SUPPLIER}'
- )->object_attribute(
- text = '{SUPPLIER}'
- active = abap_true
+ )->object_identifier( text = '{PRODUCT}' )->get_parent(
+ )->object_attribute( text = '{SUPPLIER}'
+ )->object_attribute( text = '{SUPPLIER}'
+ active = abap_true
)->get_parent(
).
@@ -85,7 +79,6 @@ CLASS z2ui5_cl_demo_app_302 IMPLEMENTATION.
ENDMETHOD.
-
METHOD on_event.
CASE client->get( )-event.
@@ -94,28 +87,26 @@ CLASS z2ui5_cl_demo_app_302 IMPLEMENTATION.
WHEN 'CLICK_HINT_ICON'.
z2ui5_display_popover( `button_hint_id` ).
WHEN 'onPress'.
- client->message_toast_display( client->get_event_arg( 1 ) && ` marker pressed!` ).
+ client->message_toast_display( |{ client->get_event_arg( 1 ) } marker pressed!| ).
ENDCASE.
ENDMETHOD.
-
METHOD z2ui5_display_popover.
DATA(view) = z2ui5_cl_xml_view=>factory_popup( ).
- view->quick_view( placement = `Bottom` width = `auto`
- )->quick_view_page( pageid = `sampleInformationId`
- header = `Sample information`
+ view->quick_view( placement = `Bottom`
+ width = `auto`
+ )->quick_view_page( pageid = `sampleInformationId`
+ header = `Sample information`
description = `This is an example of Object Attribute used inside Table.` ).
- client->popover_display(
- xml = view->stringify( )
- by_id = id
+ client->popover_display( xml = view->stringify( )
+ by_id = id
).
ENDMETHOD.
-
METHOD z2ui5_if_app~main.
me->client = client.
@@ -124,21 +115,21 @@ CLASS z2ui5_cl_demo_app_302 IMPLEMENTATION.
check_initialized = abap_true.
display_view( client ).
- lt_a_data = VALUE #(
- ( product = 'Power Projector 4713' supplier = 'Robert Brown Entertainment' )
- ( product = 'HT-1022' supplier = 'Pear Computing Services' )
- ( product = 'Ergo Screen E-III' supplier = 'DelBont Industries' )
- ( product = 'Gladiator MX' supplier = 'Asia High tech' )
- ( product = 'Hurricane GX' supplier = 'Telecomunicaciones Star' )
- ( product = 'Notebook Basic 17' supplier = 'Pear Computing Services' )
- ( product = 'ITelO Vault SAT' supplier = 'New Line Design' )
- ( product = 'Hurricane GX' supplier = 'Robert Brown Entertainment' )
- ( product = 'Webcam' supplier = 'Getränkegroßhandel Janssen' )
- ( product = 'Deskjet Super Highspeed' supplier = 'Vente Et Réparation de Ordinateur' )
+ lt_a_data = VALUE #( ( product = 'Power Projector 4713' supplier = 'Robert Brown Entertainment' )
+ ( product = 'HT-1022' supplier = 'Pear Computing Services' )
+ ( product = 'Ergo Screen E-III' supplier = 'DelBont Industries' )
+ ( product = 'Gladiator MX' supplier = 'Asia High tech' )
+ ( product = 'Hurricane GX' supplier = 'Telecomunicaciones Star' )
+ ( product = 'Notebook Basic 17' supplier = 'Pear Computing Services' )
+ ( product = 'ITelO Vault SAT' supplier = 'New Line Design' )
+ ( product = 'Hurricane GX' supplier = 'Robert Brown Entertainment' )
+ ( product = 'Webcam' supplier = 'Getränkegroßhandel Janssen' )
+ ( product = 'Deskjet Super Highspeed' supplier = 'Vente Et Réparation de Ordinateur' )
).
ENDIF.
on_event( client ).
ENDMETHOD.
+
ENDCLASS.
diff --git a/src/z2ui5_cl_demo_app_303.clas.abap b/src/z2ui5_cl_demo_app_303.clas.abap
index 390ba95d..e16737d4 100644
--- a/src/z2ui5_cl_demo_app_303.clas.abap
+++ b/src/z2ui5_cl_demo_app_303.clas.abap
@@ -8,6 +8,7 @@ ENDCLASS.
CLASS z2ui5_cl_demo_app_303 IMPLEMENTATION.
+
METHOD z2ui5_if_app~main.
DATA(view) = z2ui5_cl_xml_view=>factory( ).
DATA(object_page_layout) = view->object_page_layout( showTitleInHeaderContent = `Title`
@@ -412,4 +413,5 @@ CLASS z2ui5_cl_demo_app_303 IMPLEMENTATION.
client->view_display( view->stringify( ) ).
ENDMETHOD.
+
ENDCLASS.
From 376ba5ac5ec5183078175f7f826cba69681ee99b Mon Sep 17 00:00:00 2001
From: oblomov-dev <102328295+oblomov-dev@users.noreply.github.com>
Date: Sun, 17 Nov 2024 10:34:37 +0000
Subject: [PATCH 2/2] fix
---
src/z2ui5_cl_demo_app_265.clas.abap | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/z2ui5_cl_demo_app_265.clas.abap b/src/z2ui5_cl_demo_app_265.clas.abap
index 23f74b70..684ce2a8 100644
--- a/src/z2ui5_cl_demo_app_265.clas.abap
+++ b/src/z2ui5_cl_demo_app_265.clas.abap
@@ -30,10 +30,10 @@ CLASS z2ui5_cl_demo_app_265 IMPLEMENTATION.
METHOD display_view.
- DATA(page) = z2ui5_cl_xml_view=>factory( )->shell(
- )->page( title = 'abap2UI5 - Sample: Code Editor'
- navbuttonpress = client->_event( 'BACK' )
- shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
+ DATA(page) = z2ui5_cl_xml_view=>factory( )->shell( ).
+ page->page( title = 'abap2UI5 - Sample: Code Editor'
+ navbuttonpress = client->_event( 'BACK' )
+ shownavbutton = xsdbool( client->get( )-s_draft-id_prev_app_stack IS NOT INITIAL ) ).
page->header_content(
)->button( id = `button_hint_id`
@@ -48,7 +48,7 @@ CLASS z2ui5_cl_demo_app_265 IMPLEMENTATION.
href = 'https://sapui5.hana.ondemand.com/sdk#/entity/sap.ui.codeeditor.CodeEditor/sample/sap.ui.codeeditor.sample.CodeEditor' ).
page->code_editor( type = `json`
- value = |\\\{ | &&
+ value = |\{ | &&
| "Chinese" : "你好世界", | &&
| "Dutch" : "Hallo wereld", | &&
| "English" : "Hello world", | &&