Class NewLogicalCircuitModule

  • All Implemented Interfaces:
    PopupAction

    @Component
    public class NewLogicalCircuitModule
    extends AbstractModule
    implements PopupAction
    Creates new logic circuits given the type and the endpoints
    Author:
    Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
    • Constructor Detail

      • NewLogicalCircuitModule

        public NewLogicalCircuitModule()
    • Method Detail

      • 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:
      • 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
      • 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.
      • open

        public void open()
        Description copied from interface: PopupAction
        Opens the module as a window.
        Specified by:
        open in interface PopupAction