View Full Version : [2.0-M3] Upgrade from 1.2.4
I am trying to upgrade from 1.2.4 to 2.0-M3 for evaluation. What happened to SplitToolItem ? What can I use instead ?
Also, Dialog.getButtonPressed has been removed. What can I use instead ? I was using it in a Listener :
new Listener<WindowEvent>() {
public void handleEvent(final WindowEvent ce) {
Dialog dialog = (Dialog) ce.component;
Button btn = dialog.getButtonPressed();
if("ok".equalsIgnoreCase(btn.getText())){
...
}
I am trying to upgrade from 1.2.4 to 2.0-M3 for evaluation. What happened to SplitToolItem ? What can I use instead ?
SplitButton maybe ?
Also, Dialog.getButtonPressed has been removed. What can I use instead ? I was using it in a Listener :
new Listener<WindowEvent>() {
public void handleEvent(final WindowEvent ce) {
Dialog dialog = (Dialog) ce.component;
Button btn = dialog.getButtonPressed();
if("ok".equalsIgnoreCase(btn.getText())){
...
}
Maybe ce.getButtonClicked() ?
Yes, the event has the button, as also with 1.2
SplitButton maybe ?
Yes you can directly add Buttons now to a Toolbar
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.