Download presentation
Presentation is loading. Please wait.
1
Eclipse Plug-in Development
Eclipse RCP Development Part 1 Based on Eclipse 3.x 1/18/2019 Soyatec (
2
Soyatec (http://www.soyatec.com)
Contents Overview Application org.eclipse.core.runtime.applications IApplication Advisor Classes WorkbenchAdvisor WorkbenchWindowAdvisor ActionBarAdvisor Extensions Launch 1/18/2019 Soyatec (
3
Soyatec (http://www.soyatec.com)
Overview Eclipse RCP Rich Client Platform Based on a dynamic plug-in model Same toolkits and extension points with Eclipse Minimum requires: org.eclipse.ui org.eclipse.core.runtime 1/18/2019 Soyatec (
4
Soyatec (http://www.soyatec.com)
Overview Eclipse RCP 1/18/2019 Soyatec (
5
Soyatec (http://www.soyatec.com)
Application org.eclipse.core.runtime.applications <extension id="application" point="org.eclipse.core.runtime.applications"> <application> <run class="org.ecsoya.eclipse.tutorial.rcp.Application"> </run> </application> </extension> 1/18/2019 Soyatec (
6
Soyatec (http://www.soyatec.com)
Application IApplication start WorkbenchAdvisor stop 1/18/2019 Soyatec (
7
Soyatec (http://www.soyatec.com)
Advisor Classes WorkbenchAdvisor Perspective WorkbenchWindowAdvisor 1/18/2019 Soyatec (
8
Soyatec (http://www.soyatec.com)
Advisor Classes Perspective org.eclipse.ui.perspectives IPerspectiveFactory 1/18/2019 Soyatec (
9
Soyatec (http://www.soyatec.com)
Advisor Classes WorkbenchWindowAdvisor ActionBarAdvisor Configuration preWindowOpen postWindowCreate postWindowOpen postWindowClose IWorkbenchWindowConfigurer 1/18/2019 Soyatec (
10
Soyatec (http://www.soyatec.com)
Advisor Classes IWorkbenchWindowConfigurer IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setInitialSize(new Point(400, 300)); configurer.setTitle("Eclipse RCP Tutorial"); configurer.setShellStyle(SWT.SHELL_TRIM); configurer.setShowMenuBar(true); configurer.setShowCoolBar(false); configurer.setShowPerspectiveBar(true); configurer.setShowStatusLine(false); configurer.setShowFastViewBars(true); configurer.setShowProgressIndicator(true); 1/18/2019 Soyatec (
11
Soyatec (http://www.soyatec.com)
Advisor Classes ActionBarAdvisor Create global actions ActionFactory.*.create(window) IAction Contribute actions to Menubar Toolbar 1/18/2019 Soyatec (
12
Soyatec (http://www.soyatec.com)
Extensions Eclipse template projects RCP application with a view RCP application with an intro RCP Mail Template 1/18/2019 Soyatec (
13
Soyatec (http://www.soyatec.com)
Launch 1/18/2019 Soyatec (
14
Soyatec (http://www.soyatec.com)
Launch Run/Debug -> Run/Debug Configurations 1/18/2019 Soyatec (
15
Soyatec (http://www.soyatec.com)
Launch Run/Debug -> Run/Debug Configurations 1/18/2019 Soyatec (
16
Skype: jin.liu.soyatec Email: jin.liu@soyatec.com
Any Questions? Skype: jin.liu.soyatec 1/18/2019 Soyatec (
17
Soyatec (http://www.soyatec.com)
The end 1/18/2019 Soyatec (
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.