Class StringTableContentProvider<T>
java.lang.Object
org.csstudio.ui.util.swt.stringtable.StringTableContentProvider<T>
- Type Parameters:
T
- String or String[]
- All Implemented Interfaces:
IContentProvider
,IStructuredContentProvider
Content provider for List of String or String[].
Will provide Integer index values which allow the label provider and editor to access the correct elements in the List.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Object[]
getElements
(Object arg0) void
inputChanged
(Viewer viewer, Object old, Object new_input)
-
Field Details
-
ADD_ELEMENT
Magic number for the final 'add' element
-
-
Constructor Details
-
StringTableContentProvider
public StringTableContentProvider()
-
-
Method Details
-
inputChanged
- Specified by:
inputChanged
in interfaceIContentProvider
-
getElements
- Specified by:
getElements
in interfaceIStructuredContentProvider
-
dispose
public void dispose()- Specified by:
dispose
in interfaceIContentProvider
-