Insert unique ID for NO TAG for target and distribution set (#519)
* Insert unique ID for NO TAG for target and distribution set Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com> * Fix dependencies Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
This commit is contained in:
committed by
Kai Zimmermann
parent
a4dd4ce191
commit
0ab995d1a4
@@ -94,6 +94,9 @@ public class DistributionTagButtons extends AbstractFilterButtons implements Ref
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String createButtonId(final String name) {
|
protected String createButtonId(final String name) {
|
||||||
|
if (NO_TAG.equals(name)) {
|
||||||
|
return UIComponentIdProvider.NO_TAG_DISTRIBUTION_SET;
|
||||||
|
}
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -104,7 +104,9 @@ public class TargetTagFilterButtons extends AbstractFilterButtons implements Ref
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String createButtonId(final String name) {
|
protected String createButtonId(final String name) {
|
||||||
|
if (NO_TAG.equals(name)) {
|
||||||
|
return UIComponentIdProvider.NO_TAG_TARGET;
|
||||||
|
}
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -66,6 +66,11 @@ public final class UIComponentIdProvider {
|
|||||||
*/
|
*/
|
||||||
public static final String TARGET_FILTER_ADD_ICON_ID = "target.filter.add.id";
|
public static final String TARGET_FILTER_ADD_ICON_ID = "target.filter.add.id";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ID for NO TAG for targets
|
||||||
|
*/
|
||||||
|
public static final String NO_TAG_TARGET = "no.tag.target";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ID-Dist. on deployment and distribution view
|
* ID-Dist. on deployment and distribution view
|
||||||
*/
|
*/
|
||||||
@@ -119,6 +124,10 @@ public final class UIComponentIdProvider {
|
|||||||
* ID-Dist.PIN.
|
* ID-Dist.PIN.
|
||||||
*/
|
*/
|
||||||
public static final String DIST_PIN_BUTTON = "dist.pin.button";
|
public static final String DIST_PIN_BUTTON = "dist.pin.button";
|
||||||
|
/**
|
||||||
|
* ID for NO TAG for distribution sets
|
||||||
|
*/
|
||||||
|
public static final String NO_TAG_DISTRIBUTION_SET = "no.tag.distribution.set";
|
||||||
/**
|
/**
|
||||||
* ID for distribution set tag icon
|
* ID for distribution set tag icon
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user