Issue #2166 - Select the site before opening Hydro TS Control dialog
Change-Id: I2220de3092430e6af36f9e3c2a4c8f0fa3b00163 Former-commit-id:d34d1a83e3
[formerlybcd4a0aff1
] [formerly8a963939a8
] [formerlyd34d1a83e3
[formerlybcd4a0aff1
] [formerly8a963939a8
] [formerlyafe9e049b3
[formerly8a963939a8
[formerly bcf0b1285e46d62695515051cbec17945c2646f0]]]] Former-commit-id:afe9e049b3
Former-commit-id:6a9ef8c64e
[formerlya8fd06f8d3
] [formerly 92ea947252a95dc424e84118b95d086a15965d25 [formerlyfc46308738
]] Former-commit-id: e48cb5c3a7cd213a3c508376405f28e06ccb6369 [formerly38ed97d48b
] Former-commit-id:6a0a9400ad
This commit is contained in:
parent
86372d82f9
commit
dfcf2969ce
1 changed files with 6 additions and 1 deletions
|
@ -26,6 +26,8 @@ import org.eclipse.core.commands.AbstractHandler;
|
|||
import org.eclipse.core.commands.ExecutionEvent;
|
||||
import org.eclipse.core.commands.ExecutionException;
|
||||
|
||||
import com.raytheon.viz.hydrocommon.HydroDisplayManager;
|
||||
|
||||
/**
|
||||
* Action for unimplemented features. To be used temporarily until final
|
||||
* behavior is implemented.
|
||||
|
@ -38,6 +40,7 @@ import org.eclipse.core.commands.ExecutionException;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* 6/27/06 lvenable Initial Creation.
|
||||
* 02/05/2013 1578 rferrel Changes for non-blocking singleton TimeSeriesDlg.
|
||||
* 07/10/2013 2166 mpduff Select the site.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -48,7 +51,9 @@ public class TimeSeriesAction extends AbstractHandler {
|
|||
|
||||
@Override
|
||||
public Object execute(ExecutionEvent arg0) throws ExecutionException {
|
||||
TimeSeriesDlg.getInstance().open();
|
||||
TimeSeriesDlg dlg = TimeSeriesDlg.getInstance();
|
||||
dlg.updateAndOpen(HydroDisplayManager.getInstance().getCurrentLid(),
|
||||
true);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue