Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Activate plugin on one editor
Activate plugin on one editor [message #511310] Mon, 01 February 2010 03:58 Go to next message
David CHAUTARD is currently offline David CHAUTARD
Messages: 102
Registered: July 2009
Senior Member
Hello,
I have installed a spell checker plugin in my RCP, which contains some editors (generated using xsd). And I would like to only apply this new plugin to one of my editors.
I don't know how can I manage my plugins to "filter" my editors according to its nature.

Can someone help me?
Thanks,
David.
Re: Activate plugin on one editor [message #517634 is a reply to message #511310] Mon, 01 March 2010 10:14 Go to previous messageGo to next message
David CHAUTARD is currently offline David CHAUTARD
Messages: 102
Registered: July 2009
Senior Member
Hy,

I found a partial solution to my problem with http://www.vogella.de/blog/2009/07/13/eclipse-activities/.
But the "org.eclipse.ui.activities" extension point only hides the fonctionality in the menu bar, but the spell action in available in allm my editor.
I would like to know if it is possible to di this with this extension point, or if there is an other solution to my problem.

Thanks,
David.
Re: Activate plugin on one editor [message #518195 is a reply to message #517634] Wed, 03 March 2010 07:58 Go to previous message
David CHAUTARD is currently offline David CHAUTARD
Messages: 102
Registered: July 2009
Senior Member
I find an other solution http://eclipse.dzone.com/articles/disable-or-enable-actions- sets, with the "org.eclipse.ui.startup" extension, which allow deactivating the functionality, according to the selected perspective. This solution is more adapted to my request, because view and shortcut are deactivated for the other editors.
Neverthless, I always have the problem of spell action which is activated for all editors, because error words are underlined.

Could someone help me?
Thx,
David.

[Updated on: Wed, 03 March 2010 07:58]

Report message to a moderator

Previous Topic:Change Splash Image depending on a user preference
Next Topic:Enable a handler based on roles required for the method it is calling
Goto Forum:
  


Current Time: Sat Apr 19 05:56:19 EDT 2014

Powered by FUDForum. Page generated in 0.01931 seconds