protected void createTypeSpecificEditors ( Composite parent ) throws CoreException { setTitle ( "Line Breakpoint" ) ; IVdmLineBreakpoint breakpoint = ( IVdmLineBreakpoint ) getBreakpoint ( ) ; // if (breakpoint..supportsCondition()) { createConditionEditor ( parent ) ; // } // if (breakpoint instanceof IJavaWatchpoint) { // setTitle(PropertyPageMessages.JavaLineBreakpointPage_19); // IJavaWatchpoint watchpoint= (IJavaWatchpoint) getBreakpoint(); // SelectionAdapter watchpointValidator= new SelectionAdapter() { // public void widgetSelected(SelectionEvent e) { // validateWatchpoint(); // } // }; // createLabel(parent, PropertyPageMessages.JavaLineBreakpointPage_6); // fEnabledButton.addSelectionListener(watchpointValidator); // fFieldAccess = createCheckButton(parent, PropertyPageMessages.JavaLineBreakpointPage_7); // fFieldAccess.setSelection(watchpoint.isAccess()); // fFieldAccess.addSelectionListener(watchpointValidator); // fFieldModification = createCheckButton(parent, PropertyPageMessages.JavaLineBreakpointPage_8); // fFieldModification.setSelection(watchpoint.isModification()); // fFieldModification.addSelectionListener(watchpointValidator); // } // if (breakpoint instanceof IJavaMethodBreakpoint) { // setTitle(PropertyPageMessages.JavaLineBreakpointPage_20); // IJavaMethodBreakpoint methodBreakpoint = (IJavaMethodBreakpoint) getBreakpoint(); // SelectionAdapter methodBreakpointValidator= new SelectionAdapter() { // public void widgetSelected(SelectionEvent e) { // validateMethodBreakpoint(); // } // }; // createLabel(parent, PropertyPageMessages.JavaLineBreakpointPage_9); // fEnabledButton.addSelectionListener(methodBreakpointValidator); // fMethodEntry = createCheckButton(parent, PropertyPageMessages.JavaLineBreakpointPage_10); // fMethodEntry.setSelection(methodBreakpoint.isEntry()); // fMethodEntry.addSelectionListener(methodBreakpointValidator); // fMethodExit = createCheckButton(parent, PropertyPageMessages.JavaLineBreakpointPage_11); // fMethodExit.setSelection(methodBreakpoint.isExit()); // fMethodExit.addSelectionListener(methodBreakpointValidator); // } }
Create the condition editor and associated editors .