Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsUser workspace
https://www.eclipse.org/forums/index.php/mv/msg/165398/523979/#msg_523979
I have learnt a lot about RAP recently and it seems that it is missing an important feature for our use-case: a user-specific workspace. Indeed, since workspace is a singleton in Eclipse, there is currently a single workspace for the whole application, so that it is not possible to manage one workspace per user.
However, I am confident that there is a way to implement user-specific workspace... But I don't really have any idea yet ;)
Has anyone worked on this topic? Are there already some ideas or pieces of code that could be used for that feature?
RAP provides a replacement bundle for the workbench
(org.eclipse.rap.ui.workbench) that is multi-user capable. You will use
this bundle for RAP applications anyway.
Best regards,
Ralf
Mickael Istria wrote:
> Hi all,
>
> I have learnt a lot about RAP recently and it seems that it is missing
> an important feature for our use-case: a user-specific workspace.
> Indeed, since workspace is a singleton in Eclipse, there is currently a
> single workspace for the whole application, so that it is not possible
> to manage one workspace per user.
> However, I am confident that there is a way to implement user-specific
> workspace... But I don't really have any idea yet ;)
>
> Has anyone worked on this topic? Are there already some ideas or pieces
> of code that could be used for that feature?
>
> Regards,
> --
> Mickael Istria - BonitaSoft S.A.
> http://www.bonitasoft.com/products/downloads.php]]>Ralf Sternberg2010-03-30T08:07:00-00:00Re: User workspace
https://www.eclipse.org/forums/index.php/mv/msg/165398/523994/#msg_523994
Of course, you're right, there is only one workspace per application.
There are currently no plans to change this.
Depending on your use case, it could help to create a single directory
within the workspace for every user. You could then adapt the resources
bundle to point to this directory as the workspace root. But this will
only help for resources, the workspace itself is still shared.
Ralf
Ralf Sternberg wrote:
> Hi Mickael,
>
> Every user has his own workspace in RAP. You can try it out here:
> http://rap.eclipsesource.com/rapdemo/business
>
> RAP provides a replacement bundle for the workbench
> (org.eclipse.rap.ui.workbench) that is multi-user capable. You will use
> this bundle for RAP applications anyway.
>
> Best regards,
> Ralf
>
>
> Mickael Istria wrote:
>> Hi all,
>>
>> I have learnt a lot about RAP recently and it seems that it is missing
>> an important feature for our use-case: a user-specific workspace.
>> Indeed, since workspace is a singleton in Eclipse, there is currently a
>> single workspace for the whole application, so that it is not possible
>> to manage one workspace per user.
>> However, I am confident that there is a way to implement user-specific
>> workspace... But I don't really have any idea yet ;)
>>
>> Has anyone worked on this topic? Are there already some ideas or pieces
>> of code that could be used for that feature?
>>
>> Regards,
>> --
>> Mickael Istria - BonitaSoft S.A.
>> http://www.bonitasoft.com/products/downloads.php]]>Ralf Sternberg2010-03-30T08:31:16-00:00Re: User workspace
https://www.eclipse.org/forums/index.php/mv/msg/165398/524032/#msg_524032
> Ooops, I'm sorry, I mixed up workbench and workspace here.
No problem.
The use case is that we have an application that uses workspace and JDT. Is there a way to isolate some parts of the workspace so that each user could only see and manipulate his own resources?
--
Mickael Istria - BonitaSoft S.A. http://www.bonitasoft.com/products/downloads.php]]>Mickael Istria2010-03-30T12:14:30-00:00Re: User workspace
https://www.eclipse.org/forums/index.php/mv/msg/165398/524107/#msg_524107
> Ralf Sternberg a écrit :
>> Ooops, I'm sorry, I mixed up workbench and workspace here.
> No problem.
>
> The use case is that we have an application that uses workspace and JDT.
> Is there a way to isolate some parts of the workspace so that each user
> could only see and manipulate his own resources?
To my knowledge, there is no ready-to-use solution. You will have to
adapt the org.eclipse.core.resources bundle to work with RAP and provide
per-session workspaces in ResourcePlugin#getWorkspace(). This can be
done by using a SessionSingleton to keep workspace instances internally,
but probably there are a lot of more details to take care of.
You will also need to put some mechanism in place that creates and
cleans up those user workspaces, maps sessions to workspaces etc.
It's hard to tell how much effort this is.
Best regards, Ralf]]>Ralf Sternberg2010-03-30T17:53:34-00:00Re: User workspace
https://www.eclipse.org/forums/index.php/mv/msg/165398/818918/#msg_818918
is it possible in RAP 1.4 to create an user workspace? I'm looking for a demo.
Best regards,
Niels]]>Niels Abert2012-03-12T09:27:57-00:00Re: User workspace
https://www.eclipse.org/forums/index.php/mv/msg/165398/818921/#msg_818921
is it possible in RAP 1.4 to create an user workspace? I'm looking for a demo.
Best regards,
Niels]]>Niels Abert2012-03-12T09:27:57-00:00Re: User workspace
https://www.eclipse.org/forums/index.php/mv/msg/165398/818960/#msg_818960
I'm sorry, but there's no update on this. As I said before, this
feature would require significant effort. If someone likes to work on
this, the RAP Incubator would be a suitable place for it. We'd support
this work, but can't start it on our own.