Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [newbie] plugin.xml with files with strange values
[newbie] plugin.xml with files with strange values [message #251243] Wed, 09 June 2004 18:57 Go to next message
Eclipse UserFriend
Originally posted by: kapland.uci.edu

I was reading the eclipse plug-in documentation and when it goes from the
hello world example to the readmetool example the plugin.xml files seem to,
without explanation, have a bunch of lines in them that say
name="%Views.category"
name="%Views.ReadmeSections"

The whole section is this:
<extension
point="org.eclipse.ui.views">
<category
id="org.eclipse.ui.examples.readmetool"
name="%Views.category">
</category>
<view
id="org.eclipse.ui.examples.readmetool.views.SectionsView"
name="%Views.ReadmeSections"
icon="icons/view16/sections.gif"
category="org.eclipse.ui.examples.readmetool"
class="org.eclipse.ui.examples.readmetool.ReadmeSectionsView ">
</view>
</extension>


I really don't understand what these values that have % in them mean. To me
they seem like some type of variable but I don't understand how they work.
Can someone please explain it to me? It's very hard to understand the
plugin.xml files without understanding these lines. Thanks,
Dan
Re: [newbie] plugin.xml with files with strange values [message #251251 is a reply to message #251243] Wed, 09 June 2004 18:59 Go to previous messageGo to next message
Eclipse UserFriend
tieTYT wrote:

> I was reading the eclipse plug-in documentation and when it goes from the
> hello world example to the readmetool example the plugin.xml files seem to,
> without explanation, have a bunch of lines in them that say
> name="%Views.category"
> name="%Views.ReadmeSections"

Values like this are reffering to the plugin.properties file. This way
it's easy to localize the XML.

Henning Rogge
Re: [newbie] plugin.xml with files with strange values [message #251283 is a reply to message #251251] Wed, 09 June 2004 20:19 Go to previous message
Eclipse UserFriend
Originally posted by: kapland.uci.edu

ah, that's easy. thanks
"Henning Rogge" <HRogge@gmx.net> wrote in message
news:ca84eb$ipd$1@eclipse.org...
> tieTYT wrote:
>
> > I was reading the eclipse plug-in documentation and when it goes from
the
> > hello world example to the readmetool example the plugin.xml files seem
to,
> > without explanation, have a bunch of lines in them that say
> > name="%Views.category"
> > name="%Views.ReadmeSections"
>
> Values like this are reffering to the plugin.properties file. This way
> it's easy to localize the XML.
>
> Henning Rogge
Previous Topic:cannot load dll from plugin
Next Topic:run PDE unittest from ant script.
Goto Forum:
  


Current Time: Tue May 13 15:39:03 EDT 2025

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

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

Back to the top