Esempio n. 1
0
 /// <summary> Adds a new Translator to the current environment.</summary>
 /// <param name="translator">
 /// </param>
 public virtual void  addRootTranslator(RootTranslator translator)
 {
     if (!translators.contains(translator))
     {
         translators.addElement(translator);
     }
 }
Esempio n. 2
0
 /// <summary> Adds a new Translator to the current environment.</summary>
 /// <param name="translator">
 /// </param>
 public virtual void addRootTranslator(RootTranslator translator)
 {
     if (!translators.Contains(translator))
     {
         translators.Add(translator);
     }
 }
Esempio n. 3
0
 /// <summary> Adds a root translator that is maintained over the course of a session. It will be globally
 /// available until the session is cleared using the "clearSession" method.
 ///
 /// </summary>
 /// <param name="translator">A Root Translator that will be added to the current session
 /// </param>
 public virtual void  addSessionRootTranslator(RootTranslator translator)
 {
     sessionTranslators.addElement(translator);
 }
Esempio n. 4
0
 /// <summary> Adds a root translator that is maintained over the course of a session. It will be globally
 /// available until the session is cleared using the "clearSession" method.
 ///
 /// </summary>
 /// <param name="translator">A Root Translator that will be added to the current session
 /// </param>
 public virtual void addSessionRootTranslator(RootTranslator translator)
 {
     sessionTranslators.Add(translator);
 }