fr.ird.observe.client.form.FormUIHandler Maven / Gradle / Ivy
package fr.ird.observe.client.form;
/*-
* #%L
* ObServe Toolkit :: Common Client
* %%
* Copyright (C) 2008 - 2017 IRD, Ultreia.io
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program. If not, see
* .
* #L%
*/
import javax.swing.Icon;
import javax.swing.UIManager;
import org.nuiton.jaxx.runtime.spi.UIHandler;
/**
* Created by tchemit on 21/09/17.
*
* @author Tony Chemit - [email protected]
*/
public interface FormUIHandler extends UIHandler {
String FORCE_LOAD = "forceLoad";
String LIST_NO_LOAD = "listNoLoad";
String OBSERVE_ACTION = "observeAction";
String GLOBAL_ACTION = "globalAction";
String PROPERTY_NAME = "propertyName";
String RESET_PROPERTY_NAME = "resetPropertyName";
String NOT_BLOCKING = "notBlocking";
String SELECT_ON_FOCUS = "selectOnFocus";
String TABLE_PROPERTY_NAME = "tablePropertyName";
String RESET_TABLE_PROPERTY_NAME = "resetTablePropertyName";
Icon ERROR_ICON = UIManager.getIcon("action.error");
U getUi();
FormUIModel getModel();
void openUI();
void destroyUI();
boolean closeUI();
// void computeReadMessages(ClientDataContext dataContext, FormUIValidationMessageManager validationManager);
//
// void computeCreateMessages(ClientDataContext dataContext, FormUIValidationMessageManager validationManager);
//
// void computeUpdateMessages(ClientDataContext dataContext, FormUIValidationMessageManager validationManager);
//
// FormUIMode computeContentMode(ClientDataContext dataContext, OpenDtoManager openDataManager);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy