Class Index | File Index

Classes


Class orion.metatype.PropertyType

Describes the data type of a property.
Defined in: </shared/eclipse/e4/orion/I201209132230/plugins/org.eclipse.orion.client.core/web/orion/metatype.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
A PropertyType describes the data type of a property.
Method Summary
Method Attributes Method Name and Description
 
Returns the default value.
 
Returns the id.
 
Returns the description.
 
Returns a list of labels for option values.
 
Returns the option values that this property can take.
 
Returns the type.
Class Detail
orion.metatype.PropertyType()
A PropertyType describes the data type of a property.

It typically serves to describe the type of an individual property that may appear in a orion.cm.ConfigurationProperties dictionary.

Method Detail
{Object} getDefaultValue()
Returns the default value.
Returns:
{Object} The default value, or null if no default exists.

{String} getId()
Returns the id.
Returns:
{String} The id of this PropertyType.

{String} getName()
Returns the description.
Returns:
{String} The name, or null.

{String[]|null} getOptionLabels()
Returns a list of labels for option values.
Returns:
{String[]|null} The option labels. The ordering of the returned array matches the ordering of the values array returned by #getOptionValues. If there are no option labels available, null is returned.

{Object[]|null} getOptionValues()
Returns the option values that this property can take.
Returns:
{Object[]|null} The option values. The ordering of the returned array matches the ordering of the labels array returned by #getOptionLabels. If there are no option values available, null is returned.

{String} getType()
Returns the type.
Returns:
{String} The type. It is one of:
  • 'boolean'
  • 'number'
  • 'string'

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Sep 13 2012 22:34:51 GMT-0400 (EDT)