- Timestamp:
- 06/06/06 16:32:17 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/org.modelica.mdt.ui/src/org/modelica/mdt/ui/UIPlugin.java
r466 r478 30 30 //private MetaModelicaJobListener jobListener; 31 31 private MetaModelicaBuildLaunchListener buildMetaModelicaLanuchListner; 32 private boolean DEBUG = false; 32 33 34 protected void debug(String message) 35 { 36 if (DEBUG) System.out.println("UIPlugin: " + message); 37 } 38 33 39 34 40 public static final String METAMODELICA_BULD_MARKER_ID = … … 40 46 public UIPlugin() 41 47 { 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 42 55 plugin = this; 43 56 } … … 124 137 public void deleteMarkers() 125 138 { 126 System.out.println("DeleteMarkers Called!");139 debug("DeleteMarkers Called!"); 127 140 IModelicaProject[] projects = ModelicaCore.getModelicaRoot().getProjects(); 128 141 for (IModelicaProject project: projects)
Note: See TracChangeset
for help on using the changeset viewer.