Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-2818

Add overrides for XxxDomainEvent for hide/disable/invalidate to evaluate a supplier

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M5
    • Fix Version/s: 2.0.0-M6
    • Component/s: Isis Core
    • Labels:
      None

      Description

      Rather than:

      if (hubCurrentService.currentHub().isEmpty()) {
        ev.hide();
      } 

      I'd prefer to write:

      ev.hideIf(hubCurrentService.currentHub().isEmpty());

      or more flexibly:

      ev.hideIf(() -> hubCurrentService.currentHub().isEmpty()); 

       

        Attachments

          Activity

            People

            • Assignee:
              hobrom Andi Huber
              Reporter:
              danhaywood Daniel Keir Haywood
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: