
org.eclipse.nebula.jface.gridviewer.CheckEditingSupport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nebula-grid Show documentation
Show all versions of nebula-grid Show documentation
Fork of Eclipse Nebula grid widget
The newest version!
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* [email protected] - initial API and implementation
*******************************************************************************/
package org.eclipse.nebula.jface.gridviewer;
import org.eclipse.jface.viewers.CellEditor;
import org.eclipse.jface.viewers.ColumnViewer;
import org.eclipse.jface.viewers.EditingSupport;
/**
* .
*/
public abstract class CheckEditingSupport extends EditingSupport
{
/**
* Checkbox editing support.
*
* @param viewer column to add check box support for.
*/
public CheckEditingSupport(ColumnViewer viewer)
{
super(viewer);
}
/** {@inheritDoc} */
protected boolean canEdit(Object element)
{
return false;
}
/** {@inheritDoc} */
protected CellEditor getCellEditor(Object element)
{
return null;
}
/** {@inheritDoc} */
protected Object getValue(Object element)
{
return null;
}
/** {@inheritDoc} */
public abstract void setValue(Object element, Object value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy