Class TestLabelProvider
java.lang.Object
org.palladiosimulator.editors.commons.dialogs.exception.TestLabelProvider
- All Implemented Interfaces:
IBaseLabelProvider
,ITableLabelProvider
The Class TestLabelProvider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(ILabelProviderListener listener) Adds the listener.void
dispose()
Dispose.getColumnImage
(Object element, int columnIndex) Gets the column image.getColumnText
(Object element, int columnIndex) Gets the column text.boolean
isLabelProperty
(Object element, String property) Checks if is label property.void
removeListener
(ILabelProviderListener listener) Removes the listener.
-
Constructor Details
-
TestLabelProvider
public TestLabelProvider()
-
-
Method Details
-
getColumnImage
Gets the column image.- Specified by:
getColumnImage
in interfaceITableLabelProvider
- Parameters:
element
- the elementcolumnIndex
- the column index- Returns:
- the column image
- See Also:
-
getColumnText
Gets the column text.- Specified by:
getColumnText
in interfaceITableLabelProvider
- Parameters:
element
- the elementcolumnIndex
- the column index- Returns:
- the column text
- See Also:
-
addListener
Adds the listener.- Specified by:
addListener
in interfaceIBaseLabelProvider
- Parameters:
listener
- the listener- See Also:
-
dispose
public void dispose()Dispose.- Specified by:
dispose
in interfaceIBaseLabelProvider
- See Also:
-
isLabelProperty
Checks if is label property.- Specified by:
isLabelProperty
in interfaceIBaseLabelProvider
- Parameters:
element
- the elementproperty
- the property- Returns:
- true, if is label property
- See Also:
-
removeListener
Removes the listener.- Specified by:
removeListener
in interfaceIBaseLabelProvider
- Parameters:
listener
- the listener- See Also:
-