Class HopNamespace


  • public class HopNamespace
    extends Object
    This keeps track of the currently active namespace for all the current. It makes it easy to see which namespace is active. A namespace is used for plugins like Environment to set the active environment. The standard for HopGUI is hop-gui and for Translator is is hop-translator
    • Method Detail

      • getInstance

        public static final HopNamespace getInstance()
      • getNamespace

        public static final String getNamespace()
        Gets namespace
        Returns:
        value of namespace
      • setNamespace

        public static final void setNamespace​(String namespace)
        Parameters:
        namespace - The namespace to set