Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Menu label problems (seeing % names)
Menu label problems (seeing % names) [message #326139] Fri, 07 March 2008 22:27 Go to next message
Jeff Johnston is currently offline Jeff JohnstonFriend
Messages: 215
Registered: July 2009
Senior Member
I am developing the Mylyn CDT plug-in and for some strange reason, my menu
labels are appearing in their % form. For example, I have a menu label I
refer to as: %FocusActiveTask.label. This key is found in my
plugin.properties and is set to be "Focus Active Task". When I edit my
plugin.xml, the string is resolved for me automatically when I look at the
extensions. However, when I start up an Eclipse application from my
workspace that uses my plugin, the menu label appears as
%FocusActiveTask.label.

I have plugin.properties specified in my binary build.

I am using Eclipse 3.4 M5. Anybody have any ideas what I could look
for/try?
Re: Menu label problems (seeing % names) [message #326159 is a reply to message #326139] Sun, 09 March 2008 13:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: malloovidio.bluewin.ch

Hi Jeff,

I guess you are defining the actual content of your menu labels in the
plugin.properties file. If so, try opening your plugin.xml file, switching
to the "build" tab in the plugin.xml editor and see whether the
plugin.properties file is marked to be included (at least) in the binary
build of your plug-in. If not, mark it and try whether this solves your
problem.

Hope that helps,
Ovidio


Jeff Johnston wrote:
> I am developing the Mylyn CDT plug-in and for some strange reason, my
> menu labels are appearing in their % form. For example, I have a menu
> label I refer to as: %FocusActiveTask.label. This key is found in my
> plugin.properties and is set to be "Focus Active Task". When I edit my
> plugin.xml, the string is resolved for me automatically when I look at
> the extensions. However, when I start up an Eclipse application from my
> workspace that uses my plugin, the menu label appears as
> %FocusActiveTask.label.
>
> I have plugin.properties specified in my binary build.
>
> I am using Eclipse 3.4 M5. Anybody have any ideas what I could look
> for/try?
>
>
Re: Menu label problems (seeing % names) [message #326160 is a reply to message #326159] Sun, 09 March 2008 13:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------020902060608020502080508
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Ovidio,

Good advice. It's probably good to also make sure that this line
appears in the MANIFEST.MF:

Bundle-Localization: plugin


Ovidio Mallo wrote:
> Hi Jeff,
>
> I guess you are defining the actual content of your menu labels in the
> plugin.properties file. If so, try opening your plugin.xml file,
> switching
> to the "build" tab in the plugin.xml editor and see whether the
> plugin.properties file is marked to be included (at least) in the binary
> build of your plug-in. If not, mark it and try whether this solves your
> problem.
>
> Hope that helps,
> Ovidio
>
>
> Jeff Johnston wrote:
>> I am developing the Mylyn CDT plug-in and for some strange reason, my
>> menu labels are appearing in their % form. For example, I have a
>> menu label I refer to as: %FocusActiveTask.label. This key is found
>> in my plugin.properties and is set to be "Focus Active Task". When I
>> edit my plugin.xml, the string is resolved for me automatically when
>> I look at the extensions. However, when I start up an Eclipse
>> application from my workspace that uses my plugin, the menu label
>> appears as %FocusActiveTask.label.
>>
>> I have plugin.properties specified in my binary build.
>>
>> I am using Eclipse 3.4 M5. Anybody have any ideas what I could look
>> for/try?
>>
>>


--------------020902060608020502080508
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ovidio,<br>
<br>
Good advice.
Re: Menu label problems (seeing % names) [message #326187 is a reply to message #326160] Mon, 10 March 2008 19:56 Go to previous messageGo to next message
Jeff Johnston is currently offline Jeff JohnstonFriend
Messages: 215
Registered: July 2009
Senior Member
Ed Merks wrote:

> Ovidio,

> Good advice. It's probably good to also make sure that this line
> appears in the MANIFEST.MF:

> Bundle-Localization: plugin

Thanks Ed,

I actually already did have the plugin.properties file in my binary build,
but this little gem you mention works like a charm.

Is there any way to make this show up without manually editing MANIFEST.MF
(e.g. a tab option like Build, Overview etc..)?
Re: Menu label problems (seeing % names) [message #326188 is a reply to message #326187] Mon, 10 March 2008 20:31 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Jeff,

I looked for it and suspect it's hiding in one of those tabs somewhere,
but I couldn't find it...


Jeff Johnston wrote:
> Ed Merks wrote:
>
>> Ovidio,
>
>> Good advice. It's probably good to also make sure that this line
>> appears in the MANIFEST.MF:
>
>> Bundle-Localization: plugin
>
> Thanks Ed,
>
> I actually already did have the plugin.properties file in my binary
> build, but this little gem you mention works like a charm.
>
> Is there any way to make this show up without manually editing
> MANIFEST.MF (e.g. a tab option like Build, Overview etc..)?
>
Previous Topic:StructuredTextEditor hide some contents
Next Topic:TitleAreaDialog message is cut off if it is longer than 2 lines
Goto Forum:
  


Current Time: Wed Jul 17 03:23:56 GMT 2024

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

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

Back to the top