Object Selection Widget
Identifier:
org.eclipse.jst.ws.consumption.ui.objectSelectionWidget
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:
Configuration Markup:
<!ELEMENT extension (objectSelectionWidget+)>
<!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 objectSelectionWidget EMPTY>
<!ATTLIST objectSelectionWidget
class CDATA #REQUIRED
id CDATA #REQUIRED
transformer CDATA #IMPLIED
external_modify (true | false) "false">
This extension point entry allows an extender to add new ways of browsing/finding artifacts that can be used to create Web services.
- class - This class defines Selection Widget to be displayed on the Object Selection page of the Web services wizards. This class must implement the org.eclipse.jst.ws.consumption.ui.widgets.object.IObjectSelectionWidget interface.
- id - This id uniquely identifies this objectSelectionWidget element.
- transformer - This attribute specifies a class that must implement the org.eclipse.wst.command.internal.env.core.data.Transformer interface. This interface contains a transform method. Even though the type of the input parameter and the return value are of type Object it is expected that they will be used with the type org.eclipse.jface.viewers.IStructuredSelection. This transformation method allows the extender to modify the initial selection to an IStructuredSelection object that is more readily usable by the runtime server type.
- external_modify - This attribute specifies whether the object selection can be specified outside the object selection widget. An example, of this would be on page one of the web service widget by typing in a text field. If set to true, the extender of ObjectSelectionWidget must provide a validate(String) implementation that does any necessary validation and sets the object selection on the widget. The default value of this attribute is false. Any text fields will be set to READ_ONLY style so the object selection can only be modified with object selection widget implementation directly.
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