R_InitActionCode.model 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844
  1. {
  2. "csm": {
  3. "nodes": {
  4. "8": {
  5. "typename": {
  6. "type": "string",
  7. "value": "LHSIcon"
  8. },
  9. "position": {
  10. "type": "list<double>",
  11. "value": [
  12. 249,
  13. 177
  14. ]
  15. },
  16. "orientation": {
  17. "type": "double",
  18. "value": 0
  19. },
  20. "scale": {
  21. "type": "list<double>",
  22. "value": [
  23. 1,
  24. 1
  25. ]
  26. },
  27. "mapper": {
  28. "type": "code",
  29. "value": ""
  30. },
  31. "parser": {
  32. "type": "code",
  33. "value": ""
  34. },
  35. "$contents": {
  36. "type": "map<string,*>",
  37. "value": {
  38. "nodes": {
  39. "4": {
  40. "segments": {
  41. "type": "string",
  42. "value": "m0,0 l350,0 l100,250 l-100,250 l-350,0z"
  43. },
  44. "style": {
  45. "type": "map<string,string>",
  46. "value": {
  47. "stroke": "#000000",
  48. "stroke-dasharray": "",
  49. "fill": "#ffffff",
  50. "fill-opacity": 0.75,
  51. "stroke-width": 2,
  52. "arrow-start": "none",
  53. "arrow-end": "none"
  54. }
  55. },
  56. "mapper": {
  57. "type": "code",
  58. "value": ""
  59. },
  60. "parser": {
  61. "type": "code",
  62. "value": ""
  63. },
  64. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  65. "position": {
  66. "type": "list<double>",
  67. "value": [
  68. 1,
  69. 0
  70. ]
  71. },
  72. "orientation": {
  73. "type": "double",
  74. "value": 0
  75. },
  76. "scale": {
  77. "type": "list<double>",
  78. "value": [
  79. 1,
  80. 1
  81. ]
  82. }
  83. }
  84. },
  85. "edges": []
  86. }
  87. },
  88. "$asuri": {
  89. "type": "string",
  90. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS/8.instance"
  91. },
  92. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon"
  93. },
  94. "9": {
  95. "typename": {
  96. "type": "string",
  97. "value": "RHSIcon"
  98. },
  99. "position": {
  100. "type": "list<double>",
  101. "value": [
  102. 609,
  103. 176
  104. ]
  105. },
  106. "orientation": {
  107. "type": "double",
  108. "value": 0
  109. },
  110. "scale": {
  111. "type": "list<double>",
  112. "value": [
  113. 1,
  114. 1
  115. ]
  116. },
  117. "mapper": {
  118. "type": "code",
  119. "value": ""
  120. },
  121. "parser": {
  122. "type": "code",
  123. "value": ""
  124. },
  125. "$contents": {
  126. "type": "map<string,*>",
  127. "value": {
  128. "nodes": {
  129. "7": {
  130. "segments": {
  131. "type": "string",
  132. "value": "m0,0 l450,0 l0,500 l-450,0 l100,-250z"
  133. },
  134. "style": {
  135. "type": "map<string,string>",
  136. "value": {
  137. "stroke": "#000000",
  138. "stroke-dasharray": "",
  139. "fill": "#ffffff",
  140. "fill-opacity": 0.75,
  141. "stroke-width": 2,
  142. "arrow-start": "none",
  143. "arrow-end": "none"
  144. }
  145. },
  146. "mapper": {
  147. "type": "code",
  148. "value": ""
  149. },
  150. "parser": {
  151. "type": "code",
  152. "value": ""
  153. },
  154. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  155. "position": {
  156. "type": "list<double>",
  157. "value": [
  158. 0,
  159. 0
  160. ]
  161. },
  162. "orientation": {
  163. "type": "double",
  164. "value": 0
  165. },
  166. "scale": {
  167. "type": "list<double>",
  168. "value": [
  169. 1,
  170. 1
  171. ]
  172. }
  173. }
  174. },
  175. "edges": []
  176. }
  177. },
  178. "$asuri": {
  179. "type": "string",
  180. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS/9.instance"
  181. },
  182. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon"
  183. },
  184. "10": {
  185. "typename": {
  186. "type": "string",
  187. "value": "FileIcon"
  188. },
  189. "position": {
  190. "type": "list<double>",
  191. "value": [
  192. 830,
  193. 352
  194. ]
  195. },
  196. "orientation": {
  197. "type": "double",
  198. "value": 0
  199. },
  200. "scale": {
  201. "type": "list<double>",
  202. "value": [
  203. 1,
  204. 1
  205. ]
  206. },
  207. "mapper": {
  208. "type": "code",
  209. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  210. },
  211. "parser": {
  212. "type": "code",
  213. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  214. },
  215. "$contents": {
  216. "type": "map<string,*>",
  217. "value": {
  218. "nodes": {
  219. "22": {
  220. "segments": {
  221. "type": "string",
  222. "value": "m0,0 l60,0 l30,30 l0,90 l-90,0 l0,-120 l60,0 l0,30 l30,0"
  223. },
  224. "style": {
  225. "type": "map<string,string>",
  226. "value": {
  227. "stroke": "#000000",
  228. "stroke-dasharray": "",
  229. "fill": "#ffffff",
  230. "fill-opacity": 0.75,
  231. "font-size": "20px",
  232. "stroke-width": 3,
  233. "arrow-start": "none",
  234. "arrow-end": "none"
  235. }
  236. },
  237. "mapper": {
  238. "type": "code",
  239. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  240. },
  241. "parser": {
  242. "type": "code",
  243. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  244. },
  245. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  246. "position": {
  247. "type": "list<double>",
  248. "value": [
  249. 2,
  250. 1
  251. ]
  252. },
  253. "orientation": {
  254. "type": "double",
  255. "value": 0
  256. },
  257. "scale": {
  258. "type": "list<double>",
  259. "value": [
  260. 1,
  261. 1
  262. ]
  263. }
  264. },
  265. "23": {
  266. "textContent": {
  267. "type": "string",
  268. "value": "ActionCode.java"
  269. },
  270. "style": {
  271. "type": "map<string,string>",
  272. "value": {
  273. "stroke": "#000000",
  274. "fill": "#ffffff",
  275. "fill-opacity": 0.75,
  276. "font-size": "13px"
  277. }
  278. },
  279. "mapper": {
  280. "type": "code",
  281. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  282. },
  283. "parser": {
  284. "type": "code",
  285. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  286. },
  287. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  288. "position": {
  289. "type": "list<double>",
  290. "value": [
  291. 4,
  292. 126
  293. ]
  294. },
  295. "orientation": {
  296. "type": "double",
  297. "value": 0
  298. },
  299. "scale": {
  300. "type": "list<double>",
  301. "value": [
  302. 1,
  303. 1
  304. ]
  305. }
  306. },
  307. "24": {
  308. "distance": {
  309. "type": "double",
  310. "value": 5
  311. },
  312. "alignment": {
  313. "type": "ENUM(\"right\",\"left\",\"center\")",
  314. "value": "\"left\""
  315. },
  316. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  317. "position": {
  318. "type": "list<double>",
  319. "value": [
  320. 27.99899850809561,
  321. 117.99900000000002
  322. ]
  323. },
  324. "orientation": {
  325. "type": "double",
  326. "value": 0
  327. },
  328. "scale": {
  329. "type": "list<double>",
  330. "value": [
  331. 1,
  332. 1
  333. ]
  334. },
  335. "link-style": {
  336. "type": "map<string,string>",
  337. "value": {
  338. "stroke": "#00ff00",
  339. "stroke-dasharray": "",
  340. "stroke-opacity": 1,
  341. "arrow-start": "none",
  342. "arrow-end": "classic-wide-long"
  343. }
  344. }
  345. },
  346. "__pLabelText": {
  347. "position": {
  348. "type": "list<double>",
  349. "value": [
  350. 0,
  351. 0
  352. ]
  353. },
  354. "orientation": {
  355. "type": "double",
  356. "value": 0
  357. },
  358. "scale": {
  359. "type": "list<double>",
  360. "value": [
  361. 1,
  362. 1
  363. ]
  364. },
  365. "textContent": {
  366. "type": "string",
  367. "value": "0"
  368. },
  369. "style": {
  370. "type": "map<string,string>",
  371. "value": {
  372. "stroke": "#6000ff",
  373. "fill": "#6000ff",
  374. "font-size": "15px",
  375. "opacity": "1"
  376. }
  377. },
  378. "mapper": {
  379. "type": "code",
  380. "value": "({'textContent':getAttr('__pLabel')})"
  381. },
  382. "parser": {
  383. "type": "code",
  384. "value": "({'__pLabel':getAttr('textContent')})"
  385. },
  386. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  387. }
  388. },
  389. "edges": [
  390. {
  391. "src": "23",
  392. "dest": "24"
  393. },
  394. {
  395. "src": "24",
  396. "dest": "22"
  397. }
  398. ]
  399. }
  400. },
  401. "$asuri": {
  402. "type": "string",
  403. "value": "/Formalisms/__Utilities__/FileSystem/FileSystem.pattern/__pFile/10.instance"
  404. },
  405. "$type": "/Formalisms/__Utilities__/FileSystem/FileSystem.defaultIcons.pattern/__pFileIcon"
  406. },
  407. "11": {
  408. "link-style": {
  409. "type": "map<string,string>",
  410. "value": {
  411. "stroke": "#00ff00",
  412. "stroke-dasharray": "",
  413. "stroke-opacity": 0.2,
  414. "stroke-width": 1,
  415. "arrow-start": "none",
  416. "arrow-end": "classic-wide-long"
  417. }
  418. },
  419. "typename": {
  420. "type": "string",
  421. "value": "PatternContentsLink"
  422. },
  423. "position": {
  424. "type": "list<double>",
  425. "value": [
  426. 742.4989985080956,
  427. 299.499
  428. ]
  429. },
  430. "orientation": {
  431. "type": "double",
  432. "value": 0
  433. },
  434. "scale": {
  435. "type": "list<double>",
  436. "value": [
  437. 1,
  438. 1
  439. ]
  440. },
  441. "mapper": {
  442. "type": "code",
  443. "value": ""
  444. },
  445. "parser": {
  446. "type": "code",
  447. "value": ""
  448. },
  449. "$contents": {
  450. "type": "map<string,*>",
  451. "value": {
  452. "nodes": {},
  453. "edges": []
  454. }
  455. },
  456. "$asuri": {
  457. "type": "string",
  458. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/11.instance"
  459. },
  460. "$segments": {
  461. "type": "map<string,list<string>>",
  462. "value": {
  463. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/RHSIcon/9.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/11.instance": "M609,176L742.5,299.5",
  464. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/11.instance--/Formalisms/__Utilities__/FileSystem/FileSystem.defaultIcons.pattern/__pFileIcon/10.instance": "M742.5549829232818,299.5508643522496L875.9994532076514,422.9994941658797"
  465. }
  466. },
  467. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  468. },
  469. "15": {
  470. "typename": {
  471. "type": "string",
  472. "value": "FileIcon"
  473. },
  474. "position": {
  475. "type": "list<double>",
  476. "value": [
  477. 392,
  478. 351
  479. ]
  480. },
  481. "orientation": {
  482. "type": "double",
  483. "value": 0
  484. },
  485. "scale": {
  486. "type": "list<double>",
  487. "value": [
  488. 1,
  489. 1
  490. ]
  491. },
  492. "mapper": {
  493. "type": "code",
  494. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  495. },
  496. "parser": {
  497. "type": "code",
  498. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  499. },
  500. "$contents": {
  501. "type": "map<string,*>",
  502. "value": {
  503. "nodes": {
  504. "22": {
  505. "segments": {
  506. "type": "string",
  507. "value": "m0,0 l60,0 l30,30 l0,90 l-90,0 l0,-120 l60,0 l0,30 l30,0"
  508. },
  509. "style": {
  510. "type": "map<string,string>",
  511. "value": {
  512. "stroke": "#000000",
  513. "stroke-dasharray": "",
  514. "fill": "#ffffff",
  515. "fill-opacity": 0.75,
  516. "font-size": "20px",
  517. "stroke-width": 3,
  518. "arrow-start": "none",
  519. "arrow-end": "none"
  520. }
  521. },
  522. "mapper": {
  523. "type": "code",
  524. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  525. },
  526. "parser": {
  527. "type": "code",
  528. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  529. },
  530. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path",
  531. "position": {
  532. "type": "list<double>",
  533. "value": [
  534. 2,
  535. 1
  536. ]
  537. },
  538. "orientation": {
  539. "type": "double",
  540. "value": 0
  541. },
  542. "scale": {
  543. "type": "list<double>",
  544. "value": [
  545. 1,
  546. 1
  547. ]
  548. }
  549. },
  550. "23": {
  551. "textContent": {
  552. "type": "string",
  553. "value": "ActionCode.java"
  554. },
  555. "style": {
  556. "type": "map<string,string>",
  557. "value": {
  558. "stroke": "#000000",
  559. "fill": "#ffffff",
  560. "fill-opacity": 0.75,
  561. "font-size": "13px"
  562. }
  563. },
  564. "mapper": {
  565. "type": "code",
  566. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  567. },
  568. "parser": {
  569. "type": "code",
  570. "value": "/* mapping and parsing code is disabled by default because pattern attribute values are code */"
  571. },
  572. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  573. "position": {
  574. "type": "list<double>",
  575. "value": [
  576. 4,
  577. 126
  578. ]
  579. },
  580. "orientation": {
  581. "type": "double",
  582. "value": 0
  583. },
  584. "scale": {
  585. "type": "list<double>",
  586. "value": [
  587. 1,
  588. 1
  589. ]
  590. }
  591. },
  592. "24": {
  593. "distance": {
  594. "type": "double",
  595. "value": 5
  596. },
  597. "alignment": {
  598. "type": "ENUM(\"right\",\"left\",\"center\")",
  599. "value": "\"left\""
  600. },
  601. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Below",
  602. "position": {
  603. "type": "list<double>",
  604. "value": [
  605. 27.99899850809561,
  606. 117.99900000000002
  607. ]
  608. },
  609. "orientation": {
  610. "type": "double",
  611. "value": 0
  612. },
  613. "scale": {
  614. "type": "list<double>",
  615. "value": [
  616. 1,
  617. 1
  618. ]
  619. },
  620. "link-style": {
  621. "type": "map<string,string>",
  622. "value": {
  623. "stroke": "#00ff00",
  624. "stroke-dasharray": "",
  625. "stroke-opacity": 1,
  626. "arrow-start": "none",
  627. "arrow-end": "classic-wide-long"
  628. }
  629. }
  630. },
  631. "__pLabelText": {
  632. "position": {
  633. "type": "list<double>",
  634. "value": [
  635. 0,
  636. 0
  637. ]
  638. },
  639. "orientation": {
  640. "type": "double",
  641. "value": 0
  642. },
  643. "scale": {
  644. "type": "list<double>",
  645. "value": [
  646. 1,
  647. 1
  648. ]
  649. },
  650. "textContent": {
  651. "type": "string",
  652. "value": "0"
  653. },
  654. "style": {
  655. "type": "map<string,string>",
  656. "value": {
  657. "stroke": "#6000ff",
  658. "fill": "#6000ff",
  659. "font-size": "15px",
  660. "opacity": "1"
  661. }
  662. },
  663. "mapper": {
  664. "type": "code",
  665. "value": "({'textContent':getAttr('__pLabel')})"
  666. },
  667. "parser": {
  668. "type": "code",
  669. "value": "({'__pLabel':getAttr('textContent')})"
  670. },
  671. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text"
  672. }
  673. },
  674. "edges": [
  675. {
  676. "src": "23",
  677. "dest": "24"
  678. },
  679. {
  680. "src": "24",
  681. "dest": "22"
  682. }
  683. ]
  684. }
  685. },
  686. "$asuri": {
  687. "type": "string",
  688. "value": "/Formalisms/__Utilities__/FileSystem/FileSystem.pattern/__pFile/15.instance"
  689. },
  690. "$type": "/Formalisms/__Utilities__/FileSystem/FileSystem.defaultIcons.pattern/__pFileIcon"
  691. },
  692. "16": {
  693. "link-style": {
  694. "type": "map<string,string>",
  695. "value": {
  696. "stroke": "#00ff00",
  697. "stroke-dasharray": "",
  698. "stroke-opacity": 0.2,
  699. "stroke-width": 1,
  700. "arrow-start": "none",
  701. "arrow-end": "classic-wide-long"
  702. }
  703. },
  704. "typename": {
  705. "type": "string",
  706. "value": "PatternContentsLink"
  707. },
  708. "position": {
  709. "type": "list<double>",
  710. "value": [
  711. "346.09260448884186,50%",
  712. "299.61816718628256,50%"
  713. ]
  714. },
  715. "orientation": {
  716. "type": "double",
  717. "value": 0
  718. },
  719. "scale": {
  720. "type": "list<double>",
  721. "value": [
  722. 1,
  723. 1
  724. ]
  725. },
  726. "mapper": {
  727. "type": "code",
  728. "value": ""
  729. },
  730. "parser": {
  731. "type": "code",
  732. "value": ""
  733. },
  734. "$contents": {
  735. "type": "map<string,*>",
  736. "value": {
  737. "nodes": {},
  738. "edges": []
  739. }
  740. },
  741. "$asuri": {
  742. "type": "string",
  743. "value": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents/16.instance"
  744. },
  745. "$segments": {
  746. "type": "map<string,list<string>>",
  747. "value": {
  748. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/LHSIcon/8.instance--/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/16.instance": "M250,177L346.09260448884186,299.61816718628256",
  749. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink/16.instance--/Formalisms/__Utilities__/FileSystem/FileSystem.defaultIcons.pattern/__pFileIcon/15.instance": "M346.04612359102407,299.558855623963L441.9994643700708,421.9993165138925"
  750. }
  751. },
  752. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons/PatternContentsLink"
  753. }
  754. },
  755. "edges": [],
  756. "metamodels": [
  757. "/Formalisms/__Transformations__/TransformationRule/TransformationRule.defaultIcons",
  758. "/Formalisms/__Utilities__/FileSystem/FileSystem.defaultIcons.pattern"
  759. ]
  760. },
  761. "asm": {
  762. "nodes": {
  763. "8": {
  764. "Condition": {
  765. "type": "code",
  766. "value": "true"
  767. },
  768. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/LHS"
  769. },
  770. "9": {
  771. "Action": {
  772. "type": "code",
  773. "value": ""
  774. },
  775. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/RHS"
  776. },
  777. "10": {
  778. "__pLabel": {
  779. "type": "string",
  780. "value": "0"
  781. },
  782. "__pMatchSubtypes": {
  783. "type": "boolean"
  784. },
  785. "content": {
  786. "type": "code",
  787. "value": "getAttr()+\n'/* IMPORTS */\\n'+\n'\\n'+\n'public class ActionCode implements IArtifact {\\n'+\n' private Main exec;\\n'+\n' public ActionCode(Main exec) {\\n'+\n' this.exec = exec;\\n'+\n' EventManager.register(\"ActionCode\",this);\\n'+\n' }\\n'+\n'\\n'+\n' public void handleEvent(ArtifactEvent ev)\\n'+\n' {\\n'+\n' if( ev.msg.equals(\"runCode\") )\\n'+\n' try {\\n'+\n' Class.forName(\"ActionCode$ActionCodeCode_\"+ev.id).getConstructor(ActionCode.class).newInstance(this);}\\n'+\n' catch(ClassNotFoundException e) {}\\n'+\n' catch(Exception ex) {System.exit(1);}\\n'+\n' }\\n'+\n'\\n'+\n' public void propagateReturnedValue(String id, String ret) {\\n'+\n' EventManager.propagateEvent(\\n'+\n' new ArtifactEvent(\\n'+\n' id,\\n'+\n' \"codeProduced\",\\n'+\n' ret ));\\n'+\n' }\\n'+\n'\\n'+\n' /* ACTION CODE */\\n'+\n'}'"
  788. },
  789. "path": {
  790. "type": "code",
  791. "value": "getAttr()"
  792. },
  793. "$type": "/Formalisms/__Utilities__/FileSystem/FileSystem.pattern/__pFile"
  794. },
  795. "11": {
  796. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  797. },
  798. "15": {
  799. "__pLabel": {
  800. "type": "string",
  801. "value": "0"
  802. },
  803. "__pMatchSubtypes": {
  804. "type": "boolean",
  805. "value": false
  806. },
  807. "content": {
  808. "type": "code",
  809. "value": "true"
  810. },
  811. "path": {
  812. "type": "code",
  813. "value": "getAttr()=='./ActionCode.java'"
  814. },
  815. "$type": "/Formalisms/__Utilities__/FileSystem/FileSystem.pattern/__pFile"
  816. },
  817. "16": {
  818. "$type": "/Formalisms/__Transformations__/TransformationRule/TransformationRule/PatternContents"
  819. }
  820. },
  821. "edges": [
  822. {
  823. "src": "9",
  824. "dest": "11"
  825. },
  826. {
  827. "src": "11",
  828. "dest": "10"
  829. },
  830. {
  831. "src": "8",
  832. "dest": "16"
  833. },
  834. {
  835. "src": "16",
  836. "dest": "15"
  837. }
  838. ],
  839. "metamodels": [
  840. "/Formalisms/__Transformations__/TransformationRule/TransformationRule",
  841. "/Formalisms/__Utilities__/FileSystem/FileSystem.pattern"
  842. ]
  843. }
  844. }