public void actionPerformed(ActionEvent actionEvent){
		String actionCommand = actionEvent.getActionCommand();
		
		if(actionCommand.equals("New Class")) {
			//if new class button selected then pass to
			//diagram panel to complete
			this.diagramPanel.addClass();
		} else if(actionCommand.equals("Add Link")){
			//if new link is requested pass to diagram panel
			//not controller because we don't know where the
			//link is coming from.
			this.diagramPanel.addLink();
		} else if(actionCommand.equals("Generate Java Code")){
			//if code is requested then we generate it with the 
			//method in the diagram panel
			this.diagramPanel.generateCode();
		} else if(actionCommand.equals("Edit or Delete a Link")){
			//If we need to edit a link, then ask the diagram
			//panel to do it.
			this.diagramPanel.editLink();
		} else if(actionCommand.equals("Get Help")){
			this.diagramPanel.showHelp();
		} else {
			System.out.println("Unexpected Command");
		}
	}