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 String
CHECKED
static String
CHECKED_BORDERED
static String
EXTENDED
static String
EXTENDED_BORDERED
static String
MULTY
static String
NONE
static String
NOTIFY
static String
NOTIFY_BORDERED
static String
OVR_ERROR
static String
OVR_EXTENSION
static String
OVR_INFO
static String
OVR_WARNING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.swt.graphics.Image
getImage(String symbolicName)
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 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
null
if 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
null
if 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 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
-
-