Removed the 'Import Wylie' menu item; 'Launch Converter...' is the way to go.

Fixed the converter GUI to work perfectly (AFAIK) for EWTS->Tibetan.
This commit is contained in:
dchandler 2005-07-07 03:15:59 +00:00
parent cddbbae9a1
commit 64625fd445
2 changed files with 5 additions and 13 deletions

View file

@ -38,10 +38,10 @@ class ConvertDialog extends JDialog
private static final boolean debug = false; private static final boolean debug = false;
private JCheckBox colors; 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 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 // Attributes
private FontConversion controller; private FontConversion controller;
@ -77,7 +77,9 @@ class ConvertDialog extends JDialog
private void updateWarningLevels() private void updateWarningLevels()
{ {
this.warningLevels.setEnabled(choices.getSelectedItem() == ACIP_TO_UNI_TEXT 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; private javax.swing.filechooser.FileFilter acipff, rtfff;

View file

@ -645,16 +645,6 @@ public class Jskad extends JPanel implements DocumentListener {
}); });
toolsMenu.add(converterItem); 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..."); JMenuItem openWithItem = new JMenuItem("Open With External Viewer...");
openWithItem.addActionListener(new ThdlActionListener() { openWithItem.addActionListener(new ThdlActionListener() {
public void theRealActionPerformed(ActionEvent e) { public void theRealActionPerformed(ActionEvent e) {