|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.Parameterization
A parameter with a specific value. This is usually a part of a
ParameterizedCommand
, which is used to refer to a command
with a collection of parameterizations.
Constructor Summary | |
---|---|
Parameterization(IParameter parameter,
String value)
Constructs a new instance of Parameterization . |
Method Summary | |
---|---|
boolean |
equals(Object object)
|
IParameter |
getParameter()
Returns the parameter that is being parameterized. |
String |
getValue()
Returns the value for the parameter in this parameterization. |
String |
getValueName()
Returns the human-readable name for the current value, if any. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Parameterization(IParameter parameter, String value)
Parameterization
.
parameter
- The parameter that is being parameterized; must not be
null
.value
- The value for the parameter; may be null
.Method Detail |
public final boolean equals(Object object)
public final IParameter getParameter()
null
.public final String getValue()
null
.public final String getValueName() throws ParameterValuesException
null
values are converted into an empty string.
null
.
ParameterValuesException
- If the parameter needed to be initialized, but couldn't be.public final int hashCode()
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.