* the composite in which the condition editor should be created
* @throws CoreException
* if an exception occurs accessing the breakpoint
*/
private void createConditionEditor(final Composite parent) throws CoreException {
final IErlangBreakpoint breakpoint = getBreakpoint();
// String label = null;
// if (BreakpointUtils.getType(breakpoint) != null) {
// final IBindingService bindingService = (IBindingService) PlatformUI
// .getWorkbench().getAdapter(IBindingService.class);
// if (bindingService != null) {
// final TriggerSequence keyBinding = bindingService
// .getBestActiveBindingFor(ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS);
// if (keyBinding != null) {
// label = MessageFormat.format(
// PropertyPageMessages.JavaLineBreakpointPage_12,
// new String[] { keyBinding.format() });
// }
// }
// }
// if (label == null) {
// label = PropertyPageMessages.JavaLineBreakpointPage_13;
// }
final Group g = new Group(parent, SWT.NONE);
g.setLayout(new GridLayout(1, false));
g.setText(EMPTY_STRING);
g.setFont(parent.getFont());
final GridData gd = new GridData(GridData.FILL_BOTH);
gd.horizontalSpan = 1;
g.setLayoutData(gd);
final Composite conditionComposite = g;
fEnableConditionButton = createCheckButton(conditionComposite, "Enable");
fEnableConditionButton.setSelection(breakpoint.isConditionEnabled());
fEnableConditionButton.addSelectionListener(new SelectionAdapter() {
@Override
public void widgetSelected(final SelectionEvent e) {
setConditionEnabled(fEnableConditionButton.getSelection());
}