Package com._1c.g5.v8.dt.md.ui.extension
Class MdExtensionUiSharedImages
java.lang.Object
com._1c.g5.v8.dt.md.ui.extension.MdExtensionUiSharedImages
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.swt.graphics.Image
Returns the image for the provided symbolic name.static org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor
(String symbolicName) Returns the image descriptior for the provided symbolic name.static org.eclipse.swt.graphics.Image
getStateImage
(MdPropertyState state, boolean bordered) Returns the image for the provided state value.static org.eclipse.swt.graphics.Image
getStateImage
(PredefinedItemPropertyState state, boolean bordered) Returns the image for the provided state value.static org.eclipse.jface.resource.ImageDescriptor
getStateImageDescriptor
(MdPropertyState state, boolean bordered) Returns the image descriptor for the provided state value.static org.eclipse.jface.resource.ImageDescriptor
getStateImageDescriptor
(PredefinedItemPropertyState state, boolean bordered) Returns the image descriptor for the provided state value.
-
Field Details
-
CHECKED
- See Also:
-
CHECKED_BORDERED
- See Also:
-
EXTENDED
- See Also:
-
EXTENDED_BORDERED
- See Also:
-
NOTIFY
- See Also:
-
NOTIFY_BORDERED
- See Also:
-
NONE
- See Also:
-
MULTY
- See Also:
-
OVR_EXTENSION
- See Also:
-
OVR_ERROR
- See Also:
-
OVR_WARNING
- See Also:
-
OVR_INFO
- See Also:
-
-
Method Details
-
getImage
Returns the image for the provided symbolic name.- Parameters:
symbolicName
- the image name, cannot benull
- Returns:
- the image for the provided symbolic name or
null
if image not found
-
getImageDescriptor
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
null
if image not found
-
getStateImage
Returns the image for the provided state value.- Parameters:
state
- the property state, cannot benull
bordered
- flag to get bordered image or not- Returns:
- the image for the provided state value or
null
if 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 benull
bordered
- flag to get bordered image or not- Returns:
- the image descriptor for the provided state value or
null
if 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 benull
bordered
- flag to get bordered image or not- Returns:
- the image for the provided state value or
null
if 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 benull
bordered
- flag to get bordered image or not- Returns:
- the image descriptor for the provided state value or
null
if image not found
-