Package com.opencloud.rem.server.ext
Class ElementManagerExtension
- java.lang.Object
-
- com.opencloud.rem.server.ext.ElementManagerExtension
-
public abstract class ElementManagerExtension extends Object
Base class for REM UI extensions.
-
-
Constructor Summary
Constructors Constructor Description ElementManagerExtension()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
canLoad()
Called by the REM extensions manager to determine if this extension is ok to be loaded.abstract String
getDescription()
abstract String
getId()
abstract com.opencloud.rem.client.ext.ExtensionMenuInfo[]
getMenuExtensions()
abstract com.google.inject.Module[]
getOtherModules()
abstract com.google.inject.servlet.ServletModule
getServletModule()
abstract String
getUrl()
-
-
-
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
-
-