1 10 package org.eclipse.core.internal.jobs; 11 12 import java.util.Date ; 13 import org.eclipse.osgi.util.NLS; 14 15 18 public class JobMessages extends NLS { 19 private static final String BUNDLE_NAME = "org.eclipse.core.internal.jobs.messages"; 21 public static String jobs_blocked0; 23 public static String jobs_blocked1; 24 public static String jobs_internalError; 25 public static String jobs_waitFamSub; 26 27 public static String meta_pluginProblems; 29 30 static { 31 reloadMessages(); 33 } 34 35 public static void reloadMessages() { 36 NLS.initializeMessages(BUNDLE_NAME, JobMessages.class); 37 } 38 39 43 public static void message(String message) { 44 StringBuffer buffer = new StringBuffer (); 45 buffer.append(new Date (System.currentTimeMillis())); 46 buffer.append(" - ["); buffer.append(Thread.currentThread().getName()); 48 buffer.append("] "); buffer.append(message); 50 System.out.println(buffer.toString()); 51 } 52 } | Popular Tags |