org.eclipse.emf.ecp.edit.internal.swt.controls
Class ECPFocusCellDrawHighlighter

java.lang.Object
  extended by org.eclipse.jface.viewers.FocusCellHighlighter
      extended by org.eclipse.emf.ecp.edit.internal.swt.controls.ECPFocusCellDrawHighlighter

public class ECPFocusCellDrawHighlighter
extends org.eclipse.jface.viewers.FocusCellHighlighter

A concrete implementation of FocusCellHighlighter using by setting the control into owner draw mode and highlighting the currently selected cell. To make the use this class you should create the control with the SWT.FULL_SELECTION bit set

RAP specific: despite its name that was taken as-is from JFace/RCP to ease single-sourcing, this class does not use custom drawing to highlight the focused cell.
The focused cell is displayed using the selection colors of the system.

This class can be subclassed to configure how the coloring of the selected cell.

Since:
1.2

Constructor Summary
ECPFocusCellDrawHighlighter(org.eclipse.jface.viewers.ColumnViewer viewer)
          Create a new instance which can be passed to a.
 
Method Summary
 
Methods inherited from class org.eclipse.jface.viewers.FocusCellHighlighter
getFocusCell
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECPFocusCellDrawHighlighter

public ECPFocusCellDrawHighlighter(org.eclipse.jface.viewers.ColumnViewer viewer)
Create a new instance which can be passed to a.

Parameters:
viewer - the viewer


Copyright © 2015. All Rights Reserved.