Hi Rado,
Thank you. I was not aware of PDE externalization tool
till now. It is
working now.
Thanks,
Jiju
-----Original Message-----
From: dsdp-tm-dev-bounces eclipse.org
[mailto:dsdp-tm-dev-bounces eclipse.org] On Behalf Of
Radoslav Gerganov
Sent: 08 May 2008 13:57
To: Target Management developer discussions
Subject: Re: [dsdp-tm-dev] Externalising RSE system type
name
Hi Jiju,
You must add the following manifest header to your
MANIFEST.MF:
Bundle-Localization: plugin
I also recommend to use PDE for externalizing your manifest
strings --
switch to the PDE
perspective, right-click on your MANIFEST.MF and choose PDE
Tools ->
Externalize strings...
Cheers,
Rado
Jiju George T wrote:
> Hi,
>
> Thanks for the reply.
>
> But as I have mentioned in the post, I have given both
Name and label for
> externalization. None worked. I tried giving name as it
is and
externalising
> label only.
>
> <extension
>
>
point="org.eclipse.rse.core.systemTypes">
>
> <systemType
>
> enableOffline="false"
>
> icon="icons/sample.gif"
>
> iconLive="icons/sample.gif"
>
>
id="com.mysample.tm.core.systemtypes.mytype"
>
> label="%mySystemType"
>
> name=" My System Type ">
>
> </systemType>
>
> </extension>
>
>
> That too does n't work for me. Seems like RSE cannot
see property file?
Does
> RSE connection wizard look for property file when it
sees a label starting
> with %? Or is it some other mechanism that does the
translation?
>
> Thanks,
> Jiju
>
> -----Original Message-----
> From: dsdp-tm-dev-bounces eclipse.org
> [mailto:dsdp-tm-dev-bounces eclipse.org] On Behalf Of
Stieber, Uwe
> Sent: 08 May 2008 13:42
> To: Target Management developer discussions
> Subject: RE: [dsdp-tm-dev] Externalising RSE system
type name
>
> Hi,
> You cannot externalize the "name", only the
"label". The name is in fact
> the system id used to identify the system type
internally. The label is
> externalizable and represents the system type within
the UI.
>
> Regards,
> Uwe Stieber
>
>
>
>
>> -----Original Message-----
>> From: dsdp-tm-dev-bounces eclipse.org
>> [mailto:dsdp-tm-dev-bounces eclipse.org] On Behalf Of
Jiju George T
>> Sent: Thursday, May 08, 2008 2:37 PM
>> To: 'Target Management developer discussions'
>> Subject: [dsdp-tm-dev] Externalising RSE system
type name
>>
>> Hi All,
>>
>>
>>
>> I have creates a new RSE system type using below
extension point
>>
>>
>>
>> <extension
>>
>>
point="org.eclipse.rse.core.systemTypes">
>>
>> <systemType
>>
>> enableOffline="false"
>>
>> icon="icons/sample.gif"
>>
>> iconLive="icons/sample.gif"
>>
>>
id="com.mysample.tm.core.systemtypes.mytype"
>>
>> label="My System Type"
>>
>> name=" My System Type">
>>
>> </systemType>
>>
>> </extension>
>>
>>
>>
>> I have added a new connection wizard for my system
type and
>> my system type gets displayed in RSE new connection
wizard
>> with name "My System Type". Now I want to
externalize my
>> system type name. So I modified the extension point
like this
>>
>>
>>
>> <extension
>>
>>
point="org.eclipse.rse.core.systemTypes">
>>
>> <systemType
>>
>> enableOffline="false"
>>
>> icon="icons/sample.gif"
>>
>> iconLive="icons/sample.gif"
>>
>>
id="com.mysample.tm.core.systemtypes.mytype"
>>
>> label="%mySystemType"
>>
>> name="%mySystemType">
>>
>> </systemType>
>>
>> </extension>
>>
>>
>>
>> I have also modified my plugin.properties file to
include the
>> above key
>>
>>
>>
>> mySystemType=My System Type
>>
>>
>>
>>
>>
>> But when I took RSE new connection wizard, it shows
my system
>> type name as %mySystemType. Is there any step that
I am missing?
>>
>>
>>
>> Thanks & Regards,
>>
>> Jiju George T,
>>
>>
> _______________________________________________
> dsdp-tm-dev mailing list
> dsdp-tm-dev eclipse.org
>
https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
>
>
> _______________________________________________
> dsdp-tm-dev mailing list
> dsdp-tm-dev eclipse.org
>
https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
>
>
_______________________________________________
dsdp-tm-dev mailing list
dsdp-tm-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
_______________________________________________
dsdp-tm-dev mailing list
dsdp-tm-dev eclipse.org
https://dev.eclipse.org/mailman/listinfo/dsdp-tm-dev
|