Presentation is loading. Please wait.

Presentation is loading. Please wait.

Eclipse Plug-in Development

Similar presentations


Presentation on theme: "Eclipse Plug-in Development"— Presentation transcript:

1 Eclipse Plug-in Development
Eclipse RCP Development Part 2 Advanced Topics 2/26/2019 Soyatec (

2 Soyatec (http://www.soyatec.com)
Contents Product Configuration Dependencies Configuration Launching Splash Branding License Update Publish Resources Hierarchy Workspace Resources 2/26/2019 Soyatec (

3 Product Configuration
2/26/2019 Soyatec (

4 Product Configuration
2/26/2019 Soyatec (

5 Product Configuration
org.eclipse.core.runtime.products <extension id="product" point="org.eclipse.core.runtime.products"> <product application="org.ecsoya.eclipse.tutorial.rcp.application" name="Eclipse RCP Tutorial"> </product> </extension> 2/26/2019 Soyatec (

6 Product Configuration
Dependencies plugins features 2/26/2019 Soyatec (

7 Product Configuration
config.ini 2/26/2019 Soyatec (

8 Product Configuration
Launch Name Icon JRE Arguments 2/26/2019 Soyatec (

9 Product Configuration
Splash 2/26/2019 Soyatec (

10 Product Configuration
Splash 2/26/2019 Soyatec (

11 Product Configuration
Branding Window Images About Dialog Welcome Intro 2/26/2019 Soyatec (

12 Product Configuration
Branding Window Images About Dialog Welcome Page org.eclipse.ui.intro org.eclipse.ui.intro.config 2/26/2019 Soyatec (

13 Product Configuration
License 2/26/2019 Soyatec (

14 Product Configuration
Updates 2/26/2019 Soyatec (

15 Soyatec (http://www.soyatec.com)
Publish Validation 2/26/2019 Soyatec (

16 Product Configuration
Export 2/26/2019 Soyatec (

17 Product Configuration
Export 2/26/2019 Soyatec (

18 Soyatec (http://www.soyatec.com)
Resources Hierarchy org.eclipse.core.resources 2/26/2019 Soyatec (

19 Soyatec (http://www.soyatec.com)
Resources Hierarchy IWorkspace IWorkspace workspace = ResourcesPlugin.getWorkspace(); IWorkspaceRoot root = workspace.getRoot(); IProject[] projects = root.getProjects(); workspace.addResourceChangeListener(new IResourceChangeListener() { public void resourceChanged(IResourceChangeEvent event) { } }); 2/26/2019 Soyatec (

20 Soyatec (http://www.soyatec.com)
Resources Hierarchy Create Resource IProject project = root.getProject(); IFolder folder = project.getFolder("Ecsoya"); if (!folder.exists()){ try { folder.create(IResource.DEPTH_INFINITE, true, null); } catch (CoreException e) { e.printStackTrace(); } 2/26/2019 Soyatec (

21 Soyatec (http://www.soyatec.com)
Resources Hierarchy Delete Resource IProject project = root.getProject(); IFolder folder = project.getFolder("Ecsoya"); if (folder.exists()) { try { folder.delete(true, null); } catch (CoreException e) { e.printStackTrace(); } 2/26/2019 Soyatec (

22 Soyatec (http://www.soyatec.com)
Resources Hierarchy Common Navigator View org.eclipse.ui.views org.eclipse.ui.navigator.viewer Resource Providers WorkbenchContentProvider WorkbenchLabelProvider 2/26/2019 Soyatec (

23 Skype: jin.liu.soyatec Email: jin.liu@soyatec.com
Any Questions? Skype: jin.liu.soyatec 2/26/2019 Soyatec (

24 Soyatec (http://www.soyatec.com)
The end 2/26/2019 Soyatec (


Download ppt "Eclipse Plug-in Development"

Similar presentations


Ads by Google