|
From: <xb...@us...> - 2014-01-29 12:09:57
|
Revision: 1891
http://sourceforge.net/p/scstudio/code/1891
Author: xborza
Date: 2014-01-29 12:09:54 +0000 (Wed, 29 Jan 2014)
Log Message:
-----------
feature #53 SCStudio menu-> options-> selelect/deselect all for the list of checkers implemented
Modified Paths:
--------------
trunk/src/view/visio/addon/dllmodule.rc
trunk/src/view/visio/addon/optionsdlg.cpp
trunk/src/view/visio/addon/optionsdlg.h
trunk/src/view/visio/addon/resource.h
trunk/src/view/visio/addon/scstudio.vcxproj
trunk/src/view/visio/setup-nsis/setup-nsis.vcxproj
Modified: trunk/src/view/visio/addon/dllmodule.rc
===================================================================
--- trunk/src/view/visio/addon/dllmodule.rc 2014-01-22 10:26:17 UTC (rev 1890)
+++ trunk/src/view/visio/addon/dllmodule.rc 2014-01-29 12:09:54 UTC (rev 1891)
@@ -13,13 +13,11 @@
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
-// Czech resources
+// Czech (Czech Republic) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CSY)
-#ifdef _WIN32
LANGUAGE LANG_CZECH, SUBLANG_DEFAULT
#pragma code_page(1250)
-#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
@@ -70,7 +68,7 @@
//
#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO
+GUIDELINES DESIGNINFO
BEGIN
IDD_MESSAGE_SEQUENCE_OPTIONS, DIALOG
BEGIN
@@ -85,18 +83,16 @@
END
#endif // APSTUDIO_INVOKED
-#endif // Czech resources
+#endif // Czech (Czech Republic) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Slovak resources
+// Slovak (Slovakia) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_SKY)
-#ifdef _WIN32
LANGUAGE LANG_SLOVAK, SUBLANG_DEFAULT
#pragma code_page(1250)
-#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
@@ -160,7 +156,7 @@
//
#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO
+GUIDELINES DESIGNINFO
BEGIN
IDD_PCAP_SETTINGS_VIEW, DIALOG
BEGIN
@@ -213,18 +209,16 @@
END
#endif // APSTUDIO_INVOKED
-#endif // Slovak resources
+#endif // Slovak (Slovakia) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// English (U.S.) resources
+// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
-#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
@@ -253,6 +247,9 @@
COMBOBOX IDC_OUTPUTLEVEL,89,213,130,61,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
LTEXT "Properties to check:",IDC_STATIC,6,6,65,8
GROUPBOX "",IDC_STATIC,5,175,290,60
+ LTEXT "Select:",IDC_STATIC,177,5,23,8
+ PUSHBUTTON "All",IDC_BUTTON_ALL,203,5,34,10,BS_NOTIFY
+ PUSHBUTTON "None",IDC_BUTTON_NONE,237,5,34,10,BS_NOTIFY
END
IDD_SIMULATOR_OPTIONS DIALOGEX 0, 0, 300, 93
@@ -437,7 +434,7 @@
//
#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO
+GUIDELINES DESIGNINFO
BEGIN
IDD_CHECK_OPTIONS, DIALOG
BEGIN
@@ -657,7 +654,7 @@
// String Table
//
-STRINGTABLE
+STRINGTABLE
BEGIN
IDS_ADDON_NAME "Sequence Chart Studio"
IDS_ERROR_VISIO_VERSION "This application requires Microsoft Office Visio 2003 or later."
@@ -665,18 +662,16 @@
IDS_REPORT_VIEW "Verification Report"
END
-#endif // English (U.S.) resources
+#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// English (U.K.) resources
+// English (United Kingdom) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
-#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)
-#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
@@ -826,7 +821,7 @@
//
#ifdef APSTUDIO_INVOKED
-GUIDELINES DESIGNINFO
+GUIDELINES DESIGNINFO
BEGIN
IDD_BEAUTIFY_SETTINGS_ADDITIONAL, DIALOG
BEGIN
@@ -914,7 +909,7 @@
IDB_SPACING_BMP BITMAP "spacing .bmp"
IDB_INTERVALS_BMP BITMAP "intervals.bmp"
IDB_ABSOLUTE_TIMES BITMAP "abs_times.bmp"
-#endif // English (U.K.) resources
+#endif // English (United Kingdom) resources
/////////////////////////////////////////////////////////////////////////////
Modified: trunk/src/view/visio/addon/optionsdlg.cpp
===================================================================
--- trunk/src/view/visio/addon/optionsdlg.cpp 2014-01-22 10:26:17 UTC (rev 1890)
+++ trunk/src/view/visio/addon/optionsdlg.cpp 2014-01-29 12:09:54 UTC (rev 1891)
@@ -185,4 +185,24 @@
return TRUE;
}
+LRESULT COptionsDlg::OnBnClickedButtonAll(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
+{
+
+ for(int item = 0; item < m_checklist.GetItemCount(); item++)
+ {
+ m_checklist.SetCheckState(item,true);
+ }
+ return 0;
+}
+
+LRESULT COptionsDlg::OnBnClickedButtonNone(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
+{
+ for(int item = 0; item < m_checklist.GetItemCount(); item++)
+ {
+ m_checklist.SetCheckState(item,false);
+ }
+ return 0;
+}
+
// $Id$
+
Modified: trunk/src/view/visio/addon/optionsdlg.h
===================================================================
--- trunk/src/view/visio/addon/optionsdlg.h 2014-01-22 10:26:17 UTC (rev 1890)
+++ trunk/src/view/visio/addon/optionsdlg.h 2014-01-29 12:09:54 UTC (rev 1891)
@@ -49,6 +49,8 @@
BEGIN_MSG_MAP(COptionsDlg)
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
+ COMMAND_HANDLER(IDC_BUTTON_ALL, BN_CLICKED, OnBnClickedButtonAll)
+ COMMAND_HANDLER(IDC_BUTTON_NONE, BN_CLICKED, OnBnClickedButtonNone)
END_MSG_MAP()
// Handler prototypes:
@@ -67,6 +69,8 @@
return TRUE;
}
+void OnSelectAllButtonClick();
+
LRESULT OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
DoDataExchange();
@@ -77,6 +81,9 @@
int LoadRegistryData();
int SaveRegistryData();
+public:
+ LRESULT OnBnClickedButtonAll(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
+ LRESULT OnBnClickedButtonNone(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
};
static const DWORD DEFAULT_CHECKER_PRIORITY = 0;
Modified: trunk/src/view/visio/addon/resource.h
===================================================================
--- trunk/src/view/visio/addon/resource.h 2014-01-22 10:26:17 UTC (rev 1890)
+++ trunk/src/view/visio/addon/resource.h 2014-01-29 12:09:54 UTC (rev 1891)
@@ -237,8 +237,11 @@
#define IDC_FILTER_BOX 377
#define IDC_BUTTON1 378
#define IDC_SPIN_CONST_HEAD 378
+#define IDC_BUTTON_ALL 378
#define IDC_BUTTON2 379
#define IDC_VALUE_COREGION 379
+#define IDC_BUTTON 379
+#define IDC_BUTTON_NONE 379
#define IDC_BUTTON3 380
#define IDC_VALUE_COREGION_TAIL 380
#define IDC_SPIN_COREGION 381
@@ -320,7 +323,7 @@
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 289
#define _APS_NEXT_COMMAND_VALUE 32768
-#define _APS_NEXT_CONTROL_VALUE 439
+#define _APS_NEXT_CONTROL_VALUE 440
#define _APS_NEXT_SYMED_VALUE 105
#endif
#endif
Modified: trunk/src/view/visio/addon/scstudio.vcxproj
===================================================================
--- trunk/src/view/visio/addon/scstudio.vcxproj 2014-01-22 10:26:17 UTC (rev 1890)
+++ trunk/src/view/visio/addon/scstudio.vcxproj 2014-01-29 12:09:54 UTC (rev 1891)
@@ -43,7 +43,7 @@
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</IgnoreImportLibrary>
@@ -183,6 +183,8 @@
<ClInclude Include="resource.h" />
<ClInclude Include="settingsDialog.h" />
<ClInclude Include="stdafx.h" />
+ <ClInclude Include="timeSnapping.h" />
+ <ClInclude Include="visualize.h" />
<ClInclude Include="beautifySettingADlg.h" />
<ClInclude Include="beautifySettingGDlg.h" />
<ClInclude Include="beautifySettingTimesDlg.h" />
@@ -205,8 +207,6 @@
<ClInclude Include="enumerateUtils.h" />
<ClInclude Include="pageutils.h" />
<ClInclude Include="shapeutils.h" />
- <ClInclude Include="timeSnapping.h" />
- <ClInclude Include="visualize.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="addon.cpp" />
Modified: trunk/src/view/visio/setup-nsis/setup-nsis.vcxproj
===================================================================
--- trunk/src/view/visio/setup-nsis/setup-nsis.vcxproj 2014-01-22 10:26:17 UTC (rev 1890)
+++ trunk/src/view/visio/setup-nsis/setup-nsis.vcxproj 2014-01-29 12:09:54 UTC (rev 1891)
@@ -38,7 +38,7 @@
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
- <_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
+ <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Debug\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|