Each system type must have exactly one new connection wizard associated. In case multiple new connection wizard contributions would match the same system type, the new connection wizard which matched the system type first, will be used.
One new connection wizard may be registered for multiple system types. Such wizards should implement the org.eclipse.jface.viewers.ISelectionChangedListener
interface. to get notified about the currently selected system type within the new connection system type selection page.
Note: The main RSE new connection wizard is using the selectionChanged(SelectionChangedEvent)
to notify the nested wizards about
selectionChanged
call has two elements. The first element is always the selected system type (instance of type IRSESystemType
) and the second one, if present, is the selected context from the caller (instance of type ISelection
).
New connection wizard may have the need of contributing different attribute values for the same attribute dependent on the current system type selection. These wizards should implement the org.eclipse.rse.ui.wizards.newconnection.IRSEDynamicNewConnectionWizard
.
<!ELEMENT extension (newConnectionWizard* | category*)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>(no description available)
<!ELEMENT newConnectionWizard EMPTY>
<!ATTLIST newConnectionWizard
id CDATA #REQUIRED
name CDATA #REQUIRED
description CDATA #IMPLIED
systemTypeIds CDATA #IMPLIED
class CDATA #REQUIRED
categoryId CDATA #IMPLIED
canFinishEarly (true | false) "false"
hasPages (true | false) "true"
>org.eclipse.jface.wizard.IWizard
.The default RSE wizard category id is "org.eclipse.rse.ui.wizards.newconnection.default.category".
<!ELEMENT category EMPTY>
<!ATTLIST category
id CDATA #REQUIRED
name CDATA #REQUIRED
parentCategoryId CDATA #IMPLIED
>
<extension point="org.eclipse.rse.ui.newConnectionWizards"> <category id="org.eclipse.rse.ui.wizards.newconnection.default.category" name="%Creation.category.name"/> <newConnectionWizard id="org.eclipse.rse.ui.wizards.newconnection.RSEDefaultNewConnectionWizard" class="org.eclipse.rse.ui.wizards.newconnection.RSEDefaultNewConnectionWizard" name="%DefaultRSENewConnectionWizard.name" canFinishEarly="false" categoryId="org.eclipse.rse.ui.wizards.newconnection.default.category" hasPages="true"> </newConnectionWizard> </extension>
org.eclipse.rse.ui
plug-in.
Copyright (c) 2006, 2007 IBM Corporation and others. All Rights Reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation Uwe Stieber (Wind River) - rework to take standard Eclipse IWizard's