Class NetworkResourcesExplorer
- java.lang.Object
-
- org.neotropic.kuwaiba.core.apis.integration.modules.explorers.AbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
-
- org.neotropic.kuwaiba.modules.optional.serviceman.explorers.NetworkResourcesExplorer
-
@CssImport("./styles/explorer.css") @Component public class NetworkResourcesExplorer extends AbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
An explorer that allows the user to see the network resources of a service and be able to release them.- Author:
- Mauricio Ruiz Beltrán <mauricio.ruiz@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description NetworkResourcesExplorer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
appliesTo()
Tells the consumer what type of objects the explorer is suitable for.com.vaadin.flow.component.orderedlayout.VerticalLayout
build(BusinessObjectLight selectedObject)
Creates an embeddable visual component withe the explorer.void
clearResources()
Clears necessary resources, useful tool when the explorer is used within a dialog and has been closed.String
getDescription()
Obtains the description of the explorer.String
getHeader()
Obtains the header of the explorer.String
getName()
Obtains the name of the explorer.
-
-
-
Method Detail
-
getName
public String getName()
Description copied from class:AbstractExplorer
Obtains the name of the explorer. This name will be used as label in lists and context menus.- Specified by:
getName
in classAbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
- Returns:
- The explorer name.
-
getDescription
public String getDescription()
Description copied from class:AbstractExplorer
Obtains the description of the explorer. This will be used in help texts and tool tip texts.- Specified by:
getDescription
in classAbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
- Returns:
- The description of what the explorer does.
-
getHeader
public String getHeader()
Description copied from class:AbstractExplorer
Obtains the header of the explorer. This will be used as title in dialogs.- Specified by:
getHeader
in classAbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
- Returns:
- The explorer header.
-
appliesTo
public String appliesTo()
Description copied from class:AbstractExplorer
Tells the consumer what type of objects the explorer is suitable for. For example, a explorer of physical connection would be apply to GenericPhysicalConnection and so on.- Specified by:
appliesTo
in classAbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
- Returns:
- The type of object the explorer is intended to.
-
build
public com.vaadin.flow.component.orderedlayout.VerticalLayout build(BusinessObjectLight selectedObject)
Description copied from class:AbstractExplorer
Creates an embeddable visual component withe the explorer.- Specified by:
build
in classAbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
- Parameters:
selectedObject
- The object from which the explorer will be built.- Returns:
- The embeddable component.
-
clearResources
public void clearResources()
Description copied from class:AbstractExplorer
Clears necessary resources, useful tool when the explorer is used within a dialog and has been closed.- Specified by:
clearResources
in classAbstractExplorer<com.vaadin.flow.component.orderedlayout.VerticalLayout>
-
-