Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to use lables from IDialogConstants for use with RCP and RAP (SingleSource)
How to use lables from IDialogConstants for use with RCP and RAP (SingleSource) [message #508513] Tue, 19 January 2010 04:37 Go to next message
Eclipse UserFriend
Hi all,

how can I use the lables from IDialogConstants for use with RCP and RAP to
SingleSource my Plugin?
I have already read single_sourcing_guide.pdf but I cannot find a solution
for this.

Regards,
Markus
Re: How to use lables from IDialogConstants for use with RCP and RAP (SingleSource) [message #509017 is a reply to message #508513] Thu, 21 January 2010 02:53 Go to previous messageGo to next message
Eclipse UserFriend
Doesn't anybody have a solution for this? Am I the first one who needs it? I
hope not...

Regards,

Markus Kr
Re: How to use lables from IDialogConstants for use with RCP and RAP (SingleSource) [message #509021 is a reply to message #509017] Wed, 20 January 2010 22:10 Go to previous messageGo to next message
Eclipse UserFriend
Maybe you can find an idea here:

news://news.eclipse.org:119/g9h92g$b5h$1@build.eclipse.org

Markus Krüger schrieb:
> Doesn't anybody have a solution for this? Am I the first one who needs it? I
> hope not...
>
> Regards,
>
> Markus Krüger
>
> "Markus Krüger" <krueger@ion.ag> schrieb im Newsbeitrag
> news:hj3ugv$1f2$1@build.eclipse.org...
>> Hi all,
>>
>> how can I use the lables from IDialogConstants for use with RCP and RAP to
>> SingleSource my Plugin?
>> I have already read single_sourcing_guide.pdf but I cannot find a solution
>> for this.
>>
>> Regards,
>> Markus
>>
>
>
Re: How to use lables from IDialogConstants for use with RCP and RAP (SingleSource) [message #509055 is a reply to message #509017] Thu, 21 January 2010 04:43 Go to previous messageGo to next message
Eclipse UserFriend
Hi Markus,

you're not the first one. This problem occurs in almost all
single-sourcing situations. I'd suggest to go the standard
single-sourcing way by extracting the accessor to the messages into the
fragments. You could almost reuse the IDialogConstant class that ships
with RAP as it does everything you need.

By the way: I'm just about to open a bug against JFace to provide a
non-static accessor for the message strings. Will post the bug number
when it's ready.

Regards,
Benny

Markus Krüger wrote:
> Doesn't anybody have a solution for this? Am I the first one who needs it? I
> hope not...
>
> Regards,
>
> Markus Krüger
>
> "Markus Krüger" <krueger@ion.ag> schrieb im Newsbeitrag
> news:hj3ugv$1f2$1@build.eclipse.org...
>> Hi all,
>>
>> how can I use the lables from IDialogConstants for use with RCP and RAP to
>> SingleSource my Plugin?
>> I have already read single_sourcing_guide.pdf but I cannot find a solution
>> for this.
>>
>> Regards,
>> Markus
>>
>
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: How to use lables from IDialogConstants for use with RCP and RAP (SingleSource) [message #511811 is a reply to message #509055] Tue, 02 February 2010 20:04 Go to previous message
Eclipse UserFriend
Just for the record, the mentioned bug is

300472: [Dialogs] [JFace] Provide accessor for dialog messages
https://bugs.eclipse.org/bugs/show_bug.cgi?id=300472

Regards,
Benny

Benjamin Muskalla wrote:
> Hi Markus,
>
> you're not the first one. This problem occurs in almost all
> single-sourcing situations. I'd suggest to go the standard
> single-sourcing way by extracting the accessor to the messages into the
> fragments. You could almost reuse the IDialogConstant class that ships
> with RAP as it does everything you need.
>
> By the way: I'm just about to open a bug against JFace to provide a
> non-static accessor for the message strings. Will post the bug number
> when it's ready.
>
> Regards,
> Benny
>
> Markus Krüger wrote:
>> Doesn't anybody have a solution for this? Am I the first one who needs
>> it? I hope not...
>>
>> Regards,
>>
>> Markus Krüger
>>
>> "Markus Krüger" <krueger@ion.ag> schrieb im Newsbeitrag
>> news:hj3ugv$1f2$1@build.eclipse.org...
>>> Hi all,
>>>
>>> how can I use the lables from IDialogConstants for use with RCP and
>>> RAP to SingleSource my Plugin?
>>> I have already read single_sourcing_guide.pdf but I cannot find a
>>> solution for this.
>>>
>>> Regards,
>>> Markus
>>>
>>
>>
>
>


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Previous Topic:How to get program arguments from RAP application
Next Topic:How to start RAP from command line ?
Goto Forum:
  


Current Time: Wed Nov 05 23:11:53 EST 2025

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

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

Back to the top