JMenu createViewMenu(){
  JMenu viewMenu=new JMenu("View");
  JMenu toolbarMenu=new JMenu("Toolbars");
  toolbarMenu.add(actionManager.getShowMainToolBarMenuItem());
  toolbarMenu.add(actionManager.getShowRunToolBarMenuItem());
  toolbarMenu.add(actionManager.getShowEditToolBarMenuItem());
  viewMenu.add(toolbarMenu);
  viewMenu.addSeparator();
  viewMenu.add(actionManager.getShowPrioritiesAction());
  viewMenu.add(actionManager.getShowWeightsAction());
  return viewMenu;
}

JMenu createViewMenu ( ) { JMenu viewMenu = new JMenu ( "View" ) ; JMenu toolbarMenu = new JMenu ( "Toolbars" ) ; toolbarMenu . add ( actionManager . getShowMainToolBarMenuItem ( ) ) ; toolbarMenu . add ( actionManager . getShowRunToolBarMenuItem ( ) ) ; toolbarMenu . add ( actionManager . getShowEditToolBarMenuItem ( ) ) ; viewMenu . add ( toolbarMenu ) ; viewMenu . addSeparator ( ) ; viewMenu . add ( actionManager . getShowPrioritiesAction ( ) ) ; viewMenu . add ( actionManager . getShowWeightsAction ( ) ) ; return viewMenu ; }
create and return a new view menu for this network panel .
