Class CellEditDescriptor


  • public class CellEditDescriptor
    extends java.lang.Object
    description object to define which control, which swtStyle, which inputField and which inputType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.jface.action.IAction action  
      private java.lang.Class<?> control  
      private boolean fitInCell  
      private java.lang.String inputField  
      private java.lang.Class<?> inputType  
      private java.lang.Integer swtStyle  
    • 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)  
    • Field Detail

      • inputField

        private java.lang.String inputField
      • inputType

        private java.lang.Class<?> inputType
      • control

        private java.lang.Class<?> control
      • swtStyle

        private java.lang.Integer swtStyle
      • fitInCell

        private boolean fitInCell
      • action

        private org.eclipse.jface.action.IAction action
    • 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 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 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)