package org.mwc.debrief.lite.gui;

import java.awt.MenuShortcut;

import javax.swing.JMenu;

import Debrief.GUI.Frames.Application;
import Debrief.GUI.Frames.Session;
import MWC.GUI.Tool;

public class DebriefLiteApplication extends Application {

	public DebriefLiteApplication() {
		super();
		
		final JMenu newMen = new JMenu("test");
		_mru = new MWC.GUI.Dialogs.MruMenuManager(newMen, 7, 10, _appProps, "MRU");

	}
	
	@Override
	public void logStack(int status, String text) {
		// TODO Auto-generated method stub
	}

	@Override
	public Session createSession() {
		return new DebriefLiteSession(getClipboard());
	}

	@Override
	public Session getCurrentSession() {
		return null;
	}

	@Override
	protected void setTitleName(String theStr) {
		// TODO Auto-generated method stub
	}

	@Override
	protected void addMenuItem(String theMenu, String theLabel, Tool theTool, MenuShortcut theShortCut) {
		// TODO Auto-generated method stub
	}

	@Override
	protected void addMenuSeparator(String theMenu) {
		// TODO Auto-generated method stub
	}

	@Override
	protected void showSession(Session theSession) {
		// TODO Auto-generated method stub
	}

	@Override
	protected void closeSessionGUI(Session theSession) {
		// TODO Auto-generated method stub
	}

	@Override
	public void setCursor(int theCursor) {
		// TODO Auto-generated method stub
	}

	@Override
	public void restoreCursor() {
		// TODO Auto-generated method stub
	}

	public final void newSession(final Session theSession){
	
		Session session = theSession;
	    if (session == null)
	    {
	      session = new DebriefLiteSession(this, getClipboard(), super.getNewSessionName());
	    }

	    // pass the session to the parent
	    super.newSession(session);

	}
	  
}

@@ -502,46 +502,8 @@
  %7B%0D%0A
-%09%09// TODO Auto-generated method stub%0D%0A
 %09%7D%0D%0A
@@ -743,46 +743,8 @@
  %7B%0D%0A
-%09%09// TODO Auto-generated method stub%0D%0A
 %09%7D%0D%0A
@@ -865,46 +865,8 @@
  %7B%0D%0A
-%09%09// TODO Auto-generated method stub%0D%0A
 %09%7D%0D%0A
@@ -935,46 +935,8 @@
  %7B%0D%0A
-%09%09// TODO Auto-generated method stub%0D%0A
 %09%7D%0D%0A
@@ -1004,46 +1004,8 @@
  %7B%0D%0A
-%09%09// TODO Auto-generated method stub%0D%0A
 %09%7D%0D%0A
@@ -1077,46 +1077,8 @@
  %7B%0D%0A
-%09%09// TODO Auto-generated method stub%0D%0A
 %09%7D%0D%0A
@@ -1136,46 +1136,8 @@
  %7B%0D%0A
-%09%09// TODO Auto-generated method stub%0D%0A
 %09%7D%0D%0A
@@ -1186,46 +1186,8 @@
  %7B%0D%0A
-%09%09// TODO Auto-generated method stub%0D%0A
 %09%7D%0D%0A

Improve static analysis