|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object PreferencePage com.ibm.lpex.alef.preferences.UserMouseActionsPreferencePage
public final class UserMouseActionsPreferencePage
Preference page for user mouse-event definitions. It lets the user add and remove user-defined mouse actions.
Constructor Summary | |
---|---|
UserMouseActionsPreferencePage()
Constructor. |
Method Summary | |
---|---|
protected void |
contributeButtons(Composite buttonBar)
Contributes a "Reset" button. |
protected Control |
createContents(Composite parent)
Creates and returns the SWT control for the customized body of this preference page. |
protected void |
doSetPressed(String value1,
String value2)
Handles the "Set" button having been pressed. |
protected Vector<com.ibm.lpex.alef.preferences.LpexTableItem> |
getItems()
Returns the current vector of LpexTableItems in the table. |
protected String |
getValue2()
Returns the text in the value2 edit field. |
protected String[] |
getValue2Options()
Returns an array of the editor default actions for the value2 combo. |
protected String[] |
getValueNames()
Returns the names for the text-field labels. |
protected String[] |
getValueTableNames()
Returns the names for the table columns. |
protected int[] |
getValueWeights()
Returns the column weights for the two columns in the table. |
void |
init(IWorkbench workbench)
Initializes this preference page for the given workbench. |
protected Vector<com.ibm.lpex.alef.preferences.LpexTableItem> |
initialize()
Returns a new vector of LpexTableItems with the initial (current) settings (the preference page is being initialized). |
protected Vector<com.ibm.lpex.alef.preferences.LpexTableItem> |
initializeDefaults()
Returns 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)
Selects an item in the table, and ensures it shows. |
void |
setValid(boolean b)
Sets whether this page is valid. |
protected void |
setValue2Options()
Called to (re)set the options list in the value2 combo, when a combo box is used as the value2 edit field. |
protected void |
tableSelectionModified(String newValue1,
String newValue2)
Notification for subclasses that the table selection was modified. |
protected Text |
value1Info()
Returns the Text widget used to display additional information for the value1 edit field. |
protected void |
value1Modified()
Value1 is being edited in the text field. |
protected Text |
value1TextField()
Returns the Text widget used as the value1 edit field. |
protected void |
value2ListSelectionModified()
A new Value2 has been selected in the combo field list. |
protected void |
value2Modified()
Value2 is being edited in the text / combo field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserMouseActionsPreferencePage()
Method Detail |
---|
protected Control createContents(Composite parent)
PreferencePage
protected String[] getValueTableNames()
protected String[] getValueNames()
protected int[] getValueWeights()
protected String[] getValue2Options()
setValue2Options()
protected Vector<com.ibm.lpex.alef.preferences.LpexTableItem> initialize()
protected Vector<com.ibm.lpex.alef.preferences.LpexTableItem> initializeDefaults()
public boolean performOk()
public void init(IWorkbench workbench)
The TablePreferencePage implementation of this method does nothing.
protected Text value1TextField()
protected String getValue2()
protected Text value1Info()
public void setValid(boolean b)
protected void doSetPressed(String value1, String value2)
value1
- trimmed value read from the value1 entry fieldvalue2
- trimmed value read from the value2 entry fieldprotected void contributeButtons(Composite buttonBar)
buttonBar
- the preference-page button barPreferencePage
,
performReset()
protected void performDefaults()
protected void performReset()
protected void setValue2Options()
getValue2Options()
protected Vector<com.ibm.lpex.alef.preferences.LpexTableItem> getItems()
protected void tableSelectionModified(String newValue1, String newValue2)
protected void value1Modified()
protected void value2Modified()
protected void value2ListSelectionModified()
protected void selectItem(String value1)
|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |