Class ExceptionsItemProvider
- java.lang.Object
-
- org.eclipse.emf.edit.provider.ItemProviderDecorator
-
- org.palladiosimulator.editors.commons.dialogs.exception.ExceptionsItemProvider
-
- All Implemented Interfaces:
IChangeNotifier
,IDisposable
,IItemLabelProvider
,IItemProviderDecorator
,INotifyChangedListener
,ITableItemLabelProvider
public class ExceptionsItemProvider extends ItemProviderDecorator implements ITableItemLabelProvider, IItemLabelProvider
The Class ExceptionsItemProvider.
-
-
Field Summary
-
Fields inherited from class org.eclipse.emf.edit.provider.ItemProviderDecorator
adapterFactory, changeNotifier, decoratedItemProvider
-
-
Constructor Summary
Constructors Constructor Description ExceptionsItemProvider(AdapterFactory adapterFactory)
Inherited default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getColumnImage(Object object, int columnIndex)
Gets the column image.String
getColumnText(Object element, int columnIndex)
Gets the column text.-
Methods inherited from class org.eclipse.emf.edit.provider.ItemProviderDecorator
addListener, createCommand, dispose, fireNotifyChanged, getAdapterFactory, getBackground, getBackground, getChildren, getDecoratedItemProvider, getEditableValue, getElements, getFont, getFont, getForeground, getForeground, getImage, getNewChildDescriptors, getParent, getPropertyDescriptor, getPropertyDescriptors, getText, getUpdateableText, hasChildren, isAdapterForType, notifyChanged, removeListener, setDecoratedItemProvider, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.edit.provider.IItemLabelProvider
getImage, getText
-
-
-
-
Constructor Detail
-
ExceptionsItemProvider
public ExceptionsItemProvider(AdapterFactory adapterFactory)
Inherited default constructor.- Parameters:
adapterFactory
- the adapter factory
-
-
Method Detail
-
getColumnImage
public Object getColumnImage(Object object, int columnIndex)
Gets the column image.- Specified by:
getColumnImage
in interfaceITableItemLabelProvider
- Overrides:
getColumnImage
in classItemProviderDecorator
- Parameters:
object
- the objectcolumnIndex
- the column index- Returns:
- the column image
- See Also:
Get the icon by delegation if the first column is displayed
-
getColumnText
public String getColumnText(Object element, int columnIndex)
Gets the column text.- Specified by:
getColumnText
in interfaceITableItemLabelProvider
- Overrides:
getColumnText
in classItemProviderDecorator
- Parameters:
element
- the elementcolumnIndex
- the column index- Returns:
- the column text
- See Also:
Format the columns with the given index constant as string text for displaying
-
-