Package com._1c.g5.v8.dt.md.ui.extension
Class MdExtensionUiSharedImages
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.extension.MdExtensionUiSharedImages
-
public final class MdExtensionUiSharedImages extends Object
Metadata extension UI shared images.- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHECKEDstatic StringCHECKED_BORDEREDstatic StringEXTENDEDstatic StringEXTENDED_BORDEREDstatic StringMULTYstatic StringNONEstatic StringNOTIFYstatic StringNOTIFY_BORDEREDstatic StringOVR_ERRORstatic StringOVR_EXTENSIONstatic StringOVR_INFOstatic StringOVR_WARNING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.swt.graphics.ImagegetImage(String symbolicName)Returns the image for the provided symbolic name.static org.eclipse.jface.resource.ImageDescriptorgetImageDescriptor(String symbolicName)Returns the image descriptior for the provided symbolic name.static org.eclipse.swt.graphics.ImagegetStateImage(MdPropertyState state, boolean bordered)Returns the image for the provided state value.static org.eclipse.swt.graphics.ImagegetStateImage(PredefinedItemPropertyState state, boolean bordered)Returns the image for the provided state value.static org.eclipse.jface.resource.ImageDescriptorgetStateImageDescriptor(MdPropertyState state, boolean bordered)Returns the image descriptor for the provided state value.static org.eclipse.jface.resource.ImageDescriptorgetStateImageDescriptor(PredefinedItemPropertyState state, boolean bordered)Returns the image descriptor for the provided state value.
-
-
-
Field Detail
-
CHECKED
public static final String CHECKED
- See Also:
- Constant Field Values
-
CHECKED_BORDERED
public static final String CHECKED_BORDERED
- See Also:
- Constant Field Values
-
EXTENDED
public static final String EXTENDED
- See Also:
- Constant Field Values
-
EXTENDED_BORDERED
public static final String EXTENDED_BORDERED
- See Also:
- Constant Field Values
-
NOTIFY
public static final String NOTIFY
- See Also:
- Constant Field Values
-
NOTIFY_BORDERED
public static final String NOTIFY_BORDERED
- See Also:
- Constant Field Values
-
NONE
public static final String NONE
- See Also:
- Constant Field Values
-
MULTY
public static final String MULTY
- See Also:
- Constant Field Values
-
OVR_EXTENSION
public static final String OVR_EXTENSION
- See Also:
- Constant Field Values
-
OVR_ERROR
public static final String OVR_ERROR
- See Also:
- Constant Field Values
-
OVR_WARNING
public static final String OVR_WARNING
- See Also:
- Constant Field Values
-
OVR_INFO
public static final String OVR_INFO
- See Also:
- Constant Field Values
-
-
Method Detail
-
getImage
public static org.eclipse.swt.graphics.Image getImage(String symbolicName)
Returns the image for the provided symbolic name.- Parameters:
symbolicName- the image name, cannot benull- Returns:
- the image for the provided symbolic name or
nullif image not found
-
getImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String symbolicName)
Returns the image descriptior for the provided symbolic name.- Parameters:
symbolicName- the image name, cannot benull- Returns:
- the image descriptior for the provided symbolic name or
nullif image not found
-
getStateImage
public static org.eclipse.swt.graphics.Image getStateImage(MdPropertyState state, boolean bordered)
Returns the image for the provided state value.- Parameters:
state- the property state, cannot benullbordered- flag to get bordered image or not- Returns:
- the image for the provided state value or
nullif image not found
-
getStateImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getStateImageDescriptor(PredefinedItemPropertyState state, boolean bordered)
Returns the image descriptor for the provided state value.- Parameters:
state- the property state, cannot benullbordered- flag to get bordered image or not- Returns:
- the image descriptor for the provided state value or
nullif image not found
-
getStateImage
public static org.eclipse.swt.graphics.Image getStateImage(PredefinedItemPropertyState state, boolean bordered)
Returns the image for the provided state value.- Parameters:
state- the property state, cannot benullbordered- flag to get bordered image or not- Returns:
- the image for the provided state value or
nullif image not found
-
getStateImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getStateImageDescriptor(MdPropertyState state, boolean bordered)
Returns the image descriptor for the provided state value.- Parameters:
state- the property state, cannot benullbordered- flag to get bordered image or not- Returns:
- the image descriptor for the provided state value or
nullif image not found
-
-