From 64625fd4454b25ba81b74e7ef9f001bbb27ade50 Mon Sep 17 00:00:00 2001 From: dchandler Date: Thu, 7 Jul 2005 03:15:59 +0000 Subject: [PATCH] Removed the 'Import Wylie' menu item; 'Launch Converter...' is the way to go. Fixed the converter GUI to work perfectly (AFAIK) for EWTS->Tibetan. --- source/org/thdl/tib/input/ConvertDialog.java | 8 +++++--- source/org/thdl/tib/input/Jskad.java | 10 ---------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/source/org/thdl/tib/input/ConvertDialog.java b/source/org/thdl/tib/input/ConvertDialog.java index ff48577..9e2dd23 100644 --- a/source/org/thdl/tib/input/ConvertDialog.java +++ b/source/org/thdl/tib/input/ConvertDialog.java @@ -38,10 +38,10 @@ class ConvertDialog extends JDialog private static final boolean debug = false; private JCheckBox colors; - private static final String colorDesc = "Color-coding (ACIP to RTF only)"; + private static final String colorDesc = "Color-coding (ACIP/EWTS to RTF only)"; private JCheckBox shortMessages; - private static final String shortMessagesDesc = "Short warning and error messages (ACIP to Tibetan only)"; + private static final String shortMessagesDesc = "Short warning and error messages (ACIP/EWTS to Tibetan only)"; // Attributes private FontConversion controller; @@ -77,7 +77,9 @@ class ConvertDialog extends JDialog private void updateWarningLevels() { this.warningLevels.setEnabled(choices.getSelectedItem() == ACIP_TO_UNI_TEXT - || choices.getSelectedItem() == ACIP_TO_TMW); + || choices.getSelectedItem() == ACIP_TO_TMW + || choices.getSelectedItem() == WYLIE_TO_TMW + || choices.getSelectedItem() == WYLIE_TO_UNI_TEXT); } private javax.swing.filechooser.FileFilter acipff, rtfff; diff --git a/source/org/thdl/tib/input/Jskad.java b/source/org/thdl/tib/input/Jskad.java index 71b7604..7633162 100644 --- a/source/org/thdl/tib/input/Jskad.java +++ b/source/org/thdl/tib/input/Jskad.java @@ -645,16 +645,6 @@ public class Jskad extends JPanel implements DocumentListener { }); toolsMenu.add(converterItem); - - JMenuItem importItem = new JMenuItem("(Buggy) Import Wylie as Tibetan Machine Web (non-Unicode)..."); - importItem.addActionListener(new ThdlActionListener() { - public void theRealActionPerformed(ActionEvent e) { - importWylie(); - } - }); - toolsMenu.addSeparator(); - toolsMenu.add(importItem); - JMenuItem openWithItem = new JMenuItem("Open With External Viewer..."); openWithItem.addActionListener(new ThdlActionListener() { public void theRealActionPerformed(ActionEvent e) {