Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to remove/change the branding after Workbench closure
How to remove/change the branding after Workbench closure [message #133961] Mon, 25 May 2009 07:20 Go to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hello everyone,

I have used branding through org.eclipse.rap.ui.branding

How can I change it at run-time, when the workbench is closed? Any idea?

Thanks,
Dmitry
Re: How to remove/change the branding after Workbench closure [message #134120 is a reply to message #133961] Tue, 26 May 2009 11:03 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Dmitry,

currently the branding can only be specified at session (re-)start.
The branding is derived from the servlet-name. For details please
see the extension point reference documentation.
Does that answer your question?

HTH
Rüdiger


Dmitry Pryadkin wrote:
> Hello everyone,
>
> I have used branding through org.eclipse.rap.ui.branding
>
> How can I change it at run-time, when the workbench is closed? Any idea?
>
> Thanks,
> Dmitry
Re: How to remove/change the branding after Workbench closure [message #134234 is a reply to message #134120] Wed, 27 May 2009 11:38 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Hi Rüdiger,

As I understand, I can put some javascript code in the branding. But
then how can I interact with it later? Would a phase listener help me?

Thanks,
Dmitry


Rüdiger Herrmann wrote:
> currently the branding can only be specified at session (re-)start. The
> branding is derived from the servlet-name. For details please see the
> extension point reference documentation.
> Does that answer your question?
Re: How to remove/change the branding after Workbench closure [message #134288 is a reply to message #134234] Wed, 27 May 2009 19:42 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Dmitry,

I'm afraid, I don't understand what you want to achieve. The
recommended way to deliver Javascript to the client is to register
it by using the the org.eclipse.rap.ui.resources extension point.
Depending on the use case, phase listeners may be adequate to make
calls to the Javascript code.

HTH
Rüdiger

Dmitry Pryadkin wrote:
> Hi Rüdiger,
>
> As I understand, I can put some javascript code in the branding. But
> then how can I interact with it later? Would a phase listener help me?
>
> Thanks,
> Dmitry
>
>
> Rüdiger Herrmann wrote:
>> currently the branding can only be specified at session (re-)start.
>> The branding is derived from the servlet-name. For details please see
>> the extension point reference documentation.
>> Does that answer your question?
Re: How to remove/change the branding after Workbench closure [message #134338 is a reply to message #134288] Thu, 28 May 2009 08:46 Go to previous messageGo to next message
Dmitry Pryadkin is currently offline Dmitry PryadkinFriend
Messages: 146
Registered: July 2009
Senior Member
Rüdiger,

Sorry if I wasn't clear. I have used branding to organise a page with
splash-screen to show while app is loading.

But then I would have to make changes to that page when app has loaded.

Rüdiger Herrmann wrote:
> Dmitry,
>
> I'm afraid, I don't understand what you want to achieve. The recommended
> way to deliver Javascript to the client is to register it by using the
> the org.eclipse.rap.ui.resources extension point.
> Depending on the use case, phase listeners may be adequate to make calls
> to the Javascript code.
>
> HTH
> Rüdiger
>
> Dmitry Pryadkin wrote:
>> Hi Rüdiger,
>>
>> As I understand, I can put some javascript code in the branding. But
>> then how can I interact with it later? Would a phase listener help me?
>>
>> Thanks,
>> Dmitry
>>
>>
>> Rüdiger Herrmann wrote:
>>> currently the branding can only be specified at session (re-)start.
>>> The branding is derived from the servlet-name. For details please see
>>> the extension point reference documentation.
>>> Does that answer your question?
Re: How to remove/change the branding after Workbench closure [message #134701 is a reply to message #134338] Tue, 02 June 2009 11:13 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Dmitry,

if you want to hide this splash image once the application was
started, a phase listener will probably best suitable.

HTH
Rüdiger


Dmitry Pryadkin wrote:
> Rüdiger,
>
> Sorry if I wasn't clear. I have used branding to organise a page with
> splash-screen to show while app is loading.
>
> But then I would have to make changes to that page when app has loaded.
>
> Rüdiger Herrmann wrote:
>> Dmitry,
>>
>> I'm afraid, I don't understand what you want to achieve. The
>> recommended way to deliver Javascript to the client is to register it
>> by using the the org.eclipse.rap.ui.resources extension point.
>> Depending on the use case, phase listeners may be adequate to make
>> calls to the Javascript code.
>>
>> HTH
>> Rüdiger
>>
>> Dmitry Pryadkin wrote:
>>> Hi Rüdiger,
>>>
>>> As I understand, I can put some javascript code in the branding. But
>>> then how can I interact with it later? Would a phase listener help me?
>>>
>>> Thanks,
>>> Dmitry
>>>
>>>
>>> Rüdiger Herrmann wrote:
>>>> currently the branding can only be specified at session (re-)start.
>>>> The branding is derived from the servlet-name. For details please
>>>> see the extension point reference documentation.
>>>> Does that answer your question?
Previous Topic:ExternalBrowser open url problem
Next Topic:CTabFolder
Goto Forum:
  


Current Time: Tue Sep 24 23:07:44 GMT 2024

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

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

Back to the top