Ignore:
Timestamp:
06/04/14 15:54:01 (10 years ago)
Author:
arun3688
Message:

added support for rml files to link with ModelicaEditor? and also support features for RMLDebugger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.debug.core/src/org/modelica/mdt/debug/gdb/helper/GDBHelper.java

    r1499 r1861  
    8686            return false;
    8787        } else {
    88             return !isMoFile(miFrame.getFile());
     88            return !isMoOrRmlFile(miFrame.getFile());
    8989        }
    9090    }
     
    9494     * @return
    9595     */
    96     public static Boolean isMoFile(String file) {
     96    public static Boolean isMoOrRmlFile(String file) {
    9797        // 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")) {
    99100            return true;
    100101        } else {
Note: See TracChangeset for help on using the changeset viewer.