code: @Override
      protected void onAttach() {
          super.onAttach();
  
          // Adding styles to the heading depending on the parent
          if (getParent() != null) {
              if (getParent() instanceof Alert) {
                  addStyleName(Styles.ALERT_LINK);
              }
          }
      }
docs: {@inheritDoc}