Class IPALookupContext

java.lang.Object
ca.phon.ipadictionary.ui.IPALookupContext
Direct Known Subclasses:
IPALookupViewContext

public class IPALookupContext extends Object
Context object for cmd interpreter. Includes implementation of expressions.
  • Constructor Details

    • IPALookupContext

      public IPALookupContext()
      Constructor
  • Method Details

    • getDictionary

      public IPADictionary getDictionary()
    • addLookupContextListener

      public void addLookupContextListener(IPALookupContextListener listener)
      Add a listener
    • removeLookupContextListener

      public void removeLookupContextListener(IPALookupContextListener listener)
    • fireDictionaryChanged

      public void fireDictionaryChanged(String dict)
    • fireDictionaryAdded

      public void fireDictionaryAdded(String dict)
    • fireDictionaryRemoved

      public void fireDictionaryRemoved(String dict)
    • fireMessage

      public void fireMessage(String msg)
    • fireError

      public void fireError(String err)
    • switchDictionary

      public void switchDictionary(String lang)
      Switch dictionary.
    • list

      public void list()
      List dicitonaries.
    • addTranscript

      public void addTranscript(String ortho, String ipa)
      Add transcript
    • removeTranscript

      public void removeTranscript(String ortho, String ipa)
      Remove transcript
    • removeAllTranscripts

      public void removeAllTranscripts()
      Remove all transcripts
    • lookup

      public void lookup(String ortho)
      Lookup
    • importData

      public void importData(String file)
      Import
    • exportData

      public void exportData(String file)
      Export
    • createDictionary

      public void createDictionary(String lang, String name)
      Create
    • dropDictionary

      public void dropDictionary(String lang)
      Drop Only user-defined dictionaries can be dropped.
    • printHelp

      public void printHelp(String cmd)
      Print help