JavaScript Development Tools
Release 3.2

org.eclipse.wst.jsdt.debug.core.jsdi.connect
Interface Connector.SelectedArgument

All Superinterfaces:
Connector.Argument, Serializable
Enclosing interface:
Connector

public static interface Connector.SelectedArgument
extends Connector.Argument

Specialization of Connector.Argument whose value is a String selected from a list of choices.


Method Summary
 List choices()
          The list of choices for this connector
 boolean isValid(String value)
          Returns if the given value is valid with-respect-to this Connector.Argument
 
Methods inherited from interface org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector.Argument
description, label, mustSpecify, name, setValue, value
 

Method Detail

choices

List choices()
The list of choices for this connector

Returns:
the complete list of choices for ths connector

isValid

boolean isValid(String value)
Description copied from interface: Connector.Argument
Returns if the given value is valid with-respect-to this Connector.Argument

Specified by:
isValid in interface Connector.Argument
Parameters:
value - the value to test for validity, null is accepted
Returns:
true if the Connector.Argument is valid false otherwise

JavaScript Development Tools
Release 3.2

Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.