Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to restrict plugin OS?
How to restrict plugin OS? [message #265523] Thu, 05 August 2004 10:45 Go to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.no_spam_hot_mail.com

I want to restrict my plugin to be run only on Windows OS'es.
Is there any way to do it automatically via the plugin.xml descriptor or
something, or do I just check the OS in my plugin constructor and show an
error message on non-supported platforms?
---
TIA,
Sunil
Re: How to restrict plugin OS? [message #265525 is a reply to message #265523] Thu, 05 August 2004 11:08 Go to previous messageGo to next message
Eclipse UserFriend
Sunil Kamath schrieb:

> I want to restrict my plugin to be run only on Windows OS'es.

Create a feature, put your plugin into the feature. On the "content"
page select "properties" from the context menu for your plugin. There
you can give restrictions for OS, window system and other things.

Ciao, Michael.
Re: How to restrict plugin OS? [message #265533 is a reply to message #265525] Thu, 05 August 2004 12:18 Go to previous message
Eclipse UserFriend
Originally posted by: sunil_kamath.no_spam_hot_mail.com

"Michael Keppler" <michael.keppler@gmx.de> wrote in message
news:cetid2$2as$1@eclipse.org...
> Sunil Kamath schrieb:
>
> > I want to restrict my plugin to be run only on Windows OS'es.
>
> Create a feature, put your plugin into the feature. On the "content"
> page select "properties" from the context menu for your plugin. There
> you can give restrictions for OS, window system and other things.
>

Excellent.
---
Thanks,
Sunil
Previous Topic:how do I add a menu to the context menu for ALL editors?
Next Topic:how to attach a dll to a plugin?
Goto Forum:
  


Current Time: Tue May 13 18:05:27 EDT 2025

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

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

Back to the top