///* $Id: ChangeNameAction.java 157 2011-05-08 10:53:16Z ohura $ */
//package smart_gs.drawing_tool.action;
//
//import java.awt.event.ActionEvent;
//import java.awt.event.ActionListener;
//
//import javax.swing.JOptionPane;
//import javax.swing.tree.DefaultMutableTreeNode;
//
//import smart_gs.logical.UsersNote;
//import smart_gs.logical.UsersNoteTree;
//import smart_gs.swingui.WorkspaceWindow;
//
//public class ChangeNameAction implements ActionListener{
//	
//	
//	public ChangeNameAction(){
//		
//	}
//	
//	public void execute(){
//		
//		UsersNote usersNote = UsersNoteTree.getInstance().getSelectedUsersNote();
//		String input = JOptionPane.showInputDialog("input usersNote name",usersNote.getName());
//		if(input == null){
//			return;
//		}
//		usersNote.setName(input);
//		UsersNoteTree.getInstance().reload();
//		WorkspaceWindow.setUpdated(true);
//	}
//	public void actionPerformed(ActionEvent e) {
//		this.execute();
//	}
//}