コード例 #1
0
 protected int getMaxOccur() {
   if (fMaxOccurSpinner != null) {
     if (fMaxOccurSpinner.isEnabled()) return fMaxOccurSpinner.getSelection();
     return Integer.MAX_VALUE;
   }
   return 1;
 }
コード例 #2
0
 protected int getMinOccur() {
   if (fMinOccurSpinner != null) return fMinOccurSpinner.getSelection();
   return 0;
 }