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:
Melanie Retter
2017-05-29 18:36:49 +02:00
committed by Kai Zimmermann
parent a4dd4ce191
commit 0ab995d1a4
3 changed files with 15 additions and 1 deletions

View File

@@ -94,6 +94,9 @@ public class DistributionTagButtons extends AbstractFilterButtons implements Ref
@Override
protected String createButtonId(final String name) {
if (NO_TAG.equals(name)) {
return UIComponentIdProvider.NO_TAG_DISTRIBUTION_SET;
}
return name;
}

View File

@@ -104,7 +104,9 @@ public class TargetTagFilterButtons extends AbstractFilterButtons implements Ref
@Override
protected String createButtonId(final String name) {
if (NO_TAG.equals(name)) {
return UIComponentIdProvider.NO_TAG_TARGET;
}
return name;
}

View File

@@ -66,6 +66,11 @@ public final class UIComponentIdProvider {
*/
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
*/
@@ -119,6 +124,10 @@ public final class UIComponentIdProvider {
* ID-Dist.PIN.
*/
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
*/