Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Preferences missing some elements
Preferences missing some elements [message #75315] Mon, 25 February 2008 03:09 Go to next message
Paul Norrie is currently offline Paul NorrieFriend
Messages: 51
Registered: July 2009
Member
I've just finished adding preferences to a RAP application. It works fine
however I did find that two elements were missing from RAP:

* the interface org.eclipse.ui.IWorkbenchPreferencePage
* the extension point org.eclipse.ui.preferencePages

I added them to our project and we now have preferences running nicely.

What is the reason that these are missing?
Re: Preferences missing some elements [message #75355 is a reply to message #75315] Mon, 25 February 2008 13:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Paul,

does your implementation include a PrefrenceStore?
A PrferenceStore with with session scope to back the preferences
mechanism is what kept us from enabling the API. As soon as we have
that in place, we can enable it.
Elias is currently working on this, but at the moment I don't know
the exact schedule. However there should be results within the next
weeks.

Cheers,
Rüdiger

Paul Norrie wrote:
> I've just finished adding preferences to a RAP application. It works
> fine however I did find that two elements were missing from RAP:
>
> * the interface org.eclipse.ui.IWorkbenchPreferencePage
> * the extension point org.eclipse.ui.preferencePages
>
> I added them to our project and we now have preferences running nicely.
>
> What is the reason that these are missing?
>
Re: Preferences missing some elements [message #75427 is a reply to message #75355] Mon, 25 February 2008 18:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi all,

note that unfortunately there are several preference mechanism
available. For example there is Plugin#getPluginPreferences(). The
preference settings of this approach are shared accross sessions - so be
careful using that approach. This may be valid for administrative stuff
that changes settings globally for all users. As Rüdiger mentioned Elias
is currently implementing a session-aware version for UI preferences
based on the IPreferenceStore type. This will be available via
AbstractUIPlugin#getPreferenceStore().


Ciao
Frank


-----Ursprüngliche Nachricht-----
Von: Rüdiger Herrmann [mailto:rherrmann@innoopract.com]
Bereitgestellt: Montag, 25. Februar 2008 14:26
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Preferences missing some elements
Betreff: Re: Preferences missing some elements


Paul,

does your implementation include a PrefrenceStore?
A PrferenceStore with with session scope to back the preferences
mechanism is what kept us from enabling the API. As soon as we have that
in place, we can enable it.
Elias is currently working on this, but at the moment I don't know the
exact schedule. However there should be results within the next weeks.

Cheers,
Rüdiger

Paul Norrie wrote:
> I've just finished adding preferences to a RAP application. It works
> fine however I did find that two elements were missing from RAP:
>
> * the interface org.eclipse.ui.IWorkbenchPreferencePage
> * the extension point org.eclipse.ui.preferencePages
>
> I added them to our project and we now have preferences running
nicely.
>
> What is the reason that these are missing?
>
Re: Preferences missing some elements [message #75477 is a reply to message #75427] Mon, 25 February 2008 22:45 Go to previous messageGo to next message
Paul Norrie is currently offline Paul NorrieFriend
Messages: 51
Registered: July 2009
Member
Good point. I created a implementation of PreferenceStore that writes to
a database that can handle multiple tennants and no settings are related
to a single user or session anyway. So the issue of multiple sessions
isn't relevant to us in our current context.

We also wrote a PreferenceScope and Preferences implementation to also
communicate with the multi-tennant database.

Our implementations wouldn't be generic enough for contribution.

Cheers
Paul
Re: Preferences missing some elements [message #75670 is a reply to message #75427] Wed, 27 February 2008 02:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-dev.volanakis.de

Frank Appel wrote:
[...]
> As Rüdiger mentioned Elias
> is currently implementing a session-aware version for UI preferences
> based on the IPreferenceStore type. This will be available via
> AbstractUIPlugin#getPreferenceStore().

BTW, anybody interested in this can track Bug 220477. It should be
available in time for M3.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=220477

Regards,
Elias.
Re: Preferences missing some elements [message #85325 is a reply to message #75315] Mon, 28 April 2008 22:08 Go to previous messageGo to next message
Salwa Alzhmi is currently offline Salwa AlzhmiFriend
Messages: 69
Registered: July 2009
Member
Hi Paul ,

I have tried same as u did , i create the interface and implement the
extension point , but i still can't get the preferences page wizerd.

Is there are other things i should implements too.


Regards
Salwa
Re: Preferences missing some elements [message #85496 is a reply to message #85325] Tue, 29 April 2008 13:52 Go to previous message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

did you have a look at the latest demo bundle version in CVS-head, there
is a example that shows how to implement a preference page that changes
the selecte presentation. Note that there are still some bugs in it till
this is work in process in some areas.


Ciao
Frank

-----Ursprüngliche Nachricht-----
Von: Salwa [mailto:salwa.moh@gmail.com]
Bereitgestellt: Dienstag, 29. April 2008 00:08
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Preferences missing some elements
Betreff: Re: Preferences missing some elements


Hi Paul ,

I have tried same as u did , i create the interface and implement the
extension point , but i still can't get the preferences page wizerd.

Is there are other things i should implements too.


Regards
Salwa
Previous Topic:ViewPart and Translatable Name
Next Topic:loader constraint violation on Tomcat
Goto Forum:
  


Current Time: Sat Apr 20 02:58:28 GMT 2024

Powered by FUDForum. Page generated in 0.02542 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top