public interface IParameter
A parameter for a command. A parameter identifies a type of information that the command might accept. For example, a "Show View" command might accept the id of a view for display. This parameter also identifies possible values, for display in the user interface.
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the identifier for this parameter.
|
String |
getName()
Returns the human-readable name for this parameter.
|
IParameterValues |
getValues()
Returns the values associated with this parameter.
|
boolean |
isOptional()
Returns whether parameter is optional.
|
String getId()
null
.String getName()
null
.IParameterValues getValues() throws ParameterValuesException
null
.ParameterValuesException
- If the values can't be retrieved for some reason.boolean isOptional()
true
if the parameter is optional;
false
if it is required.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.