public abstract class VMBreakpointPage
extends org.eclipse.ui.dialogs.PropertyPage
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_DELETE_ON_CANCEL
Attribute used to indicate that a breakpoint should be deleted
when cancel is pressed.
|
protected static java.lang.String |
EMPTY_STRING
Constant for the empty string
|
protected org.eclipse.swt.widgets.Button |
fEnabledButton |
protected java.util.List<java.lang.String> |
fErrorMessages |
protected org.eclipse.swt.widgets.Button |
fHitCountButton |
protected org.eclipse.swt.widgets.Text |
fHitCountText |
protected org.eclipse.swt.widgets.Combo |
fSuspendPolicy |
Constructor and Description |
---|
VMBreakpointPage() |
Modifier and Type | Method and Description |
---|---|
protected void |
addErrorMessage(java.lang.String message)
Adds the given fError message to the errors currently displayed on this page.
|
protected org.eclipse.swt.widgets.Button |
createCheckButton(org.eclipse.swt.widgets.Composite parent,
java.lang.String text)
Creates a fully configured check button with the given text.
|
protected org.eclipse.swt.widgets.Composite |
createComposite(org.eclipse.swt.widgets.Composite parent,
int numColumns)
Creates a fully configured composite with the given number of columns
|
protected org.eclipse.swt.widgets.Control |
createContents(org.eclipse.swt.widgets.Composite parent)
Creates the labels and editors displayed for the breakpoint.
|
void |
createControl(org.eclipse.swt.widgets.Composite parent) |
protected void |
createEnabledButton(org.eclipse.swt.widgets.Composite parent)
Creates the button to toggle enablement of the breakpoint
|
protected org.eclipse.swt.widgets.Label |
createLabel(org.eclipse.swt.widgets.Composite parent,
java.lang.String text)
Creates a fully configured label with the given text.
|
protected void |
createLabels(org.eclipse.swt.widgets.Composite parent)
Creates the labels displayed for the breakpoint.
|
protected org.eclipse.swt.widgets.Button |
createRadioButton(org.eclipse.swt.widgets.Composite parent,
java.lang.String text)
Creates a fully configured radio button with the given text.
|
protected org.eclipse.swt.widgets.Text |
createText(org.eclipse.swt.widgets.Composite parent,
java.lang.String initialValue)
Creates a fully configured text editor with the given initial value
|
protected void |
createTypeSpecificEditors(org.eclipse.swt.widgets.Composite parent)
Allows subclasses to add type specific editors to the common Java
breakpoint page.
|
protected void |
createTypeSpecificLabels(org.eclipse.swt.widgets.Composite parent)
Allows subclasses to add type specific labels to the common Java
breakpoint page.
|
protected void |
doStore()
Stores the values configured in this page.
|
protected VMLineBreakpoint |
getBreakpoint()
Returns the breakpoint that this preference page configures
|
boolean |
performCancel()
Check to see if the breakpoint should be deleted.
|
boolean |
performOk()
Store the breakpoint properties.
|
protected void |
removeErrorMessage(java.lang.String message)
Removes the given fError message from the errors currently displayed on this page.
|
applyData, applyDialogFont, computeSize, contributeButtons, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performDefaults, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
protected org.eclipse.swt.widgets.Button fEnabledButton
protected org.eclipse.swt.widgets.Button fHitCountButton
protected org.eclipse.swt.widgets.Text fHitCountText
protected org.eclipse.swt.widgets.Combo fSuspendPolicy
protected java.util.List<java.lang.String> fErrorMessages
public static final java.lang.String ATTR_DELETE_ON_CANCEL
protected static final java.lang.String EMPTY_STRING
public boolean performOk()
performOk
in interface org.eclipse.jface.preference.IPreferencePage
performOk
in class org.eclipse.jface.preference.PreferencePage
IPreferencePage.performOk()
protected void addErrorMessage(java.lang.String message)
message
- the fError message to display on this page.protected void removeErrorMessage(java.lang.String message)
message
- the fError message to clearprotected void doStore() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents
in class org.eclipse.jface.preference.PreferencePage
PreferencePage.createContents(org.eclipse.swt.widgets.Composite)
protected void createLabels(org.eclipse.swt.widgets.Composite parent) throws org.eclipse.core.runtime.CoreException
parent
- org.eclipse.debug.core.DebugException
org.eclipse.core.runtime.CoreException
protected void createEnabledButton(org.eclipse.swt.widgets.Composite parent) throws org.eclipse.core.runtime.CoreException
parent
- org.eclipse.core.runtime.CoreException
protected VMLineBreakpoint getBreakpoint()
protected void createTypeSpecificLabels(org.eclipse.swt.widgets.Composite parent)
parent
- protected void createTypeSpecificEditors(org.eclipse.swt.widgets.Composite parent) throws org.eclipse.core.runtime.CoreException
parent
- org.eclipse.core.runtime.CoreException
protected org.eclipse.swt.widgets.Text createText(org.eclipse.swt.widgets.Composite parent, java.lang.String initialValue)
parent
- initialValue
- protected org.eclipse.swt.widgets.Composite createComposite(org.eclipse.swt.widgets.Composite parent, int numColumns)
parent
- numColumns
- protected org.eclipse.swt.widgets.Button createCheckButton(org.eclipse.swt.widgets.Composite parent, java.lang.String text)
parent
- the parent compositetext
- the label of the returned check buttonprotected org.eclipse.swt.widgets.Label createLabel(org.eclipse.swt.widgets.Composite parent, java.lang.String text)
parent
- the parent compositetext
- the test of the returned labelprotected org.eclipse.swt.widgets.Button createRadioButton(org.eclipse.swt.widgets.Composite parent, java.lang.String text)
parent
- the parent compositetext
- the label of the returned radio buttonpublic boolean performCancel()
performCancel
in interface org.eclipse.jface.preference.IPreferencePage
performCancel
in class org.eclipse.jface.preference.PreferencePage
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl
in interface org.eclipse.jface.dialogs.IDialogPage
createControl
in class org.eclipse.jface.preference.PreferencePage