ECF UI Refactoring |
|
New ECF UI Extension Points |
<extension point="org.eclipse.ecf.ui.connectWizards"> <wizard class="org.my.client.MyClientConnectWizard" containerFactoryName="org.my.client" id="my.client.connect.wizard" name="My Client Connect Wizard" icon="icons/connect.png"> </wizard> </extension>Note the containerFactoryName ("org.my.client"). This value must match the name of the provider container factory registered under the org.eclipse.ecf.containerFactory extension point. The specified class ("org.my.client.MyClientConnectWizard") must implement the org.eclipse.ecf.ui.IConnectWizard interface. Clients can then display this wizard using the following: ConnectWizardDialog cwd = new ConnectWizardDialog(window.getShell(), window.getWorkbench(), new ContainerHolder(container, ContainerFactory.getDefault().getDescriptionByName("org.my.client")); cwd.open();Where the container is a non-null IContainer instance to connect. Here's a wizard used for the generic provider: |