Skip to content

Package: ECPCustomUpdateCellEditor

ECPCustomUpdateCellEditor

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2016 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Alexandra Buzila - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emf.ecp.edit.spi.swt.table;
15:
16: import org.eclipse.jface.viewers.ViewerCell;
17:
18: /**
19: * If a {@link ECPCellEditor} additionally implements this interface, the cell editor instance will be notified when
20: * a cell's label and image need to be updated.
21: *
22: * @author Alexandra Buzila
23: * @since 1.10
24: *
25: */
26: public interface ECPCustomUpdateCellEditor {
27:
28:         /**
29:          * Update the label and image for the given cell.
30:          *
31:          * @param cell the {@link ViewerCell}
32:          * @param value the new value of the cell
33:          */
34:         void updateCell(ViewerCell cell, Object value);
35: }