Class LayoutEditorModule


  • @Component
    public class LayoutEditorModule
    extends AbstractModule
    This class implements the functionality corresponding to the Layout Editor module
    Author:
    Orlando Paz <orlando.paz@kuwaiba.org>
    • Field Detail

      • MODULE_ID

        public static String MODULE_ID
        Module id.
    • Constructor Detail

      • LayoutEditorModule

        public LayoutEditorModule()
    • Method Detail

      • getName

        public String getName()
        Description copied from class: AbstractModule
        Gets the module's name. Must be unique, otherwise, the system will only take last one loaded at application's startup
        Specified by:
        getName in class AbstractModule
        Returns:
        The module's name
      • init

        @PostConstruct
        public void init()
      • getId

        public String getId()
        Description copied from class: AbstractModule
        A simple unique string that identifies the module so it is easier to refer to it in automated processes such as defining if a user can user certain functionality based on his/her privileges.
        Specified by:
        getId in class AbstractModule
        Returns:
      • getCategory

        public int getCategory()
        Description copied from class: AbstractModule
        Assigns the module a category, so it can be placed in menus and context actions. See CATEGORY_XXX for valid values.
        Specified by:
        getCategory in class AbstractModule
        Returns:
        The category.