Issue #2166 - Select the site before opening Hydro TS Control dialog
Change-Id: I2220de3092430e6af36f9e3c2a4c8f0fa3b00163 Former-commit-id:8a963939a8
[formerly bcf0b1285e46d62695515051cbec17945c2646f0] Former-commit-id:afe9e049b3
This commit is contained in:
parent
89f2a6666a
commit
fc46308738
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.ExecutionEvent;
|
||||||
import org.eclipse.core.commands.ExecutionException;
|
import org.eclipse.core.commands.ExecutionException;
|
||||||
|
|
||||||
|
import com.raytheon.viz.hydrocommon.HydroDisplayManager;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Action for unimplemented features. To be used temporarily until final
|
* Action for unimplemented features. To be used temporarily until final
|
||||||
* behavior is implemented.
|
* behavior is implemented.
|
||||||
|
@ -38,6 +40,7 @@ import org.eclipse.core.commands.ExecutionException;
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* 6/27/06 lvenable Initial Creation.
|
* 6/27/06 lvenable Initial Creation.
|
||||||
* 02/05/2013 1578 rferrel Changes for non-blocking singleton TimeSeriesDlg.
|
* 02/05/2013 1578 rferrel Changes for non-blocking singleton TimeSeriesDlg.
|
||||||
|
* 07/10/2013 2166 mpduff Select the site.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -48,7 +51,9 @@ public class TimeSeriesAction extends AbstractHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Object execute(ExecutionEvent arg0) throws ExecutionException {
|
public Object execute(ExecutionEvent arg0) throws ExecutionException {
|
||||||
TimeSeriesDlg.getInstance().open();
|
TimeSeriesDlg dlg = TimeSeriesDlg.getInstance();
|
||||||
|
dlg.updateAndOpen(HydroDisplayManager.getInstance().getCurrentLid(),
|
||||||
|
true);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue