@ Restricted ( NoExternalUse . class ) // called from newJob_button-bar view @ SuppressWarnings ( "unused" ) // called from newJob_button-bar view public boolean isAddToCurrentView ( ) { synchronized ( this ) { return ! jobNames . isEmpty ( ) || // There are already items in this view specified by name ( jobFilters . isEmpty ( ) && includePattern == null ) // No other way to include items is used ; } }
Determines the initial state of the checkbox .