• R/O
  • SSH
  • HTTPS

コミット

よく使われているワード(クリックで追加)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonbathyscaphephpgamewindowsguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

OmegaT の翻訳状況(Statistics)を Excel で表示します。


コミットメタ情報

リビジョン3 (tree)
日時2013-12-01 16:03:21
作者yu-tang

ログメッセージ

Fix #50101

変更サマリ

差分

--- src/jp/sourceforge/users/yutang/omegat/plugin/stats2excel/VersionInfo.java (revision 2)
+++ src/jp/sourceforge/users/yutang/omegat/plugin/stats2excel/VersionInfo.java (revision 3)
@@ -26,7 +26,7 @@
2626
2727 private static final String APP_NAME = "Stats2Excel";
2828 private static final String APP_VERSION = "0.1";
29- private static final String APP_BUILD = "20131130";
29+ private static final String APP_BUILD = "20131201";
3030 private static final String APP_AUTHOR = "Yu Tang";
3131
3232 public static void main(String[] args) {
--- src/jp/sourceforge/users/yutang/omegat/plugin/stats2excel/SplashStatisticsWindow.java (revision 2)
+++ src/jp/sourceforge/users/yutang/omegat/plugin/stats2excel/SplashStatisticsWindow.java (revision 3)
@@ -34,6 +34,7 @@
3434
3535 private ScheduledExecutorService service = null;
3636 private boolean isErrorOnDisplay = false;
37+ private boolean isWindowClosing = false;
3738
3839 public SplashStatisticsWindow(STAT_TYPE statType) {
3940 super(statType);
@@ -42,6 +43,7 @@
4243
4344 @Override
4445 public void windowClosing(WindowEvent e) {
46+ isWindowClosing = true;
4547 if (service != null && !service.isShutdown()) {
4648 service.shutdown();
4749 service = null;
@@ -48,6 +50,12 @@
4850 }
4951 }
5052
53+ @Override
54+ public void windowDeactivated(WindowEvent e) {
55+ if (! isWindowClosing) {
56+ dispose();
57+ }
58+ }
5159 });
5260 setSize(400, 100);
5361 }
@@ -89,7 +97,6 @@
8997 if (ExcelModel.activate()) {
9098 service.shutdown();
9199 service = null;
92- dispose();
93100 }
94101 } catch (IOException ex) {
95102 Log.log(ex);