protected int getMaxOccur() { if (fMaxOccurSpinner != null) { if (fMaxOccurSpinner.isEnabled()) return fMaxOccurSpinner.getSelection(); return Integer.MAX_VALUE; } return 1; }