GUI.defaultIcons.metamodel 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948
  1. {
  2. "types": {
  3. "LabelIcon": [
  4. {
  5. "name": "typename",
  6. "type": "string",
  7. "default": "LabelIcon"
  8. },
  9. {
  10. "name": "position",
  11. "type": "list<double>",
  12. "default": [
  13. 751,
  14. 175
  15. ]
  16. },
  17. {
  18. "name": "orientation",
  19. "type": "double",
  20. "default": 0
  21. },
  22. {
  23. "name": "scale",
  24. "type": "list<double>",
  25. "default": [
  26. 1,
  27. 1
  28. ]
  29. },
  30. {
  31. "name": "mapper",
  32. "type": "code",
  33. "default": "({'position':getAttr('position')})"
  34. },
  35. {
  36. "name": "parser",
  37. "type": "code",
  38. "default": "({'position':getAttr('position')})"
  39. },
  40. {
  41. "name": "$contents",
  42. "type": "map<string,*>",
  43. "default": {
  44. "nodes": {
  45. "12": {
  46. "textContent": {
  47. "type": "string",
  48. "value": "T..."
  49. },
  50. "style": {
  51. "type": "map<string,string>",
  52. "value": {
  53. "stroke": "#000000",
  54. "stroke-dasharray": "",
  55. "fill": "#ffffff",
  56. "fill-opacity": 0.75,
  57. "font-size": "15px",
  58. "stroke-width": 1,
  59. "arrow-start": "none",
  60. "arrow-end": "none"
  61. }
  62. },
  63. "mapper": {
  64. "type": "code",
  65. "value": "({'textContent':getAttr('text') || 'T...'})\n"
  66. },
  67. "parser": {
  68. "type": "code",
  69. "value": "({'text':getAttr('textContent')})\n"
  70. },
  71. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  72. "position": {
  73. "type": "list<double>",
  74. "value": [
  75. 0,
  76. -2
  77. ]
  78. },
  79. "orientation": {
  80. "type": "double",
  81. "value": 0
  82. },
  83. "scale": {
  84. "type": "list<double>",
  85. "value": [
  86. 1,
  87. 1
  88. ]
  89. }
  90. }
  91. },
  92. "edges": []
  93. }
  94. },
  95. {
  96. "name": "$asuri",
  97. "type": "string",
  98. "default": "-1"
  99. }
  100. ],
  101. "ContainerIcon": [
  102. {
  103. "name": "typename",
  104. "type": "string",
  105. "default": "ContainerIcon"
  106. },
  107. {
  108. "name": "position",
  109. "type": "list<double>",
  110. "default": [
  111. 301,
  112. 125
  113. ]
  114. },
  115. {
  116. "name": "orientation",
  117. "type": "double",
  118. "default": 0
  119. },
  120. {
  121. "name": "scale",
  122. "type": "list<double>",
  123. "default": [
  124. 1,
  125. 1
  126. ]
  127. },
  128. {
  129. "name": "mapper",
  130. "type": "code",
  131. "default": "({'position':getAttr('position')})"
  132. },
  133. {
  134. "name": "parser",
  135. "type": "code",
  136. "default": "({'position':getAttr('position')})"
  137. },
  138. {
  139. "name": "$contents",
  140. "type": "map<string,*>",
  141. "default": {
  142. "nodes": {
  143. "3": {
  144. "width": {
  145. "type": "double",
  146. "value": 130
  147. },
  148. "height": {
  149. "type": "double",
  150. "value": 130
  151. },
  152. "cornerRadius": {
  153. "type": "double",
  154. "value": 10
  155. },
  156. "style": {
  157. "type": "map<string,string>",
  158. "value": {
  159. "stroke": "#cccccc",
  160. "stroke-dasharray": "- ",
  161. "fill": "#ffffff",
  162. "fill-opacity": 0.75,
  163. "font-size": "20px",
  164. "stroke-width": 1,
  165. "arrow-start": "none",
  166. "arrow-end": "none"
  167. }
  168. },
  169. "mapper": {
  170. "type": "code",
  171. "value": ""
  172. },
  173. "parser": {
  174. "type": "code",
  175. "value": ""
  176. },
  177. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  178. "position": {
  179. "type": "list<double>",
  180. "value": [
  181. 0,
  182. 0
  183. ]
  184. },
  185. "orientation": {
  186. "type": "double",
  187. "value": 0
  188. },
  189. "scale": {
  190. "type": "list<double>",
  191. "value": [
  192. 1,
  193. 1
  194. ]
  195. }
  196. }
  197. },
  198. "edges": []
  199. }
  200. },
  201. {
  202. "name": "$asuri",
  203. "type": "string",
  204. "default": "-1"
  205. }
  206. ],
  207. "InputIcon": [
  208. {
  209. "name": "typename",
  210. "type": "string",
  211. "default": "InputIcon"
  212. },
  213. {
  214. "name": "position",
  215. "type": "list<double>",
  216. "default": [
  217. 976,
  218. 200
  219. ]
  220. },
  221. {
  222. "name": "orientation",
  223. "type": "double",
  224. "default": 0
  225. },
  226. {
  227. "name": "scale",
  228. "type": "list<double>",
  229. "default": [
  230. 1,
  231. 1
  232. ]
  233. },
  234. {
  235. "name": "mapper",
  236. "type": "code",
  237. "default": "({'position':getAttr('position')})"
  238. },
  239. {
  240. "name": "parser",
  241. "type": "code",
  242. "default": "({'position':getAttr('position')})"
  243. },
  244. {
  245. "name": "$contents",
  246. "type": "map<string,*>",
  247. "default": {
  248. "nodes": {
  249. "28": {
  250. "width": {
  251. "type": "double",
  252. "value": 85
  253. },
  254. "height": {
  255. "type": "double",
  256. "value": 25
  257. },
  258. "cornerRadius": {
  259. "type": "double",
  260. "value": 0
  261. },
  262. "style": {
  263. "type": "map<string,string>",
  264. "value": {
  265. "stroke": "#000000",
  266. "stroke-dasharray": "",
  267. "fill": "#ffffff",
  268. "fill-opacity": 0.75,
  269. "font-size": "20px",
  270. "stroke-width": 1,
  271. "arrow-start": "none",
  272. "arrow-end": "none"
  273. }
  274. },
  275. "mapper": {
  276. "type": "code",
  277. "value": ""
  278. },
  279. "parser": {
  280. "type": "code",
  281. "value": ""
  282. },
  283. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  284. "position": {
  285. "type": "list<double>",
  286. "value": [
  287. 1,
  288. -1
  289. ]
  290. },
  291. "orientation": {
  292. "type": "double",
  293. "value": 0
  294. },
  295. "scale": {
  296. "type": "list<double>",
  297. "value": [
  298. 1,
  299. 1
  300. ]
  301. }
  302. },
  303. "29": {
  304. "textContent": {
  305. "type": "string",
  306. "value": "... |"
  307. },
  308. "style": {
  309. "type": "map<string,string>",
  310. "value": {
  311. "stroke": "#000000",
  312. "stroke-dasharray": "",
  313. "fill": "#ffffff",
  314. "fill-opacity": 0.75,
  315. "font-size": "15px",
  316. "stroke-width": 1,
  317. "arrow-start": "none",
  318. "arrow-end": "none"
  319. }
  320. },
  321. "mapper": {
  322. "type": "code",
  323. "value": ""
  324. },
  325. "parser": {
  326. "type": "code",
  327. "value": ""
  328. },
  329. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  330. "position": {
  331. "type": "list<double>",
  332. "value": [
  333. 3,
  334. 0
  335. ]
  336. },
  337. "orientation": {
  338. "type": "double",
  339. "value": 0
  340. },
  341. "scale": {
  342. "type": "list<double>",
  343. "value": [
  344. 1,
  345. 1
  346. ]
  347. }
  348. },
  349. "30": {
  350. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  351. "position": {
  352. "type": "list<double>",
  353. "value": [
  354. 6.99899850809561,
  355. 5.999000000000024
  356. ]
  357. },
  358. "orientation": {
  359. "type": "double",
  360. "value": 0
  361. },
  362. "scale": {
  363. "type": "list<double>",
  364. "value": [
  365. 1,
  366. 1
  367. ]
  368. },
  369. "link-style": {
  370. "type": "map<string,string>",
  371. "value": {
  372. "stroke": "#00ffff",
  373. "stroke-dasharray": "",
  374. "stroke-opacity": 0.1,
  375. "arrow-start": "none",
  376. "arrow-end": "classic-wide-long"
  377. }
  378. }
  379. }
  380. },
  381. "edges": [
  382. {
  383. "src": "28",
  384. "dest": "30"
  385. },
  386. {
  387. "src": "30",
  388. "dest": "29"
  389. }
  390. ]
  391. }
  392. },
  393. {
  394. "name": "$asuri",
  395. "type": "string",
  396. "default": "-1"
  397. }
  398. ],
  399. "ButtonIcon": [
  400. {
  401. "name": "typename",
  402. "type": "string",
  403. "default": "ButtonIcon"
  404. },
  405. {
  406. "name": "position",
  407. "type": "list<double>",
  408. "default": [
  409. 525,
  410. 150
  411. ]
  412. },
  413. {
  414. "name": "orientation",
  415. "type": "double",
  416. "default": 0
  417. },
  418. {
  419. "name": "scale",
  420. "type": "list<double>",
  421. "default": [
  422. 1,
  423. 1
  424. ]
  425. },
  426. {
  427. "name": "mapper",
  428. "type": "code",
  429. "default": "({'position':getAttr('position')})"
  430. },
  431. {
  432. "name": "parser",
  433. "type": "code",
  434. "default": "({'position':getAttr('position')})"
  435. },
  436. {
  437. "name": "$contents",
  438. "type": "map<string,*>",
  439. "default": {
  440. "nodes": {
  441. "6": {
  442. "width": {
  443. "type": "double",
  444. "value": 85
  445. },
  446. "height": {
  447. "type": "double",
  448. "value": 35
  449. },
  450. "cornerRadius": {
  451. "type": "double",
  452. "value": 15
  453. },
  454. "style": {
  455. "type": "map<string,string>",
  456. "value": {
  457. "stroke": "#ADD8E6",
  458. "stroke-dasharray": "",
  459. "fill": "#E6E6FA",
  460. "fill-opacity": 0.75,
  461. "font-size": "20px",
  462. "stroke-width": 1,
  463. "arrow-start": "none",
  464. "arrow-end": "none"
  465. }
  466. },
  467. "mapper": {
  468. "type": "code",
  469. "value": ""
  470. },
  471. "parser": {
  472. "type": "code",
  473. "value": ""
  474. },
  475. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  476. "position": {
  477. "type": "list<double>",
  478. "value": [
  479. 0,
  480. -2
  481. ]
  482. },
  483. "orientation": {
  484. "type": "double",
  485. "value": 0
  486. },
  487. "scale": {
  488. "type": "list<double>",
  489. "value": [
  490. 1,
  491. 1
  492. ]
  493. }
  494. },
  495. "8": {
  496. "textContent": {
  497. "type": "string",
  498. "value": "<coded>"
  499. },
  500. "style": {
  501. "type": "map<string,string>",
  502. "value": {
  503. "stroke": "#666666",
  504. "stroke-dasharray": "",
  505. "fill": "#000000",
  506. "fill-opacity": 0.75,
  507. "font-size": "13px",
  508. "stroke-width": 1,
  509. "arrow-start": "none",
  510. "arrow-end": "none"
  511. }
  512. },
  513. "mapper": {
  514. "type": "code",
  515. "value": "({'textContent':getAttr('text')})"
  516. },
  517. "parser": {
  518. "type": "code",
  519. "value": "({'text':getAttr('textContent')})"
  520. },
  521. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  522. "position": {
  523. "type": "list<double>",
  524. "value": [
  525. 7,
  526. 6
  527. ]
  528. },
  529. "orientation": {
  530. "type": "double",
  531. "value": 0
  532. },
  533. "scale": {
  534. "type": "list<double>",
  535. "value": [
  536. 1,
  537. 1
  538. ]
  539. }
  540. },
  541. "14": {
  542. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain",
  543. "position": {
  544. "type": "list<double>",
  545. "value": [
  546. 16.384413781586773,
  547. 7.5698326045953195
  548. ]
  549. },
  550. "orientation": {
  551. "type": "double",
  552. "value": 0
  553. },
  554. "scale": {
  555. "type": "list<double>",
  556. "value": [
  557. 1,
  558. 1
  559. ]
  560. },
  561. "link-style": {
  562. "type": "map<string,string>",
  563. "value": {
  564. "stroke": "#00ffff",
  565. "stroke-dasharray": "",
  566. "stroke-opacity": 0.1,
  567. "arrow-start": "none",
  568. "arrow-end": "classic-wide-long"
  569. }
  570. }
  571. }
  572. },
  573. "edges": [
  574. {
  575. "src": "6",
  576. "dest": "14"
  577. },
  578. {
  579. "src": "14",
  580. "dest": "8"
  581. }
  582. ]
  583. }
  584. },
  585. {
  586. "name": "$asuri",
  587. "type": "string",
  588. "default": "-1"
  589. }
  590. ],
  591. "CanvasIcon": [
  592. {
  593. "name": "typename",
  594. "type": "string",
  595. "default": "CanvasIcon"
  596. },
  597. {
  598. "name": "position",
  599. "type": "list<double>",
  600. "default": [
  601. 48,
  602. 101
  603. ]
  604. },
  605. {
  606. "name": "orientation",
  607. "type": "double",
  608. "default": 0
  609. },
  610. {
  611. "name": "scale",
  612. "type": "list<double>",
  613. "default": [
  614. 1,
  615. 1
  616. ]
  617. },
  618. {
  619. "name": "mapper",
  620. "type": "code",
  621. "default": ""
  622. },
  623. {
  624. "name": "parser",
  625. "type": "code",
  626. "default": ""
  627. },
  628. {
  629. "name": "$contents",
  630. "type": "map<string,*>",
  631. "default": {
  632. "nodes": {
  633. "13": {
  634. "width": {
  635. "type": "double",
  636. "value": 175
  637. },
  638. "height": {
  639. "type": "double",
  640. "value": 175
  641. },
  642. "cornerRadius": {
  643. "type": "double",
  644. "value": 10
  645. },
  646. "style": {
  647. "type": "map<string,string>",
  648. "value": {
  649. "fill": "#ffffff",
  650. "fill-opacity": 0.75,
  651. "font-size": "20px",
  652. "stroke-width": 3
  653. }
  654. },
  655. "mapper": {
  656. "type": "code",
  657. "value": ""
  658. },
  659. "parser": {
  660. "type": "code",
  661. "value": ""
  662. },
  663. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle",
  664. "position": {
  665. "type": "list<double>",
  666. "value": [
  667. 1,
  668. 0
  669. ]
  670. },
  671. "orientation": {
  672. "type": "double",
  673. "value": 0
  674. },
  675. "scale": {
  676. "type": "list<double>",
  677. "value": [
  678. 1,
  679. 1
  680. ]
  681. }
  682. }
  683. },
  684. "edges": []
  685. }
  686. },
  687. {
  688. "name": "$asuri",
  689. "type": "string",
  690. "default": "-1"
  691. }
  692. ],
  693. "ListIcon": [
  694. {
  695. "name": "typename",
  696. "type": "string",
  697. "default": "ListIcon"
  698. },
  699. {
  700. "name": "position",
  701. "type": "list<double>",
  702. "default": [
  703. 1201,
  704. 226
  705. ]
  706. },
  707. {
  708. "name": "orientation",
  709. "type": "double",
  710. "default": 0
  711. },
  712. {
  713. "name": "scale",
  714. "type": "list<double>",
  715. "default": [
  716. 1,
  717. 1
  718. ]
  719. },
  720. {
  721. "name": "mapper",
  722. "type": "code",
  723. "default": "({'position':getAttr('position')})"
  724. },
  725. {
  726. "name": "parser",
  727. "type": "code",
  728. "default": "({'position':getAttr('position')})"
  729. },
  730. {
  731. "name": "$contents",
  732. "type": "map<string,*>",
  733. "default": {
  734. "nodes": {
  735. "4": {
  736. "textContent": {
  737. "type": "string",
  738. "value": "1, 2, 3, ..."
  739. },
  740. "style": {
  741. "type": "map<string,string>",
  742. "value": {
  743. "stroke": "#000000",
  744. "fill-opacity": 0.75,
  745. "fill": "#ffffff",
  746. "font-size": "15px"
  747. }
  748. },
  749. "mapper": {
  750. "type": "code",
  751. "value": "var choices = getAttr('choices'),\n style = {\n \"stroke\": \"#000000\",\n \"fill-opacity\": 0.75,\n \"fill\": \"#ffffff\",\n \"font-size\": \"15px\"\n },\n val = '';\n\nif( choices.length == 0 )\n val = '1, 2, 3, ...';\nelse\n{\n choices.forEach(\n function(c,i)\n {\n val += (i+1)+'. '+c+'\\n';\n });\n val = val.substr(0,val.length-1);\n}\n\nif( getAttr('clickable') )\n style['stroke'] = '#0000ff';\n \n\n({'textContent':val,'style':style})"
  752. },
  753. "parser": {
  754. "type": "code",
  755. "value": ""
  756. },
  757. "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text",
  758. "position": {
  759. "type": "list<double>",
  760. "value": [
  761. 0,
  762. -3
  763. ]
  764. },
  765. "orientation": {
  766. "type": "double",
  767. "value": 0
  768. },
  769. "scale": {
  770. "type": "list<double>",
  771. "value": [
  772. 1,
  773. 1
  774. ]
  775. }
  776. }
  777. },
  778. "edges": []
  779. }
  780. },
  781. {
  782. "name": "$asuri",
  783. "type": "string",
  784. "default": "-1"
  785. }
  786. ],
  787. "ContainLink": [
  788. {
  789. "name": "link-style",
  790. "type": "map<string,string>",
  791. "default": {
  792. "stroke": "#000000",
  793. "stroke-dasharray": "",
  794. "stroke-opacity": 0.1,
  795. "stroke-width": 1,
  796. "arrow-start": "none",
  797. "arrow-end": "classic-wide-long"
  798. }
  799. },
  800. {
  801. "name": "typename",
  802. "type": "string",
  803. "default": "ContainLink"
  804. },
  805. {
  806. "name": "position",
  807. "type": "list<double>",
  808. "default": [
  809. 1553,
  810. 125
  811. ]
  812. },
  813. {
  814. "name": "orientation",
  815. "type": "double",
  816. "default": 0
  817. },
  818. {
  819. "name": "scale",
  820. "type": "list<double>",
  821. "default": [
  822. 1,
  823. 1
  824. ]
  825. },
  826. {
  827. "name": "mapper",
  828. "type": "code",
  829. "default": ""
  830. },
  831. {
  832. "name": "parser",
  833. "type": "code",
  834. "default": ""
  835. },
  836. {
  837. "name": "$contents",
  838. "type": "map<string,*>",
  839. "default": {
  840. "nodes": {},
  841. "edges": []
  842. }
  843. },
  844. {
  845. "name": "$asuri",
  846. "type": "string",
  847. "default": "-1"
  848. },
  849. {
  850. "name": "$segments",
  851. "type": "map<string,list<string>>",
  852. "default": {}
  853. }
  854. ],
  855. "CanvasContentsLink": [
  856. {
  857. "name": "link-style",
  858. "type": "map<string,string>",
  859. "default": {
  860. "stroke": "#000000",
  861. "stroke-dasharray": "",
  862. "stroke-opacity": 0.1,
  863. "stroke-width": 1,
  864. "arrow-start": "none",
  865. "arrow-end": "classic-wide-long"
  866. }
  867. },
  868. {
  869. "name": "typename",
  870. "type": "string",
  871. "default": "CanvasContentsLink"
  872. },
  873. {
  874. "name": "position",
  875. "type": "list<double>",
  876. "default": [
  877. 1551,
  878. 305
  879. ]
  880. },
  881. {
  882. "name": "orientation",
  883. "type": "double",
  884. "default": 0
  885. },
  886. {
  887. "name": "scale",
  888. "type": "list<double>",
  889. "default": [
  890. 1,
  891. 1
  892. ]
  893. },
  894. {
  895. "name": "mapper",
  896. "type": "code",
  897. "default": ""
  898. },
  899. {
  900. "name": "parser",
  901. "type": "code",
  902. "default": ""
  903. },
  904. {
  905. "name": "$contents",
  906. "type": "map<string,*>",
  907. "default": {
  908. "nodes": {},
  909. "edges": []
  910. }
  911. },
  912. {
  913. "name": "$asuri",
  914. "type": "string",
  915. "default": "-1"
  916. },
  917. {
  918. "name": "$segments",
  919. "type": "map<string,list<string>>",
  920. "default": {}
  921. }
  922. ]
  923. },
  924. "constraints": [],
  925. "actions": [],
  926. "cardinalities": {
  927. "LabelIcon": [],
  928. "ContainerIcon": [],
  929. "InputIcon": [],
  930. "ButtonIcon": [],
  931. "CanvasIcon": [],
  932. "ListIcon": [],
  933. "ContainLink": [],
  934. "CanvasContentsLink": []
  935. },
  936. "legalConnections": {},
  937. "connectorTypes": {},
  938. "types2parentTypes": {
  939. "LabelIcon": [],
  940. "ContainerIcon": [],
  941. "InputIcon": [],
  942. "ButtonIcon": [],
  943. "CanvasIcon": [],
  944. "ListIcon": [],
  945. "ContainLink": [],
  946. "CanvasContentsLink": []
  947. }
  948. }