Skip to content

Commit

Permalink
hide template and abstract element in resource wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Apr 4, 2023
1 parent ad83dfb commit fa775a8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ protected boolean checkMandatory(ItemWrapper itemWrapper) {
@Override
protected ItemVisibilityHandler getVisibilityHandler() {
return wrapper -> {
if (wrapper.getItemName().equals(ResourceType.F_CONNECTOR_REF)) {
if (wrapper.getItemName().equals(ResourceType.F_CONNECTOR_REF)
|| wrapper.getItemName().equals(ResourceType.F_TEMPLATE)
|| wrapper.getItemName().equals(ResourceType.F_ABSTRACT)
|| wrapper.getItemName().equals(ResourceType.F_LIFECYCLE_STATE)){
return ItemVisibility.HIDDEN;
}
return ItemVisibility.AUTO;
Expand Down

0 comments on commit fa775a8

Please sign in to comment.