|
SWT LPEX v3.0.0 | |||||||||||
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
com.ibm.lpex.alef.preferences.TablePreferencePage
com.ibm.lpex.alef.preferences.ParserAssociationsPreferencePage
Preference page for LPEX's parser associations. It lets the user add and remove parser associations with file extensions.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
ParserAssociationsPreferencePage()
|
Method Summary | |
---|---|
protected void | contributeButtons(org.eclipse.swt.widgets.Composite buttonBar)
Contributes a "Reset" button. |
protected org.eclipse.swt.widgets.Control | createContents(org.eclipse.swt.widgets.Composite parent)
|
protected String[] | getHelpIds()
Return the context-help ids for the table and two text fields. |
protected Vector | getItems()
Retrieve the current vector of LpexTableItems in the table. |
protected String[] | getValueNames()
Return the names for the text-field labels. |
protected String[] | getValueTableNames()
Return the names for the table columns. |
protected int[] | getValueWeights()
Return the column weights for the two columns in the table. |
void | init(org.eclipse.ui.IWorkbench workbench)
Initializes this preference page for the given workbench. |
protected Vector | initialize()
Return a new vector of LpexTableItems with the initial settings (the preference page is being initialized). |
protected Vector | initializeDefaults()
Return a new vector of LpexTableItems with the install settings ("Restore Defaults" button was pressed). |
protected void | performDefaults()
"Restore Defaults" button pressed. |
boolean | performOk()
"OK" / "Apply" button pressed. |
protected void | performReset()
"Reset" button pressed. |
protected void | selectItem(String value1)
Select an item in the table, and ensure it shows. |
protected void | tableSelectionModified(String newValue1,
String newValue2)
Notification from superclass TablePreferencePage that the table selection was modified. |
protected org.eclipse.swt.widgets.Text | value1Info()
|
protected void | value1Modified()
Value1 is being edited in the text field. |
protected org.eclipse.swt.widgets.Text | value1TextField()
|
Methods inherited from class org.eclipse.jface.preference.PreferencePage |
---|
applyDialogFont, computeSize, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, 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, performCancel, setContainer, setSize |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
Constructor Detail |
public ParserAssociationsPreferencePage()
Method Detail |
protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
protected String[] getValueTableNames()
protected String[] getValueNames()
protected String[] getHelpIds()
protected int[] getValueWeights()
protected Vector initialize()
protected Vector initializeDefaults()
protected void tableSelectionModified(String newValue1, String newValue2)
public boolean performOk()
public void init(org.eclipse.ui.IWorkbench workbench)
The TablePreferencePage implementation of this method does nothing.
protected org.eclipse.swt.widgets.Text value1TextField()
protected org.eclipse.swt.widgets.Text value1Info()
protected void contributeButtons(org.eclipse.swt.widgets.Composite buttonBar)
protected void performDefaults()
protected void performReset()
protected Vector getItems()
protected void value1Modified()
protected void selectItem(String value1)
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |