|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
org.eclipse.ocl.examples.debug.ui.pages.OCLBreakpointPage
public class OCLBreakpointPage
| Field Summary | |
|---|---|
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
|
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
OCLBreakpointPage()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.ui.dialogs.PropertyPage |
|---|
getElement, setElement |
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
|---|
applyData, applyDialogFont, computeSize, contributeButtons, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performDefaults, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
|---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.preference.IPreferencePage |
|---|
computeSize, isValid, okToLeave, setContainer, setSize |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public OCLBreakpointPage()
| Method Detail |
|---|
public boolean performOk()
performOk in interface org.eclipse.jface.preference.IPreferencePageperformOk in class org.eclipse.jface.preference.PreferencePageIPreferencePage.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 clear
protected void doStore()
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreExceptionprotected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
createContents in class org.eclipse.jface.preference.PreferencePagePreferencePage.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.CoreExceptionprotected 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 button
protected 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 label
protected 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 button
public boolean performCancel()
performCancel in interface org.eclipse.jface.preference.IPreferencePageperformCancel in class org.eclipse.jface.preference.PreferencePagepublic void createControl(org.eclipse.swt.widgets.Composite parent)
createControl in interface org.eclipse.jface.dialogs.IDialogPagecreateControl in class org.eclipse.jface.preference.PreferencePage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||