diff options
author | Silenio Quarti | 2002-05-21 21:50:01 +0000 |
---|---|---|
committer | Silenio Quarti | 2002-05-21 21:50:01 +0000 |
commit | bfe59f402f7cad26c7f51a4823fe75e0ebea0206 (patch) | |
tree | e30bd4b744baebc2d3fc602e61f558d1bd5d4064 /examples | |
parent | c49ce2dd1489b8bbbdaef56bac16390fd272ba27 (diff) | |
download | eclipse.platform.swt-bfe59f402f7cad26c7f51a4823fe75e0ebea0206.tar.gz eclipse.platform.swt-bfe59f402f7cad26c7f51a4823fe75e0ebea0206.tar.xz eclipse.platform.swt-bfe59f402f7cad26c7f51a4823fe75e0ebea0206.zip |
*** empty log message ***
Diffstat (limited to 'examples')
-rw-r--r-- | examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CoolBarTab.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CoolBarTab.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CoolBarTab.java index 0d39dae427..4ad0f50f60 100644 --- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CoolBarTab.java +++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CoolBarTab.java @@ -93,7 +93,7 @@ class CoolBarTab extends Tab { pushSize = pushItem.computeSize(pushSize.x, pushSize.y);
pushItem.setSize(pushSize);
pushItem.setMinimumSize(item.getWidth(), pushSize.y);
- pushItem.addSelectionListener (new CoolItemDropDownSelectionListener());
+ pushItem.addSelectionListener (new CoolItemSelectionListener());
/* create the dropdown toolbar */
toolBar = new ToolBar (coolBar, toolBarStyle);
@@ -111,7 +111,7 @@ class CoolBarTab extends Tab { dropSize = dropDownItem.computeSize(dropSize.x, dropSize.y);
dropDownItem.setSize(dropSize);
dropDownItem.setMinimumSize(item.getWidth(), dropSize.y);
- dropDownItem.addSelectionListener (new CoolItemDropDownSelectionListener());
+ dropDownItem.addSelectionListener (new CoolItemSelectionListener());
/* create the radio button toolbar */
toolBar = new ToolBar (coolBar, toolBarStyle);
@@ -130,7 +130,7 @@ class CoolBarTab extends Tab { radioSize = radioItem.computeSize(radioSize.x, radioSize.y);
radioItem.setSize(radioSize);
radioItem.setMinimumSize(item.getWidth(), radioSize.y);
- radioItem.addSelectionListener (new CoolItemDropDownSelectionListener());
+ radioItem.addSelectionListener (new CoolItemSelectionListener());
/* create the check button toolbar */
toolBar = new ToolBar (coolBar, toolBarStyle);
@@ -152,7 +152,7 @@ class CoolBarTab extends Tab { checkSize = checkItem.computeSize(checkSize.x, checkSize.y);
checkItem.setSize(checkSize);
checkItem.setMinimumSize(item.getWidth(), checkSize.y);
- checkItem.addSelectionListener (new CoolItemDropDownSelectionListener());
+ checkItem.addSelectionListener (new CoolItemSelectionListener());
/* if we have saved state, restore it */
if (order != null) {
@@ -320,7 +320,7 @@ class CoolBarTab extends Tab { * Listens to widgetSelected() events on SWT.DROP_DOWN type CoolItems
* and opens/closes a menu when appropriate.
*/
- class CoolItemDropDownSelectionListener extends SelectionAdapter {
+ class CoolItemSelectionListener extends SelectionAdapter {
private Menu menu = null;
public void widgetSelected(SelectionEvent event) {
|