Interface MCommandParameter
- All Superinterfaces:
MApplicationElement
- All Known Implementing Classes:
CommandParameterImpl
A representation of the model object 'Command Parameter'.
This represents the format of a parameter to be used in a Command.
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the value of the 'Name' attribute.Returns the value of the 'Type Id' attribute.boolean
Returns the value of the 'Optional' attribute.void
Sets the value of the 'Name
' attribute.void
setOptional
(boolean value) Sets the value of the 'Optional
' attribute.void
Sets the value of the 'Type Id
' attribute.Methods inherited from interface org.eclipse.e4.ui.model.application.MApplicationElement
getContributorURI, getElementId, getPersistedState, getTags, getTransientData, setContributorURI, setElementId
-
Method Details
-
getName
String getName()Returns the value of the 'Name' attribute.The name of the parameter.
- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
Sets the value of the 'Name
' attribute.- Parameters:
value
- the new value of the 'Name' attribute.- See Also:
-
getTypeId
String getTypeId()Returns the value of the 'Type Id' attribute.The type of the parameter.
- Returns:
- the value of the 'Type Id' attribute.
- See Also:
-
setTypeId
Sets the value of the 'Type Id
' attribute.- Parameters:
value
- the new value of the 'Type Id' attribute.- See Also:
-
isOptional
boolean isOptional()Returns the value of the 'Optional' attribute. The default value is"true"
.Determines whether or not this parameter is optional.
- Returns:
- the value of the 'Optional' attribute.
- See Also:
-
setOptional
void setOptional(boolean value) Sets the value of the 'Optional
' attribute.- Parameters:
value
- the new value of the 'Optional' attribute.- See Also:
-