Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  Copyright 2014 Red Hat, Inc. and/or its affiliates.
  This file is part of darcy.
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 GNU General Public License for more details.
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <>.
package com.redhat.darcy.ui.annotations;
Determines if an element is required as a part of a View's load condition -- that is, the page will not be considered loaded until all elements marked as required are present.

It is best to annotate as many elements as possible or write a specific load condition via overriding com.redhat.darcy.ui.api.View.isLoaded() to ensure that every View's load condition is unique.

public @interface Require {
New to GrepCode? Check out our FAQ X