# Initial Selection Provider

###### Identifier:

org.eclipse.wst.server.ui.initialSelectionProvider

###### Since:

This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

###### Description:

This extension point provides a way to initially select runtime types, runtimes, server types, and servers in the server wizards. The first extension found is always used and it is expected that only one initialSelectionProvider exists in an installation.

###### Configuration Markup:

<!ELEMENT extension (selectionProvider)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance

<!ELEMENT selectionProvider EMPTY>

<!ATTLIST selectionProvider

id CDATA #REQUIRED

class CDATA #REQUIRED>

- id - specifies a unique identifier for this extension point
- class - specifies the fully qualified name of the Java class that extends `org.eclipse.wst.server.ui.internal.viewers.InitialSelectionProvider`. The class must have a public 0-arg constructor.

###### Examples:

The following is an example of the extension point:

       <extension
             point="org.eclipse.wst.server.ui.initialSelectionProvider">
          <selectionProvider
                id="com.example"
                class="com.example.runtime.MySelectionProvider"/>
       </extension>

Copyright (c) 2005 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