Add id for soft action group button
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
@@ -17,6 +17,7 @@ import javax.annotation.PostConstruct;
|
||||
import org.eclipse.hawkbit.repository.model.Action.ActionType;
|
||||
import org.eclipse.hawkbit.ui.utils.I18N;
|
||||
import org.eclipse.hawkbit.ui.utils.SPDateTimeUtil;
|
||||
import org.eclipse.hawkbit.ui.utils.SPUIComponentIdProvider;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.vaadin.hene.flexibleoptiongroup.FlexibleOptionGroup;
|
||||
import org.vaadin.hene.flexibleoptiongroup.FlexibleOptionGroupItemComponent;
|
||||
@@ -98,6 +99,7 @@ public class ActionTypeOptionGroupLayout extends HorizontalLayout {
|
||||
addComponent(forceLabel);
|
||||
|
||||
final FlexibleOptionGroupItemComponent softItem = actionTypeOptionGroup.getItemComponent(ActionTypeOption.SOFT);
|
||||
softItem.setId(SPUIComponentIdProvider.ACTION_DETAILS_SOFT_ID);
|
||||
softItem.setStyleName(STYLE_DIST_WINDOW_ACTIONTYPE);
|
||||
addComponent(softItem);
|
||||
final Label softLabel = new Label();
|
||||
|
||||
@@ -242,6 +242,11 @@ public final class SPUIComponentIdProvider {
|
||||
*/
|
||||
public static final String DISCARD_SW_MODULE_TYPE = "save.actions.popup.discard.sw.module.type";
|
||||
|
||||
/**
|
||||
* Action history table cancel Id.
|
||||
*/
|
||||
public static final String ACTION_DETAILS_SOFT_ID = "action.details.soft.group";
|
||||
|
||||
/**
|
||||
* ID - Label.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user