Class ExtendedViewerColumn
java.lang.Object
org.eclipse.nebula.widgets.xviewer.core.model.XViewerColumn
org.eclipse.nebula.widgets.xviewer.edit.ExtendedViewerColumn
- All Implemented Interfaces:
IExtendedViewerColumn
public class ExtendedViewerColumn extends XViewerColumn implements IExtendedViewerColumn
XViewerColumns with a description map(key is the inputObject.class)
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.xviewer.core.model.XViewerColumn
ALIGN, id, ID, name, NAME, preComputedValueMap, SHOW, SORT_FORWARD, WIDTH, XTREECOLUMN_TAG
-
Constructor Summary
Constructors Constructor Description ExtendedViewerColumn(java.lang.String id, java.lang.String name, int width, XViewerAlign align, boolean show, SortDataType sortDataType, boolean multiColumnEditable, java.lang.String description)
-
Method Summary
Modifier and Type Method Description void
addMapEntry(java.lang.Class<?> key, CellEditDescriptor ced)
void
clearMap()
XViewerColumn
copy()
XViewer uses copies of column definitions so originals that are registered are not corrupted.java.util.Map<java.lang.Class<?>,CellEditDescriptor>
getCellEditDescriptorMap()
get a copy -- to manipulate the map use the methods (addMapEntry, removeMapEntry, clearMap)void
removeMapEntry(java.lang.Class<?> key)
void
setCellEditDescriptorMap(java.util.Map<java.lang.Class<?>,CellEditDescriptor> map)
Methods inherited from class org.eclipse.nebula.widgets.xviewer.core.model.XViewerColumn
addElapsedTime, averageValues, copy, equals, getAlign, getAlignStoreName, getAlignStoreValue, getColumnId, getDescription, getDisplayName, getElapsedTime, getId, getName, getPreComputedValue, getPreComputedValueMap, getSortDataType, getToolTip, getWidth, getXViewer, hashCode, isMultiColumnEditable, isShow, isSortForward, isSummable, resetElapsedTime, reverseSort, setAlign, setDescription, setElapsedTime, setFromXml, setId, setMultiColumnEditable, setName, setPreComputedValueMap, setShow, setSortDataType, setSortForward, setToolTip, setWidth, setXViewer, sumValues, toString, toXml
-
Constructor Details
-
ExtendedViewerColumn
public ExtendedViewerColumn(java.lang.String id, java.lang.String name, int width, XViewerAlign align, boolean show, SortDataType sortDataType, boolean multiColumnEditable, java.lang.String description)
-
-
Method Details
-
getCellEditDescriptorMap
Description copied from interface:IExtendedViewerColumn
get a copy -- to manipulate the map use the methods (addMapEntry, removeMapEntry, clearMap)- Specified by:
getCellEditDescriptorMap
in interfaceIExtendedViewerColumn
- See Also:
IExtendedViewerColumn.getCellEditDescriptorMap()
-
setCellEditDescriptorMap
- Specified by:
setCellEditDescriptorMap
in interfaceIExtendedViewerColumn
-
copy
Description copied from class:XViewerColumn
XViewer uses copies of column definitions so originals that are registered are not corrupted. Classes extending XViewerColumn need to extend this method to copy extra stored fields- Overrides:
copy
in classXViewerColumn
- See Also:
XViewerColumn.copy()
-
addMapEntry
- Specified by:
addMapEntry
in interfaceIExtendedViewerColumn
-
removeMapEntry
public void removeMapEntry(java.lang.Class<?> key)- Specified by:
removeMapEntry
in interfaceIExtendedViewerColumn
-
clearMap
public void clearMap()- Specified by:
clearMap
in interfaceIExtendedViewerColumn
-