Class EMFCheckBoxEditingSupport.Builder<T,E,R extends IEMFColumn<T,E,R>>
java.lang.Object
com.amalgamasimulation.desktop.ui.builders.EMFCheckBoxEditingSupport.Builder<T,E,R>
- Type Parameters:
T- type of row valueE- type of column value (cell value)R- column type
- All Implemented Interfaces:
EMFCheckBoxEditingSupport.EditedFeatureBuilder<T,,E, R> EMFCheckBoxEditingSupport.FinalBuilder<T,E, R>
- Enclosing class:
EMFCheckBoxEditingSupport
public static class EMFCheckBoxEditingSupport.Builder<T,E,R extends IEMFColumn<T,E,R>>
extends Object
implements EMFCheckBoxEditingSupport.EditedFeatureBuilder<T,E,R>, EMFCheckBoxEditingSupport.FinalBuilder<T,E,R>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()This is the finalization method.Set function that returns a value that indicates whether the cell can be editedstatic <T1,E1, R1 extends IEMFColumn<T1, E1, R1>>
EMFCheckBoxEditingSupport.EditedFeatureBuilder<T1, E1, R1> create(R1 columnDescriptor) feature(org.eclipse.emf.ecore.EStructuralFeature feature) Set the feature pointing to the field that is being edited (a field in template class) handler(BiConsumer<T, E> listener) Set function that will be executed after losing focus on the combo box editor or after pressing the Enter button
-
Method Details
-
create
public static <T1,E1, EMFCheckBoxEditingSupport.EditedFeatureBuilder<T1,R1 extends IEMFColumn<T1, E1, R1>> E1, createR1> (R1 columnDescriptor) -
feature
public EMFCheckBoxEditingSupport.FinalBuilder<T,E, featureR> (org.eclipse.emf.ecore.EStructuralFeature feature) Description copied from interface:EMFCheckBoxEditingSupport.EditedFeatureBuilderSet the feature pointing to the field that is being edited (a field in template class) - Specified by:
featurein interfaceEMFCheckBoxEditingSupport.EditedFeatureBuilder<T,E, R extends IEMFColumn<T, E, R>> - Parameters:
feature- structural feature- Returns:
- builder object
-
handler
Description copied from interface:EMFCheckBoxEditingSupport.FinalBuilderSet function that will be executed after losing focus on the combo box editor or after pressing the Enter button- Specified by:
handlerin interfaceEMFCheckBoxEditingSupport.FinalBuilder<T,E, R extends IEMFColumn<T, E, R>> - Parameters:
listener-- Returns:
- builder object
-
canEdit
Description copied from interface:EMFCheckBoxEditingSupport.FinalBuilderSet function that returns a value that indicates whether the cell can be edited- Specified by:
canEditin interfaceEMFCheckBoxEditingSupport.FinalBuilder<T,E, R extends IEMFColumn<T, E, R>> - Parameters:
canEdit-- Returns:
- builder object
-
build
Description copied from interface:EMFCheckBoxEditingSupport.FinalBuilderThis is the finalization method. Call this method to install the auto-complete combobox editing support on a table column.- Specified by:
buildin interfaceEMFCheckBoxEditingSupport.FinalBuilder<T,E, R extends IEMFColumn<T, E, R>>
-