package smart_gs.drawing_tool.drawing_mode;

import java.awt.Cursor;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.util.List;

import smart_gs.drawing_tool.ExLine2D;
import smart_gs.drawing_tool.LineSegEditorCanvas;
import smart_gs.drawing_tool.view.LineView;
import smart_gs.logical.LineSegmentForEdit;
import smart_gs.smleditor.swingui.LineSegEditor;
import smart_gs.swingui.GSMouseEvent;

public class LineSegEditorSelectMode implements LineSegEditorMode {
	private LineSegEditor editor;
	private int selectedLineIndex;

	public LineSegEditorSelectMode(LineSegEditor editor) {
		this.editor = editor;
	}

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

	}

	@Override
	public LineSegEditor getParentLinesegEditor() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void mouseClicked(GSMouseEvent e, LineSegEditorCanvas canvas) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mouseDragged(GSMouseEvent e, LineSegEditorCanvas canvas) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mouseEntered(GSMouseEvent e, LineSegEditorCanvas canvas) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mouseExited(GSMouseEvent e, LineSegEditorCanvas canvas) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mouseMoved(GSMouseEvent e, LineSegEditorCanvas canvas) {
		// TODO Auto-generated method stub

	}

	@Override
	public void mousePressed(GSMouseEvent e, LineSegEditorCanvas canvas) {
		this.selectedLineIndex = this.editor.getLineSegEditorImageLabel().setPressedLineSelected(e.getPoint2D());
	}

	@Override
	public void mouseReleased(GSMouseEvent e, LineSegEditorCanvas canvas) {
		// TODO Auto-generated method stub

	}

	@Override
	public void paint(Graphics g,LineSegEditorCanvas canvas) {
		List<LineSegmentForEdit> selectedLinesListS = this.editor.getLineSegEditorImageLabel().getSelectedLines();
//		HERE HERE

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

	}

}
