Class CellEditDescriptor
java.lang.Object
org.eclipse.nebula.widgets.xviewer.edit.CellEditDescriptor
public class CellEditDescriptor
extends java.lang.Object
description object to define which control, which swtStyle, which inputField and which inputType
-
Constructor Summary
Constructors Constructor Description CellEditDescriptor(java.lang.Class<?> control, java.lang.Integer swtStyle, java.lang.String inputField, java.lang.Class<?> inputType)CellEditDescriptor(java.lang.Class<?> control, java.lang.Integer swtStyle, java.lang.String inputField, java.lang.Class<?> inputType, boolean fitInCell)CellEditDescriptor(java.lang.Class<?> control, java.lang.Integer swtStyle, java.lang.String inputField, java.lang.Class<?> inputType, org.eclipse.jface.action.IAction action)CellEditDescriptor(java.lang.Class<?> control, java.lang.Integer swtStyle, java.lang.String inputField, java.lang.Class<?> inputType, org.eclipse.jface.action.IAction action, boolean fitInCell) -
Method Summary
Modifier and Type Method Description org.eclipse.jface.action.IActiongetAction()java.lang.Class<?>getControl()java.lang.StringgetInputField()java.lang.Class<?>getInputType()java.lang.IntegergetSwtStyle()booleanisFitInCell()voidsetAction(org.eclipse.jface.action.IAction action)voidsetControl(java.lang.Class<?> control)voidsetFitInCell(boolean fitInCell)voidsetInputField(java.lang.String inputField)voidsetInputType(java.lang.Class<?> inputType)voidsetSwtStyle(java.lang.Integer swtStyle)
-
Constructor Details
-
CellEditDescriptor
public CellEditDescriptor(java.lang.Class<?> control, java.lang.Integer swtStyle, java.lang.String inputField, java.lang.Class<?> inputType)- Parameters:
control- - the control to createswtStyle- - style of the controlinputField- - the input field (identifier)inputType- - type of the input
-
CellEditDescriptor
public CellEditDescriptor(java.lang.Class<?> control, java.lang.Integer swtStyle, java.lang.String inputField, java.lang.Class<?> inputType, org.eclipse.jface.action.IAction action)- Parameters:
control- - the control to createswtStyle- - style of the controlinputField- - the input field (identifier)inputType- - type of the inputaction- - action for automatic isEnabled check
-
CellEditDescriptor
public CellEditDescriptor(java.lang.Class<?> control, java.lang.Integer swtStyle, java.lang.String inputField, java.lang.Class<?> inputType, boolean fitInCell)- Parameters:
control- - the control to createswtStyle- - style of the controlinputField- - the input field (identifier)inputType- - type of the inputfitInCell- - fit control in cell
-
CellEditDescriptor
public CellEditDescriptor(java.lang.Class<?> control, java.lang.Integer swtStyle, java.lang.String inputField, java.lang.Class<?> inputType, org.eclipse.jface.action.IAction action, boolean fitInCell)- Parameters:
control- - the control to createswtStyle- - style of the controlinputField- - the input field (identifier)inputType- - type of the inputaction- - action for automatic isEnabled checkfitInCell- - fit control in cell
-
-
Method Details
-
getInputField
public java.lang.String getInputField() -
setInputField
public void setInputField(java.lang.String inputField) -
getInputType
public java.lang.Class<?> getInputType() -
setInputType
public void setInputType(java.lang.Class<?> inputType) -
getControl
public java.lang.Class<?> getControl() -
setControl
public void setControl(java.lang.Class<?> control) -
setSwtStyle
public void setSwtStyle(java.lang.Integer swtStyle) -
getSwtStyle
public java.lang.Integer getSwtStyle() -
setAction
public void setAction(org.eclipse.jface.action.IAction action) -
getAction
public org.eclipse.jface.action.IAction getAction() -
isFitInCell
public boolean isFitInCell() -
setFitInCell
public void setFitInCell(boolean fitInCell)
-