Click here to Skip to main content
15,891,513 members
Articles / Desktop Programming / MFC

UMLEditor - revisiting the vector editor

Rate me:
Please Sign up or sign in to vote.
4.99/5 (156 votes)
5 Jul 2006Public Domain8 min read 377.3K   37.1K   326  
An UML editor with code-generation capabilities derived from CDiagramEditor.
#if !defined(AFX_UMLEDITORPROPERTYDIALOG_H__83AAFD4E_EF83_49F4_BEEF_DEE7C59AF7CE__INCLUDED_)
#define AFX_UMLEDITORPROPERTYDIALOG_H__83AAFD4E_EF83_49F4_BEEF_DEE7C59AF7CE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UMLEditorPropertyDialog.h : header file
//

#include "../resource.h"

/////////////////////////////////////////////////////////////////////////////
// CUMLEditorPropertyDialog dialog

class CUMLEditorPropertyDialog : public CDialog
{
// Construction
public:
	CUMLEditorPropertyDialog(CWnd* pParent = NULL);

// Dialog Data
	//{{AFX_DATA(CUMLEditorPropertyDialog)
	enum { IDD = IDD_UML_DIALOG_PROPERTY_EDITOR };
	BOOL	m_grid;
	BOOL	m_nomarkers;
	BOOL	m_onlypublic;
	BOOL	m_showgrid;
	BOOL	m_noattributes;
	BOOL	m_nooperations;
	BOOL	m_nooperationattributenames;
	BOOL	m_showmargin;
	//}}AFX_DATA

	COLORREF	m_color;

// Overrides
	//{{AFX_VIRTUAL(CUMLEditorPropertyDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);
	//}}AFX_VIRTUAL

// Implementation
protected:
	//{{AFX_MSG(CUMLEditorPropertyDialog)
	afx_msg void OnButtonColor();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_UMLEDITORPROPERTYDIALOG_H__83AAFD4E_EF83_49F4_BEEF_DEE7C59AF7CE__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under A Public Domain dedication


Written By
Software Developer (Senior) Abstrakt Mekanik AB
Sweden Sweden
45 years old, married, three kids.

Started with computers more than 20 years ago on a CBM-64.

Read Theoretical Philosophy at the University of Lund.

Working as a C++ consultant developer.

Science-fiction freak. Enjoy vintage punkrock.

Comments and Discussions