Issue #1592 Don't submit adhoc query when X button clicked
Change-Id: I7a06857fa64a6d54279ec2dca1404062179fe279 Former-commit-id:0ba5133583
[formerly604a7c82b2
] [formerly598eb88a04
] [formerly0ba5133583
[formerly604a7c82b2
] [formerly598eb88a04
] [formerlyc6975aa379
[formerly598eb88a04
[formerly 9cb2114c239e6782961e8127fe85b10a7ee38f06]]]] Former-commit-id:c6975aa379
Former-commit-id:c606b31379
[formerly898d7500aa
] [formerly 3f87c958340fba7c8c1875d78e5925e2eb83506a [formerlyab1dc2272b
]] Former-commit-id: d40795ffcec917dd94f28b556a39caa51d51b076 [formerly21bd89a9fd
] Former-commit-id:5ee13ae1b3
This commit is contained in:
parent
4507edb908
commit
1399820264
1 changed files with 11 additions and 1 deletions
|
@ -24,6 +24,8 @@ import java.util.Set;
|
|||
import org.eclipse.swt.SWT;
|
||||
import org.eclipse.swt.events.SelectionAdapter;
|
||||
import org.eclipse.swt.events.SelectionEvent;
|
||||
import org.eclipse.swt.events.ShellAdapter;
|
||||
import org.eclipse.swt.events.ShellEvent;
|
||||
import org.eclipse.swt.layout.GridData;
|
||||
import org.eclipse.swt.layout.GridLayout;
|
||||
import org.eclipse.swt.widgets.Button;
|
||||
|
@ -56,7 +58,8 @@ import com.raytheon.viz.ui.presenter.components.ListConf;
|
|||
* Oct 11, 2012 1263 jpiatt Modified for cancel button
|
||||
* Nov 20, 2012 1286 djohnson Implement displayYesNoPopup.
|
||||
* Jan 04, 2013 1420 mpduff Add Priority Composite.
|
||||
* Jan 25, 2013 1528 djohnson Subscription priority is now an enum.
|
||||
* Jan 25, 2013 1528 djohnson Subscription priority is now an enum.
|
||||
* Feb 26, 2013 1592 djohnson When the shell is closed, don't submit the query.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -240,6 +243,13 @@ public class GriddedTimingSelectionDlg extends CaveSWTDialog implements
|
|||
cancelBtnConf.getOnClickAction().run();
|
||||
}
|
||||
});
|
||||
|
||||
shell.addShellListener(new ShellAdapter() {
|
||||
@Override
|
||||
public void shellClosed(ShellEvent event) {
|
||||
cancelBtnConf.getOnClickAction().run();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue