private javax.swing.JMenuItem getMenuFileSaveAs() {
		if (menuFileSaveAs == null) {
			menuFileSaveAs = new ZapMenuItem("menu.file.persistSession");
			menuFileSaveAs.addActionListener(new java.awt.event.ActionListener() { 
				@Override
				public void actionPerformed(java.awt.event.ActionEvent e) {    
					if (Model.getSingleton().getSession().isNewState()) {
					    getMenuFileControl().saveAsSession();
					} else {
						View.getSingleton().showWarningDialog(Constant.messages.getString("menu.file.sessionExists.error"));
					}
				}
			});

		}
		return menuFileSaveAs;
	}
private javax . swing . JMenuItem getMenuFileSaveAs ( ) { if ( menuFileSaveAs == null ) { menuFileSaveAs = new ZapMenuItem ( "menu.file.persistSession" ) ; menuFileSaveAs . addActionListener ( new java . awt . event . ActionListener ( ) { @ Override public void actionPerformed ( java . awt . event . ActionEvent e ) { if ( Model . getSingleton ( ) . getSession ( ) . isNewState ( ) ) { getMenuFileControl ( ) . saveAsSession ( ) ; } else { View . getSingleton ( ) . showWarningDialog ( Constant . messages . getString ( "menu.file.sessionExists.error" ) ) ; } } } ) ; } return menuFileSaveAs ; }
This method initializes menuFileSaveAs



@return javax.swing.JMenuItem