1 / 29

TextBe Project and Issues

TextBe Project and Issues. JGS. Current Pipeline Implementation. Challenges. Weak Metamodel. External Process. Bad Threading. Other Issues. Complex Installation Difficult Manual Build. Problems. Batik / Graphviz. Revised Design. Current Pipeline Implementation.

china
Download Presentation

TextBe Project and Issues

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. TextBe Project and Issues JGS

  2. Current Pipeline Implementation

  3. Challenges Weak Metamodel External Process Bad Threading

  4. Other Issues • Complex Installation • Difficult Manual Build

  5. Problems

  6. Batik / Graphviz

  7. Revised Design

  8. Current Pipeline Implementation

  9. Dot4zest … as it should be

  10. HTML labels

  11. HTML labels <?xmlversion="1.0"encoding="UTF-8"?> <tableborder="0"cellborder="0"cellpadding="3"bgcolor="white"> <tr> <tdbgcolor="black"align="center"colspan="2"> <fontcolor="white">State #1</font> </td> </tr> <tr> <tdalign="left"port="r3"> &#40;3&#41; l -&gt;&bull;'*' r </td> </tr> <tr> <tdalign="left"port="r3"> &#40;3&#41; l -&gt; '*' &bull;r </td> </tr> <tr> <tdalign="left"port="r4"> &#40;4&#41; l -&gt;&bull;'n' </td> </tr> <tr> <tdalign="left"port="r5"> &#40;5&#41; r -&gt;&bull;l </td> </tr> </table>

  12. Challenges External Process Bad Threading

  13. Batik Squiggle Embedded Description ‘Eclipse SVG Plugin’: “The project goal is to develop an Eclipse plugin for the Apache SVG framework 'Batik'. The plugin adds editors, views and wizards to deal with scaleable vector graphics.” SVG Browser does not work ID: 1187629 If I right-click on an SVG file within Eclipse, and choose "Open With > SVGBrowser", nothing visible happens in Eclipse. Running Eclipse from the command line, I see the following trace:java.lang.Error atorg.apache.batik.util.ApplicationSecurityEnforcer.setDevBase(Unknown Source)

  14. The Revised Design Strikes Back

  15. Solution Components • IFigureProvider • Interface defined by Zest (actually GEF) • Generates structured nodes • Visitor • Generated by Ecore by default • Follows the containment structure, unless advised to to do things differently

  16. Custom Figure for BT

  17. Revised Model

  18. So,this is better?

  19. BT Semantic Mysteries

  20. Linked Projects • Semantic Checker • Written in C++ (Version??? Interface???) • Semantic Check through Graph Grammar Reduction • Recommendation: Re-implement using VIATRA • Animator • Script-based decoration of dot file with colors • Limitations: No semantic checks, disconnected from model • Recommendation: Implement a BT VM using an execution instance model. • Then add painter to new GEF visualizer • Visual Debugger • Hooks are added to SVG via Java-Script injection • Limitations: Brittle, potentially not portable, security issues • Recommendation: Implement as hooks into GEF visualizer or using Eclipse debugger infrastructure.

More Related