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.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)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 create
      swtStyle - - style of the control
      inputField - - 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 create
      swtStyle - - style of the control
      inputField - - the input field (identifier)
      inputType - - type of the input
      action - - 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 create
      swtStyle - - style of the control
      inputField - - the input field (identifier)
      inputType - - type of the input
      fitInCell - - 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 create
      swtStyle - - style of the control
      inputField - - the input field (identifier)
      inputType - - type of the input
      action - - action for automatic isEnabled check
      fitInCell - - 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)