1 / 28

Leveraging Eclipse For Desktop Applications

Leveraging Eclipse For Desktop Applications. Why Pilz Use Eclipse As An Application Platform James Sugrue Pilz Ireland. Pilz Ireland What We Do. Specialists in machine safety Develop desktop software for Pilz industrial automation products Experts in Usability Automation tool suite.

Download Presentation

Leveraging Eclipse For Desktop Applications

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. Leveraging Eclipse For Desktop Applications Why Pilz Use Eclipse As An Application Platform James Sugrue Pilz Ireland

  2. Pilz IrelandWhat We Do • Specialists in machine safety • Develop desktop software for Pilz industrial automation products • Experts in Usability • Automation tool suite

  3. Pilz IrelandWhat We Produce

  4. SWT – Standard Widget ToolkitPilz 2002 • Prototype was written with Swing • Moved to SWT for production • Platform level widgets • Better performance • JFace provides enhanced components and utilities

  5. Eclipse As A Platform The Future for Pilz

  6. Drivers for ChangeWhy Move to RCP • Fast Rich Client Application Development • Stable, Tested Platform • Easily Extendable via Plug-ins • Rich Set of Features

  7. Rich Client Applications The New Wave for Pilz

  8. Eclipse In DisguiseWhere you’ve used it without knowing

  9. Eclipse In DisguiseWhere you’ve used it without knowing

  10. Eclipse In DisguiseWhere you’ve used it without knowing

  11. Eclipse In DisguiseWhere you’ve used it without knowing

  12. Eclipse In DisguiseWhere you’ve used it without knowing

  13. What Is OSGi? A Brief Introduction • Component system for Java • More than just implementation code • Metadata to describe • Module and who provides it • Dependencies • What the module provides • Avoid “classpath hell” and hidden dependencies

  14. An Illustration • Eclipse Drawing Tool Plug-in • Invoke through menu item • Data model to represent drawing • Graphical model (RCP/Plug - in Development) (EMF) (GEF / GMF)

  15. Rich Client PlatformCreate New Plug-in

  16. Rich Client PlatformCreate New Plug-in

  17. Rich Client PlatformCreating Menu & Action

  18. Rich Client PlatformProject Structure

  19. Rich Client PlatformPlugged In

  20. Eclipse Modelling FrameworkCreate New Model XML Schema UML Annotated Java Ecore Model

  21. Eclipse Modelling FrameworkManipulating The Model

  22. Eclipse Modelling FrameworkGenerating Code

  23. Eclipse Modelling FrameworkSummary • Simple models mixed with hand-written code • Powerful Code Generation Tools • Built-in change notification mechanism • Validation of model constraints • User interface for domain objects

  24. Graphical Editing FrameworkProviding A View • Based on Draw2D • Takes any model as input • Provides graphical viewers • Need to wire into EMF notifications manually

  25. Graphical Modelling FrameworkBridging The Gap

  26. Graphical Modelling FrameworkCreate A Graphical Editor For Your Model • Import EMF Model • Graphical Definition • Tooling Definition • Mapping Definition • Generate Code

  27. Graphical Modelling FrameworkA Simple Drawing Application

  28. Architectural Benefits Why Eclipse is Right for Pilz • Equinox with support for bundles and extensibility • UI Extensibility (Menus, Toolbar, Views,…) • Support for updating bundles • Jobs API to perform background tasks and showing progress • Extensive Amount Of Frameworks • Similar Goals For The Future • It’s Free

More Related