package smart_gs.drawing_tool.action;

import java.awt.Point;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import smart_gs.connection.ConnectionCreator;
import smart_gs.reasoning_web.logical.GS_RWElement;
import sml_editor.swingui.EditorTextPane;

public class RemoveExternalLinkAction implements ActionListener {
	
	private GS_RWElement target;
	private EditorTextPane textPane;
	private Point point;
	
	public RemoveExternalLinkAction(GS_RWElement target,EditorTextPane textPane,Point point){
		this.target = target;
		this.textPane = textPane;
		this.point = point;
	}
	
	public void actionPerformed(ActionEvent e) {
		ConnectionCreator.removeExternal(this.target,this.textPane,this.point);
	}


}
