Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe
Commits:
-
3f3906cf
by tchemit at 2019-02-01T14:09:02Z
8 changed files:
- client-core/src/main/i18n/getters/java.getter
- client-core/src/main/java/fr/ird/observe/client/ui/ObserveMainUI.jaxx
- client-core/src/main/java/fr/ird/observe/client/ui/ObserveMainUI.jcss
- − client-core/src/main/java/fr/ird/observe/client/ui/actions/main/menu/file/ToFullScreenAction.java
- − client-core/src/main/java/fr/ird/observe/client/ui/actions/main/menu/file/ToWindowScreenAction.java
- observe-i18n/src/main/i18n/translations/observe_en_GB.properties
- observe-i18n/src/main/i18n/translations/observe_es_ES.properties
- observe-i18n/src/main/i18n/translations/observe_fr_FR.properties
Changes:
| ... | ... | @@ -124,10 +124,6 @@ observe.action.test.remote |
| 124 | 124 |
observe.action.test.remote.tip
|
| 125 | 125 |
observe.action.test.server
|
| 126 | 126 |
observe.action.test.server.tip
|
| 127 |
-observe.action.toFullScreen
|
|
| 128 |
-observe.action.toFullScreen.tip
|
|
| 129 |
-observe.action.toWindowScreen
|
|
| 130 |
-observe.action.toWindowScreen.tip
|
|
| 131 | 127 |
observe.action.translate
|
| 132 | 128 |
observe.action.translate.tip
|
| 133 | 129 |
observe.actions.consolidate
|
| ... | ... | @@ -452,7 +448,6 @@ observe.common.FloatlinesCompositionObsDto.table.lineType.tip |
| 452 | 448 |
observe.common.FloatlinesCompositionObsDto.table.proportion
|
| 453 | 449 |
observe.common.FloatlinesCompositionObsDto.table.proportion.tip
|
| 454 | 450 |
observe.common.GearUseFeatures.delete
|
| 455 |
-observe.common.GearUseFeaturesLonglineDto.table.comment
|
|
| 456 | 451 |
observe.common.GearUseFeaturesLonglineDto.table.comment.tip
|
| 457 | 452 |
observe.common.GearUseFeaturesLonglineDto.table.gear
|
| 458 | 453 |
observe.common.GearUseFeaturesLonglineDto.table.gear.tip
|
| ... | ... | @@ -52,8 +52,6 @@ |
| 52 | 52 |
fr.ird.observe.client.ui.actions.main.menu.config.TranslateAction
|
| 53 | 53 |
fr.ird.observe.client.ui.actions.main.menu.file.CloseApplicationAction
|
| 54 | 54 |
fr.ird.observe.client.ui.actions.main.menu.file.ReloadApplicationAction
|
| 55 |
- fr.ird.observe.client.ui.actions.main.menu.file.ToFullScreenAction
|
|
| 56 |
- fr.ird.observe.client.ui.actions.main.menu.file.ToWindowScreenAction
|
|
| 57 | 55 |
fr.ird.observe.client.ui.actions.main.menu.help.GotoSiteAction
|
| 58 | 56 |
fr.ird.observe.client.ui.actions.main.menu.help.ShowAboutAction
|
| 59 | 57 |
fr.ird.observe.client.ui.actions.main.menu.navigation.SelectCommonReferentialAction
|
| ... | ... | @@ -147,8 +145,6 @@ protected void finalize() throws Throwable { |
| 147 | 145 |
|
| 148 | 146 |
<JMenu id='menuFile'>
|
| 149 | 147 |
<JMenuItem id='menuFileReloadApplication'/>
|
| 150 |
- <JMenuItem id='menuFileToFullScreen'/>
|
|
| 151 |
- <JMenuItem id='menuFileToWindowScreen'/>
|
|
| 152 | 148 |
<JMenuItem id='menuFileCloseApplication' enabled="{menuFile.isShowing()}"/>
|
| 153 | 149 |
</JMenu>
|
| 154 | 150 |
|
| ... | ... | @@ -47,16 +47,6 @@ JSplitPane { |
| 47 | 47 |
enabled: {model.isFileEnabled()};
|
| 48 | 48 |
}
|
| 49 | 49 |
|
| 50 |
-#menuFileToFullScreen {
|
|
| 51 |
- _observeAction:{ToFullScreenAction.ACTION_NAME};
|
|
| 52 |
- visible:{!model.isFullScreen()}
|
|
| 53 |
-}
|
|
| 54 |
- |
|
| 55 |
-#menuFileToWindowScreen {
|
|
| 56 |
- _observeAction:{ToWindowScreenAction.ACTION_NAME};
|
|
| 57 |
- visible:{model.isFullScreen()}
|
|
| 58 |
-}
|
|
| 59 |
- |
|
| 60 | 50 |
#menuConfigurationConfiguration {
|
| 61 | 51 |
_observeAction:{ShowConfigAction.ACTION_NAME};
|
| 62 | 52 |
}
|
| 1 |
-package fr.ird.observe.client.ui.actions.main.menu.file;
|
|
| 2 |
- |
|
| 3 |
-/*-
|
|
| 4 |
- * #%L
|
|
| 5 |
- * ObServe :: Client core
|
|
| 6 |
- * %%
|
|
| 7 |
- * Copyright (C) 2008 - 2019 IRD, Code Lutin, Ultreia.io
|
|
| 8 |
- * %%
|
|
| 9 |
- * This program is free software: you can redistribute it and/or modify
|
|
| 10 |
- * it under the terms of the GNU General Public License as
|
|
| 11 |
- * published by the Free Software Foundation, either version 3 of the
|
|
| 12 |
- * License, or (at your option) any later version.
|
|
| 13 |
- *
|
|
| 14 |
- * This program is distributed in the hope that it will be useful,
|
|
| 15 |
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 16 |
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 17 |
- * GNU General Public License for more details.
|
|
| 18 |
- *
|
|
| 19 |
- * You should have received a copy of the GNU General Public
|
|
| 20 |
- * License along with this program. If not, see
|
|
| 21 |
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 22 |
- * #L%
|
|
| 23 |
- */
|
|
| 24 |
- |
|
| 25 |
-import fr.ird.observe.client.ObserveSwingApplicationContext;
|
|
| 26 |
-import fr.ird.observe.client.configuration.ClientConfig;
|
|
| 27 |
-import fr.ird.observe.client.ui.ObserveMainUI;
|
|
| 28 |
-import fr.ird.observe.client.ui.actions.main.menu.MenuActionSupport;
|
|
| 29 |
- |
|
| 30 |
-import java.awt.event.ActionEvent;
|
|
| 31 |
- |
|
| 32 |
-import static io.ultreia.java4all.i18n.I18n.t;
|
|
| 33 |
- |
|
| 34 |
-/**
|
|
| 35 |
- * Created on 27/11/16.
|
|
| 36 |
- *
|
|
| 37 |
- * @author Tony Chemit - dev@tchemit.fr
|
|
| 38 |
- * @since 6.0
|
|
| 39 |
- */
|
|
| 40 |
-public class ToFullScreenAction extends MenuActionSupport {
|
|
| 41 |
- |
|
| 42 |
- private static final long serialVersionUID = 3038774900992805790L;
|
|
| 43 |
- |
|
| 44 |
- public static final String ACTION_NAME = ToFullScreenAction.class.getName();
|
|
| 45 |
- |
|
| 46 |
- public ToFullScreenAction(ObserveMainUI ui) {
|
|
| 47 |
- super(ui, ACTION_NAME, t("observe.action.toFullScreen"), t("observe.action.toFullScreen.tip"), "full-screen", 'S');
|
|
| 48 |
- }
|
|
| 49 |
- |
|
| 50 |
- @Override
|
|
| 51 |
- protected void doActionPerformed(ActionEvent event) {
|
|
| 52 |
- |
|
| 53 |
- ClientConfig config = getMainUI().getConfig();
|
|
| 54 |
- config.setFullScreen(true);
|
|
| 55 |
- |
|
| 56 |
- getMainUI().getInitializer().reloadUI(ObserveSwingApplicationContext.get(), config);
|
|
| 57 |
- |
|
| 58 |
- }
|
|
| 59 |
-}
|
| 1 |
-package fr.ird.observe.client.ui.actions.main.menu.file;
|
|
| 2 |
- |
|
| 3 |
-/*-
|
|
| 4 |
- * #%L
|
|
| 5 |
- * ObServe :: Client core
|
|
| 6 |
- * %%
|
|
| 7 |
- * Copyright (C) 2008 - 2019 IRD, Code Lutin, Ultreia.io
|
|
| 8 |
- * %%
|
|
| 9 |
- * This program is free software: you can redistribute it and/or modify
|
|
| 10 |
- * it under the terms of the GNU General Public License as
|
|
| 11 |
- * published by the Free Software Foundation, either version 3 of the
|
|
| 12 |
- * License, or (at your option) any later version.
|
|
| 13 |
- *
|
|
| 14 |
- * This program is distributed in the hope that it will be useful,
|
|
| 15 |
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
| 16 |
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
| 17 |
- * GNU General Public License for more details.
|
|
| 18 |
- *
|
|
| 19 |
- * You should have received a copy of the GNU General Public
|
|
| 20 |
- * License along with this program. If not, see
|
|
| 21 |
- * <http://www.gnu.org/licenses/gpl-3.0.html>.
|
|
| 22 |
- * #L%
|
|
| 23 |
- */
|
|
| 24 |
- |
|
| 25 |
-import fr.ird.observe.client.ObserveSwingApplicationContext;
|
|
| 26 |
-import fr.ird.observe.client.configuration.ClientConfig;
|
|
| 27 |
-import fr.ird.observe.client.ui.ObserveMainUI;
|
|
| 28 |
-import fr.ird.observe.client.ui.actions.main.menu.MenuActionSupport;
|
|
| 29 |
- |
|
| 30 |
-import java.awt.event.ActionEvent;
|
|
| 31 |
- |
|
| 32 |
-import static io.ultreia.java4all.i18n.I18n.t;
|
|
| 33 |
- |
|
| 34 |
-/**
|
|
| 35 |
- * Created on 27/11/16.
|
|
| 36 |
- *
|
|
| 37 |
- * @author Tony Chemit - dev@tchemit.fr
|
|
| 38 |
- * @since 6.0
|
|
| 39 |
- */
|
|
| 40 |
-public class ToWindowScreenAction extends MenuActionSupport {
|
|
| 41 |
- |
|
| 42 |
- private static final long serialVersionUID = 3038774900992805790L;
|
|
| 43 |
- |
|
| 44 |
- public static final String ACTION_NAME = ToWindowScreenAction.class.getName();
|
|
| 45 |
- |
|
| 46 |
- public ToWindowScreenAction(ObserveMainUI ui) {
|
|
| 47 |
- super(ui, ACTION_NAME, t("observe.action.toWindowScreen"), t("observe.action.toWindowScreen.tip"), "window-screen", 'S');
|
|
| 48 |
- }
|
|
| 49 |
- |
|
| 50 |
- @Override
|
|
| 51 |
- protected void doActionPerformed(ActionEvent event) {
|
|
| 52 |
- |
|
| 53 |
- ClientConfig config = getMainUI().getConfig();
|
|
| 54 |
- config.setFullScreen(false);
|
|
| 55 |
- getMainUI().getInitializer().reloadUI(ObserveSwingApplicationContext.get(), config);
|
|
| 56 |
- |
|
| 57 |
- }
|
|
| 58 |
-}
|
| ... | ... | @@ -156,10 +156,6 @@ observe.action.test.remote=Test connexion |
| 156 | 156 |
observe.action.test.remote.tip=Click here to validate remote connexion
|
| 157 | 157 |
observe.action.test.server=Test connexion
|
| 158 | 158 |
observe.action.test.server.tip=Click here to validate server connexion
|
| 159 |
-observe.action.toFullScreen=Full screen mode
|
|
| 160 |
-observe.action.toFullScreen.tip=Reload application in full screen mode
|
|
| 161 |
-observe.action.toWindowScreen=Window screen mode
|
|
| 162 |
-observe.action.toWindowScreen.tip=Reload application in wondow screen mode
|
|
| 163 | 159 |
observe.action.translate=Translate
|
| 164 | 160 |
observe.action.translate.tip=Translate application
|
| 165 | 161 |
observe.action.validate.config.generateReport=Generate validation report
|
| ... | ... | @@ -156,10 +156,6 @@ observe.action.test.remote=Comprobar la conexión |
| 156 | 156 |
observe.action.test.remote.tip=Pulsar para comprobar la conexión con el servidor remoto
|
| 157 | 157 |
observe.action.test.server=Comprobar la conexión
|
| 158 | 158 |
observe.action.test.server.tip=Pulsar para comprobar la conexión con el servidor \#TODO
|
| 159 |
-observe.action.toFullScreen=Mode plein écran \#TODO
|
|
| 160 |
-observe.action.toFullScreen.tip=Recharcher l'application en mode plein écran \#TODO
|
|
| 161 |
-observe.action.toWindowScreen=Mode fenêtre \#TODO
|
|
| 162 |
-observe.action.toWindowScreen.tip=Recharger l'application en mode fenêtre \#TODO
|
|
| 163 | 159 |
observe.action.translate=Traduire \#TODO
|
| 164 | 160 |
observe.action.translate.tip=Traduire l'application \#TODO
|
| 165 | 161 |
observe.action.validate.config.generateReport=Generar un informe de validación
|
| ... | ... | @@ -156,10 +156,6 @@ observe.action.test.remote=Valider la connexion |
| 156 | 156 |
observe.action.test.remote.tip=Cliquer pour valider la connexion au serveur distant
|
| 157 | 157 |
observe.action.test.server=Valider la connexion
|
| 158 | 158 |
observe.action.test.server.tip=Cliquer pour valider la connexion au serveur
|
| 159 |
-observe.action.toFullScreen=Mode plein écran
|
|
| 160 |
-observe.action.toFullScreen.tip=Recharcher l'application en mode plein écran
|
|
| 161 |
-observe.action.toWindowScreen=Mode fenêtre
|
|
| 162 |
-observe.action.toWindowScreen.tip=Recharger l'application en mode fenêtre
|
|
| 163 | 159 |
observe.action.translate=Traduire
|
| 164 | 160 |
observe.action.translate.tip=Traduire l'application
|
| 165 | 161 |
observe.action.validate.config.generateReport=Générer un rapport de validation
|