}
}*/
	    public LayoutViewPanel(LayoutPlugin lp) {	        _pluginRef = lp;	        	        // TODO: may want to handle some of these externally	        this.setLayout(new FlowLayout(FlowLayout.LEFT));	        this.setMinimumSize(new Dimension(200, 30));	        this.setPreferredSize(new Dimension(300, 100));	        this.setBorder(BorderFactory.createTitledBorder("View"));			this.setAlignmentX(Component.LEFT_ALIGNMENT);			this.setMaximumSize(new Dimension(300, 100));				        ButtonGroup group = new ButtonGroup();	        Border border = BorderFactory.createEmptyBorder(3, 3, 3, 3);	        _panzoom_button = createLayoutButton("Pan/Zoom",	                LayoutPlugin.VIEW_PAN_ZOOM, border);	        group.add(_panzoom_button);	        this.add(_panzoom_button);	        _rotate_button = createLayoutButton("Rotate",	                LayoutPlugin.VIEW_ROTATE, border);	        group.add(_rotate_button);	        this.add(_rotate_button);	        // Action Listener	        ActionListener viewActions = new ActionListener() {	            public void actionPerformed(ActionEvent e) {	                String command = ((JToggleButton) e.getSource()).getActionCommand();	                if (command.equals(LayoutPlugin.VIEW_PAN_ZOOM)) {	                    _pluginRef.setView(LayoutPlugin.VIEW_PAN_ZOOM);	                } else if (command.equals(LayoutPlugin.VIEW_ROTATE)) {	                    _pluginRef.setView(LayoutPlugin.VIEW_ROTATE);	                }	            }	        };	        // add action listeners	        _panzoom_button.addActionListener(viewActions);	        _rotate_button.addActionListener(viewActions);	    }