Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Cheat sheets and Properties dialog
Cheat sheets and Properties dialog [message #660825] Mon, 21 March 2011 19:14 Go to next message
Mary Huang is currently offline Mary HuangFriend
Messages: 1
Registered: July 2009
Junior Member
I am creating a cheat sheet where I need to guide users through the
configuration of the build path for a Java project. This requires the user
to bring up the properties dialog for a Java project and then follow a
series of steps to add external jars, etc. The problem I am running into is
that once the user brings up the properties dialog, which is a modal dialog,
they are no longer able to go back to the cheat sheet to continue reading
the steps.

With other modal dialogs (e.g. New Wizard dialogs), I've been able to
introduce a command in the cheat sheet to bring up the dialog and then use
dialog=true attribute to get the cheat sheet to "follow" the dialog. I can't
seem to be able to use a command to bring up the properties dialog for a
project and do the same.

Any tips or ideas?

Thanks,

Mary
Re: Cheat sheets and Properties dialog [message #661423 is a reply to message #660825] Thu, 24 March 2011 15:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bugzilla.post.gmail.com

What causes the cheat sheet to be able to "follow" some dialogs (show in
tray of the dialog) and not others? Is it the way the dialog is coded, the
way the command to invoke the dialog is coded, or the way the cheat sheet is
written (assuming that the dialog=true attribute is set)?

Mary
Re: Cheat sheets and Properties dialog [message #661488 is a reply to message #661423] Thu, 24 March 2011 21:59 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
There are three conditions that all have to be true for the tray containing a cheatsheet to be opened at the right hand side of a dialog.

1. The dialog is opened from a cheat sheet using a command.
2. The <item> in the cheat sheet has dialog="true"
3. The dialog class must be a subclass of TrayDialog ( you can tell because there is a button with a question mark at the lower left ).
Re: Cheat sheets and Properties dialog [message #661663 is a reply to message #661488] Fri, 25 March 2011 19:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bugzilla.post.gmail.com

Makes sense.

The command to bring up the Properties dialog does not work from a cheat
sheet. Probably because there is no selection, so it does not know which
Properties to show?

"Chris Goldthorpe" <cgold@us.ibm.com> wrote in message
news:imgeel$3jl$1@news.eclipse.org...
> There are three conditions that all have to be true for the tray
> containing a cheatsheet to be opened at the right hand side of a dialog.
>
> 1. The dialog is opened from a cheat sheet using a command.
> 2. The <item> in the cheat sheet has dialog="true" 3. The dialog class
> must be a subclass of TrayDialog ( you can tell because there is a button
> with a question mark at the lower left ).
Re: Cheat sheets and Properties dialog [message #691539 is a reply to message #661663] Fri, 01 July 2011 17:11 Go to previous messageGo to next message
Rich Payton is currently offline Rich PaytonFriend
Messages: 21
Registered: June 2011
Junior Member
I had this same problem and the following code worked successfully for me:

<item dialog="true" skip="false" title="...">


I made it a required step so that the user didn't inadvertently open the window from outside the Cheat Sheet. By doing this the Cheat Sheet actually appears on the right hand side of the window that was just opened and when the window is close the Cheat Sheet progress is passed to the main Cheat Sheet.
Re: Cheat sheets and Properties dialog [message #693139 is a reply to message #660825] Tue, 05 July 2011 22:01 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Is the problem that you can't find a command to open the properties dialog or that you are using a command but it is not opening the cheat sheet next to the dialog?
Re: Cheat sheets and Properties dialog [message #693977 is a reply to message #693139] Thu, 07 July 2011 15:13 Go to previous message
Rich Payton is currently offline Rich PaytonFriend
Messages: 21
Registered: June 2011
Junior Member
For this case I both found the command and opened it in the dialog. I have a question in a different post which asks about commands that the composer cannot find.

I'm not having a problem getting the cheat sheet to show up inside the dialog. I'm having trouble finding the actions that are available.

[Updated on: Thu, 07 July 2011 15:15]

Report message to a moderator

Previous Topic:Infocenter: link to an anchor in another plugin goes to top of file
Next Topic:Move toc.xml into subfolders
Goto Forum:
  


Current Time: Fri Oct 11 02:29:38 GMT 2024

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

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

Back to the top