diff options
author | slewis | 2006-11-21 21:25:22 +0000 |
---|---|---|
committer | slewis | 2006-11-21 21:25:22 +0000 |
commit | d657efa6eee6dc6622b0b35df73fbdd995a75552 (patch) | |
tree | 4fd7283f6fadb937f71b1016740a15f6b6bd0ed4 /framework/bundles/org.eclipse.ecf.ui | |
parent | 63298369b33b46050774c76fef02ea5541613534 (diff) | |
download | org.eclipse.ecf-d657efa6eee6dc6622b0b35df73fbdd995a75552.tar.gz org.eclipse.ecf-d657efa6eee6dc6622b0b35df73fbdd995a75552.tar.xz org.eclipse.ecf-d657efa6eee6dc6622b0b35df73fbdd995a75552.zip |
Added documentation for schema
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.ui')
-rw-r--r-- | framework/bundles/org.eclipse.ecf.ui/schema/configurationWizards.exsd | 73 | ||||
-rw-r--r-- | framework/bundles/org.eclipse.ecf.ui/schema/connectWizards.exsd | 62 |
2 files changed, 123 insertions, 12 deletions
diff --git a/framework/bundles/org.eclipse.ecf.ui/schema/configurationWizards.exsd b/framework/bundles/org.eclipse.ecf.ui/schema/configurationWizards.exsd index 323f4e848..f7bd6d5b1 100644 --- a/framework/bundles/org.eclipse.ecf.ui/schema/configurationWizards.exsd +++ b/framework/bundles/org.eclipse.ecf.ui/schema/configurationWizards.exsd @@ -6,7 +6,8 @@ <meta.schema plugin="org.eclipse.ecf.ui" id="configurationWizards" name="ECF Configuration Wizards"/> </appInfo> <documentation> - [Enter description of this extension point.] + This extension point allows providers to register wizards for creating and configuration IContainer +instances. </documentation> </annotation> @@ -166,7 +167,7 @@ of the export engine functionality. <meta.section type="since"/> </appInfo> <documentation> - [Enter the first release in which this extension point appears.] + ECF v0.9.4 </documentation> </annotation> @@ -175,7 +176,22 @@ of the export engine functionality. <meta.section type="examples"/> </appInfo> <documentation> - [Enter extension point usage example here.] + Implementers of this extension point must specify an extension of the <b>org.eclipse.ecf.ui.configurationWizards</b> extension point. + +<pre> + <extension + point="org.eclipse.ecf.ui.configurationWizards"> + <wizard + class="org.my.client.MyClientConfigurationWizard" + containerFactoryName="org.my.client" + id="my.client.configuration.wizard" + name="My Client Configuration Wizard" + icon="icons/configuration.png"> + </wizard> + </extension> +</pre> + + </documentation> </annotation> @@ -184,7 +200,41 @@ of the export engine functionality. <meta.section type="apiInfo"/> </appInfo> <documentation> - [Enter API information here.] + The "class" attribute (required) must have a class that implements the <b>org.eclipse.ecf.ui.IConfigurationWizard</b> interface: + +<pre> +/** + * Required interface for implementing + * <b>org.eclipse.ecf.ui.configurationWizards</b> extension point. Extensions + * for extension point <b>org.eclipse.ecf.ui.configurationWizards</b> must + * provide a class implementing this interface. + */ +public interface IConfigurationWizard extends IWizard { + + /** + * Initialize the wizard with the workbench and the desired container type + * description + * + * @param workbench + * the workbench for the wizard. Will not be null. + * @param description + * the {@link ContainerTypeDescription} to use to + * create/configure the new IContainer instance + */ + public void init(IWorkbench workbench, + ContainerTypeDescription description); + + /** + * Get result of configuration. + * + * @return ContainerHolder the result of the configuration. If null, the container could not be + * created. + */ + public ContainerHolder getConfigurationResult(); +} + +</pre> + </documentation> </annotation> @@ -193,7 +243,7 @@ of the export engine functionality. <meta.section type="implementation"/> </appInfo> <documentation> - [Enter information about supplied implementation of this extension point.] + </documentation> </annotation> @@ -202,7 +252,18 @@ of the export engine functionality. <meta.section type="copyright"/> </appInfo> <documentation> - + /**************************************************************************** + * Copyright (c) 2004 Composent, Inc. 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: + * Composent, Inc. - initial API and implementation + *****************************************************************************/ + + </documentation> </annotation> diff --git a/framework/bundles/org.eclipse.ecf.ui/schema/connectWizards.exsd b/framework/bundles/org.eclipse.ecf.ui/schema/connectWizards.exsd index b6f244c70..ff3a2b3e5 100644 --- a/framework/bundles/org.eclipse.ecf.ui/schema/connectWizards.exsd +++ b/framework/bundles/org.eclipse.ecf.ui/schema/connectWizards.exsd @@ -6,7 +6,8 @@ <meta.schema plugin="org.eclipse.ecf.ui" id="connectWizards" name="ECF Connect Wizard"/> </appInfo> <documentation> - ECF Connect Wizard Extension Point. + This extension point allows providers to register wizards for connecting IContainer +instances. </documentation> </annotation> @@ -166,7 +167,7 @@ of the export engine functionality. <meta.section type="since"/> </appInfo> <documentation> - [Enter the first release in which this extension point appears.] + ECF 0.9.4 </documentation> </annotation> @@ -175,7 +176,21 @@ of the export engine functionality. <meta.section type="examples"/> </appInfo> <documentation> - [Enter extension point usage example here.] + Implementers of this extension point must specify an extension of the <b>org.eclipse.ecf.ui.connectWizards</b> extension point. + +<pre> + <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> +</pre> + </documentation> </annotation> @@ -184,7 +199,31 @@ of the export engine functionality. <meta.section type="apiInfo"/> </appInfo> <documentation> - [Enter API information here.] + The "class" attribute (required) must have a class that implements the <b>org.eclipse.ecf.ui.IConfigurationWizard</b> interface: + +<pre> +/** + * Required interface for implementing <b>org.eclipse.ecf.ui.connectWizards</b> + * extension point. Extensions for extension point + * <b>org.eclipse.ecf.ui.connectWizards</b> must provide a class implementing + * this interface. + */ +public interface IConnectWizard extends IWizard { + + /** + * Initialize the connect wizard. + * + * @param workbench + * the currently working workbench instance. Will not be null. + * @param container + * the container that is to be connected. Will not be null. + */ + public void init(IWorkbench workbench, IContainer container); +} + +</pre> + + </documentation> </annotation> @@ -193,7 +232,7 @@ of the export engine functionality. <meta.section type="implementation"/> </appInfo> <documentation> - [Enter information about supplied implementation of this extension point.] + </documentation> </annotation> @@ -202,7 +241,18 @@ of the export engine functionality. <meta.section type="copyright"/> </appInfo> <documentation> - + /**************************************************************************** + * Copyright (c) 2004 Composent, Inc. 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: + * Composent, Inc. - initial API and implementation + *****************************************************************************/ + + </documentation> </annotation> |