Interface EMFLocalTimeEditingSupport.FinalBuilder<T,E,R>
- All Known Implementing Classes:
EMFLocalTimeEditingSupport.Builder
- Enclosing class:
EMFLocalTimeEditingSupport
public static interface EMFLocalTimeEditingSupport.FinalBuilder<T,E,R>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()This is the finalization method.buttonText(String text) Set text for button, if the image is set, the text is not shownSet function that returns a value that indicates whether the cell can be editedAdds a clear value button to the dialoghandler(BiConsumer<T, LocalTime> handler) Set function that will be executed after losing focus on the combo box editor or after pressing the Enter buttonicon(org.eclipse.swt.graphics.Image image) Set image for button, if the image is set, the text is not shownnewLocalTimeCreator(Supplier<LocalTime> newLocalTimeCreator) Set function that returns a new LocalTime, if old value == null
-
Method Details
-
build
R build()This is the finalization method. Call this method to install the auto-complete combobox editing support on a table column. -
clearExistButton
EMFLocalTimeEditingSupport.FinalBuilder<T,E, clearExistButton()R> Adds a clear value button to the dialog- Returns:
- builder object
-
newLocalTimeCreator
EMFLocalTimeEditingSupport.FinalBuilder<T,E, newLocalTimeCreatorR> (Supplier<LocalTime> newLocalTimeCreator) Set function that returns a new LocalTime, if old value == null- Parameters:
newLocalTimeCreator-- Returns:
- builder object
-
canEdit
Set function that returns a value that indicates whether the cell can be edited- Parameters:
canEdit-- Returns:
- builder object
-
icon
Set image for button, if the image is set, the text is not shown- Parameters:
image-- Returns:
- builder object
-
buttonText
Set text for button, if the image is set, the text is not shown- Parameters:
text-- Returns:
- builder object
-
handler
Set function that will be executed after losing focus on the combo box editor or after pressing the Enter button- Parameters:
handler- function to be executed- Returns:
- builder object
-