Using org.eclipse.ui.ide [message #505492] |
Thu, 31 December 2009 06:00  |
Laurent Petit Messages: 35 Registered: July 2009 |
Member |
|
|
Hello,
So by extensively browsing the archives, I've found that it's possible to share a workspace among all users of an application by adding org.eclipse.core.resources in the target platform and as a
dependency.
It works well for the non UI Part. Now I want to add some UI stuff !
I need for example the class IDE which has the registerAdapters() method which will register adapters to IWorkbenchAdapter for IResources, IFiles, IProjects, etc. (so that I can use
WorkbenchLabelProviders, etc.).
I also know I'll need in the near future editor inputs for IResources, too.
So it seems that I need to have org.eclipse.ui.ide as a dependency, since it's the one that provides those classes.
But I'm having trouble at getting there.
Is it feasible at all ? (since org.eclipse.ui.ide depends on org.eclipse.ui, and not org.eclipse.rap.ui ?)
Will I have to fork org.eclipse.ui.ide, fix the errors, and live with this adapted version ?
Is there another solution ?
Thanks in advance for your help,
--
Laurent
|
|
|
|
|
Re: Using org.eclipse.ui.ide [message #507691 is a reply to message #505897] |
Thu, 14 January 2010 12:04  |
Benjamin Muskalla Messages: 338 Registered: July 2009 |
Senior Member |
|
|
Hi Laurent,
I think it depends on what you need from the IDE bundle. If you only
need some dialogs or simple things as label providers, I don't see a big
problem. The only thing I personally would be very careful in the
context of resources (IProject, IFile, etc). The while resource story of
Eclipse is not multi-user enabled and this can lead to problems like
workspace locking for all users.
Hope that helps a little bit. Was there any progress on your side in the
meantime?
Regards,
Benny
Laurent Petit wrote:
> Rüdiger Herrmann wrote:
>> Hi Laurent,
>>
>> I am glad to see that you give RAP a try :)
>> For now, you will have to live with a forked org.eclipse.ui.ide as you
>> suggested. At least I am not aware of a better solution.
>
> Hi Rüdiger,
>
> OK, so far do you think I'm following a dead-end path here ? Or does it
> make sense ?
--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
|
|
|
Powered by
FUDForum. Page generated in 0.02222 seconds