Class ElementManagerExtension


  • public abstract class ElementManagerExtension
    extends Object

    Base class for REM UI extensions.

    • Constructor Detail

      • ElementManagerExtension

        public ElementManagerExtension()
    • Method Detail

      • getDescription

        public abstract String getDescription()
      • getServletModule

        public abstract com.google.inject.servlet.ServletModule getServletModule()
      • getOtherModules

        public abstract com.google.inject.Module[] getOtherModules()
      • getUrl

        public abstract String getUrl()
      • getId

        public abstract String getId()
      • getMenuExtensions

        public abstract com.opencloud.rem.client.ext.ExtensionMenuInfo[] getMenuExtensions()
      • canLoad

        public boolean canLoad()

        Called by the REM extensions manager to determine if this extension is ok to be loaded.

        Allows an extension to perform checks (required resources, compatible REM version, etc.) before being loaded.

        Returns true by default.

        Returns:
        true to load this extension, false to ignore it