.autosave.TransformationEditor.buttons.model 22 KB

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