Changeset 1861 for trunk/org.modelica.mdt.debug.core
- Timestamp:
- 06/04/14 15:54:01 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.debug.core/src/org/modelica/mdt/debug/gdb/helper/GDBHelper.java
r1499 r1861 86 86 return false; 87 87 } else { 88 return !isMo File(miFrame.getFile());88 return !isMoOrRmlFile(miFrame.getFile()); 89 89 } 90 90 } … … 94 94 * @return 95 95 */ 96 public static Boolean isMo File(String file) {96 public static Boolean isMoOrRmlFile(String file) { 97 97 // TODO Auto-generated method stub 98 if (new Path(file).getFileExtension().equals("mo")) { 98 String FileExtension = new Path(file).getFileExtension(); 99 if (FileExtension.equals("mo")||FileExtension.equals("rml")) { 99 100 return true; 100 101 } else {
Note: See TracChangeset
for help on using the changeset viewer.