|
|
Re: How to reuse Eclipse3.x workbench on Eclipse4 platform [message #1806523 is a reply to message #1806401] |
Fri, 10 May 2019 07:03 |
xin zhang Messages: 5 Registered: April 2019 |
Junior Member |
|
|
Thanks for your hint, finally I resolve the issue in below way.
1. write 2 simple RCP application, one application is based on Eclipse3.4.2 for export the workspace's preference, another application is based on Eclipse4.6.3 for import the workspace's preference.
2. The code for the application based on Eclipse3.4.2 is as below, in this way, I can export old workspace's preference.
IWizard wizard = new PreferencesExportWizard();
WizardDialog dialog = new WizardDialog(Display.getCurrent().getActiveShell(), wizard);
dialog.open();
3. The code for the application based on Eclipse4.6.3 is as below, in this way, I can import old workspace's preference to the new workspace.
IWizard wizard = new PreferencesImportWizard();
WizardDialog dialog = new WizardDialog(Display.getCurrent().getActiveShell(), wizard);
dialog.open();
|
|
|
Powered by
FUDForum. Page generated in 0.04417 seconds