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 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;

View file

@ -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) {