Package com._1c.g5.v8.dt.md.ui.extension
Enum Class MdExtensionUiConstants
- All Implemented Interfaces:
- Serializable,- Comparable<MdExtensionUiConstants>,- Constable
Constants provider for Metadata UI extension
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptiongetLabel(MdPropertyState state) Returns the text for the label of the given property state.Returns the text for the label of the given property state.org.eclipse.swt.graphics.ImagegetTypeImage(MdPropertyState state, boolean bordered) Returns the image for the specified property state.org.eclipse.swt.graphics.ImagegetTypeImage(PredefinedItemPropertyState state, boolean bordered) Returns the image for the specified property state.org.eclipse.jface.resource.ImageDescriptorgetTypeImageDescriptor(MdPropertyState state, boolean bordered) Returns the image descriptior for the specified property state.org.eclipse.jface.resource.ImageDescriptorgetTypeImageDescriptor(PredefinedItemPropertyState state, boolean bordered) Returns the image descriptior for the specified property state.static MdExtensionUiConstantsReturns the enum constant of this class with the specified name.static MdExtensionUiConstants[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
INSTANCESingleton instance ofMdExtensionUiConstants
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
getLabelReturns the text for the label of the given property state.- Parameters:
- state- the property statefor which to provide the label text, cannot be- null
- Returns:
- the text string used to label the property state, never null, throw exception if there is no text label for the given object
 
- 
getLabelReturns the text for the label of the given property state.- Parameters:
- state- the property statefor which to provide the label text, cannot be- null
- Returns:
- the text string used to label the property state, never null, throw exception if there is no text label for the given object
 
- 
getTypeImageReturns the image for the specified property state.- Parameters:
- state- the property state, cannot be- null
- bordered- flag to get bordered image or not
- Returns:
- the image for the specified property state or nullif image not found or state equals NONE with no border
 
- 
getTypeImageDescriptorpublic org.eclipse.jface.resource.ImageDescriptor getTypeImageDescriptor(MdPropertyState state, boolean bordered) Returns the image descriptior for the specified property state.- Parameters:
- state- the property state, cannot be- null
- bordered- flag to get bordered image or not
- Returns:
- the image descriptior for the specified property state or nullif image not found or state equals NONE with no border
 
- 
getTypeImagepublic org.eclipse.swt.graphics.Image getTypeImage(PredefinedItemPropertyState state, boolean bordered) Returns the image for the specified property state.- Parameters:
- state- the property state, cannot be- null
- bordered- flag to get bordered image or not
- Returns:
- the image for the specified property state or nullif image not found or state equals NONE with no border
 
- 
getTypeImageDescriptorpublic org.eclipse.jface.resource.ImageDescriptor getTypeImageDescriptor(PredefinedItemPropertyState state, boolean bordered) Returns the image descriptior for the specified property state.- Parameters:
- state- the property state, cannot be- null
- bordered- flag to get bordered image or not
- Returns:
- the image descriptior for the specified property state or nullif image not found or state equals NONE with no border
 
 
-