Beispiel #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);
     }
 }
Beispiel #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);
     }
 }
Beispiel #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);
 }
Beispiel #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);
 }