Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] Context help for Connection Details page

Thanks Larry / John

In our plugin, we are not adding any page; instead using driverExtension extension point to override the connection property bits.

NewConnectionProfileWizardPage registers to helpsystem but it is not showing when [? button] is hit on "Create connection profile" dialog for a SQL Model-JDBC Connection.
Is it a placeholder for future use ?

Reg. John's suggestion, the context help is specific to a page; so it need to be set for each Wizard's page; i was trying few different ways to get something to show-up in the context help side bar.

Regards
Anthos

On 27/02/2007, at 7:48 AM, jograham@xxxxxxxxxx wrote:

One of our developers with experience in this area says:

"The reason the user is having this problem is because they are calling
setHelp too early.  When they are calling it, in addCustomPages(), the
actual window the wizard shows up in doesn't exist yet. They should be
doing it in their
      public void createPageControls(Composite container)
method."

Regards,
John Graham
Eclipse Data Tools Platform PMC Chair
Staff Software Engineer, Sybase, Inc.
http://dataplat.blogspot.com/




             Lawrence E
             Dunnell
<ledunnel@xxxxxx. To
             com>                      DTP development mailing list
             Sent by:                  <dtp-dev@xxxxxxxxxxx>
dtp-dev- bounces@e cc
             clipse.org
Subject Re: [dtp-dev] Context help for 
             02/26/2007 02:22          Connection Details page
             PM


             Please respond to
              DTP development
               mailing list
             <dtp-dev@eclipse.
                   org>







I have never seen contextual help added to the Wizard class, so I don't know if it is even possible. Usually, it is added to each wizard page in
the CreateControl() method.  You can look at the
NewConnectionProfileWizardPage class in the
org.eclipse.datatools.connectivity.ui plug-in for an example.

Larry Dunnell
RAD Data Tools, DB2 Tooling, Eclipse WTP Project and Eclipse DTP Project
IBM DB2 Information Management Software




 Anil T Samuel
 <anil.samuel@xxxxxxxxxx>
Sent by: To dtp-dev-bounces@xxxxxxxxxxx DTP development mailing list <dtp- dev@xxxxxxxxxxx> cc
 02/25/2007 09:51 PM
Subject
                                                [dtp-dev] Context help
Please respond to for Connection Details
    DTP development mailing list                page
        <dtp-dev@xxxxxxxxxxx>











Hi

I am looking for ways to add contextual help to Connection Details
page of New Connection Wizard.
When I try the following in the wizard class, this.getContainer() is
returning null; is it a bug ?

public void addCustomPages() {
                                 super.addCustomPages();
                                 this.mPropPage

.setDriverCategory
("oracle.dbtools.dtp.connectivity.db.driverCategory");
Control c = (Control) this.getContainer(); PlatformUI.getWorkbench ( ).getHelpSystem(
).setHelp(c, "oracle-dtp-
core-help-createConnection");
                }

any other of way to get the context help ?

Anthos
_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev
_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev


_______________________________________________
dtp-dev mailing list
dtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dtp-dev



Back to the top