No menu building from edex side
This commit is contained in:
parent
f2bb986d16
commit
0ebcd62eea
1 changed files with 1 additions and 14 deletions
|
@ -55,6 +55,7 @@ import com.raytheon.uf.viz.personalities.cave.workbench.VizWorkbenchAdvisor;
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
* Mar 20, 2013 mschenke Initial creation
|
* Mar 20, 2013 mschenke Initial creation
|
||||||
* Oct 01, 2014 3679 njensen Fix propertyChange() for logPerformance
|
* Oct 01, 2014 3679 njensen Fix propertyChange() for logPerformance
|
||||||
|
* Jun 25, 2017 mjames@ucar No menu building from edex side.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -158,20 +159,6 @@ public class AWIPSWorkbenchAdvisor extends VizWorkbenchAdvisor {
|
||||||
service.activateContext("com.raytheon.uf.viz.application.awips");
|
service.activateContext("com.raytheon.uf.viz.application.awips");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
protected void createDynamicMenus() {
|
|
||||||
// create the request to send to EDEX to generate the menus
|
|
||||||
MenuCreationRequest request = new MenuCreationRequest();
|
|
||||||
request.setSite(LocalizationManager.getInstance().getSite());
|
|
||||||
try {
|
|
||||||
ThriftClient.sendRequest(request);
|
|
||||||
} catch (VizException e) {
|
|
||||||
UFStatus.getHandler(AWIPSWorkbenchAdvisor.class).handle(
|
|
||||||
Priority.PROBLEM, e.getLocalizedMessage(), e);
|
|
||||||
}
|
|
||||||
super.createDynamicMenus();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void preStartup() {
|
public void preStartup() {
|
||||||
// only restore state if no perspective passed in
|
// only restore state if no perspective passed in
|
||||||
|
|
Loading…
Add table
Reference in a new issue