Ignore:
Timestamp:
06/06/06 16:32:17 (18 years ago)
Author:
adrpo
Message:
  • fixed a small bug "replaceable" instead of "replacable"
  • fixed the adding of bugs to the problems list when the folder containing the file is a project
  • etc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/org.modelica.mdt.ui/src/org/modelica/mdt/ui/UIPlugin.java

    r466 r478  
    3030    //private MetaModelicaJobListener jobListener;
    3131    private MetaModelicaBuildLaunchListener buildMetaModelicaLanuchListner;
     32    private boolean DEBUG = false;
    3233
     34    protected void debug(String message)
     35    {
     36        if (DEBUG) System.out.println("UIPlugin: " + message);
     37    }
     38   
    3339   
    3440    public static final String METAMODELICA_BULD_MARKER_ID =
     
    4046    public UIPlugin()
    4147    {
     48        String value = Platform.getDebugOption  /*load trace/ConsolePatternMatching flag */
     49        ("org.modelica.mdt.ui/trace/UIPlugin");
     50        if (value != null && value.equalsIgnoreCase("true"))
     51        {
     52            DEBUG = true;
     53        }
     54       
    4255        plugin = this;
    4356    }
     
    124137    public void deleteMarkers()
    125138    {
    126         System.out.println("DeleteMarkers Called!");
     139        debug("DeleteMarkers Called!");
    127140        IModelicaProject[] projects = ModelicaCore.getModelicaRoot().getProjects();
    128141        for (IModelicaProject project: projects)
Note: See TracChangeset for help on using the changeset viewer.