Class NewLinkAction
- java.lang.Object
-
- org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractConnectivityAction
-
- org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractConnectivityVisualAction
-
- org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractLinkConnectivityAction
-
- org.neotropic.kuwaiba.modules.optional.connectivityman.actions.NewLinkAction
-
public class NewLinkAction extends AbstractLinkConnectivityAction
Action to create a new link connected to the connection source and target.- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Constructor Summary
Constructors Constructor Description NewLinkAction(Connection connection, String header, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
execute()
com.vaadin.flow.component.Component
getComponent()
ClassMetadataLight
getNewLinkClass()
String
getNewLinkName()
-
Methods inherited from class org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractLinkConnectivityAction
getName, getSelectedLink, getSelectedObjects, setName, setSelectedLink, setSelectedObjects
-
Methods inherited from class org.neotropic.kuwaiba.modules.optional.connectivityman.actions.AbstractConnectivityAction
getConnection
-
-
-
-
Constructor Detail
-
NewLinkAction
public NewLinkAction(Connection connection, String header, BusinessEntityManager bem, MetadataEntityManager mem, TranslationService ts)
-
-
Method Detail
-
getNewLinkName
public String getNewLinkName()
-
getNewLinkClass
public ClassMetadataLight getNewLinkClass()
-
getComponent
public com.vaadin.flow.component.Component getComponent()
- Specified by:
getComponent
in classAbstractConnectivityVisualAction
- Returns:
- The action UI.
-
execute
public boolean execute()
- Specified by:
execute
in classAbstractConnectivityAction
- Returns:
- True if the action was executed successfully.
-
-