|
Re: Access the Global Preferences of Eclipse [message #330756 is a reply to message #330720] |
Tue, 12 August 2008 15:57 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Nikola Borisov wrote:
> Hi All,
>
> I'm developing an plug-in for Eclipse and at some point of it I want to
> read some peace of the Eclipse Preferences. In particular I want to know
> if the user wants a external or internal browser.
You'll have to find the plugin that owns that particular preference and
investigate its preferences store and the right key to look up. Plug-in
Spy can help you in that investigation:
http://www.eclipse.org/pde/incubator/spy/ (it is included in Eclipse 3.4
Ganyemde)
> On the other hand I wouldn't need to do this if there was a programmatic
> way to open a internal browser in Eclipse in a new editor or view but
> side by side with the editors. My big goal was to have a browser
> launched side by side with editors but couldn't achieve this so I
> created my own view and i nest the browser inside it.
The Web Tools Project does this when you right-click on a JSP and choose
Run on server... so if you can find where in their code they are doing
that you might be able to adapt it to your needs. Perhaps asking about
that on the eclipse.webtools newsgroup would yield some guidance.
Hope this helps,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.03238 seconds