Interface ConfigurationTableEditorFactory.IEditorCreator

  • Enclosing class:
    ConfigurationTableEditorFactory

    public static interface ConfigurationTableEditorFactory.IEditorCreator
    An extensible editor creator for tailoring the general EASy mechanism.
    Author:
    Holger Eichelberger
    • Method Detail

      • createCellEditor

        org.eclipse.jface.viewers.CellEditor createCellEditor​(ConfigurationTableEditorFactory.UIConfiguration config,
                                                              IDecisionVariable variable,
                                                              org.eclipse.swt.widgets.Composite parent)
        Creates a cell editor for the given variable.
        Parameters:
        config - the UI configuration
        variable - the decision variable to create the editor for
        parent - the UI parent element
        Returns:
        the editor or null if the editor cannot be created for some reason
      • createEditor

        org.eclipse.swt.widgets.Control createEditor​(ConfigurationTableEditorFactory.UIConfiguration config,
                                                     IDecisionVariable variable,
                                                     org.eclipse.swt.widgets.Composite parent)
        Creates a form editor for the given variable.
        Parameters:
        config - the UI configuration
        variable - the decision variable to create the editor for
        parent - the UI parent element
        Returns:
        the editor or null if the editor cannot be created for some reason