[openrtm-commit:00890] r351 - trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/ui/editors
openrtm @ openrtm.org
openrtm @ openrtm.org
2012年 9月 25日 (火) 01:15:22 JST
Author:
Date: 2012-09-25 01:15:22 +0900 (Tue, 25 Sep 2012)
New Revision: 351
Modified:
trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/ui/editors/AbstractEditorFormPage.java
Log:
Modified Data Type Search
Modified: trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/ui/editors/AbstractEditorFormPage.java
===================================================================
--- trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/ui/editors/AbstractEditorFormPage.java 2012-09-24 16:14:50 UTC (rev 350)
+++ trunk/rtmtools/jp.go.aist.rtm.rtcbuilder/src/jp/go/aist/rtm/rtcbuilder/ui/editors/AbstractEditorFormPage.java 2012-09-24 16:15:22 UTC (rev 351)
@@ -43,7 +43,6 @@
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.DirectoryDialog;
import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.MessageBox;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.forms.IManagedForm;
@@ -468,7 +467,9 @@
List<String> sources = new ArrayList<String>(DataTypePreferenceManager
.getInstance().getIdlFileDirectories());
String defaultPath = System.getenv("RTM_ROOT");
+ int baseindex = -1;
if (defaultPath != null) {
+ baseindex = 0;
if(!defaultPath.endsWith(FS)) {
defaultPath += FS;
}
@@ -501,7 +502,7 @@
param.setContent(idlContent);
param.setFullPath(source + FS + idlName);
sourceContents.add(param);
- if (intidx > 0) {
+ if( baseindex<intidx) {
param.setAddition(true);
}
}
More information about the openrtm-commit
mailing list