Merge "Issue #1592 Don't submit adhoc query when X button clicked" into development
Former-commit-id:5f4301cb7f
[formerly074fb0aa64
] [formerly47cb278c01
] [formerly5f4301cb7f
[formerly074fb0aa64
] [formerly47cb278c01
] [formerlyd31392d740
[formerly47cb278c01
[formerly bf86849d284696553ed4cbc3f347afe2f791968d]]]] Former-commit-id:d31392d740
Former-commit-id:78d88f4517
[formerly8e4a990d1a
] [formerly c8e8c462b09d5dae42fc85b112751c19ae6721cd [formerlya7d4b23597
]] Former-commit-id: 81ecfdf3da29ef7aa77bed8c4d373acbc6471796 [formerlyabf85b6b0e
] Former-commit-id:7b73dbc256
This commit is contained in:
commit
70e7a3dd5c
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