Commit bbdfd379 authored by Andrey Filippov's avatar Andrey Filippov

bug fixes, added filter parameters in outline view

parent 6f184aa0
...@@ -54,16 +54,17 @@ class OptionsUtils { ...@@ -54,16 +54,17 @@ class OptionsUtils {
public static String convertListToString(List<String> list) { public static String convertListToString(List<String> list) {
String value = ""; String value = "";
Iterator i = list.iterator(); Iterator<String> i = list.iterator();
while(i.hasNext()) { while(i.hasNext()) {
String str = (String)i.next(); String str = (String)i.next();
value += str + SEPARATOR; value += str + SEPARATOR;
} }
if (value.contains("ConstraintsFiles")){ if (VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_OTHER)) {
System.out.println("convertListToString() contains ConstraintsFiles"); if (value.contains("ConstraintsFiles")){
System.out.println("convertListToString() contains ConstraintsFiles"); System.out.println("convertStringToList() contains ConstraintsFiles");
System.out.println("convertStringToList() contains ConstraintsFiles");
} }
}
return value; return value;
} }
...@@ -77,12 +78,12 @@ class OptionsUtils { ...@@ -77,12 +78,12 @@ class OptionsUtils {
if ((value == null) || (value.length() == 0 )) { if ((value == null) || (value.length() == 0 )) {
list = new ArrayList<String>(); list = new ArrayList<String>();
} else { } else {
if (VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_OTHER)) { if (VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_OTHER)) {
if (value.contains("ConstraintsFiles")){ if (value.contains("ConstraintsFiles")){
System.out.println("convertStringToList() contains ConstraintsFiles"); System.out.println("convertStringToList() contains ConstraintsFiles");
System.out.println("convertStringToList() contains ConstraintsFiles"); System.out.println("convertStringToList() contains ConstraintsFiles");
} }
} }
String items[] = value.split(SEPARATOR); String items[] = value.split(SEPARATOR);
list = new ArrayList<String>(items.length); list = new ArrayList<String>(items.length);
for (String item : items) { for (String item : items) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment