Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:37 Go to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
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 07:53 Go to previous messageGo to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
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] Thu, 21 January 2010 03:10 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 2
Registered: July 2009
Junior Member
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 09:43 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
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] Wed, 03 February 2010 01:04 Go to previous message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 338
Registered: July 2009
Senior Member
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: Fri Apr 26 03:59:48 GMT 2024

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

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

Back to the top