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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jface.action.IAction
getAction()
java.lang.Class<?>
getControl()
java.lang.String
getInputField()
java.lang.Class<?>
getInputType()
java.lang.Integer
getSwtStyle()
boolean
isFitInCell()
void
setAction(org.eclipse.jface.action.IAction action)
void
setControl(java.lang.Class<?> control)
void
setFitInCell(boolean fitInCell)
void
setInputField(java.lang.String inputField)
void
setInputType(java.lang.Class<?> inputType)
void
setSwtStyle(java.lang.Integer swtStyle)
-
-
-
Constructor Detail
-
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 Detail
-
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)
-
-