// ShapeClass.h: interface for the ShapeClass class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_SHAPECLASS_H__AAF88989_CC86_4E3F_9B01_FF1DC3616122__INCLUDED_)
#define AFX_SHAPECLASS_H__AAF88989_CC86_4E3F_9B01_FF1DC3616122__INCLUDED_

#include "ShapeElement.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class ShapeActivityGraph;
class ShapeClass  : public ShapeElement
{
public:
	ShapeClass();
	virtual ~ShapeClass();
	void Draw( CDC *pDC );
public:
	static CString RemoveEnter(CString str );
	void Save(CFile &file ,int &tabnum);
	ShapeNamespace* GetShapeNamespace();
	ShapeType GetType();
	BOOL In(CPoint pt);
	BOOL m_ShowAttributes;//是否显示属性
	BOOL m_ShowOperations;//是否显示操作

	UMLClass *m_pClass;//对应的类
	CPtrTempl<ShapeActivityGraph*>m_pShapeActivityGraphs;
};

#endif // !defined(AFX_SHAPECLASS_H__AAF88989_CC86_4E3F_9B01_FF1DC3616122__INCLUDED_)
