Presentation is loading. Please wait.

Presentation is loading. Please wait.

Eclipse Rich Client Platform Discover the Anatomy of an Application Based On Eclipse Wayne Beaton Evangelist, Eclipse Foundation.

Similar presentations


Presentation on theme: "Eclipse Rich Client Platform Discover the Anatomy of an Application Based On Eclipse Wayne Beaton Evangelist, Eclipse Foundation."— Presentation transcript:

1 Eclipse Rich Client Platform Discover the Anatomy of an Application Based On Eclipse Wayne Beaton Evangelist, Eclipse Foundation

2 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Agenda  What is the Eclipse Rich Client Platform?  Overview of the application  Code walkthrough  Application  Models  Views  Summary

3 What is the Eclipse Rich Client Platform?

4 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 What is a Rich Client? Application Server Rich Client Business Logic and Process Control Data View ok

5 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Composition of Components Equinox SWT JFace UI Update Runtime IDE UI LTK Search Debug Help Team Ant JDT PDE Eclipse SDK/Java IDE

6 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Generic IDE Components Equinox SWT JFace UI Update Runtime IDE UI LTK Search Debug Help Team Ant JDT PDE

7 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Eclipse Rich Client Platform Equinox SWT JFace UI Update Runtime IDE UI LTK Search Debug Help Team Ant JDT PDE

8 Overview of the Application

9 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Eclipse Organizer  E-Mail, Task List, Calendar  Composition of components  Custom branding  Extensible  Back ends  Features  Drop handlers  … http://www.eclipse.org/evangelism/samples/organizer/install.php WARNING: The sample application is under development!

10 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Organizer as an Eclipse RCP Application Let’s have a look!

11 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Organizer as Eclipse Plug-ins

12 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Projects

13 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Components Equinox SWT JFace UI Update Runtime Organizer Core Organizer UI Custom Widgets Outlook DND Text DND Derby Backend Organizer Application Help

14 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Dependency Graph ui.model application core derby ui.switcher ui.task ui.util ui.maildnd.outlook

15 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Platform Eclipse RCP Organizer Platform EquinoxSWTJFace UI UpdateRuntime Organizer CoreOrganizer UICustom Widgets Organizer Application Outlook DND Text DND Derby Backend Workspace Backend Thunderbird DND Web Services Backend Tasks Feature Mail FeatureCalendar Feature Help

16 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Models Component  Object Model  Pluggable support for multiple back ends  Currently hard coded support for tasks  Ripe for implementation as OSGi Services (pending)  Change notification using observer pattern Let’s have a look! WARNING: The object model needs some work!

17 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 UI Model ui.model application ui.switcher ui.task ui.mail ui.calendar contribution Event: Show view Action: Set active feature Event: Change appearance Let’s have a look!

18 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Switcher UI Component  Sets the active feature  Listens for changes in the view model Let’s have a look!

19 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Task UI Component  TasksView  Dynamic Table  Extensible Drag and Drop  ImportTasksWizard  TaskEditor Let’s have a look!

20 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Application Component  Binds the parts together  Provides branding, initial window layout, menus, tool bars, … Let’s have a look!

21 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 UI Utils Component  “Super” TableViewer  Date Picker Let’s have a look!

22 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Custom Presentation  Tunes the appearance of workbench  Very plain: no decoration around view stacks Let’s have a look!

23 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Summary  Application plug-in  Model plug-in  View plug-in  Custom extension points  Back ends and Back end Factories  Drop handlers  More information about the various technologies, see:  http://www.eclipse.org/articles  http://www.eclipse.org/resources

24 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 The Future  This application is still under development  Save and restore state of all views  Revamp the object model with OSGi Services  Key bindings  Package for update sites  Support for dragging from MacMail, Thunderbird, etc.  Web Services based backend  Improve ICU4J support  More complete help contents  Custom ICO for launcher  Dig into Outlook to get dragged task details?

25 Copyright © 2007 Eclipse Foundation, Inc., Made available under the Eclipse Public License v 1.0 Recommended Reading  Eclipse Rich Client Platform  By Jeff McAffer and Jean-Michel Lemieux  Addison-Wesley Professional  ISBN: 0321334612  Official Eclipse 3.0 FAQs  by John Arthorne, Chris Laffra  Addison-Wesley Professional  ISBN: 0321268385  Contributing to Eclipse: Principles, Patterns, and Plugins  By Erich Gamma, Kent Beck  Addison-Wesley Professional  ISBN: 0321205758


Download ppt "Eclipse Rich Client Platform Discover the Anatomy of an Application Based On Eclipse Wayne Beaton Evangelist, Eclipse Foundation."

Similar presentations


Ads by Google