[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: How to create OS dependent fragments for a plugin

You just need to add the host plugin to the fragment.
The update configurator will load the fragment when loading its host plugin.
You may want to see this article: http://www.eclipse.org/articles/Article-Internationalization/how2I18n.html
It describes creating a fragment for internationalization of plugins, but the principle is the same.


Snjeza

elamine saad wrote:
Hi Snjeza
I know that every fragment is made to be loaded by the plugin according the current OS (PlatformFilter)!
But I couldn't understand how to make them work together
I've made a small sample but it didn't work...do you know any tutorial or sample code to test?

Thx again
Elamine


> You can imagine a fragment as part of its host
> plugin.
> The main point of the swt plugin is that every OS
> loads its "own" fragment.
> See the Eclipse-PlatformFilter: clause in the
> fragment's MANIFEST.MF.
> > Snjeza
> > elamine saad wrote:
> > Hi all,
> > > > I've downloaded Java Media Framework JMF-1.2 for
> win32,linux,solaris and I want to make a plugin
> allowing to use JMF as an eclipse plugin ! So I took
> a look on SWT plugin, it has 3 other fragments that
> represent the corresspondent OS.
> > The problem is I found some packages exported in
> swt the main plugin but this earlier does not contain
> them, they exist in the 3 fragments
> > > > I could'nt understant this issue > > > > Any help will be useful, & I will appriciate it :)
> > > > ciao