package smart_gs.drawing_tool.action;

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

import smart_gs.logical.GSResource;
import smart_gs.logical.Region;
import smart_gs.reasoning_web.logical.GS_RWElement;
import smart_gs.reasoning_web.logical.GS_RWRepository;
import smart_gs.swingui.WorkspaceWindow;

public class RegisterRegionAction implements ActionListener {

	private GSResource region;

	public RegisterRegionAction(Region region) {
		this.region = region;
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		GS_RWRepository.getInstance().createResourcePointer(this.region);
//		WorkspaceWindow.setUpdated(true);
	}

}
