Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » TrayDialog and HelpTray
TrayDialog and HelpTray [message #491510] Wed, 14 October 2009 20:05 Go to next message
Paul Kendall is currently offline Paul KendallFriend
Messages: 40
Registered: July 2009
Member
Is there any chance of getting these implemented in the 1.3 timeframe?
We would like to use these for providing help on configuring parts of our
application.

Cheers,
Paul Kendall
Re: TrayDialog and HelpTray [message #491772 is a reply to message #491510] Thu, 15 October 2009 18:07 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Paul,

the TrayDialog is already there. What's the HelpTray for? What would
you like to achieve?

Cheers,
Rüdiger

Paul Kendall wrote:
> Is there any chance of getting these implemented in the 1.3 timeframe?
> We would like to use these for providing help on configuring parts of our
> application.
>
> Cheers,
> Paul Kendall
Re: TrayDialog and HelpTray [message #492129 is a reply to message #491772] Sun, 18 October 2009 22:20 Go to previous messageGo to next message
Paul Kendall is currently offline Paul KendallFriend
Messages: 40
Registered: July 2009
Member
Rüdiger Herrmann wrote:

> Paul,
>
> the TrayDialog is already there. What's the HelpTray for? What would
> you like to achieve?
>
I have a dialog that extends TrayDialog

public class TestDialog extends TrayDialog {
protected TestDialog(Shell shell) {
super(shell);
}

@Override
protected void configureShell(Shell newShell) {
super.configureShell(newShell);
setHelpAvailable(true);
PlatformUI.getWorkbench().getHelpSystem().setHelp(newShell,
"com.orchestral.bugs.configuration");
}

@Override
protected boolean isResizable() {
return true;
}
}

I have all the help configured correctly, as this runs OK in an eclipse
based environment.

It the RAP environment the help does not pop-out the side of the dialog.

I can attach the full source to the test if you like.
> Cheers,
> Rüdiger
>
Cheers,
Paul
Re: TrayDialog and HelpTray [message #492156 is a reply to message #492129] Mon, 19 October 2009 07:36 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Paul,

if you are running against 1.3M2 or CVS HEAD you need to provide you own
implementation of Help UI using org.eclipse.ui.helpSupport
< http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/reference/extension-points/org_eclipse_ui_ helpSupport.html>
extension point. Take a look at this FAQ entry [1] for more information
and example implementation.

[1]
http://wiki.eclipse.org/RAP/FAQ#How_to_integrate_the_Eclipse _Help_System_in_a_RAP_application.3F

HTH,
Ivan

Paul Kendall wrote:
> Rüdiger Herrmann wrote:
>
>
>> Paul,
>>
>> the TrayDialog is already there. What's the HelpTray for? What would
>> you like to achieve?
>>
>>
> I have a dialog that extends TrayDialog
>
> public class TestDialog extends TrayDialog {
> protected TestDialog(Shell shell) {
> super(shell);
> }
>
> @Override
> protected void configureShell(Shell newShell) {
> super.configureShell(newShell);
> setHelpAvailable(true);
> PlatformUI.getWorkbench().getHelpSystem().setHelp(newShell,
> "com.orchestral.bugs.configuration");
> }
>
> @Override
> protected boolean isResizable() {
> return true;
> }
> }
>
> I have all the help configured correctly, as this runs OK in an eclipse
> based environment.
>
> It the RAP environment the help does not pop-out the side of the dialog.
>
> I can attach the full source to the test if you like.
>
>> Cheers,
>> Rüdiger
>>
>>
> Cheers,
> Paul
>
Re: TrayDialog and HelpTray [message #492301 is a reply to message #492156] Mon, 19 October 2009 21:01 Go to previous messageGo to next message
Paul Kendall is currently offline Paul KendallFriend
Messages: 40
Registered: July 2009
Member
Ivan Furnadjiev wrote:

> Hi Paul,
>
> if you are running against 1.3M2 or CVS HEAD you need to provide you own
> implementation of Help UI using org.eclipse.ui.helpSupport
>
< http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/reference/extension-
points/org_eclipse_ui_helpSupport.html>
> extension point. Take a look at this FAQ entry [1] for more information
> and example implementation.
>
> [1]
>
http://wiki.eclipse.org/RAP/FAQ#How_to_integrate_the_Eclipse _Help_System_in_a_RAP_application.3F
>
> HTH,
> Ivan
>
Thanks Ivan.
I have followed the FAQ, but still to no avail. I have found that the
TrayDialog notifies a typed listener of SWT.Help (in the helpPressed
method), but the addHelpListener (on Control) does not register a typed
listener. If I look at the SWT source for control it does register a typed
listener for SWT.Help. The RAP implementation uses a HelpEvent helper class
which uses the untyped event mechanism. Either the TrayDialog or the Control
in RAP needs to be changed to fix this problem. Also, the UtypedEventAdapter
would need to have the SWT.Help case added to it.

Cheers,
Paul
Re: TrayDialog and HelpTray [message #492355 is a reply to message #492301] Tue, 20 October 2009 08:00 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Hi Paul,

thanks for pointing that out. Could you please file a bugzilla so
that we can keep track of this problem.

TIA
Rüdiger


Paul Kendall wrote:
> Ivan Furnadjiev wrote:
>
>> Hi Paul,
>>
>> if you are running against 1.3M2 or CVS HEAD you need to provide you own
>> implementation of Help UI using org.eclipse.ui.helpSupport
>>
> < http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/reference/extension-
> points/org_eclipse_ui_helpSupport.html>
>> extension point. Take a look at this FAQ entry [1] for more information
>> and example implementation.
>>
>> [1]
>>
> http://wiki.eclipse.org/RAP/FAQ#How_to_integrate_the_Eclipse _Help_System_in_a_RAP_application.3F
>> HTH,
>> Ivan
>>
> Thanks Ivan.
> I have followed the FAQ, but still to no avail. I have found that the
> TrayDialog notifies a typed listener of SWT.Help (in the helpPressed
> method), but the addHelpListener (on Control) does not register a typed
> listener. If I look at the SWT source for control it does register a typed
> listener for SWT.Help. The RAP implementation uses a HelpEvent helper class
> which uses the untyped event mechanism. Either the TrayDialog or the Control
> in RAP needs to be changed to fix this problem. Also, the UtypedEventAdapter
> would need to have the SWT.Help case added to it.
>
> Cheers,
> Paul
Re: TrayDialog and HelpTray [message #492566 is a reply to message #492355] Tue, 20 October 2009 18:44 Go to previous message
Paul Kendall is currently offline Paul KendallFriend
Messages: 40
Registered: July 2009
Member
Rüdiger Herrmann wrote:

> Hi Paul,
>
> thanks for pointing that out. Could you please file a bugzilla so
> that we can keep track of this problem.
>
> TIA
> Rüdiger
>
Bug number 292804 has been added.

Cheers,
Paul
Previous Topic:deploy my RAP-App as War-File
Next Topic:WidgetSelector
Goto Forum:
  


Current Time: Thu Apr 25 00:50:16 GMT 2024

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

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

Back to the top