private static JMenu getViewMenu(EnvironmentFrame frame) {
		Environment environment = frame.getEnvironment();
		JMenu menu = new JMenu("View");
		Serializable object = environment.getObject();
		if (AutomatonAction.isApplicable(object)) {
			Automaton automaton = (Automaton) object;
			LayoutStorageAction store = new LayoutStorageAction("Save Current Graph Layout", 
					"Restore Saved Graph Layout", automaton);			
			menu.add(store);			
			menu.add(store.getRestoreAction());
			
			
			JMenu viewMenu, subMenu;
			viewMenu = new JMenu("Move Vertices");
			subMenu = new JMenu("Reflect Across Line...");
			subMenu.add(new LayoutAlgorithmAction("Horizontal Line Through Center", automaton, 
					environment, VertexMover.HORIZONTAL_CENTER));
			subMenu.add(new LayoutAlgorithmAction("Vertical Line Through Center", automaton, 
					environment, VertexMover.VERTICAL_CENTER));
			subMenu.add(new LayoutAlgorithmAction("Diagonal From Upper-Left To Lower-Right", automaton, 
					environment, VertexMover.POSITIVE_SLOPE_DIAGONAL));
			subMenu.add(new LayoutAlgorithmAction("Diagonal From Lower-Left To Upper-Right", automaton, 
					environment, VertexMover.NEGATIVE_SLOPE_DIAGONAL));
			viewMenu.add(subMenu);
			viewMenu.add(new LayoutAlgorithmAction("Rotate The Graph", automaton, 
					environment, VertexMover.ROTATE));
			viewMenu.add(new LayoutAlgorithmAction("Fill Screen With Graph", automaton, 
					environment, VertexMover.FILL));
			menu.add(viewMenu);
			
			menu.add(new LayoutAlgorithmAction("Apply A Random Layout Algorithm", automaton, 
					environment, LayoutAlgorithmFactory.RANDOM_CHOICE));
			viewMenu = new JMenu("Apply A Specific Layout Algorithm");
			viewMenu.add(new LayoutAlgorithmAction("Circle", automaton, 
					environment, LayoutAlgorithmFactory.CIRCLE));
			viewMenu.add(new LayoutAlgorithmAction("GEM", automaton, 
					environment, LayoutAlgorithmFactory.GEM));
			viewMenu.add(new LayoutAlgorithmAction("Random", automaton, 
					environment, LayoutAlgorithmFactory.RANDOM));
			viewMenu.add(new LayoutAlgorithmAction("Spiral", automaton, 
					environment, LayoutAlgorithmFactory.SPIRAL));
			subMenu = new JMenu("Tree");
			subMenu.add(new LayoutAlgorithmAction("Degree", automaton, 
					environment, LayoutAlgorithmFactory.TREE_DEGREE));
			subMenu.add(new LayoutAlgorithmAction("Hierarchy", automaton, 
					environment, LayoutAlgorithmFactory.TREE_HIERARCHY));
			viewMenu.add(subMenu);
			viewMenu.add(new LayoutAlgorithmAction("Two Circle", automaton, 
					environment, LayoutAlgorithmFactory.TWO_CIRCLE));
			menu.add(viewMenu);
//			menu.add(new StateColorSelector(automaton,environment,menu));
		}
		return menu;
	}