SuspendPolicy () { if (!mySuspendCheckBox.isSelected()) { return SuspendPolicy.NONE; } else if (myBreakpoint.getType().isSuspendThreadSupported()) { return mySuspendAll.isSelected() ? SuspendPolicy.ALL : SuspendPolicy.THREAD; } else { return myBreakpoint.getType().getDefaultSuspendPolicy(); } }