[openrtm-commit:00058] r174 - in trunk/rtmtools/jp.go.aist.rtm.rtcbuilder: META-INF src/jp/go/aist/rtm/rtcbuilder/manager src/jp/go/aist/rtm/rtcbuilder/ui/editors

openrtm @ openrtm.org openrtm @ openrtm.org
2011年 5月 18日 (水) 14:46:03 JST


Author: ta
Date: 2011-05-18 14:46:03 +0900 (Wed, 18 May 2011)
New Revision: 174

Modified:
   trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/META-INF/MANIFEST.MF
   trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/manager/CMakeGenerateManager.java
   trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/ui/editors/BasicEditorFormPage.java
Log:
Modify generated code and Editor dirty control

Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/META-INF/MANIFEST.MF
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/META-INF/MANIFEST.MF	2011-05-18 03:48:58 UTC (rev 173)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/META-INF/MANIFEST.MF	2011-05-18 05:46:03 UTC (rev 174)
@@ -2,7 +2,7 @@
 Bundle-ManifestVersion: 2
 Bundle-Name: %pluginName
 Bundle-SymbolicName: jp.go.aist.rtm.rtcbuilder; singleton:=true
-Bundle-Version: 1.1.0.v20110411
+Bundle-Version: 1.1.0.v20110518
 Bundle-ClassPath: .,
  lib/velocity-1.6.3-dep.jar
 Bundle-Vendor: %providerName

Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/manager/CMakeGenerateManager.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/manager/CMakeGenerateManager.java	2011-05-18 03:48:58 UTC (rev 173)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/manager/CMakeGenerateManager.java	2011-05-18 05:46:03 UTC (rev 174)
@@ -47,6 +47,8 @@
 	@Override
 	public List<GeneratedResult> generateTemplateCode(RtcParam rtcParam) {
 		List<GeneratedResult> result = new ArrayList<GeneratedResult>();
+		if (rtcParam.enableOldBuildEnv()) return result;
+		
 		if (!validateRtcParam(rtcParam)) {
 			return result;
 		}

Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/ui/editors/BasicEditorFormPage.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/ui/editors/BasicEditorFormPage.java	2011-05-18 03:48:58 UTC (rev 173)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/ui/editors/BasicEditorFormPage.java	2011-05-18 05:46:03 UTC (rev 174)
@@ -372,6 +372,8 @@
 					//
 					saveRtcProfile(project);
 					switchPerspective();
+	        		editor.getRtcParam().resetUpdated();
+	        		editor.updateDirty();
 				}
 			}
 
@@ -593,7 +595,7 @@
 					editor.setEnabledInfoByLang();
 					load();
 					//
-					editor.getRtcParam().resetUpdated();
+//					editor.getRtcParam().resetUpdated();
 					editor.updateDirty();
 		        }
 			}



openrtm-commit メーリングリストの案内