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

#if !defined(AFX_SHAPETRANSEDGE_H__0E6A7B63_2AC9_4CF7_9B75_3FBF261591A6__INCLUDED_)
#define AFX_SHAPETRANSEDGE_H__0E6A7B63_2AC9_4CF7_9B75_3FBF261591A6__INCLUDED_

#include "ShapeElement.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class ShapeTransEdge : public ShapeElement  
{
public:
	ShapeTransEdge();
	virtual ~ShapeTransEdge();
public:
	void SetEnabled( BOOL en);
	BOOL GetEnabled();
	BOOL enabled;
	void Save(CFile &file , int &tabnum );
	ShapeNamespace* GetShapeNamespace();
	ShapeType GetType();
	void AdjustHeadAndTail();
	void Draw(CDC *pDC );
	BOOL In(CPoint pt );
	UMLTransEdge *m_pTransEdge;
	ShapeActivity *m_pActivity[2];
	CObjTempl<POINT> m_Points;
	ShapeActivityGraph* m_pShapeActivityGraph;
protected:
//	BOOL checked;  //当当前状态是同步条且没有出边为enalbed的时候
};

#endif // !defined(AFX_SHAPETRANSEDGE_H__0E6A7B63_2AC9_4CF7_9B75_3FBF261591A6__INCLUDED_)
