/* $Id: SelectLineSegModeActionListener.java 472 2011-11-19 13:32:43Z shayashi $ */
package smart_gs.swingui.toolbar.action;


import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import smart_gs.drawing_tool.drawing_mode.SelectLineSegEditorMode;
import smart_gs.smleditor.swingui.LineSegEditor;

public class SelectLineSegModeActionListener implements ActionListener{
	private LineSegEditor editor;
	
	public SelectLineSegModeActionListener(LineSegEditor parent) {
		editor = parent;
	}

	public void actionPerformed(ActionEvent e) {
		editor.setMode(SelectLineSegEditorMode.getInstance());
	}
}
