/* $Id: RWToolbar.java 373 2011-10-01 16:30:41Z shayashi $ */
/*
 * 作成日: 2006/06/10
 *
 */
package smart_gs.reasoning_web.swingui;

import javax.swing.JButton;

import javax.swing.JToolBar;

import reasoning_web.logical.inter_face.RWElement;
import smart_gs.reasoning_web.logical.GS_RWRepository;
import smart_gs.reasoning_web.swingui.action.TagAnalysisAction;

import smart_gs.reasoning_web.swingui.action.CreateDocumentAction;

/**
 * @author kazuaki kobayashi
 *
 * 
*/
@SuppressWarnings("serial")

public class RWToolbar extends JToolBar {
	

	private JButton showButton;
	private JButton tagAnalysisButton;
	private JButton desktopButton;
	//
//	private JButton createDocumentButton;
	//
	public RWToolbar(){

		// 6/11 Kazuhiro Kobayashi
		//createDocumentButtonのコメントをはずす。
//		this.createDocumentButton = new JButton("create standard text");
//		this.createDocumentButton.addActionListener(new CreateDocumentAction());
		//
	
		
		
//		this.showButton = new JButton("Element View");
//		this.showButton.addActionListener(new ShowSelectedElementAction());
		
		this.desktopButton = new JButton("Desktop View");
		this.desktopButton.addActionListener(new ShowDesktopAction());
		
		
		//
//		this.add(this.createDocumentButton);
		//
//		this.add(this.showButton);
		//20080622 shimizu wrote;
		//this.add(this.tagAnalysisButton);
		
		this.addSeparator();
		
		this.add(this.desktopButton);

		
		
	}
}
