public class EditProtocolUIHandler extends AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI> implements CloseableUI
| Modifier and Type | Class and Description |
|---|---|
protected static class |
EditProtocolUIHandler.UpdateSelectedList |
| Modifier and Type | Field and Description |
|---|---|
protected SelectSpeciesUI |
dialog |
protected PersistenceService |
persistenceService
Persistence service.
|
CONFIRMATION_FORMAT, context, ui, WARNING_FORMAT| Constructor and Description |
|---|
EditProtocolUIHandler(TuttiUI parentUi,
EditProtocolUI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDoubleListListeners() |
protected void |
addHighlighters(org.jdesktop.swingx.JXTable table) |
protected void |
addLengthClassesColumnToModel(TableColumnModel model,
List<String> selectedIds) |
void |
afterInitUI() |
void |
beforeInitUI() |
org.jdesktop.swingx.JXTable |
getBenthosTable() |
EditProtocolSpeciesTableModel |
getBenthosTableModel() |
org.jdesktop.swingx.JXTable |
getSpeciesTable() |
EditProtocolSpeciesTableModel |
getSpeciesTableModel() |
static String |
getTitle(boolean exist) |
jaxx.runtime.validator.swing.SwingValidator<EditProtocolUIModel> |
getValidator() |
protected void |
initDoubleList(String propertyId,
jaxx.runtime.swing.editor.bean.BeanDoubleList<Caracteristic> widget,
List<Caracteristic> availableCaracteristics,
List<String> selectedCaracteristics,
com.google.common.base.Predicate<Caracteristic> filter) |
protected void |
initTable(org.jdesktop.swingx.JXTable table) |
void |
onCloseUI() |
Species |
openSelectOtherSpeciesDialog(String title,
List<Species> species) |
boolean |
quitUI()
Try to quit UI.
|
void |
removeDoubleListListeners() |
protected void |
selectLengthClasses(List<String> ids,
JComboBox comboBox) |
List<EditProtocolSpeciesRowModel> |
toRows(List<SpeciesProtocol> speciesProtocols) |
addAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, askCancelEditBeforeLeaving, askOverwriteFile, askSaveBeforeLeaving, autoSelectRowInTable, changeValidatorContext, clearValidators, closeDialog, closeUI, decorate, decorate, getConfig, getContext, getDataContext, getDecorator, getModel, getPropertiesToIgnore, getTopestUI, getUI, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initButton, initButtonAttachment, initDatePicker, initLabel, initNumberEditor, initScrollPane, initTextField, initTimeEditor, initUI, isAutoSelectOnFocus, listenValidationTableHasNoFatalError, listenValidatorValid, listModelIsModify, newComboModel, newListCellRender, newListCellRender, newListCellRender, newTableCellRender, newTableCellRender, newTableCellRender, openDialog, quitScreen, registerValidators, selectListData, setBoolean, setDate, setText, showInformationMessage, showSuccessMessageprotected SelectSpeciesUI dialog
protected final PersistenceService persistenceService
public EditProtocolUIHandler(TuttiUI parentUi, EditProtocolUI ui)
public static String getTitle(boolean exist)
public org.jdesktop.swingx.JXTable getSpeciesTable()
public org.jdesktop.swingx.JXTable getBenthosTable()
public EditProtocolSpeciesTableModel getSpeciesTableModel()
public EditProtocolSpeciesTableModel getBenthosTableModel()
public jaxx.runtime.validator.swing.SwingValidator<EditProtocolUIModel> getValidator()
getValidator in class AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI>public List<EditProtocolSpeciesRowModel> toRows(List<SpeciesProtocol> speciesProtocols)
public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI>public boolean quitUI()
CloseableUIquitUI in interface CloseableUItrue if ui is safe to quit, false otherwise
(means must stay on it).public void addDoubleListListeners()
public void removeDoubleListListeners()
public Species openSelectOtherSpeciesDialog(String title, List<Species> species)
protected void initDoubleList(String propertyId, jaxx.runtime.swing.editor.bean.BeanDoubleList<Caracteristic> widget, List<Caracteristic> availableCaracteristics, List<String> selectedCaracteristics, com.google.common.base.Predicate<Caracteristic> filter)
protected void addLengthClassesColumnToModel(TableColumnModel model, List<String> selectedIds)
protected void initTable(org.jdesktop.swingx.JXTable table)
protected void addHighlighters(org.jdesktop.swingx.JXTable table)
Copyright © 2012-2013 Ifremer. All Rights Reserved.