Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] API Change in org.eclipse.ui.internal.EditorSite, How to migrate to newer

Hi All

In eclipse 3.7 The constructor of EditorSite was as follows [1]
EditorSite(IEditorReference ref, IEditorPart editor, WorkbenchPage page, EditorDescriptor desc)

However in 4.3 It has been changed as follows [2]
EditorSite(MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element)

Because of the above mentioned change i'm facing difficulties on building the BPEL code which uses the earlier (3.7) implementation. And also the full issue is reported under [3], please have a look at to get more details.

Here what i wanted to know is how can i migrate the code to use the newer version (i.e 1.3). How can i create and pass following parameters
MPart model, IWorkbenchPart part, IWorkbenchPartReference ref, IConfigurationElement element

starting from
IEditorReference ref, IEditorPart editor, WorkbenchPage page, EditorDescriptor desc

Your help, advises and thoughts are highly appreciated.

Thanks in advance





Susinda


--
**********************************
Susinda Perera
B.Sc. (Eng), AMIE(SL)
Voice  : 0716049075
**********************************

Back to the top