[openrtm-commit:01151] r461 - branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/ui/editor
openrtm @ openrtm.org
openrtm @ openrtm.org
2014年 1月 14日 (火) 00:32:33 JST
Author: win-ei
Date: 2014-01-14 00:32:33 +0900 (Tue, 14 Jan 2014)
New Revision: 461
Modified:
branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/ui/editor/AbstractSystemDiagramEditor.java
Log:
Daily work.
Modified: branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/ui/editor/AbstractSystemDiagramEditor.java
===================================================================
--- branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/ui/editor/AbstractSystemDiagramEditor.java 2014-01-13 15:27:33 UTC (rev 460)
+++ branches/work_ForRTMSafety/rtmtools/jp.go.aist.rtm.systemeditor/src/jp/go/aist/rtm/systemeditor/ui/editor/AbstractSystemDiagramEditor.java 2014-01-13 15:32:33 UTC (rev 461)
@@ -593,7 +593,8 @@
System.out.print(" "+com.getTypeNameL()+" "+com.getComponentId()+" "+com.getPath());
System.out.print(" "+com.getInstanceNameL()+" "+com.getVenderL()+" "+com.getDescriptionL());
System.out.print(" "+com.getCategoryL()+" "+com.getTypeNameL()+" "+com.getVersionL());
- System.out.println(" "+com.getOutportDirection()+" "+com.getCompositeTypeL()+" "+com.getComponentId());
+ System.out.print(" "+com.getOutportDirection()+" "+com.getCompositeTypeL()+" "+com.getComponentId());
+ System.out.println(" "+com.getLanguage());
}
//zxc+>
System.out.println("save 210 ");
@@ -603,13 +604,6 @@
System.out.println("save 300");
System.out.println(profile);
- //<+zxc
- //List<Property> props = profile.getProperties();
- //for(Property prop : props)
- //{
- // System.out.println(prop);
- //}
- //zxc+>
ProfileSaver creator = new ProfileSaver();
for (SaveProfileExtension.ErrorInfo info : creator.preSave(
diagram, profile)) {
@@ -657,6 +651,27 @@
}
}
+ //<+zxc
+ {
+ //Parse
+ String languageKind = "";
+ org.eclipse.emf.common.util.EList<jp.go.aist.rtm.toolscommon.model.component.Component> comps = diagram.getComponents();
+ for(jp.go.aist.rtm.toolscommon.model.component.Component com : comps)
+ {
+ languageKind = com.getLanguage();
+ }
+ if(languageKind.equals("RTMSafety"))
+ {
+ System.out.println("Creates table files for RTMSafety");
+
+ final String TEMPLATE_PATH = "jp/go/aist/rtm/systemeditor/template";
+ String template = TEMPLATE_PATH + "/" +"DataPortContTbl.c.vsl";
+ ClassLoader cl = Thread.currentThread().getContextClassLoader();
+ System.out.println("Loads class for RTMSafety");
+
+ }
+ }
+ //zxc+>
progressMonitor.worked(6);
progressMonitor.done();
More information about the openrtm-commit
mailing list