Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-vcm-dev] Configuration Wizard Problems

See my comments below marked JM>>



|---------+---------------------------------->
|         |           kratky@xxxxxxxxxx      |
|         |           Sent by:               |
|         |           platform-vcm-dev-admin@|
|         |           eclipse.org            |
|         |                                  |
|         |                                  |
|         |           04/18/02 01:04 PM      |
|         |           Please respond to      |
|         |           platform-vcm-dev       |
|         |                                  |
|---------+---------------------------------->
  >-------------------------------------------------------------------------------------------------------------|
  |                                                                                                             |
  |        To:      platform-vcm-dev@xxxxxxxxxxx                                                                |
  |        cc:                                                                                                  |
  |        Subject: [platform-vcm-dev] Configuration Wizard Problems                                            |
  >-------------------------------------------------------------------------------------------------------------|



I am seeing some very odd behavior when I add a wizard to the
"org.eclipse.team.ui.configurationWizards" extension point.

The wizard I add does not seem to interact well with the existing CVS
wizard.

Symptoms:
1) I have 3 pages in my wizard, and the past page is always blank.
Everything is fine when I have just 2 pages.
2) If I select my repository from the initial "Share Project" page, and go
to any of my own wizard pages, then go back to the "share project" page,
and select "CVS" and go to the CVS wizard pages, those are blank as well.
And suddenly, where the first 2 pages of my wizard once displayed, all are
now blank.
3) The wizard pages' title and message show up, but the controls do not.
4) The code in my WizardPages' createControl method is being executed (I
checked), and I am invoking setControl at the end of all my createControl
methods.

There is nothing unusual in my Wizard/WizardPage code that I can see; I've
compared it against
org.eclipse.team.internal.ccvs.ui.wizards.SharingWizard.java, and am at my
wit's end. Can anyone offer a suggestion? Any chance this is an Eclipse
bug?

JM>> This is entirely possible. The sharing wizard pulls tricks to allow
for nested wizards and that code ended up being less than ideal. I am very
interested in making this work correctly; if you could provide me with the
code for your wizard and pages, I will certainly look into it. The best way
to do this is to log a bug to Platform/VCM and attach the files to the bug
report.

Many thanks,
--------------------------------------------------------------
Jan Joseph Kratky
SDWB Development, IBM Corp.
----------------------------------------------------------------

P.S. I was very surprised that the
"org.eclipse.team.ui.configurationWizards" extension point is provided by
the CVS UI plugin rather than the generic team UI plugin. It seems that the
team plugin should provide this extension point, and CVS, and any other
repository provider, would extend it as "equals".

JM>> It's not contributed by the CVS UI plugin, it's contributed by the
generic team UI plugin. See org.eclipse.team.ui/plugin.xml, which contains
the definition of the extension point:

<extension-point id="configurationWizards" name="Configuration Wizards"/>

and also org.eclipse.team.cvs.ui/plugin.xml which contains the extension:

<!-- ******************* Wizards ****************** -->
   <extension
         point="org.eclipse.team.ui.configurationWizards">
      <wizard
            name="%SharingWizard.name"
            icon="icons/full/wizards/newconnect_wiz.gif"
            class="org.eclipse.team.internal.ccvs.ui.wizards.SharingWizard"
            id="org.eclipse.team.ccvs.ui.SharingWizard">
      </wizard>
   </extension>

Is this not what you see?



Back to the top