1、18.09.2004,Frankfurt,1,An Introduction to Eclipse,Feng Lue,18.09.2004,Frankfurt,2,Agenda,A little History Plug-in Architecture Eclipse Platform Plug-ins for diverse Developments Conclusion and Future,18.09.2004,Frankfurt,3,A little history,What should an IDE be? Editor, Compiler, Code Generation, Pr
2、oject Management, Team Support, UML, Refactoring, Sever Manipulation, Email Reception, MP3, 1983, Turbo Pascal 1994, Visual C/C+ 2001, Eclipse “Eclipse is an open extensible IDE for anything and nothing in particular. “Platform Independent, Plug-in Architecture,18.09.2004,Frankfurt,4,Plug-in Archite
3、cture,Plug-in is the smallest function unit that can developed and delivered separately A system can be extended by adding on modular pieces Core application Plug-ins at well known extension points,18.09.2004,Frankfurt,5,Plug-in Architecture (contd),Advantages flexible maintainable well adapted for
4、distributed developments “on-the-fly” modification Disadvantages performance,18.09.2004,Frankfurt,6,The Eclipse Platform,Main Component Runtime Workspace Workbench SWT/JFace,18.09.2004,Frankfurt,7,The Eclipse Platform (contd),Platform Runtime The small kernel to manage plug-ins Workspace Consists of
5、 projects Regular files for user, history, marker SWT JFace Workbench An extensible UI structure SWT: graphic library for native OS JFace: for common UI programming (viewer, action) Workbench (Editor, View, Perspective, Wizard),18.09.2004,Frankfurt,8,JDT for Java Developer,Java project management Ed
6、iting (Syntax highlighting, formatter, Auto completion, API tooltips ) Search Refactoring Compile, Run, Debug,18.09.2004,Frankfurt,9,Plug-in Development,Using PDE Process Creating new plug-in Project Editing manifest file (Dependencies, Extensions, Runtime) Coding Testing and Deploying plug-in,18.09
7、.2004,Frankfurt,10,For C/C+ Developer,Using CDT plug-in Multi-language support Editor, Debugger, Launcher, Parser, Makefile generator Content Assist Provider,18.09.2004,Frankfurt,11,For J2EE Developer,MyEclipse plug-ins Full J2EE development life-cycle support; code, deploy, test & debug Integrated Struts, JSF and XML development Database explorer More on ,18.09.2004,Frankfurt,12,Conclusion,Advanced Architecture Flexible and extensible Over 500 plug-ins now Supported by more and more vendors,